AngouriMath

Try it live

Navigation

MatrixOperationsOverNumbers


← Back to list of classes

Description

Summary

A determinant, a transpose, a trace, an entry, a scalar product or a vector product, carried out for the
compilers where every name in it is compiled as a number. Simplification leaves each of them as written where a
name stands beside a written matrix, since the name may stand for a matrix: dot([0, 0, 1], cos(p) * [x, y, z]) is left as it is. A variable compiled as a number is one, so for the compiler the operand is the vector
[cos(p) * x, cos(p) * y, cos(p) * z], and the product is carried out on that. Left as written, the
FastExpression compiler had no form for the node and refused it, and simplification before compiling read a
transpose or a vector product beside a written matrix as a number:
[1, 0]T * transpose(x * [[1, 2], [3, 4]]) * [0, 1] compiled to 0, where it is 3 x.
https://github.com/asc-community/AngouriMath/issues/105
https://github.com/asc-community/AngouriMath/issues/2147

Members

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6091 pages online