dnum.utils

Undocumented in source.

Members

Functions

cbind
Tensor cbind(Tensor t1, Tensor t2)

Column Bind (Like R Syntax)

cbind
Tensor cbind(Tensor[] t)

Generic cbind

col
Tensor col(Tensor t, ulong i)

Extract Column

isCol
bool isCol(Tensor t)

Check Single Column

isRow
bool isRow(Tensor t)

Check Single Row

rand
Tensor rand(int n, Range r, Shape byRow)

rand - D version

rand
Tensor rand(int m, int n)

rand tensor version

rand
Tensor rand(int n, Shape byRow)

rand - random tensor with uniform dist (0, 1)

rand
Tensor rand(Size s, Range r)

rand tensor version - D version

rbind
Tensor rbind(Tensor t1, Tensor t2)

Row Bind (Like R Syntax)

rbind
Tensor rbind(Tensor[] t)

Generic rbind

row
Tensor row(Tensor t, ulong i)

Extract Row

runif
Tensor runif(int n, double a, double b, Shape byRow)

runif - generate uniform random seq

runif
Tensor runif(int n, Range r, Shape byRow)

runif - D version

vectorize
auto vectorize(double delegate(double) f)

Vectorize Function

Meta