Subtracts a matrix from a scalar.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static void Subtract( double s, DoubleMatrix A, DoubleMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub Subtract ( _ s As Double, _ A As DoubleMatrix, _ B As DoubleMatrix _ ) |
| Visual C++ |
|---|
public: static void Subtract( double s, DoubleMatrix^ A, DoubleMatrix^ B ) |
Parameters
- s
- Type: System..::.Double
A scalar.
- A
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A Matrix.
- B
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
A matrix whose contents are overwritten with the difference B[i,j] = s - A[i,j]