philsupertramp/game-math
Loading...
Searching...
No Matches
Functions
backwardSub.h File Reference
#include "../utils.h"
#include <iostream>
#include <vector>

Go to the source code of this file.

Functions

Matrix< double > backwardSub (const Matrix< double > &R, const Matrix< double > &b)
 

Detailed Description

Regular backward substitution. Calculates result given upper right triangular matrix $$ z=R\cdot b \Rightarrow R^{-1}\cdot b = z $$

Requires:

Function Documentation

◆ backwardSub()

Matrix< double > backwardSub ( const Matrix< double > &  R,
const Matrix< double > &  b 
)

Backward-substitution

Parameters
RCoefficient matrix
bresult vector
Returns
z
Examples
numerics/lin_alg/TestBackwardSub.cpp.