Hi Barton,
The nset.lisp which comes in 5.9.1 share/contrib/nset directory
does not implement divisors() function. Your example did not
work at all.
However, I found that cvs version does implement divisors().
Now nset.lisp is moved to src directory. load(nset) is not
necessary to use this function.
Anyway, thanks for the reponse.
Yasuaki Honda
On 2005/07/08, at 1:06 AM, Barton Willis wrote:
>
> -----maxima-admin@math.utexas.edu wrote: -----
>
>
>> I am playing with maxima-5.9.1 and found that divisors() function
>>
> described
>
>> in the Maxima manual is not implemented.
>>
>
> There is a divisors function in nset. In maxima 5.9.1, you'll need
> to load
> nset to use divisors. An example
>
> (%i9) load(nset)$
> (%i10) divisors(28);
> (%o10) {1,2,4,7,14,28}
>
> For negative integer arguments, your divisors function and the one
> in nset
> differ.
>
> Regards,
>
> Barton
>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>