TensorPlay
Reference guides
Copy
View MarkdownDownload .md

tensorplay.linalg

Matrix Properties

Decompositions

Solvers

Inverses

Matrix Functions

tensorplay.linalg.matrix_exp

Square matrix exponential via Pade approximation with scaling and squaring (the algorithm of torch's linalg_matrix_exp, Higham 2005).

tensorplay.linalg.matrix_sqrth

Matrix square root via the Denman-Beavers fixed-point iteration (converges for matrices with no eigenvalues on the closed negative real axis).

tensorplay.linalg.matrix_power

Matrix Products

Tensor Operations

tensorplay.linalg.tensorinv

tensorplay.linalg.tensorsolve

Solves A X = B where A and B are (tuples of) matrices interpreted as a single square system over the trailing dimensions.

Misc

Experimental Functions

Ask DeepWiki