You are here:
Symbol Reference >
MtxExpr Namespace
>
Classes
>
Vector Record
>
public
>
Exp2 Method
>
Vector.Exp2 Method ()
MtxVec VCL
Example
Vector.Exp2 Method ()
var
a,b:
Vector
;
begin
a.SetIt(False,[1,2,3,4]);
// a = [1,2,3,4]
a.Exp2;
// a = [2,4,8,16]
a := Exp2(a); b.Exp2(a);
//same as
b := Exp2(a);
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.