mat

A struct that represents a variable matrix. A struct that store's N*M array, allows to manipulate it. @since snapshot20190930

Constructors

this
this(T num)
Undocumented in source.
this
this(mat!(T, M, N) mat)
Undocumented in source.
this
this(T[M * N] arr)
Undocumented in source.
this
this(T[] arr)
Undocumented in source.

Members

Functions

opEquals
bool opEquals(mat!(T, M, N) mat)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
T opIndex(size_t m, size_t n)
Undocumented in source.
opIndex
T opIndex(size_t i)
Undocumented in source.
opIndexAssign
T opIndexAssign(T val, size_t m, size_t n)
Undocumented in source.
opSliceAssign
T[] opSliceAssign(T val, size_t i1, size_t i2)
Undocumented in source.
opSliceAssign
T[] opSliceAssign(T val)
Undocumented in source. Be warned that the author may not have intended to support it.
setIdentity
void setIdentity()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

identity
mat!(T, M, N) identity()
Undocumented in source. Be warned that the author may not have intended to support it.
zero
mat!(T, M, N) zero()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

matrix
T[M * N] matrix;
Undocumented in source.

Meta