Singular
https://www.singular.uni-kl.de/forum/

test function in Singular
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2851
Page 1 of 1

Author:  vinay [ Thu Apr 11, 2019 11:38 am ]
Post subject:  test function in Singular

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

Author:  hannes [ Thu Apr 11, 2019 4:38 pm ]
Post subject:  Re: test function in Singular

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)

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/