AngouriMath
Navigation
CheckShapes
Method with 2 overloads
CheckShapes(AngouriMath.Entity,System.Func{AngouriMath.Entity.Variable,System.Boolean})
Summary
The shape of every matrix inexpr that can be read off it before compiling, and a
refusal where two of them cannot be combined. Simplification has already carried out every operation it
can on matrices written into the expression, so one that is left with written matrices for operands is
usually left because their shapes do not fit --[[x, 1]] + [x, y] -- and the compiled delegate
would only have thrown when called, at every point. A matrix argument's shape is known only when the
delegate is called, and is checked then.
Parameter "expr"
The expression about to be compiled.Parameter "isMatrix"
Whether a variable is a matrix argument.Exception "InvalidMatrixOperationException"
Two matrices whose shapes are known cannot be combined.CheckShapes(AngouriMath.Entity,System.Func{AngouriMath.Entity.Variable,System.Nullable{System.ValueTuple{System.Int32,System.Int32}}})
Parameter "expr"
The expression about to be compiled.Parameter "argument"
The shape of an argument, as ShapeOfArgument(System.Type) gives it.
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5629 pages online