Click or drag to resize

FloatSymBandMatrixAddition(FloatSymBandMatrix, Single) Operator

Adds a scalar to the non-zero elements of a banded matrix.

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

Parameters

A  FloatSymBandMatrix
A banded matrix.
a  Single
A scalar.

Return Value

FloatSymBandMatrix
A banded matrix, B, with the same half bandwidth as A, and B[i,j] = A[i,j] + a whenever j - i is less than or equal to the half bandwidth of A, or i - j is less than or equal to the half bandwidth of A.
See Also