Show / Hide Table of Contents

    Struct float1

    float1

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

    Constructors

    | Improve this Doc View Source

    float1(Single)

    Declaration
    public float1(float xValue)
    Parameters
    Type Name Description
    System.Single xValue

    Fields

    | Improve this Doc View Source

    x

    X

    Declaration
    public float x
    Field Value
    Type Description
    System.Single

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

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

    Methods

    | Improve this Doc View Source

    Add(float1, float1)

    per element Add

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

    Add(float1, Single)

    per element Add

    Declaration
    public static float1 Add(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Add(Single, float1)

    per element Add

    Declaration
    public static float1 Add(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Divide(float1, float1)

    per element Divide

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

    Divide(float1, Single)

    per element Divide

    Declaration
    public static float1 Divide(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Divide(Single, float1)

    per element Divide

    Declaration
    public static float1 Divide(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Equals(float1)

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

    FromSingle(Single)

    Cast Method

    Declaration
    public static float1 FromSingle(float src)
    Parameters
    Type Name Description
    System.Single src
    Returns
    Type Description
    float1
    | 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(float1, float1)

    Component wise maximum as the CUDA function fmaxf

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

    Min(float1, float1)

    Component wise minimum as the CUDA function fminf

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

    Multiply(float1, float1)

    per element Multiply

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

    Multiply(float1, Single)

    per element Multiply

    Declaration
    public static float1 Multiply(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Multiply(Single, float1)

    per element Multiply

    Declaration
    public static float1 Multiply(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Subtract(float1, float1)

    per element Substract

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

    Subtract(float1, Single)

    per element Substract

    Declaration
    public static float1 Subtract(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Subtract(Single, float1)

    per element Substract

    Declaration
    public static float1 Subtract(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    ToSingle(float1)

    Cast Method

    Declaration
    public static float ToSingle(float1 src)
    Parameters
    Type Name Description
    float1 src
    Returns
    Type Description
    System.Single
    | 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(float1, float1)

    per element

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

    Addition(float1, Single)

    per element

    Declaration
    public static float1 operator +(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Addition(Single, float1)

    per element

    Declaration
    public static float1 operator +(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Division(float1, float1)

    per element

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

    Division(float1, Single)

    per element

    Declaration
    public static float1 operator /(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Division(Single, float1)

    per element

    Declaration
    public static float1 operator /(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Equality(float1, float1)

    per element

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

    Implicit(float1 to Single)

    Implicit cast

    Declaration
    public static implicit operator float (float1 src)
    Parameters
    Type Name Description
    float1 src
    Returns
    Type Description
    System.Single
    | Improve this Doc View Source

    Implicit(Single to float1)

    Implicit cast

    Declaration
    public static implicit operator float1(float src)
    Parameters
    Type Name Description
    System.Single src
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Inequality(float1, float1)

    per element

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

    Multiply(float1, float1)

    per element

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

    Multiply(float1, Single)

    per element

    Declaration
    public static float1 operator *(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Multiply(Single, float1)

    per element

    Declaration
    public static float1 operator *(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Subtraction(float1, float1)

    per element

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

    Subtraction(float1, Single)

    per element

    Declaration
    public static float1 operator -(float1 src, float value)
    Parameters
    Type Name Description
    float1 src
    System.Single value
    Returns
    Type Description
    float1
    | Improve this Doc View Source

    Subtraction(Single, float1)

    per element

    Declaration
    public static float1 operator -(float src, float1 value)
    Parameters
    Type Name Description
    System.Single src
    float1 value
    Returns
    Type Description
    float1

    Implements

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