Skip to content

solve

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

def solve[dtype: DType = DType.float64](
A: Matrix[dtype],
b: List[Scalar[dtype]],
) -> List[Scalar[dtype]]
from strata.core import solve

Solves a square linear system A * x = b using LU decomposition (dgesv/sgesv).