Divide a scalar by a matrix.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static void Divide(
	double s,
	DoubleMatrix A,
	DoubleMatrix B
)
Visual Basic (Declaration)
Public Shared Sub Divide ( _
	s As Double, _
	A As DoubleMatrix, _
	B As DoubleMatrix _
)
Visual C++
public:
static void Divide(
	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 by the quotient B[i,j] = s / A[i,j].

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if A and B do not have the same dimensions.

See Also