Show / Hide Table of Contents

    Struct short1

    short1

    Implements
    ICudaVectorType
    ICudaVectorTypeForArray
    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 short1 : ICudaVectorType, ICudaVectorTypeForArray

    Constructors

    | Improve this Doc View Source

    short1(Int16)

    Declaration
    public short1(short xValue)
    Parameters
    Type Name Description
    System.Int16 xValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public short x
    Field Value
    Type Description
    System.Int16

    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(short1);

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

    Methods

    | Improve this Doc View Source

    Add(short1, short1)

    per element Add

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

    Add(short1, Int16)

    per element Add

    Declaration
    public static short1 Add(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Add(Int16, short1)

    per element Add

    Declaration
    public static short1 Add(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Divide(short1, short1)

    per element Divide

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

    Divide(short1, Int16)

    per element Divide

    Declaration
    public static short1 Divide(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Divide(Int16, short1)

    per element Divide

    Declaration
    public static short1 Divide(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Equals(short1)

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

    FromInt16(Int16)

    Cast Method

    Declaration
    public static short1 FromInt16(short src)
    Parameters
    Type Name Description
    System.Int16 src
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    GetChannelNumber()

    Returns the Channel number from vector type.

    Declaration
    public uint GetChannelNumber()
    Returns
    Type Description
    System.UInt32

    1

    | Improve this Doc View Source

    GetCUArrayFormat()

    Returns a matching CUArrayFormat.

    Declaration
    public CUArrayFormat GetCUArrayFormat()
    Returns
    Type Description
    CUArrayFormat
    | 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(short1, short1)

    Component wise maximum as the CUDA function imaxi

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

    Min(short1, short1)

    Component wise minimum as the CUDA function imini

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

    Multiply(short1, short1)

    per element Multiply

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

    Multiply(short1, Int16)

    per element Multiply

    Declaration
    public static short1 Multiply(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Multiply(Int16, short1)

    per element Multiply

    Declaration
    public static short1 Multiply(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Subtract(short1, short1)

    per element Substract

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

    Subtract(short1, Int16)

    per element Substract

    Declaration
    public static short1 Subtract(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Subtract(Int16, short1)

    per element Substract

    Declaration
    public static short1 Subtract(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    ToInt16(short1)

    Cast Method

    Declaration
    public static short ToInt16(short1 src)
    Parameters
    Type Name Description
    short1 src
    Returns
    Type Description
    System.Int16
    | 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(short1, short1)

    per element

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

    Addition(short1, Int16)

    per element

    Declaration
    public static short1 operator +(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Addition(Int16, short1)

    per element

    Declaration
    public static short1 operator +(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Division(short1, short1)

    per element

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

    Division(short1, Int16)

    per element

    Declaration
    public static short1 operator /(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Division(Int16, short1)

    per element

    Declaration
    public static short1 operator /(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Equality(short1, short1)

    per element

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

    Implicit(short1 to Int16)

    Implicit cast

    Declaration
    public static implicit operator short (short1 src)
    Parameters
    Type Name Description
    short1 src
    Returns
    Type Description
    System.Int16
    | Improve this Doc View Source

    Implicit(Int16 to short1)

    Implicit cast

    Declaration
    public static implicit operator short1(short src)
    Parameters
    Type Name Description
    System.Int16 src
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Inequality(short1, short1)

    per element

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

    Multiply(short1, short1)

    per element

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

    Multiply(short1, Int16)

    per element

    Declaration
    public static short1 operator *(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Multiply(Int16, short1)

    per element

    Declaration
    public static short1 operator *(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Subtraction(short1, short1)

    per element

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

    Subtraction(short1, Int16)

    per element

    Declaration
    public static short1 operator -(short1 src, short value)
    Parameters
    Type Name Description
    short1 src
    System.Int16 value
    Returns
    Type Description
    short1
    | Improve this Doc View Source

    Subtraction(Int16, short1)

    per element

    Declaration
    public static short1 operator -(short src, short1 value)
    Parameters
    Type Name Description
    System.Int16 src
    short1 value
    Returns
    Type Description
    short1

    Implements

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