Home   >   User Resources   >   Online Help   >   apaMatrix.SolveLinear
 

 

Function index Version 3.0.0

apaMatrix.SolveLinear(A, b)

Excel=apaMatrix.SolveLinear(A, b)

Result

Solves a linear system of equations A*x = b.

Syntax

A: n x n matrix A

b: n x 1 vector b

Algorithm

The linear system is solved by matrix decomposition (e.g. LU decomposition). The result is the solution vector x; on error, an Excel error value is returned.