Subtracts one upper triangular matrix from another.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static FloatUpperTriMatrix Subtract( FloatUpperTriMatrix A, FloatUpperTriMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Subtract ( _ A As FloatUpperTriMatrix, _ B As FloatUpperTriMatrix _ ) As FloatUpperTriMatrix |
| Visual C++ |
|---|
public: static FloatUpperTriMatrix^ Subtract( FloatUpperTriMatrix^ A, FloatUpperTriMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.FloatUpperTriMatrix
an upper triangular matrix.
- B
- Type: CenterSpace.NMath.Matrix..::.FloatUpperTriMatrix
an upper triangular matrix.
Return Value
an upper triangular matrix C where C[i,j] = A[i,j] - B[i,j].
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if A and B do not have the same dimensions. |