| FloatMatrixAdd(FloatMatrix, Single, FloatMatrix) Method |
Adds a scalar to a matrix
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static void Add(
FloatMatrix A,
float s,
FloatMatrix B
)
Public Shared Sub Add (
A As FloatMatrix,
s As Single,
B As FloatMatrix
)
public:
static void Add(
FloatMatrix^ A,
float s,
FloatMatrix^ B
)
static member Add :
A : FloatMatrix *
s : float32 *
B : FloatMatrix -> unit
Parameters
- A FloatMatrix
- A matrix.
- s Single
- A scalar.
- B FloatMatrix
- A matrix whose contents are overwritten with the sum:
B[i,j] = A[i,j] + s.
Exceptions See Also