Struct Dim3
- Namespace
- DotCompute.Abstractions.Ports
- Assembly
- DotCompute.Abstractions.dll
3D dimension specification.
public readonly record struct Dim3 : IEquatable<Dim3>
- Implements
- Inherited Members
Constructors
Dim3(int, int, int)
3D dimension specification.
public Dim3(int X, int Y, int Z)
Parameters
Properties
Total
Total number of elements.
public int Total { get; }
Property Value
X
X dimension.
public int X { get; init; }
Property Value
Y
Y dimension.
public int Y { get; init; }
Property Value
Z
Z dimension.
public int Z { get; init; }
Property Value
Methods
Create1D(int)
Creates a 1D dimension.
public static Dim3 Create1D(int x)
Parameters
xint