dlearn 0.0.2
A high-level linear algebra package in D. Based on NumPy.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Dlearn
<!-- GitHub can only display SVGs in img tags, not markdown --> <img src="./logo.svg"/>
High-level Linear algebra and scientific computing package in D.
Table of contents
State of the Project
The API is in very early stages and is subject to change without notice. If you are using it in your own projects, please pin to an exact version.
Getting Started
Prerequisites
Building from source
- Download Dlearn from https://github.com/rjkilpatrick/dlearn
- Copy the folder
dlearn
in thesource
directory into your project folder dub add-local dlearn
Usage
import std : writeln;
import dlearn.allocation : ones, eye;
import dlearn.math : sinh;
import dlearn.linalg : matrixMultiply;
auto x = ones!double(2, 2);
auto y = x.matrixMultiply(eye!double(2));
y.sinh.writeln;
For more examples, please refer to the Documentation.
Building the Documentation
Dlearn uses ddox
documentation generator which you can build with:
dub build -b ddox
Or you can build and then run a webserver with:
dub run -b ddox
Contributing
If you find a bug, please submit an issue.
Any and all contributions are appreciated. If you think of a feature you'd like added, or how we can improve the project, submit an issue too.
License
dlearn is distributed under the MIT license, as found in LICENSE.
- Registered by John Kilpatrick
- 0.0.2 released 3 years ago
- rjkilpatrick/dlearn
- rjkilpatrick.github.io/dlearn
- MIT
- Copyright © 2021, rjkilpatrick
- Authors:
- Dependencies:
- mir-random, mir-blas, mir-algorithm
- Versions:
-
0.0.2 2021-Sep-11 ~main 2021-Nov-29 ~gh-pages 2021-Sep-27 ~dev 2022-Mar-20 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
9 downloads total
-
- Score:
- 0.0
- Short URL:
- dlearn.dub.pm