Dew MtxVec NET
TMtxVec.PowerVec Method
Summary
Raises Base object elements to Exponent object elements power.

Class
TMtxVec

Declaration
Function PowerVec(Base, Exponent: TMtxVec): TMtxVec;

Description
Raises Base elements to Exponent elements power. Only positive exponents can be handled if exponent object Complex property is True.
 See Also 
Power 

Example 1

var a,b,c: TVec; begin CreateIt(a,b,c); try a.SetIt(True,[1,2,3,4]); b.SetIt(True,[3,3,2,2]); c.PowerVec(a,b); // c = [1,8,9,16] finally FreeIt(a,b,c); end; end;

Copyright 2008 Dew Research
http://www.dewresearch.com