Show / Hide Table of Contents

    Struct short3

    short3

    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 short3 : ICudaVectorType

    Constructors

    | Improve this Doc View Source

    short3(Int16)

    Declaration
    public short3(short val)
    Parameters
    Type Name Description
    System.Int16 val
    | Improve this Doc View Source

    short3(Int16, Int16, Int16)

    Declaration
    public short3(short xValue, short yValue, short zValue)
    Parameters
    Type Name Description
    System.Int16 xValue
    System.Int16 yValue
    System.Int16 zValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public short x
    Field Value
    Type Description
    System.Int16
    | Improve this Doc View Source

    y

    Y

    Declaration
    public short y
    Field Value
    Type Description
    System.Int16
    | Improve this Doc View Source

    z

    Z

    Declaration
    public short z
    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(short3);

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

    Methods

    | Improve this Doc View Source

    Add(short3, short3)

    per element Add

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

    Add(short3, Int16)

    per element Add

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

    Add(Int16, short3)

    per element Add

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

    Divide(short3, short3)

    per element Divide

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

    Divide(short3, Int16)

    per element Divide

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

    Divide(Int16, short3)

    per element Divide

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

    Equals(short3)

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

    Component wise maximum as the CUDA function imaxi

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

    Min(short3, short3)

    Component wise minimum as the CUDA function imini

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

    Multiply(short3, short3)

    per element Multiply

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

    Multiply(short3, Int16)

    per element Multiply

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

    Multiply(Int16, short3)

    per element Multiply

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

    Subtract(short3, short3)

    per element Substract

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

    Subtract(short3, Int16)

    per element Substract

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

    Subtract(Int16, short3)

    per element Substract

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

    per element

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

    Addition(short3, Int16)

    per element

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

    Addition(Int16, short3)

    per element

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

    Division(short3, short3)

    per element

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

    Division(short3, Int16)

    per element

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

    Division(Int16, short3)

    per element

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

    Equality(short3, short3)

    per element

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

    Inequality(short3, short3)

    per element

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

    Multiply(short3, short3)

    per element

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

    Multiply(short3, Int16)

    per element

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

    Multiply(Int16, short3)

    per element

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

    Subtraction(short3, short3)

    per element

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

    Subtraction(short3, Int16)

    per element

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

    Subtraction(Int16, short3)

    per element

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

    Implements

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