You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > CplxToReal Method > Vector.CplxToReal Method (TMtxVec, TMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.CplxToReal Method (TMtxVec, TMtxVec)

Split complex calling object in real and imaginary part.

Syntax
C#
Visual Basic
public void CplxToReal(TMtxVec ReVec, TMtxVec ImVec);

Split calling object into real and imaginary components. Store all real components in ReVec and all imaginary components in ImVec. Size and Complex properties of ReVec and ImVec are set implicitly to match with the calling vector. An execption is raised if calling object is not complex.

var a,b,c: Vector; begin a.SetIt(True,[1,-2,3,4]); a.CplxToReal(b,c); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!