Vector<T>.Broadcast Method

Broadcasts the elements of the vector along the specified dimension.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Matrix<T> Broadcast(
	Dimension broadcastDimension,
	int count
)

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.

Return Value

Matrix<T>
A matrix that contains the vector's elements broadcast count times along broadcastDimension.

Exceptions

ArgumentOutOfRangeException

count is less than zero.

See Also