Show / Hide Table of Contents

    Struct char3

    char3

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

    Constructors

    | Improve this Doc View Source

    char3(SByte)

    Declaration
    public char3(sbyte val)
    Parameters
    Type Name Description
    System.SByte val
    | Improve this Doc View Source

    char3(SByte, SByte, SByte)

    Declaration
    public char3(sbyte xValue, sbyte yValue, sbyte zValue)
    Parameters
    Type Name Description
    System.SByte xValue
    System.SByte yValue
    System.SByte zValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public sbyte x
    Field Value
    Type Description
    System.SByte
    | Improve this Doc View Source

    y

    Y

    Declaration
    public sbyte y
    Field Value
    Type Description
    System.SByte
    | Improve this Doc View Source

    z

    Z

    Declaration
    public sbyte z
    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(char3);

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

    Methods

    | Improve this Doc View Source

    Add(char3, char3)

    per element Add

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

    Add(char3, SByte)

    per element Add

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

    Add(SByte, char3)

    per element Add

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

    Divide(char3, char3)

    per element Divide

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

    Divide(char3, SByte)

    per element Divide

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

    Divide(SByte, char3)

    per element Divide

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

    Equals(char3)

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

    Component wise maximum as the CUDA function imaxi

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

    Min(char3, char3)

    Component wise minimum as the CUDA function imini

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

    Multiply(char3, char3)

    per element Multiply

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

    Multiply(char3, SByte)

    per element Multiply

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

    Multiply(SByte, char3)

    per element Multiply

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

    Subtract(char3, char3)

    per element Substract

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

    Subtract(char3, SByte)

    per element Substract

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

    Subtract(SByte, char3)

    per element Substract

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

    per element

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

    Addition(char3, SByte)

    per element

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

    Addition(SByte, char3)

    per element

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

    Division(char3, char3)

    per element

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

    Division(char3, SByte)

    per element

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

    Division(SByte, char3)

    per element

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

    Equality(char3, char3)

    per element

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

    Inequality(char3, char3)

    per element

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

    Multiply(char3, char3)

    per element

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

    Multiply(char3, SByte)

    per element

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

    Multiply(SByte, char3)

    per element

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

    Subtraction(char3, char3)

    per element

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

    Subtraction(char3, SByte)

    per element

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

    Subtraction(SByte, char3)

    per element

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

    Implements

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