dnumeric ~master
D Numeric Library with R syntax
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:
DNumeric
D Numeric Library with R Syntax
Import
Add next line to your dub.json
"dnumeric": "~>0.6.1"
or dub.sdl
dependency "dnumeric" version="~>0.6.1"
- Caution : After
0.6.0
, there are lots of changes.
Usage
1. Matrix Declaration
# R
a = matrix(c(1,2,3,4), 2, 2, T)
// DNumeric
import dnum.matrix;
auto a = matrix([1,2,3,4], 2, 2, true);
2. Print
# R
a = matrix(1:4, 2, 2, T)
print(a)
// DNumeric
import dnum.matrix;
import std.stdio : writeln;
auto a = matrix([1,2,3,4], 2, 2, true);
a.writeln;
- Registered by Tae Geun Kim
- ~master released 6 years ago
- Axect/DNumeric
- BSD 3-clause
- Copyright © 2018, Tae Geun Kim
- Authors:
- Dependencies:
- none
- Versions:
-
0.6.1 2018-Nov-02 0.6.0 2018-Nov-02 0.5.2 2018-Sep-11 0.5.1 2018-Aug-23 0.5.0 2018-Aug-22 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
83 downloads total
-
- Score:
- 0.5
- Short URL:
- dnumeric.dub.pm