Show / Hide Table of Contents

    Struct long3

    long3. long stands here for the long .NET type, i.e. long long or a 64bit long in C++/CUDA

    Implements
    ICudaVectorType
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: ManagedCuda.VectorTypes
    Assembly: ManagedCuda.dll
    Syntax
    public struct long3 : ICudaVectorType

    Constructors

    | Improve this Doc View Source

    long3(Int64)

    Declaration
    public long3(long val)
    Parameters
    Type Name Description
    System.Int64 val
    | Improve this Doc View Source

    long3(Int64, Int64, Int64)

    Declaration
    public long3(long xValue, long yValue, long zValue)
    Parameters
    Type Name Description
    System.Int64 xValue
    System.Int64 yValue
    System.Int64 zValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public long x
    Field Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    y

    Y

    Declaration
    public long y
    Field Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    z

    Z

    Declaration
    public long z
    Field Value
    Type Description
    System.Int64

    Properties

    | Improve this Doc View Source

    Size

    Gives the size of this type in bytes.

    Is equal to Marshal.SizeOf(this);

    Declaration
    public uint Size { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    SizeOf

    Gives the size of this type in bytes.

    Is equal to Marshal.SizeOf(long3);

    Declaration
    public static uint SizeOf { get; }
    Property Value
    Type Description
    System.UInt32

    Methods

    | Improve this Doc View Source

    Add(long3, long3)

    per element Add

    Declaration
    public static long3 Add(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Add(long3, Int64)

    per element Add

    Declaration
    public static long3 Add(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Add(Int64, long3)

    per element Add

    Declaration
    public static long3 Add(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Divide(long3, long3)

    per element Divide

    Declaration
    public static long3 Divide(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Divide(long3, Int64)

    per element Divide

    Declaration
    public static long3 Divide(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Divide(Int64, long3)

    per element Divide

    Declaration
    public static long3 Divide(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Equals(long3)

    Declaration
    public bool Equals(long3 value)
    Parameters
    Type Name Description
    long3 value
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    | Improve this Doc View Source

    Max(long3, long3)

    Component wise maximum as the CUDA function imaxi

    Declaration
    public static long3 Max(long3 aValue, long3 bValue)
    Parameters
    Type Name Description
    long3 aValue
    long3 bValue
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Min(long3, long3)

    Component wise minimum as the CUDA function imini

    Declaration
    public static long3 Min(long3 aValue, long3 bValue)
    Parameters
    Type Name Description
    long3 aValue
    long3 bValue
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Multiply(long3, long3)

    per element Multiply

    Declaration
    public static long3 Multiply(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Multiply(long3, Int64)

    per element Multiply

    Declaration
    public static long3 Multiply(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Multiply(Int64, long3)

    per element Multiply

    Declaration
    public static long3 Multiply(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Subtract(long3, long3)

    per element Substract

    Declaration
    public static long3 Subtract(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Subtract(long3, Int64)

    per element Substract

    Declaration
    public static long3 Subtract(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Subtract(Int64, long3)

    per element Substract

    Declaration
    public static long3 Subtract(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()

    Operators

    | Improve this Doc View Source

    Addition(long3, long3)

    per element

    Declaration
    public static long3 operator +(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Addition(long3, Int64)

    per element

    Declaration
    public static long3 operator +(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Addition(Int64, long3)

    per element

    Declaration
    public static long3 operator +(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Division(long3, long3)

    per element

    Declaration
    public static long3 operator /(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Division(long3, Int64)

    per element

    Declaration
    public static long3 operator /(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Division(Int64, long3)

    per element

    Declaration
    public static long3 operator /(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Equality(long3, long3)

    per element

    Declaration
    public static bool operator ==(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Inequality(long3, long3)

    per element

    Declaration
    public static bool operator !=(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Multiply(long3, long3)

    per element

    Declaration
    public static long3 operator *(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Multiply(long3, Int64)

    per element

    Declaration
    public static long3 operator *(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Multiply(Int64, long3)

    per element

    Declaration
    public static long3 operator *(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Subtraction(long3, long3)

    per element

    Declaration
    public static long3 operator -(long3 src, long3 value)
    Parameters
    Type Name Description
    long3 src
    long3 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Subtraction(long3, Int64)

    per element

    Declaration
    public static long3 operator -(long3 src, long value)
    Parameters
    Type Name Description
    long3 src
    System.Int64 value
    Returns
    Type Description
    long3
    | Improve this Doc View Source

    Subtraction(Int64, long3)

    per element

    Declaration
    public static long3 operator -(long src, long3 value)
    Parameters
    Type Name Description
    System.Int64 src
    long3 value
    Returns
    Type Description
    long3

    Implements

    ICudaVectorType
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX