Summary
Conjugate.
Class
TMtxVec
Declaration
Function Conj(Index, Len: integer): TMtxVec;
Description
Conjugate calling object elements [Index]..[Index+Len-1] in-place. An exception is raised if
ConditionCheck is true and array borders are overrun.
Declaration
Function Conj: TMtxVec;
Description
Conjugate all calling object elements in-place.
Example 1
var c: TVec;
begin
CreateIt(c);
try
c.SetIt(True,[1,2,3,4]); // c = [1+2i, 3+4i]
c.Conj; // c = [1-2i, 3-4i]
finally
FreeIt(c);
end;
end;
Declaration
Function Conj(Vec: TMtxVec; VecIndex, Index, Len: integer): TMtxVec;
Description
Conjugate Vec elements Vec[VecIndex]..Vec[VecIndex+Len-1] and store them in the calling object elements [Index]..[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if
ConditionCheck is true and array borders are overrun.
Declaration
Function Conj(Vec: TMtxVec): TMtxVec;
Summary
Conjugate each of Vec elements and store the results in the calling object.
Description
The Size and
Complex properties of the calling object are set implicitly to match Vec vector.
| Copyright 2008 Dew Research |
http://www.dewresearch.com