pycauset.TriangularFloatMatrix
A memory-mapped upper triangular matrix storing 64-bit floating point numbers. Inherits from MatrixBase.
Constructor
Creates a new triangular matrix of size n x n.
n: The number of rows/columns.has_diagonal: IfTrue, the matrix stores and allows access to the diagonal elements. IfFalse(default), the matrix is strictly upper triangular (diagonal is implicitly 0).
Properties
shape
Returns a tuple (rows, cols) representing the dimensions of the matrix.
Methods
Indexing
Element access uses NumPy-style indexing:
multiply(other: TriangularFloatMatrix) -> TriangularFloatMatrix
Multiply this matrix by another TriangularFloatMatrix.
invert() -> TriangularFloatMatrix
Compute the inverse of the matrix.
__repr__() -> str
String representation of the matrix.