Pow(System.Int32)
Method (no overloads)
Summary
Performs a binary power of the matrix.
The matrix must be a square matrix.
The matrix must be a square matrix.
Returns
A matrix to the given power with InnerSimplified
applied.
applied.
Remarks
A negative power of a matrix with an entry that is not a number is a positive power of the adjugate
over the determinant, as Inverse has been since https://github.com/asc-community/AngouriMath/issues/2346.
GenericTensor's inverse took the determinant by elimination, divided by its first pivot, so
[[a, b], [c, d]]^(-1) had entries d / (a * (d * a - c * b) / a) , which simplified to a
condition thata is not 0: at a = 0 it had no value, where [[0, 1], [1, 0]] is
its own inverse. https://github.com/asc-community/AngouriMath/issues/2564
over the determinant, as Inverse has been since https://github.com/asc-community/AngouriMath/issues/2346.
GenericTensor's inverse took the determinant by elimination, divided by its first pivot, so
condition that
its own inverse. https://github.com/asc-community/AngouriMath/issues/2564
Exception "InvalidMatrixOperationException"
The matrix is not square, or the power is negative and the matrix has no inverse.
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6091 pages online