[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.19 Mathematics (algebraic structure)

Procedures for algebraic structure.

Function: addable? obj
Function: subtractable? obj
Function: multipliable? obj
Function: dividable? obj
Function: negatable? obj
Function: invertable? obj

checks the object is addable, subtractable, multipliable, dividable, negatable and invertable, respectively.
If the result is #t, the object can apply procedure +, -, *, /, one argument - and one argument /, respectively.

Function: ring? obj

returns #t if the object is a ring.
If the result is #t, the object can apply procedure +, - and *.

Function: field? obj

returns #t if the object is a field.
If the result is #t, the object can apply procedure +, -, * and /.


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on August 9, 2012 using texi2html 5.0.