TR-mbed 1.0
Loading...
Searching...
No Matches
Functions | Variables
BiCGSTAB_step_by_step.cpp File Reference

Functions

VectorXd x (n)
 
VectorXd b (n)
 
SparseMatrix< double > A (n, n)
 
BiCGSTAB< SparseMatrix< double > > solver (A)
 
solver setMaxIterations (1)
 

Variables

int n = 10000
 
 x = VectorXd::Random(n)
 
int i = 0
 
 do
 

Function Documentation

◆ A()

SparseMatrix< double > A ( n  ,
n   
)

◆ b()

VectorXd b ( n  )

◆ setMaxIterations()

solver setMaxIterations ( )

◆ solver()

BiCGSTAB< SparseMatrix< double > > solver ( A  )

◆ x()

VectorXd x ( n  )

Variable Documentation

◆ do

do
Initial value:
{
x = solver.solveWithGuess(b,x)
BiCGSTAB< SparseMatrix< double > > solver
Definition BiCGSTAB_simple.cpp:5
x
Definition BiCGSTAB_step_by_step.cpp:7
Scalar * b
Definition benchVecAdd.cpp:17

◆ i

int i = 0

◆ n

int n = 10000

◆ x

x = VectorXd::Random(n)