Skip to content

inv

Module: strata.core • Kind: function
Source: strata/core/linalg.mojo

def inv[dtype: DType = DType.float64](A: Matrix[dtype]) -> Matrix[dtype]
from strata.core import inv

Computes the multiplicative inverse of a square matrix A using LU decomposition (dgetrf/dgetri).