Show / Hide Table of Contents

    Struct ushort1

    ushort1

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

    Constructors

    | Improve this Doc View Source

    ushort1(UInt16)

    Declaration
    public ushort1(ushort xValue)
    Parameters
    Type Name Description
    System.UInt16 xValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public ushort x
    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(ushort1);

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

    Methods

    | Improve this Doc View Source

    Add(ushort1, ushort1)

    per element Add

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

    Add(ushort1, UInt16)

    per element Add

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

    Add(UInt16, ushort1)

    per element Add

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

    Divide(ushort1, ushort1)

    per element Divide

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

    Divide(ushort1, UInt16)

    per element Divide

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

    Divide(UInt16, ushort1)

    per element Divide

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

    Equals(ushort1)

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

    FromUInt16(UInt16)

    Cast Method

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

    Component wise maximum as the CUDA function imaxi

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

    Min(ushort1, ushort1)

    Component wise minimum as the CUDA function imini

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

    Multiply(ushort1, ushort1)

    per element Multiply

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

    Multiply(ushort1, UInt16)

    per element Multiply

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

    Multiply(UInt16, ushort1)

    per element Multiply

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

    Subtract(ushort1, ushort1)

    per element Substract

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

    Subtract(ushort1, UInt16)

    per element Substract

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

    Subtract(UInt16, ushort1)

    per element Substract

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()
    | Improve this Doc View Source

    ToUInt16(ushort1)

    Cast Method

    Declaration
    public static ushort ToUInt16(ushort1 src)
    Parameters
    Type Name Description
    ushort1 src
    Returns
    Type Description
    System.UInt16

    Operators

    | Improve this Doc View Source

    Addition(ushort1, ushort1)

    per element

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

    Addition(ushort1, UInt16)

    per element

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

    Addition(UInt16, ushort1)

    per element

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

    Division(ushort1, ushort1)

    per element

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

    Division(ushort1, UInt16)

    per element

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

    Division(UInt16, ushort1)

    per element

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

    Equality(ushort1, ushort1)

    per element

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

    Implicit(ushort1 to UInt16)

    Implicit cast

    Declaration
    public static implicit operator ushort (ushort1 src)
    Parameters
    Type Name Description
    ushort1 src
    Returns
    Type Description
    System.UInt16
    | Improve this Doc View Source

    Implicit(UInt16 to ushort1)

    Implicit cast

    Declaration
    public static implicit operator ushort1(ushort src)
    Parameters
    Type Name Description
    System.UInt16 src
    Returns
    Type Description
    ushort1
    | Improve this Doc View Source

    Inequality(ushort1, ushort1)

    per element

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

    Multiply(ushort1, ushort1)

    per element

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

    Multiply(ushort1, UInt16)

    per element

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

    Multiply(UInt16, ushort1)

    per element

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

    Subtraction(ushort1, ushort1)

    per element

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

    Subtraction(ushort1, UInt16)

    per element

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

    Subtraction(UInt16, ushort1)

    per element

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

    Implements

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