NaphtaliSandholmMethodSolveBlockTridiagonal Method

Solves a block-tridiagonal linear system J*dx = rhs using the Thomas algorithm for block matrices. O(nBlocks * blockSize^3) instead of O(n^3) for dense solve.

Definition

Namespace: DWSIM.UnitOperations.UnitOperations.Auxiliary.SepOps.SolvingMethods
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
private static double[] SolveBlockTridiagonal(
	double[,] J,
	double[] rhs,
	int blockSize,
	int nBlocks
)

Parameters

J  Double
 
rhs  Double
 
blockSize  Int32
 
nBlocks  Int32
 

Return Value

Double

See Also