AngouriMath
Navigation
#ctor
Method with 2 overloads
#ctor(GenericTensor.Core.GenTensor{AngouriMath.Entity,AngouriMath.Entity.Matrix.EntityTensorWrapperOperations})
Summary
Creates a Matrix from an instance of GenTensor`2.
Since only 2-dimensional matrices are supported, it will throw an exception if the number
of dimensions is too high or too low.
Parameter "innerMatrix"
The instance of a matrix. It will be copied inside. Make sure,
that it has exactly two dimensions. If a vector needs to be
created, make it a normal matrix with one column.
Exception "InvalidMatrixOperationException"
Is thrown if the number of dimensions of the passed
tensor is not 2.
#ctor(System.Func{System.Int32[],AngouriMath.Entity},System.Int32[])
Summary
List of dimensions
If you need matrix, list 2 dimensions
If you need vector, list 1 dimension (length of the vector)
You can't list 0 dimensions
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5057 pages online