Solve
Solve a linear matrix equation, or system of linear algebraic equations.
vector matrix::Solve(
const vector b
);
|
Parameters
b
[in] Ordinate or 'dependent variable' values. (Vector of free terms).
Return Value
Note
Example
//--- SLAE solution
vector_x=matrix_a.Solve(vector_b);
//--- check if a * x = b
result_vector=matrix_a.MatMul(vector_x);
errors=vector_b.Compare(result_vector,1e-12);
|