Show / Hide Table of Contents

    Struct cuFloatComplex

    cuFloatComplex

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

    Constructors

    | Improve this Doc View Source

    cuFloatComplex(Single)

    Declaration
    public cuFloatComplex(float realValue)
    Parameters
    Type Name Description
    System.Single realValue
    | Improve this Doc View Source

    cuFloatComplex(Single, Single)

    Declaration
    public cuFloatComplex(float realValue, float imagValue)
    Parameters
    Type Name Description
    System.Single realValue
    System.Single imagValue

    Fields

    | Improve this Doc View Source

    imag

    imaginary component

    Declaration
    public float imag
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    real

    real component

    Declaration
    public float real
    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(cuFloatComplex);

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

    Methods

    | Improve this Doc View Source

    Add(cuFloatComplex, cuFloatComplex)

    per element Add

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

    Add(cuFloatComplex, cuFloatReal)

    Add only real part

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

    Add(cuFloatComplex, Single)

    Add only real part

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

    Add(cuFloatReal, cuFloatComplex)

    Add only real part

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

    Add(Single, cuFloatComplex)

    Add only real part

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

    Divide(cuFloatComplex, cuFloatComplex)

    Complex Divide

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

    Divide(cuFloatComplex, cuFloatReal)

    per element Divide

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

    Divide(cuFloatComplex, Single)

    per element Divide

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

    Divide(cuFloatReal, cuFloatComplex)

    per element Divide

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

    Divide(Single, cuFloatComplex)

    per element Divide

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

    Equals(cuFloatComplex)

    Declaration
    public bool Equals(cuFloatComplex obj)
    Parameters
    Type Name Description
    cuFloatComplex obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(cuFloatReal)

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

    GetChannelNumber()

    Returns the Channel number from vector type.

    Declaration
    public uint GetChannelNumber()
    Returns
    Type Description
    System.UInt32

    2

    | 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

    Multiply(cuFloatComplex, cuFloatComplex)

    Complex Multiply

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

    Multiply(cuFloatComplex, cuFloatReal)

    per element Multiply

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

    Multiply(cuFloatComplex, Single)

    per element Multiply

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

    Multiply(cuFloatReal, cuFloatComplex)

    per element Multiply

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

    Multiply(Single, cuFloatComplex)

    per element Multiply

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

    Subtract(cuFloatComplex, cuFloatComplex)

    per element Substract

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

    Subtract(cuFloatComplex, cuFloatReal)

    Substract real part

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

    Subtract(cuFloatComplex, Single)

    Substract real part

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

    Subtract(cuFloatReal, cuFloatComplex)

    Substract real part

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

    Subtract(Single, cuFloatComplex)

    Substract real part

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

    component wise

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

    Addition(cuFloatComplex, cuFloatReal)

    component wise

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

    Addition(cuFloatComplex, Single)

    component wise

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

    Addition(cuFloatReal, cuFloatComplex)

    component wise

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

    Addition(Single, cuFloatComplex)

    component wise

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

    Division(cuFloatComplex, cuFloatComplex)

    component wise

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

    Division(cuFloatComplex, cuFloatReal)

    component wise

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

    Division(cuFloatComplex, Single)

    component wise

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

    Division(cuFloatReal, cuFloatComplex)

    component wise

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

    Division(Single, cuFloatComplex)

    component wise

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

    Equality(cuFloatComplex, cuFloatComplex)

    component wise

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

    Equality(cuFloatComplex, cuFloatReal)

    component wise

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

    Equality(cuFloatReal, cuFloatComplex)

    component wise

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

    Inequality(cuFloatComplex, cuFloatComplex)

    component wise

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

    Inequality(cuFloatComplex, cuFloatReal)

    component wise

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

    Inequality(cuFloatReal, cuFloatComplex)

    component wise

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

    Multiply(cuFloatComplex, cuFloatComplex)

    component wise

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

    Multiply(cuFloatComplex, cuFloatReal)

    component wise

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

    Multiply(cuFloatComplex, Single)

    component wise

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

    Multiply(cuFloatReal, cuFloatComplex)

    component wise

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

    Multiply(Single, cuFloatComplex)

    component wise

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

    Subtraction(cuFloatComplex, cuFloatComplex)

    component wise

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

    Subtraction(cuFloatComplex, cuFloatReal)

    component wise

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

    Subtraction(cuFloatComplex, Single)

    component wise

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

    Subtraction(cuFloatReal, cuFloatComplex)

    component wise

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

    Subtraction(Single, cuFloatComplex)

    component wise

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

    Implements

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