In the aldor-interface Makefile is a blacklist which I now wanted to
remove. That led me to
https://github.com/hemmecke/fricas-svn/blob/master/src/algebra/random.spad.pamphlet#L161
Apart from the fact that neither binomial nor poisson nor geometric are
implemented, there is RationalNumber which is undefined. There appears
RationalNumber==> Fraction Integer
a few lines below, but of course that will end up in the wrong .spad file.
With the attached patch I could remove RIDIST from the blacklisted
domains. But of course, this all is rather useless, since RIDIST is not
completely implemented.
Actually, we could think about removing (=commenting out) unused
(incompletely implemented) domains from random.spad.pamphlet until
somebody provides a proper implementation.
Opinions?
Ralf
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.
>From 9449d68bfd108e70d85378c5d5c3d833f802d8d2 Mon Sep 17 00:00:00 2001
From: Ralf Hemmecke <[email protected]>
Date: Sun, 5 Feb 2012 21:51:28 +0100
Subject: fix definition of RationalNumber
---
src/algebra/random.spad.pamphlet | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/algebra/random.spad.pamphlet b/src/algebra/random.spad.pamphlet
index 18cfe78..5320cfd 100644
--- a/src/algebra/random.spad.pamphlet
+++ b/src/algebra/random.spad.pamphlet
@@ -163,6 +163,7 @@ IntegerBits: with
)abbrev package RIDIST RandomIntegerDistributions
++ Description:
++ This package exports integer distributions
+RationalNumber==> Fraction Integer
-- Currently unused.
RandomIntegerDistributions(): with
uniform: Segment Integer -> (() -> Integer)
@@ -215,7 +216,6 @@ RandomIntegerDistributions(): with
)abbrev package RFDIST RandomFloatDistributions
++ Description:
++ This package exports random floating-point distributions
-RationalNumber==> Fraction Integer
-- Currently unused.
RandomFloatDistributions(): Cat == Body where
NNI ==> NonNegativeInteger
--
1.7.5.4