Top
Back: find_first_primitive_root
Forward: inverse_modulus
FastBack:
FastForward:
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.3.37 binary_add

Procedure from library crypto.lib (see crypto_lib).

Usage:
binary_add(binary_list)

Return:
binary encoded list, increased by 1

Example:
 
LIB "crypto.lib";
ring r = 0,x,lp;
list binary_list = 1,0,1,1,1;
binary_add(binary_list);
==> [1]:
==>    1
==> [2]:
==>    1
==> [3]:
==>    0
==> [4]:
==>    0
==> [5]:
==>    0


Top Back: find_first_primitive_root Forward: inverse_modulus FastBack: FastForward: Up: crypto_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.