Show / Hide Table of Contents

    Struct long1

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

    Constructors

    | Improve this Doc View Source

    long1(Int64)

    Declaration
    public long1(long xValue)
    Parameters
    Type Name Description
    System.Int64 xValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public long x
    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(long1);

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

    Methods

    | Improve this Doc View Source

    Add(long1, long1)

    per element Add

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

    Add(long1, Int64)

    per element Add

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

    Add(Int64, long1)

    per element Add

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

    Divide(long1, long1)

    per element Divide

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

    Divide(long1, Int64)

    per element Divide

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

    Divide(Int64, long1)

    per element Divide

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

    Equals(long1)

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

    FromInt64(Int64)

    Cast Method

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

    Component wise maximum as the CUDA function imaxi

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

    Min(long1, long1)

    Component wise minimum as the CUDA function imini

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

    Multiply(long1, long1)

    per element Multiply

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

    Multiply(long1, Int64)

    per element Multiply

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

    Multiply(Int64, long1)

    per element Multiply

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

    Subtract(long1, long1)

    per element Substract

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

    Subtract(long1, Int64)

    per element Substract

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

    Subtract(Int64, long1)

    per element Substract

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

    ToInt64(long1)

    Cast Method

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

    per element

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

    Addition(long1, Int64)

    per element

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

    Addition(Int64, long1)

    per element

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

    Division(long1, long1)

    per element

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

    Division(long1, Int64)

    per element

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

    Division(Int64, long1)

    per element

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

    Equality(long1, long1)

    per element

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

    Implicit(long1 to Int64)

    Implicit cast

    Declaration
    public static implicit operator long (long1 src)
    Parameters
    Type Name Description
    long1 src
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    Implicit(Int64 to long1)

    Implicit cast

    Declaration
    public static implicit operator long1(long src)
    Parameters
    Type Name Description
    System.Int64 src
    Returns
    Type Description
    long1
    | Improve this Doc View Source

    Inequality(long1, long1)

    per element

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

    Multiply(long1, long1)

    per element

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

    Multiply(long1, Int64)

    per element

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

    Multiply(Int64, long1)

    per element

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

    Subtraction(long1, long1)

    per element

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

    Subtraction(long1, Int64)

    per element

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

    Subtraction(Int64, long1)

    per element

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

    Implements

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