Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - memoize
Author Message
  Post subject:  Re: memoize  Reply with quote
Hello, Mr. Bahiano,

Quote:
> Hi everybody.
>
> Does any one knows how to make singular remember the values that was calculated before. I mean, there exist command like the "memoize" from Macaulay2?
>


Not exactly. We have a built-in function, "_", which returns the value of last displayed expression. (See the detailed explanation at http://www.singular.uni-kl.de/Manual/2-0-5/sing_35.htm).
However, we do not recommend to use it while changing rings due to the reason that polynomial-based objects in Singular are ring-dependent.

We can illustrate it with the following code
Code:
ring r=0,(x,y),dp;
poly f=x2-y3;
groebner(jacob(f));
ideal T=_;
T;


Quote:
> the memoize command makes the procedure remember the results it had obtained before.
>
> Thanks for any help.
>


With best regards,
Post Posted: Thu Aug 11, 2005 8:36 pm
  Post subject:  memoize  Reply with quote
Hi everybody.

Does any one knows how to make singular remember the values that was calculated before. I mean, there exist command like the "memoize" from Macaulay2?

the memoize command makes the procedure remember the results it had obtained before.

Thanks for any help.


email: [email protected]
Posted in old Singular Forum on: 2004-05-12 20:27:02+02
Post Posted: Thu Aug 11, 2005 5:32 pm


It is currently Fri May 13, 2022 10:57 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group