Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: test function in Singular
PostPosted: Thu Apr 11, 2019 11:38 am 

Joined: Sat Oct 01, 2005 11:40 am
Posts: 40
Location: IIT Guwahati, Guwahati, Assam, INDIA
Continuing with my previous post ...
It seems Singular already has a command named test. `grep` on source code shows that this funtion is defined in:
Quote:
Singular_SRC_path/Sources/Singular/ipshell.cc


The function doesnt seem to be documented.

Wonder what this function does...

-- VInay


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: test function in Singular
PostPosted: Thu Apr 11, 2019 4:38 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
Singular has the option command which internally set/clears bits in a 64bit vector.
(Not all of the bits have names).
test as a command allows to access these bits by there number instead of their name - undocumented, as these changes all the time and should not be used.
(And it is defined in Singular/table.h: "test" -> TEST_CMD->jjTEST
and jjTEST (which gets called) is in Singular/iparith.cc)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

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