Constant Vector<T>.Broadcast Into Method
Broadcasts the elements of the vector along the specified dimension.
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A matrix that contains the vector's elements broadcast count times along broadcastDimension.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override Matrix<T> BroadcastInto(
Dimension broadcastDimension,
int count,
Matrix<T> result
)
Parameters
- broadcastDimension Dimension
- A value that specifies whether the elements should be broadcast across rows or columns.
- count Int32
- The number of times the elements should be repeated.
- result Matrix<T>
- The matrix that is to hold the result. May be null.
Return Value
Matrix<T>A matrix that contains the vector's elements broadcast count times along broadcastDimension.
Exceptions
Argument | count is less than zero. |
Dimension | The result matrix result does not have the required dimensions. |