matrix.lubksb

Syntax

x := matrix.lubksb(v,i,b)

Solves the system A*x = b via back-substitution of a system previously decomposed via matrix.ludcmp. The matrix v is assumed to be a matrix previously returned from matrix.ludcmp. The list i is assumed to be an index list previously calculated in the same call to matrix.ludcmp. The column matrix b is the right-hand side of the system to the solved.

Returns:

x - The solution to the system of equations, expressed as a column matrix.

Arguments:

v - array, matrix, or tensor pointer corresponding to a square matrix.

i - the index list or array given to matrix.ludcmp

b - the right hand side, as a column matrix, to solve for.