TOpenCLValue.Conj Method

TOpenCLValue Conj(TOpenCLValue Vec)

Conjugate.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

Complex conjugate Vec value.

Examples
using Dew.Math;
using Dew.Math.Units;

namespace Dew.Examples
{
    void Example()
    {
        TOpenCLValue a;
        clMtxVec.CreateIt(out c, out d);
        try
        {
            d.Copy(Cplx(2,3));
            c.Conj(d);
        }
        finally
        {
            clMtxVec.FreeIt(ref c, ref d);
        }
    }
}