Tensor<T>.ToString Method

Definition

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

Overload List

ToString()Returns a string that represents the current object.
ToString(String) Converts the numeric value of this tensor instance to its equivalent string representation, using the specified format.
ToString(String, IFormatProvider) Returns a String representation of this tensor.

ToString

Returns a string that represents the current object.
C#
public override string? ToString()

Return Value

String
A string that represents the current object.

ToString(String)

Converts the numeric value of this tensor instance to its equivalent string representation, using the specified format.
C#
public string ToString(
	string? format
)

Parameters

format  String
A format string.

Return Value

String
A String representation of this instance.

ToString(String, IFormatProvider)

Returns a String representation of this tensor.
C#
public virtual string ToString(
	string? format,
	IFormatProvider? formatProvider
)

Parameters

format  String
A String specifying the format to use.
formatProvider  IFormatProvider
The IFormatProvider to use to format the value.

Return Value

String
A String representation of this instance.

Implements

IFormattable.ToString(String, IFormatProvider)

See Also