<< Jacobian SYMSCI Toolbox Mat >>

SYMSCI Toolbox >> SYMSCI Toolbox > LUSolve

LUSolve

symbolic linear system solver

Calling Sequence

x: LUSolve( A, b )

Arguments

A

(n,n)-matrix of symbolic scalars

b

(n,1)-matrix of symbolic scalars

x

(n,1)-matrix of symbolic scalars

Description

Returns the solution x of the linear system A*x = b.

Examples

// create a matrices A, b 
A = %(Mat("a",2,2))
b = %(Mat("b",2,1))

// solution of A*x = b
LUSolve(A,b)

// clean up
reset();
clear A b;

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< Jacobian SYMSCI Toolbox Mat >>