Docs/LAPACK/BLAS/la.linearSolvers.solve
Back to LAPACK/BLAS

la.linearSolvers.solve

Solve a system of linear equations Ax = b for a general matrix A.

Syntax

la.linearSolvers.solve(A, b, options?)

Description

Solve a system of linear equations Ax = b for a general matrix A. Uses LU decomposition with partial pivoting (DGESV).

Parameters

NameDescription
A- Coefficient matrix (n × n). Can be 2D array (row-major) or 1D array (column-major).
b- Right-hand side vector or matrix (n × nrhs).
options(optional)- Solver options

Returns

SolveResult