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

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

Syntax

C#
public static DoubleMatrix RepMat(
	DoubleVector v,
	int m,
	int n
)
Visual Basic (Declaration)
Public Shared Function RepMat ( _
	v As DoubleVector, _
	m As Integer, _
	n As Integer _
) As DoubleMatrix
Visual C++
public:
static DoubleMatrix^ RepMat(
	DoubleVector^ v, 
	int m, 
	int n
)

Parameters

v
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector.
m
Type: System..::.Int32
Number of row multiples.
n
Type: System..::.Int32
Number of column multiples.

Return Value

A new matrix with the repeated data.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentExceptionThrown when m or n is negative.

See Also