BTW

12 views
Skip to first unread message

Grégory Vanuxem

unread,
Jul 29, 2025, 5:11:15 PMJul 29
to fricas...@googlegroups.com
(1) -> )jud include("Pari.jl")

SystemError: opening file "/home/greg/Pari.jl": Aucun fichier ou
dossier de ce nom
(1) -> (1) ->
(1) -> extendedSimplify f

(1) f

Type: WSExpression
Time: 0.47 (IN) + 0.03
(EV) + 0.50 (OT) + 0.01 (GC) = 1.00 sec
(2) -> jlDocumentation leadingTerm
leadingTerm(x) returns the leading (with respect to the ordering on
the indexing set) term of z. Error: if z h
as no support.
Signature:
(%)->Record(k:S,c:A)
From:
IndexedProductCategory

What is 'z'? ;)

Greg

Grégory Vanuxem

unread,
Jul 29, 2025, 5:21:05 PMJul 29
to fricas...@googlegroups.com
Oho, sorry. Three hours with Gemini Pro:

(1) -> )cd /home/greg/Git
The current FriCAS default directory is /home/greg/Git
(1) -> )read Pari
Initializing PARI...

--- `eval_str` example (success) ---
Executing: 'factor(2024)'
Result:
[ 2 3]

[11 1]

[23 1]


--- Conversion and Arithmetic Examples (Integers Only) ---
Created PARI objects:
a = 100
c = 7

Arithmetic Results:
a - c = 93
c * c = 49
a \ c = 14

Results converted back to Julia types:
Difference (Int): 93
Product (Int): 49
Quotient (Int): 14

--- Conversion and Arithmetic Examples (Floats Only) ---
Created PARI objects:
f1 = 123.45000000000000284
f2 = 0.5500000000000000444

Arithmetic Results:
f1 + f2 = 124.00000000000000289

Results converted back to Julia types:
Sum (Float64): 124.0

Forcing garbage collection to test finalizers...
GC run complete.

Closing PARI library..

Grégory Vanuxem

unread,
Jul 30, 2025, 3:35:38 PMJul 30
to fricas...@googlegroups.com
Sorry. Bad noise. But just leadingTerm documentation looks strange to me.

Greg

Waldek Hebisch

unread,
Jul 30, 2025, 3:49:47 PMJul 30
to fricas...@googlegroups.com
On Wed, Jul 30, 2025 at 09:35:25PM +0200, Grégory Vanuxem wrote:
> Sorry. Bad noise. But just leadingTerm documentation looks strange to me.

I have commited correction to leadingTerm documentation (thanks
for noticing it).

--
Waldek Hebisch

Grégory Vanuxem

unread,
Jul 30, 2025, 6:49:39 PMJul 30
to fricas...@googlegroups.com
Tanks 

--
You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/aIp3V42IRZx20Y4J%40fricas.org.

Grégory Vanuxem

unread,
Jul 30, 2025, 7:23:37 PMJul 30
to fricas...@googlegroups.com
Thanks. Smartphone is somewhat different 
Reply all
Reply to author
Forward
0 new messages