ILNumerics - Technical Application Development
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
New row vector.
Note: This API is now obsolete.
Creates a row vector. This function is deprecated. Use vector``1(UMP) and [!:reshape<T>(InArray<T>, long, StorageOrders?)] instead.
[ILNumerics Computing Engine]
Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
[ObsoleteAttribute("Use vector(1,2,3).Reshape(1,3) instead! In ArrayStyle ILNumericsV4 vector(1,2,3).T is an easier alternative.")] public static RetArray<T> row<T>( params T[] elements )
Parameters
- elements
- Type: T
Elements of the row vector.
Type Parameters
- T
- Element type
Return Value
Type: RetArrayTNew row vector.
Remarks
The same effect is achieved by: <c>vector<T>(elements).Reshape(1, Equals(elements, null) ? 0 : elements.Length)</c>.
[ILNumerics Computing Engine]
See Also