Original Date: Sun, 13 Mar 2005 08:44:43 -0600
fricas
(1) -> series(sin(x),x=%i)
Type: UnivariatePuiseuxSeries
?(Expression(Complex(Integer)),
x,
%i)
Type: UnivariatePuiseuxSeries?(Expression Complex Integer,x,)
^^
but for Integer for example
Type: UnivariatePuiseuxSeries?(Expression Integer,x,0)
file: msgdb.boot.pamphlet
function: brightPrint0 x = '"%i" =>
MARG + 3
------------------------
Each message may contain formatting codes and and parameter codes.
The formatting codes are:
%b turn on bright printing
%ceoff turn off centering
%ceon turn on centering
%d turn off bright printing
%f user defined printing
%i start indentation of 3 more spaces
%l start a new line
%m math-print an expression
%rjoff turn off right justification (actually ragged left)
%rjon turn on right justification (actually ragged left)
%s pretty-print as an S-expression
%u unindent 3 spaces
%x# insert # spaces
fricas
series(sin(x),x=%pi/2)
Type: UnivariatePuiseuxSeries
?(Expression(Integer),
x,
%pi/2)
fricas
series(sin(x),x=%e)
Type: UnivariatePuiseuxSeries
?(Expression(Integer),
x,
%e)
fricas
series(sin(x),x=%e+3)
Type: UnivariatePuiseuxSeries
?(Expression(Integer),
x,
%e+3)
fricas
series(sin(x),x=%i+7)
Type: UnivariatePuiseuxSeries
?(Expression(Complex(Integer)),
x,
7+%i)
file: format.boot.pamphlet
Infix Binary Operator: "=" "+" "-" "" "/" "*" "^" (i-output.boot.pamphlet => function isBinaryInfix)
function: form2String1 call fortexp0 isBinaryInfix op => fortexp0 [op,:argl]
----------------------------------------
In fortPre1 (file:newfort.boot.pamphlet)
- fortPre1 e ==
- replace spad function names by Fortran equivalents
-- where appropriate, replace integers by floats
-- extract complex numbers
-- replace powers of %e by calls to EXP
-- replace x*2 by xx etc.
-- replace ROOT by either SQRT or **(1./ ... )
-- replace N-ary by binary functions
-- strip the
%
character off objects like %pi etc..
This patch replace all %i (format) by %I. Go to src/interp directory and type grep -r
%i\>
.
It's not heavily tested but relatively simple (check it).
See above for details.
powerSeries.patch
Severity: normal => critical
Bill, I think you can change the name of this issue. The problem concerns expansion point that involve binary operator too (for example 1+3*i).
Category: Axiom Compiler => Axiom Interpreter
Status: open => closed