Hi Qian,
I can try your patch only tonight. For my two patches, I think I can
commit them. Will also do tonight.
I have detected a few more docfixes while I go through the sources, and
things are not that easy whent it comes to generating the .input files
from the data in the book.
Compare
I have committed all related patches, the patch in this thread is
the last one.
I have updated it a little bit to improve the build process and
fixed the pictures in section 10.5.
https://github.com/oldk1331/fricas/commit/e34fadc066ee34b4b6a56ceadfa3284934166999
So your changes should be based
On Thu, May 02, 2024 at 07:22:52PM +0200, Ralf Hemmecke wrote:
> It is, of course, only a convenience, but I find it somewhat weird that
> SPAD does not allow to divide a rational number by an integer.
> The available signatures only say
>
> http://fricas.github.io/api/Fraction.html#l4672616374696
Look at the following functions.
You might get trapped.
PP ==> PostiveInteger
C ==> Fraction Integer
expTruncated1(s: PP, t: C): C ==
z: C := 1 + t -- truncated exp
n: PP := 1-- exponent for t
p: C := t -- power of t, p=t^n
I guess by adding this new signature, it will cause problems for
type conferencing in compiler/interpreter.
There will be much more possibilities to consider.
IIRC, there's already performance issues when compiling expressions
with lots of "/", for example when solving radical roots for
degree 3
It is, of course, only a convenience, but I find it somewhat weird that
SPAD does not allow to divide a rational number by an integer.
The available signatures only say
http://fricas.github.io/api/Fraction.html#l4672616374696f6e-2f
/: (%, %) -> %
/: (S, S) -> %
but not
/: (%, S) -> %
Wo
On Thu, May 02, 2024 at 06:14:54PM +0800, Qian Yun wrote:
> Currently, draw(x,x=0..10,unit==[1.0,2.0])
> does not show units by default, you have to click the control
> panel button or use 'units(%,1,"on")'.
>
> I think that by specifying "unit" options in "draw", the intention
> is to show units.
On 5/2/24 13:20, Qian Yun wrote:
In book section 6.19, the Pascal's triangle is not displayed.
It seems that "output" function displays stuff that are not
enclosed by ioHook.
Ralf, are you aware of this issue, and any ideas to fix it?
Yes, this problem is know. And as far as I remember, I
In book section 6.19, the Pascal's triangle is not displayed.
It seems that "output" function displays stuff that are not
enclosed by ioHook.
Ralf, are you aware of this issue, and any ideas to fix it?
- Qian
--
You received this message because you are subscribed to the Google Groups "FriCAS
Currently, draw(x,x=0..10,unit==[1.0,2.0])
does not show units by default, you have to click the control
panel button or use 'units(%,1,"on")'.
I think that by specifying "unit" options in "draw", the intention
is to show units.
This is also the case in some of the graphs in reference book,
for
10 matches
Mail list logo