Tensor.Stack Horizontal<T> Method
Stacks tensors horizontally (by column).
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
The tensors in tensors, upgraded to have dimension at least two, stacked horizontally.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public static Tensor<T> StackHorizontal<T>(
params Tensor<T>[] tensors
)
Parameters
- tensors Tensor<T>[]
- An array of tensors with elements of type T.
Type Parameters
- T
- The type of the elements of the tensors.
Return Value
Tensor<T>The tensors in tensors, upgraded to have dimension at least two, stacked horizontally.
Exceptions
Argument | tensors is null. |
Argument | One or more of the elements of tensors is null. |
Dimension | One or more elements of tensors has dimensions that are not compatible with the others. |