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 - pausing SINGULAR-LIB-code
Author Message
  Post subject:  pausing SINGULAR-LIB-code  Reply with quote
Replying to the below mail of Stephen, there is indeed a way to pause SINGULAR when LIB code is being executed:
1) You will need to modify the LIB. Hence, you need to find out where it is situated on your computer. The easiest way to do so is by loading the LIB inside SINGULAR. SINGULAR will then tell you from where exactly it has been loaded.
2) Go to the LIB and open it in a text editor.
3) Find the appropriate line of SINGULAR code where you want to pause execution. (In the below case this will be somewhere in linalg.lib, proc jordan or jordannf.)
4) a) You can simply insert a print statement which will of course not pause execution but provide some more useful output.
4) b) You put a "pause()" which will halt execution and wait for you to hit "return".
4) c) You may also put a "~;". This halts execution and allows you to execute any SINGULAR command before you go on by simply hitting "return" right after the promt.

Hope that helps!
Regards,
Frank



Hello-

I am a student at Fordham University, and I am wondering if there is a way to pause Gauss-Jordan elimination after each row in Singular? I would like to look at the matrix at this intermediate step.

Thank you for the help.

My best,

Stephen Fox
Post Posted: Wed Jun 09, 2010 11:41 am


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