| DoubleTriDiagMatrixDivide(DoubleTriDiagMatrix, Double) Method |
Divides the non-zero elements of a tridiagonal matrix by a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleTriDiagMatrix Divide(
DoubleTriDiagMatrix A,
double a
)
Public Shared Function Divide (
A As DoubleTriDiagMatrix,
a As Double
) As DoubleTriDiagMatrix
public:
static DoubleTriDiagMatrix^ Divide(
DoubleTriDiagMatrix^ A,
double a
)
static member Divide :
A : DoubleTriDiagMatrix *
a : float -> DoubleTriDiagMatrix
Parameters
- A DoubleTriDiagMatrix
- A tridiagonal matrix.
- a Double
- A scalar.
Return Value
DoubleTriDiagMatrixA tridiagonal matrix,
Bwith
B[i,j] = A[i,j] / a
whenever
j - i is less than or equal to 1, or
i - j
is less than or equal to 1.
See Also