| DoubleSymBandMatrixDivide(Double, DoubleSymBandMatrix) Method |
Divides a scalar by the non-zero elements of a banded matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleSymBandMatrix Divide(
double a,
DoubleSymBandMatrix A
)
Public Shared Function Divide (
a As Double,
A As DoubleSymBandMatrix
) As DoubleSymBandMatrix
public:
static DoubleSymBandMatrix^ Divide(
double a,
DoubleSymBandMatrix^ A
)
static member Divide :
a : float *
A : DoubleSymBandMatrix -> DoubleSymBandMatrix
Parameters
- a Double
- A scalar.
- A DoubleSymBandMatrix
- A banded matrix.
Return Value
DoubleSymBandMatrixA banded matrix,
B, with the same upper and lower bandwidths as
A,
and
B[i,j] = a / A[i,j] whenever
j - i is less than or equal to the
upper bandwidth of
A, or
i - j is less than or equal to the lower
bandwidth of
A.
See Also