ndattani

564 Reputation

6 Badges

17 years, 56 days

MaplePrimes Activity


These are questions asked by ndattani

Hello,

I have a symbolic function, and I want to see its pointwise numerical evaluation in fortran format.

Basically, if I have a function like e^x, I want an array like:

  2.7183d+000
  7.3891d+000
  2.0086d+001
  5.4598d+001
  1.4841d+002
  4.0343d+002
  1.0966d+003
  2.9810d+003
  8.1031d+003
  2.2026d+004

What I tried doing was:

-----

I type in:

--------------------------------------------------------------------

RET := λbar*R :

RET[Sigma] := cos(RET)+RET*sin(RET):

C6[Sigma]+(C3[Sigma]*RET[Sigma])^2/(4*De);

--------------------------------------------------------------------

It displays fine on my GUI, but when I copy and paste it into a text editor I get:

RET := λbar*R :

RET[Sigma] := cos(RET)+RET*sin(RET):

C6[Sigma]+(C*3[Sigma]*RE*T[Sigma])^2/(4*De);

--------------------------------------------------------------------

Is it possible to compute possible addition chains for an integer in maple ??

If not, is there ANY software that will do it ??

It looks like, choosing a public key exponent with a smaller addition chain makes  RSA decryption more efficient .. but how to know whether or not your exponent has a small addition chain!

From format->autoexecute , I wanted to press "clear" but accidentally pressed "clear all" ... now all 200 of my autoexecuted functions (which were very carefully placed and is not easy to remember which ones they were!) have been removed and pressing edit->undo does NOTHING!

I'm so lucky that I save my maple worksheets every time I make big changes (so I have maybe 36 versions of this worksheet!) .... but should maple not be able to "undo" somehting THAT simple!

 

<p>Once I have defined a complicated expression, and then I realize that the variable x should have initially been named r , can I change x into r in such a way that when i view the expression, it is expressed in terms of r rather than x ?? Without going back and changing EVERY x into an r ??  If i do r=x or x=r and then view the expression it still displays everything in terms of x rather than r.</p>
<p>Also, maple's fortran code generator renames my variables s~ ,t~ and g~ into c1,c2 and c3,  </p>
<p>can I customize what it renames them as ??</p>
1 2 3 4 5 6 7 Page 3 of 7