Show / Hide Table of Contents

    Struct long4

    long4. 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 long4 : ICudaVectorType

    Constructors

    | Improve this Doc View Source

    long4(Int64)

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

    long4(Int64, Int64, Int64, Int64)

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

    Fields

    | Improve this Doc View Source

    w

    W

    Declaration
    public long w
    Field Value
    Type Description
    System.Int64
    | 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(long4);

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

    Methods

    | Improve this Doc View Source

    Add(long4, long4)

    per element Add

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

    Add(long4, Int64)

    per element Add

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

    Add(Int64, long4)

    per element Add

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

    Divide(long4, long4)

    per element Divide

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

    Divide(long4, Int64)

    per element Divide

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

    Divide(Int64, long4)

    per element Divide

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

    Equals(long4)

    Declaration
    public bool Equals(long4 value)
    Parameters
    Type Name Description
    long4 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(long4, long4)

    Component wise maximum as the CUDA function imaxi

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

    Min(long4, long4)

    Component wise minimum as the CUDA function imini

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

    Multiply(long4, long4)

    per element Multiply

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

    Multiply(long4, Int64)

    per element Multiply

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

    Multiply(Int64, long4)

    per element Multiply

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

    Subtract(long4, long4)

    per element Substract

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

    Subtract(long4, Int64)

    per element Substract

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

    Subtract(Int64, long4)

    per element Substract

    Declaration
    public static long4 Subtract(long src, long4 value)
    Parameters
    Type Name Description
    System.Int64 src
    long4 value
    Returns
    Type Description
    long4
    | 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(long4, long4)

    per element

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

    Addition(long4, Int64)

    per element

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

    Addition(Int64, long4)

    per element

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

    Division(long4, long4)

    per element

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

    Division(long4, Int64)

    per element

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

    Division(Int64, long4)

    per element

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

    Equality(long4, long4)

    per element

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

    Inequality(long4, long4)

    per element

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

    Multiply(long4, long4)

    per element

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

    Multiply(long4, Int64)

    per element

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

    Multiply(Int64, long4)

    per element

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

    Subtraction(long4, long4)

    per element

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

    Subtraction(long4, Int64)

    per element

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

    Subtraction(Int64, long4)

    per element

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

    Implements

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