Vector

Vector is default class for Statistics

Constructors

this
this(double start, double end, double step)

Like iota

this
this(double[] vec)

array to Vector

this
this(double num, long l)

Intialize with number

Members

Functions

add_void
void add_void(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
div_void
void div_void(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
dot
double dot(Vector rhs)

Inner Product

fmap
Vector fmap(double delegate(double) f)
Undocumented in source. Be warned that the author may not have intended to support it.
fmap_void
void fmap_void(double delegate(double) f)
Undocumented in source. Be warned that the author may not have intended to support it.
length
long length()
Undocumented in source. Be warned that the author may not have intended to support it.
mapReduce
double mapReduce(double delegate(double) f)
Undocumented in source. Be warned that the author may not have intended to support it.
mul_void
void mul_void(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Vector opBinary(double rhs)

Binary Operator with Scalar

opBinary
Vector opBinary(Vector rhs)

Binary Operator with Vector

opIndex
double opIndex(size_t i)

Getter

opIndexAssign
void opIndexAssign(double value, size_t i)

Setter

pow_void
void pow_void(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
sqrt
Vector sqrt()
Undocumented in source. Be warned that the author may not have intended to support it.
sqrt_void
void sqrt_void()
Undocumented in source. Be warned that the author may not have intended to support it.
sub_void
void sub_void(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

comp
double[] comp;
Undocumented in source.

Meta