Axes Implicit  Conversion Operators

Definition

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

Overload List

Implicit(Index to Axes) Implicitly converts an integer to an axis collection.
Implicit(Int32 to Axes) Implicitly converts an integer to an axis collection.
Implicit(ValueTuple<Int32, Int32> to Axes) Implicitly converts a pair of integers to an axis collection.
Implicit(ValueTuple<Int32, Int32, Int32> to Axes) Implicitly converts a triplet of integers to an axis collection.
Implicit(ValueTuple<Int32, Int32, Int32, Int32> to Axes) Implicitly converts a quartet of integers to an axis collection.
Implicit(ValueTuple<Int32, Int32, Int32, Int32, Int32> to Axes) Implicitly converts a quintuplet of integers to an axis collection.
Implicit(ValueTuple<Int32, Int32, Int32, Int32, Int32, Int32> to Axes) Implicitly converts a sextuplet of integers to an axis collection.

Implicit Conversion (Index to Axes)

Implicitly converts an integer to an axis collection.
C#
public static implicit operator Axes (
	Index axis
)

Parameters

axis  Index
The index of the one axis in the collection.

Return Value

Axes

Implicit Conversion (Int32 to Axes)

Implicitly converts an integer to an axis collection.
C#
public static implicit operator Axes (
	int axis
)

Parameters

axis  Int32
The index of the one axis in the collection.

Return Value

Axes

Implicit Conversion (ValueTuple<Int32, Int32> to Axes)

Implicitly converts a pair of integers to an axis collection.
C#
public static implicit operator Axes (
	(int , int ) axes
)

Parameters

axes  ValueTuple<Int32, Int32>
A tuple of two integers that contain the index of the axes in the collection.

Return Value

Axes

Implicit Conversion (ValueTuple<Int32, Int32, Int32> to Axes)

Implicitly converts a triplet of integers to an axis collection.
C#
public static implicit operator Axes (
	(int , int , int ) axes
)

Parameters

axes  ValueTuple<Int32, Int32, Int32>
A tuple of three integers that contain the index of the axes in the collection.

Return Value

Axes

Implicit Conversion (ValueTuple<Int32, Int32, Int32, Int32> to Axes)

Implicitly converts a quartet of integers to an axis collection.
C#
public static implicit operator Axes (
	(int , int , int , int ) axes
)

Parameters

axes  ValueTuple<Int32, Int32, Int32, Int32>
A tuple of four integers that contain the index of the axes in the collection.

Return Value

Axes

Implicit Conversion (ValueTuple<Int32, Int32, Int32, Int32, Int32> to Axes)

Implicitly converts a quintuplet of integers to an axis collection.
C#
public static implicit operator Axes (
	(int , int , int , int , int ) axes
)

Parameters

axes  ValueTuple<Int32, Int32, Int32, Int32, Int32>
A tuple of five integers that contain the index of the axes in the collection.

Return Value

Axes

Implicit Conversion (ValueTuple<Int32, Int32, Int32, Int32, Int32, Int32> to Axes)

Implicitly converts a sextuplet of integers to an axis collection.
C#
public static implicit operator Axes (
	(int , int , int , int , int , int ) axes
)

Parameters

axes  ValueTuple<Int32, Int32, Int32, Int32, Int32, Int32>
A tuple of six integers that contain the index of the axes in the collection.

Return Value

Axes

See Also