public final class ThomasAlgorithm extends Object
Constructor and Description |
---|
ThomasAlgorithm() |
Modifier and Type | Method and Description |
---|---|
Vector |
solve(TridiagonalMatrix A,
Vector d)
Solves a tridiagonal matrix equation.
|
public Vector solve(TridiagonalMatrix A, Vector d)
A
- the left hand side coefficient matrixd
- the right hand side vectorArithmeticException
- when the diagonal contains zerosCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.