Home Online Manual
Top
Back: atkins_lib
Forward: bubblesort
FastBack:
FastForward:
Up: atkins_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.2.1 newTest

Procedure from library atkins.lib (see atkins_lib).

Usage:
newTest(L,D);

Return:
1, if D does not already exist in L,
-1, if D does already exist in L

Example:
 
LIB "atkins.lib";
ring r = 0,x,dp;
list L=8976,-223456,556,-778,3,-55603,45,766677;
number D=-55603;
newTest(L,D);
==> -1