You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > RealToCplx Method > clVector.RealToCplx Method (TOpenCLMtxVec, TOpenCLMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.RealToCplx Method (TOpenCLMtxVec, TOpenCLMtxVec, int, int, int, int)

Construct a complex object from the ReVec elements [ReIndex]..[ReIndex+Len-1] (real part) and the ImVec elements [ImIndex]..[ImIndex+Len-1] (imaginary part).

Syntax
C#
Visual Basic
public TOpenCLMtxVec RealToCplx(TOpenCLMtxVec ReVec, TOpenCLMtxVec ImVec, int ReIndex, int ImIndex, int Index, int Len);

The results are stored to calling object elements [Index]..[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if array borders are overrun. An exception is also raised if ReVec or ImVec Complex property is True.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!