public class TridiagonalSolver extends Object
| Modifier and Type | Method and Description |
|---|---|
static double[] |
solvTriDag(TridiagonalMatrix aM,
double[] b)
Solves the system Ax = y for the unknown vector x, where A is a tridiagonal matrix and y is a vector.
|
static DoubleArray |
solvTriDag(TridiagonalMatrix aM,
DoubleArray b)
Solves the system Ax = y for the unknown vector x, where A is a tridiagonal matrix and y is a vector.
|
public static double[] solvTriDag(TridiagonalMatrix aM, double[] b)
aM - tridiagonal matrixb - known vector (must be same length as rows/columns of matrix)public static DoubleArray solvTriDag(TridiagonalMatrix aM, DoubleArray b)
aM - tridiagonal matrixb - known vector (must be same length as rows/columns of matrix)Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.