fricas
(1) -> E ==> Expression Integer
Type: Void
fricas
OF ==> OutputForm
Type: Void
fricas
macro R == Record(OUTPUTFORM:OF,_
SEXPRESSION: SExpression,_
SEXPRESSION: SExpression,_
TEXFORMAT: TexFormat)
Type: Void
fricas
macro e x == (_
o:=x::OF;_
print(([o,_
outputTran(o)$Lisp,_
outputTran(precondition(o)$OutputFormTools)$Lisp,
o::TexFormat_
]$R)::OF);_
x)
Type: Void
fricas
e continuedFraction(3, repeating [1], repeating [3, 6])
[
OUTPUTFORM
=
1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
3 + +---+ + +---+ + +---+ + +---+ + +---+ + +---+ + +---+ + +---+
| 3 | 6 | 3 | 6 | 3 | 6 | 3 | 6
+
1 | 1 |
+---+ + +---+ + ...
| 3 | 6
,
SEXPRESSION
=
(+ 3
(+
(+
(+
(+
(+
(+
(+ (+ (+ (+ (ZAG 1 3) (ZAG 1 6)) (ZAG 1 3)) (ZAG 1 6))
(ZAG 1 3))
(ZAG 1 6))
(ZAG 1 3))
(ZAG 1 6))
(ZAG 1 3))
(ZAG 1 6))
...)
)
,
SEXPRESSION
=
(+ 3 (ZAG 1 3) (ZAG 1 6) (ZAG 1 3) (ZAG 1 6) (ZAG 1 3) (ZAG 1 6)
(ZAG 1 3) (ZAG 1 6) (ZAG 1 3) (ZAG 1 6) ...)
,
TEXFORMAT
=
["$$",
"3+ \zag{1}{3}+ \zag{1}{6}+ \zag{1}{3}+ \zag{1}{6}+ \zag{1}{3}+ ",
"\zag{1}{6}+ \zag{1}{3}+ \zag{1}{6}+ \zag{1}{3}+ \zag{1}{6}+\ldots ",
"$$"]
]
Type: ContinuedFraction
?(Integer)
fricas
e [i for i in 1..]
[OUTPUTFORM = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ...],
SEXPRESSION = (BRACKET (AGGLST 1 2 3 4 5 6 7 8 9 10 ...)),
SEXPRESSION = (BRACKET (AGGLST 1 2 3 4 5 6 7 8 9 10 ...)),
TEXFORMAT
=
["$$", "\left[",
"1, \: 2, \: 3, \: 4, \: 5, \: 6, \: 7, \: 8, \: 9, \: {10}, \: \ldots "
,
"\right]", "$$"]
]
Type: Stream(PositiveInteger
?)