The last Mir version with old ndslice is v0.22.1
.
Generic Numerical Library for Science and Machine Learning.
Documentation API can be found here.
mir.glas
- Generic Linear Algebra Subroutinesmir.sparse
Sparse TensorsSparse
- DOK formatCompressedTensor
- CSR/CSC formatsmir.sparse.blas
- Sparse BLAS for CompressedTensor
mir.model.lda.hoffman
- Online variational Bayes for latent Dirichlet allocation (Online VB LDA) for sparse documents. LDA is used for topic modeling.mir.combinatorics
Combinations, combinations with repeats, cartesian power, permutations./+dub.sdl: dependency "mir" version="~>3.1.0" +/ import std.stdio; import mir.combinatorics; void main(string[] args) { writeln([1, 2].combinations); }Fast setup with the dub package manager
Dub is the D's package manager. You can create a new project with:
Now you need to edit the dub.json
add mir
as dependency.
{ ... "dependencies": { "mir": "~><current-version>" }, "dflags-ldc": ["-mcpu=native"] }
Now you can create an app.d
file in the source
folder and run your code with
Flag --build=release
and can be added for a performance boost:
dub --compiler=ldmd2 --build=release
ldmd2
is a shell on top of LDC (LLVM D Compiler).
"dflags-ldc": ["-mcpu=native"]
allows LDC to optimize Mir for your CPU.
See our TODO List. Mir is very young and we are open for contributing to source code, documentation, examples and benchmarks.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4