Click or drag to resize

NMathFunctionsRepMat(DoubleMatrix, Int32, Int32, DoubleMatrix) Method

Repeats the source matrix m x n times in the destination matrix

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static void RepMat(
	DoubleMatrix Src,
	int m,
	int n,
	DoubleMatrix Dest
)

Parameters

Src  DoubleMatrix
The source matrix.
m  Int32
Number of row multiples.
n  Int32
Number of column multiples.
Dest  DoubleMatrix
The destination matrix.

Return Value

A new matrix with the repeated data.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown when m or n is negative.
See Also