Top
Back: boolean_poly_ring
Forward: boolean_poly
FastBack:
FastForward:
Up: polybori_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.14.2.3 boolean_constant

Procedure from library polybori.lib (see polybori_lib).

Usage:
boolean_constant(const[, rb]); const constant and rb boolean ring

Return:
default: constant const in the representation of the boolean ring rb==boolean_poly_ring(basering); optional input: rb=boolean ring rb

Example:
 
LIB "polybori.lib";
==> // ** args must be 1 in     system("install", "bideal",   "ideal",    bid\
   eal2ideal, 4);
ring r=7,(x,y),Dp;
pyobject rb=boolean_poly_ring(r);
boolean_constant(int(3));
==> 1
typeof(boolean_constant(int(3)));
==> pyobject
boolean_constant(int(0));
==> 0
typeof(boolean_constant(int(0)));
==> pyobject
See also: boolean_ideal; boolean_std.


Top Back: boolean_poly_ring Forward: boolean_poly FastBack: FastForward: Up: polybori_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4-0-3, 2016, generated by texi2html.