Suy

20 Reputation

4 Badges

5 years, 322 days

MaplePrimes Activity


These are replies submitted by Suy

@Carl Love Merci beaucoup.

@Carl Love Thank you for reply. Yes, we can use coeff(..) as well as GetComponents(..) to extract terms from the second form of the L1fh above.

But my question is how we can extract terms from the following expression (without D_x, D_y, and D_L):

 

PS:

In Python's Sympy package we can simply use ".args" attribute: L1fh.args or L1fh.args[0]

 

@Torre Thank you very much.

@Carl Love 

You're right. Thank you.

@Carl Love 

Thank you so much.

 

@Carl Love 

Thanks that works.

For example, please consider the Maple codes below:

Plex:=[x,y,z];
f1:= x*y-z^2+2*x;
f2:=x^3-2*y^2+z;
f3:=x-y+4*z;
Polys:=[f1,f2,f3];
F:=Polys;
with(MTM):
n:=size(Plex,2)-1;


for i from 1 to n do  
S||i:=resultant(F[i],F[i+1],Plex[1])
od;


So, the question is how can I implement Matlab's "while" loop in Maple?

 

 

Page 1 of 1