Le 19/12/12 11:17, Lamy Alain a écrit :
Hi,
Does anyone know how to perform efficiently an operation like :
u .^k
with:
u = [u1, u2, ..., un] // ui : real numbers
and:
k = [k1; k2; kp] // ki : positive integers
The result being :
[ u1^k1, u2^k1, ..., un^k1;
u1^k2, u2^k2, ..., un^k2;
On 19/12/2012 11:17, Lamy Alain wrote:
Hi,
Does anyone know how to perform efficiently an operation like :
u .^k
with:
u = [u1, u2, ..., un] // ui : real numbers
and:
k = [k1; k2; kp] // ki : positive integers
The result being :
[ u1^k1, u2^k1, ..., un^k1;
u1^k2, u2^k2, ..., un^k2;
...
Hello Christophe,
Le 19/12/2012 11:51, Dang, Christophe a écrit :
Is there an elegant way to do this or do I have to calculate some points and
draw with xpoly (ro something else)?
rotate() can be used when points defining a 2D curve are available,
while the object returned by xarc() is