ILNumerics Ultimate VS

ExtensionMethodsRepmatT, LocalT, InT, OutT, RetT, StorageT Method (ConcreteArrayT, LocalT, InT, OutT, RetT, StorageT, InArrayInt64)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Creates new array with repeated copies of the content of the source array.

[ILNumerics Core Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public static RetT Repmat<T, LocalT, InT, OutT, RetT, StorageT>(
	this ConcreteArray<T, LocalT, InT, OutT, RetT, StorageT> A,
	InArray<long> rep
)
where LocalT : Mutable<T, LocalT, InT, OutT, RetT, StorageT>
where InT : Immutable<T, LocalT, InT, OutT, RetT, StorageT>
where OutT : Mutable<T, LocalT, InT, OutT, RetT, StorageT>
where RetT : ConcreteRetArray<T, LocalT, InT, OutT, RetT, StorageT>
where StorageT : new(), BaseStorage<T, LocalT, InT, OutT, RetT, StorageT>

Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayT, LocalT, InT, OutT, RetT, StorageT
The source array.
rep
Type: ILNumericsInArrayInt64
Repetition factors for each dimensions A is to be replicated along.

Type Parameters

T
LocalT
InT
OutT
RetT
StorageT

Return Value

Type: RetT
New array with repeated copies of the source array along the dimensions as specified by rep.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArrayT, LocalT, InT, OutT, RetT, StorageT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions

ExceptionCondition
ArgumentNullExceptionIf rep is null.
Remarks

[ILNumerics Core Module]

See Also

Reference