Click or drag to resize

NMathFunctionsRepMat(DoubleVector, Int32, Int32) Method

Treats the vector as a row vector and repeats it m x n times.

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

Parameters

v  DoubleVector
A vector.
m  Int32
Number of row multiples.
n  Int32
Number of column multiples.

Return Value

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