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

Go to the source code of this file.

Functions

Matrix< double > forwardSub (const Matrix< double > &L, const Matrix< double > &b)
 

Detailed Description

Regular forward substitution. Calculates result given lower left triangular matrix $$ b=L\cdot c \Rightarrow L^{-1}\cdot b = c $$

Requires:

Function Documentation

◆ forwardSub()

Matrix< double > forwardSub ( const Matrix< double > &  L,
const Matrix< double > &  b 
)

Forward-substitution

Parameters
LCoefficient Matrix
bresulting vector
Returns
c
Examples
numerics/lin_alg/TestForwardSub.cpp.