acosh, getting consistent results from GSL and Guile

2006-08-17 Thread Marco Maggi
Ciao, on the GNU Scientific Library mailing list I asked the following: >for some values of the operand I get different >results from 'acosh' when using GSL (1.8), Guile (1.8) >and GNU Octave (2.1.63). Other functions give me >different results, too. [...] > >Browsing Wikipedia for acosh

and base class?

2006-08-17 Thread Marco Maggi
Ciao, when I define a generic function that accepts a procedure or generic function as parameter I have to define two identical functions: (define-method (map (p ) ... (define-method (map (p ) ... is there a base class for and ? -- Marco Maggi "They say jump!, you say how high?" Rage Ag

design advice on predicate name

2006-08-17 Thread Marco Maggi
Ciao, I have two predicate functions that act upon a vector or matrix: the hit predicate produces a single #t/#f result while the map predicate produces a vector or rank 2 array of #t/#f values. Using generic functions I can write functions with math operators that act upon common numbers or