Struct StackArray<T>
An array on stack
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[HybridizerIgnore]
[Guid("8897A065-A055-48BE-8488-D5AF4A3BCB53")]
[IntrinsicType("::hybridizer::stackarray<>")]
public struct StackArray<T>
where T : struct
Type Parameters
Name | Description |
---|---|
T |
Constructors
StackArray(Int32)
constructor
Declaration
public StackArray(int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | count | elements count |
Properties
data
get the underlying array -- allowing operations on it
Declaration
public T[] data { get; }
Property Value
Type | Description |
---|---|
T[] |
Item[Int32]
get or set value in the array
Declaration
public T this[int idx] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | idx |
Property Value
Type | Description |
---|---|
T |