Table of Contents

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

X int

X dimension.

Y int

Y dimension.

Z int

Z dimension.

Properties

Total

Total number of elements.

public int Total { get; }

Property Value

int

X

X dimension.

public int X { get; init; }

Property Value

int

Y

Y dimension.

public int Y { get; init; }

Property Value

int

Z

Z dimension.

public int Z { get; init; }

Property Value

int

Methods

Create1D(int)

Creates a 1D dimension.

public static Dim3 Create1D(int x)

Parameters

x int

Returns

Dim3