Show / Hide Table of Contents

    Struct char1

    char1

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

    Constructors

    | Improve this Doc View Source

    char1(SByte)

    Declaration
    public char1(sbyte xValue)
    Parameters
    Type Name Description
    System.SByte xValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public sbyte x
    Field Value
    Type Description
    System.SByte

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

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

    Methods

    | Improve this Doc View Source

    Add(char1, char1)

    per element Add

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

    Add(char1, SByte)

    per element Add

    Declaration
    public static char1 Add(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Add(SByte, char1)

    per element Add

    Declaration
    public static char1 Add(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Divide(char1, char1)

    per element Divide

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

    Divide(char1, SByte)

    per element Divide

    Declaration
    public static char1 Divide(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Divide(SByte, char1)

    per element Divide

    Declaration
    public static char1 Divide(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Equals(char1)

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

    FromSByte(SByte)

    Cast Method

    Declaration
    public static char1 FromSByte(sbyte src)
    Parameters
    Type Name Description
    System.SByte src
    Returns
    Type Description
    char1
    | 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(char1, char1)

    Component wise maximum as the CUDA function imaxi

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

    Min(char1, char1)

    Component wise minimum as the CUDA function imini

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

    Multiply(char1, char1)

    per element Multiply

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

    Multiply(char1, SByte)

    per element Multiply

    Declaration
    public static char1 Multiply(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Multiply(SByte, char1)

    per element Multiply

    Declaration
    public static char1 Multiply(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Subtract(char1, char1)

    per element Substract

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

    Subtract(char1, SByte)

    per element Substract

    Declaration
    public static char1 Subtract(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Subtract(SByte, char1)

    per element Substract

    Declaration
    public static char1 Subtract(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    ToSByte(char1)

    Cast Method

    Declaration
    public static sbyte ToSByte(char1 src)
    Parameters
    Type Name Description
    char1 src
    Returns
    Type Description
    System.SByte
    | 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(char1, char1)

    per element

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

    Addition(char1, SByte)

    per element

    Declaration
    public static char1 operator +(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Addition(SByte, char1)

    per element

    Declaration
    public static char1 operator +(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Division(char1, char1)

    per element

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

    Division(char1, SByte)

    per element

    Declaration
    public static char1 operator /(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Division(SByte, char1)

    per element

    Declaration
    public static char1 operator /(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Equality(char1, char1)

    per element

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

    Implicit(char1 to SByte)

    Implicit cast

    Declaration
    public static implicit operator sbyte (char1 src)
    Parameters
    Type Name Description
    char1 src
    Returns
    Type Description
    System.SByte
    | Improve this Doc View Source

    Implicit(SByte to char1)

    Implicit cast

    Declaration
    public static implicit operator char1(sbyte src)
    Parameters
    Type Name Description
    System.SByte src
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Inequality(char1, char1)

    per element

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

    Multiply(char1, char1)

    per element

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

    Multiply(char1, SByte)

    per element

    Declaration
    public static char1 operator *(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Multiply(SByte, char1)

    per element

    Declaration
    public static char1 operator *(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Subtraction(char1, char1)

    per element

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

    Subtraction(char1, SByte)

    per element

    Declaration
    public static char1 operator -(char1 src, sbyte value)
    Parameters
    Type Name Description
    char1 src
    System.SByte value
    Returns
    Type Description
    char1
    | Improve this Doc View Source

    Subtraction(SByte, char1)

    per element

    Declaration
    public static char1 operator -(sbyte src, char1 value)
    Parameters
    Type Name Description
    System.SByte src
    char1 value
    Returns
    Type Description
    char1

    Implements

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