Re: [Scilab-users] u .^ k ?

2012-12-19 Thread Stéphane Mottelet
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;

Re: [Scilab-users] u .^ k ?

2012-12-19 Thread Adrien Vogt-Schilb
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; ...

Re: [Scilab-users] Rotate an xarc figure

2012-12-19 Thread Samuel Gougeon
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