Click or drag to resize

FloatBandMatrixMultiply(FloatBandMatrix, Single) Method

Multiplies the non-zero elements of a banded matrix and a scalar.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatBandMatrix Multiply(
	FloatBandMatrix A,
	float a
)

Parameters

A  FloatBandMatrix
A banded matrix.
a  Single
A scalar.

Return Value

FloatBandMatrix
A banded matrix, B, with the same upper and lower bandwidths as A, and B[i,j] = A[i,j] * a 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