Show / Hide Table of Contents

    Struct ushort3

    ushort3

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

    Constructors

    | Improve this Doc View Source

    ushort3(UInt16)

    Declaration
    public ushort3(ushort val)
    Parameters
    Type Name Description
    System.UInt16 val
    | Improve this Doc View Source

    ushort3(UInt16, UInt16, UInt16)

    Declaration
    public ushort3(ushort xValue, ushort yValue, ushort zValue)
    Parameters
    Type Name Description
    System.UInt16 xValue
    System.UInt16 yValue
    System.UInt16 zValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public ushort x
    Field Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    y

    Y

    Declaration
    public ushort y
    Field Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    z

    Z

    Declaration
    public ushort z
    Field Value
    Type Description
    System.UInt16

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

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

    Methods

    | Improve this Doc View Source

    Add(ushort3, ushort3)

    per element Add

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

    Add(ushort3, UInt16)

    per element Add

    Declaration
    public static ushort3 Add(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Add(UInt16, ushort3)

    per element Add

    Declaration
    public static ushort3 Add(ushort src, ushort3 value)
    Parameters
    Type Name Description
    System.UInt16 src
    ushort3 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Divide(ushort3, ushort3)

    per element Divide

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

    Divide(ushort3, UInt16)

    per element Divide

    Declaration
    public static ushort3 Divide(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Divide(UInt16, ushort3)

    per element Divide

    Declaration
    public static ushort3 Divide(ushort src, ushort3 value)
    Parameters
    Type Name Description
    System.UInt16 src
    ushort3 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Equals(ushort3)

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

    Component wise maximum as the CUDA function imaxi

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

    Min(ushort3, ushort3)

    Component wise minimum as the CUDA function imini

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

    Multiply(ushort3, ushort3)

    per element Multiply

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

    Multiply(ushort3, UInt16)

    per element Multiply

    Declaration
    public static ushort3 Multiply(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Multiply(UInt16, ushort3)

    per element Multiply

    Declaration
    public static ushort3 Multiply(ushort src, ushort3 value)
    Parameters
    Type Name Description
    System.UInt16 src
    ushort3 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Subtract(ushort3, ushort3)

    per element Substract

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

    Subtract(ushort3, UInt16)

    per element Substract

    Declaration
    public static ushort3 Subtract(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Subtract(UInt16, ushort3)

    per element Substract

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

    per element

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

    Addition(ushort3, UInt16)

    per element

    Declaration
    public static ushort3 operator +(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Addition(UInt16, ushort3)

    per element

    Declaration
    public static ushort3 operator +(ushort src, ushort3 value)
    Parameters
    Type Name Description
    System.UInt16 src
    ushort3 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Division(ushort3, ushort3)

    per element

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

    Division(ushort3, UInt16)

    per element

    Declaration
    public static ushort3 operator /(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Division(UInt16, ushort3)

    per element

    Declaration
    public static ushort3 operator /(ushort src, ushort3 value)
    Parameters
    Type Name Description
    System.UInt16 src
    ushort3 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Equality(ushort3, ushort3)

    per element

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

    Inequality(ushort3, ushort3)

    per element

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

    Multiply(ushort3, ushort3)

    per element

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

    Multiply(ushort3, UInt16)

    per element

    Declaration
    public static ushort3 operator *(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Multiply(UInt16, ushort3)

    per element

    Declaration
    public static ushort3 operator *(ushort src, ushort3 value)
    Parameters
    Type Name Description
    System.UInt16 src
    ushort3 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Subtraction(ushort3, ushort3)

    per element

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

    Subtraction(ushort3, UInt16)

    per element

    Declaration
    public static ushort3 operator -(ushort3 src, ushort value)
    Parameters
    Type Name Description
    ushort3 src
    System.UInt16 value
    Returns
    Type Description
    ushort3
    | Improve this Doc View Source

    Subtraction(UInt16, ushort3)

    per element

    Declaration
    public static ushort3 operator -(ushort src, ushort3 value)
    Parameters
    Type Name Description
    System.UInt16 src
    ushort3 value
    Returns
    Type Description
    ushort3

    Implements

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