Tensor<T>.LeftShift Operator

Shifts the elements of a tensor to the left..

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public static Tensor<T> operator <<(
	Tensor<T> left,
	int right
)

Parameters

left  Tensor<T>
A tensor that serves as the left operand.
right  Int32
A scalar that serves as the right operand.

Return Value

Tensor<T>
A tensor of the same shape as left whose elements are equal to the shift of the corresponding elements of left and right.

Exceptions

See Also