ProductName  

Returns a new matrix object that represents the result of current matrix's scalar multiplication by a numeric value.

Syntax

MatrixObject.TimesScalar(Scalar)

Return Value

A reference to a new matrix object that contains the result of scalar multiplication.

Parameters

Scalar
The numeric value by which to multiply all matrix elements.

Remarks

If the matrix is real then the Scalar parameter must be Double. If the matrix is complex, then the Scalar parameter must be a Complex.

See Also

Times Method

Applies To: Matrix | CMatrix