Tensor.Tensor

Undocumented in source.

Constructors

this
this(T initVal)

Single element constructor

this
this(Tensor!(T, order, sizes) t)

Tensor constructor

this
this(F components)

Tuple constructor

Members

Aliases

ElementType
alias ElementType = T
Undocumented in source.
Indices
alias Indices = NTypeTuple!(size_t, order)
Undocumented in source.
Sizes
alias Sizes = sizes
Undocumented in source.
arrayof
alias arrayof = data
Undocumented in source.

Functions

free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref T v, Indices indices) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(Tensor!(T, order, sizes) t)

Tensor = Tensor

opIndex
T opIndex(size_t index)

T = Tensorindex

opIndex
T opIndex(I indices)

T = Tensor[i, j, ...]

opIndexAssign
void opIndexAssign(T n, size_t index)

Tensorindex = T

opIndexAssign
T opIndexAssign(T t, I indices)

Tensor[i, j, ...] = T

Manifest constants

size
enum size;
Undocumented in source.
size
enum size;
Undocumented in source.

Properties

initialized
bool initialized [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

init
Tensor!(T, order, sizes) init()
Undocumented in source. Be warned that the author may not have intended to support it.
zero
Tensor!(T, order, sizes) zero()
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

opDispatch
template opDispatch(string s)

Swizzling

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

cols
enum size_t cols;
Undocumented in source.
data
T[] data;
Undocumented in source.
dimensions
enum size_t dimensions;
Undocumented in source.
dynamic
enum bool dynamic;
Undocumented in source.
isMatrix
enum bool isMatrix;
Undocumented in source.
isScalar
enum bool isScalar;
Undocumented in source.
isSquareMatrix
enum bool isSquareMatrix;
Undocumented in source.
isSquareMatrix
enum bool isSquareMatrix;
Undocumented in source.
isTensor
enum bool isTensor;
Undocumented in source.
isVector
enum bool isVector;
Undocumented in source.
order
enum size_t order;
Undocumented in source.
rows
enum size_t rows;
Undocumented in source.

Meta