Divides a Matrix by a scalar.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Shared Function Divide ( _
	matrix As Matrix, _
	factor As Double _
) As Matrix
C#
public static Matrix Divide (
	Matrix matrix,
	double factor
)
C++
public:
static Matrix^ Divide (
	Matrix^ matrix, 
	double factor
)

Parameters

matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
A Matrix.
factor (System.Double)
A real number.

Return Value

A Matrix that is the matrix matrix divided by factor.

Remarks

This method returns a new matrix whose components are the components of the matrix matrix multiplied by factor.

Exceptions

ExceptionCondition
ArgumentNullExceptionmatrix is nullNothingnullptr.