Tensor<T> Constructor

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0

Overload List

Tensor<T>() Constructs a new tensor.
Tensor<T>(SerializationInfo, StreamingContext) Constructs a new tensor from serialization data.

Tensor<T>

Constructs a new tensor.
C#
protected Tensor()

Tensor<T>(SerializationInfo, StreamingContext)

Constructs a new tensor from serialization data.
C#
protected Tensor(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The data needed to serialize or deserialize the Tensor<T>.
context  StreamingContext
The source and destination of a given serialized stream.

Remarks

This constructor is called internally by the .NET framework when a Tensor<T> is deserialized.

See Also