You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > CplxToReal Method > Matrix.CplxToReal Method (TMtxVec, TMtxVec)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.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 Matrix. An execption is raised if calling object is not complex.

var a,b,c: Matrix; begin a.SetIt(1,2,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!