Re: [fricas-devel] toString(3.7, digits()$Float)

2024-07-27 Thread Grégory Vanuxem
Le sam. 27 juil. 2024 à 19:58, Ralf Hemmecke a écrit : > > On 7/27/24 19:23, Waldek Hebisch wrote: > > On Sat, Jul 27, 2024 at 05:25:52PM +0200, Grégory Vanuxem wrote: > >> No. toString(3.7,20) > > > > I see. Yes we need 'floor' but also a special case fo

Re: [fricas-devel] toString(3.7, digits()$Float)

2024-07-27 Thread Grégory Vanuxem
No. toString(3.7,20) Le sam. 27 juil. 2024 à 17:24, Waldek Hebisch a écrit : > > On Sat, Jul 27, 2024 at 03:31:57PM +0200, Grégory Vanuxem wrote: > > => > > (1) "4.3000" > > > > I wanted to use it, but apparently not now ;) > >

[fricas-devel] Re: toString(3.7, digits()$Float)

2024-07-27 Thread Grégory Vanuxem
Maybe using 'floor' instead or 'round' line 164 of sf.spad? Le sam. 27 juil. 2024 à 15:31, Grégory Vanuxem a écrit : > > => > (1) "4.3000" > > I wanted to use it, but apparently not now ;) > > - Greg -- You received this message because you a

[fricas-devel] toString(3.7, digits()$Float)

2024-07-27 Thread Grégory Vanuxem
=> (1) "4.3000" I wanted to use it, but apparently not now ;) - Greg -- 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

Re: [fricas-devel] FriCAS 1.3.11 is released

2024-07-05 Thread Grégory Vanuxem
Hello Ralf, Le mer. 3 juil. 2024 à 15:54, Ralf Hemmecke a écrit : > > > I am not a big fan of how this color ((red)) is used. > > Greg, can you be a bit more specific? Beside the fact that the red color is somewhat special, personally I would use it to draw attention on hazardous things and I

Re: [fricas-devel] MathCAD and FriCAS

2024-07-03 Thread Grégory Vanuxem
This is surprising, yes, at the limit of being not "fair-play" (sportsmanship in English but its meaning in my country is more general than sport activities). I will give it a try, thank you! - Greg Le mer. 3 juil. 2024 à 12:19, Qian Yun a écrit : > > MathCAD, since version Prime 6 (in 2019),

Re: [fricas-devel] FriCAS 1.3.11 is released

2024-07-03 Thread Grégory Vanuxem
Hello, I forgot to say thank you. Awesome job! If I had something to say about the PDF book it's about the use of red colored terms. Studies show, as far as I know, that most mammals process this color very specifically. Direction of gaze, more generally orientation reaction, movement of the

Re: [fricas-devel] Re: $ in hypertex \example command

2024-07-02 Thread Grégory Vanuxem
Le mer. 3 juil. 2024 à 03:14, Grégory Vanuxem a écrit : > > Ok, I will check on a pure GNU/Linux. It’s on WSL2, so with Windows (here > 11), but with the latest vanilla FriCAS. No other FriCAS installed. Below you > can see the banner of the official version. My working copy

[fricas-devel] Re: $ in hypertex \example command

2024-07-02 Thread Grégory Vanuxem
Filed as issue #176 pi() in a HyperTeX \example{}, when the example is executed, causes spurious messages https://github.com/fricas/fricas/issues/176 Le mar. 2 juil. 2024 à 02:45, Grégory Vanuxem a écrit : > > Not related to the dollar sign for information. Same things

[fricas-devel] Re: $ in hypertex \example command

2024-07-01 Thread Grégory Vanuxem
mal representation of i as a string. ++ \example{l:=[1,pi(),17]} === I should have noticed the _two_ messages. I will fill an issue later today. (Vanilla FriCAS just cloned from GitHub.com) - Greg Le lun. 1 juil. 2024 à 16:46, Grégory Vanuxem a éc

[fricas-devel] $ in hypertex \example command

2024-07-01 Thread Grégory Vanuxem
Hello, I encountered the following message running a personal \example{} command in Hyperdoc: (1) -> Print_to_string: Unrecognized Keyword Type 65 Print_to_string: Unrecognized Keyword Type 65 At first guess I would say that this comes from the dollar sign. The command is correctly executed in

Re: [fricas-devel] The variable |/throwAway| is unbound.

2024-06-23 Thread Grégory Vanuxem
Hello, Maybe that could give you some hits, I encountered this also in the past: https://groups.google.com/g/fricas-devel/c/RKJ2VTMBA0U/m/WcIY3SxeAAAJ - Greg Le dim. 23 juin 2024 à 18:56, Prof. Dr. Johannes Grabmeier < johan...@grabmeier.net> a écrit : > Hi all, > > *The variable |/throwAway|

Re: [fricas-devel] parse_integer()$ScanningUtilities with negative numbers

2024-06-16 Thread Grégory Vanuxem
Ah ok, Thanks for the information. For non negative integers I suspected that. Le dim. 16 juin 2024 à 20:05, Waldek Hebisch a écrit : > > On Sun, Jun 16, 2024 at 07:42:54PM +0200, Grégory Vanuxem wrote: > > Hello, > > > > Have you ever tried the function in object? &

[fricas-devel] parse_integer()$ScanningUtilities with negative numbers

2024-06-16 Thread Grégory Vanuxem
Hello, Have you ever tried the function in object? For negative integers it returns strange integers: (1) -> parse_integer("-4")$ScanningUtilities (1) - 26 Type: Integer (2) -> parse_integer("4")$ScanningUtilities (2) 4

[fricas-devel] Issues with )spool -ed algebra output (issue 167)

2024-06-15 Thread Grégory Vanuxem
Hello, The issue : https://github.com/fricas/fricas/issues/167 I put it here for information, I do not master mail/github issues interactions (markdown etc.). Inadvertently I used FriCAS on top of Clozure CL and the spool system command, I usually built two versions of Fricas (SBCL and CCL).

Re: [fricas-devel] )set output showeditor issues

2024-06-15 Thread Grégory Vanuxem
d.boot reportOpsFromLisplib1(unitForm,u) == showFile := '"SHOW.LISTING" erase_lib(showFile) $sayBrightlyStream : fluid := MAKE_OUTSTREAM(showFile) sayShowWarning() reportOpsFromLisplib(unitForm,u) SHUT $sayBrightlyStream editFile showFile - Greg Le sam. 15 juin 2024 à 03:45, Grégory

Re: [fricas-devel] )set output showeditor issues

2024-06-14 Thread Grégory Vanuxem
Hello Qian, Le sam. 15 juin 2024 à 02:31, Qian Yun a écrit : > > > On 6/14/24 22:31, Grégory Vanuxem wrote: > > Hello, > > > > FriCAS just cloned, commit (1b5c139) and installed with > > --prefix=/home/user/.local > > > > Looking at

[fricas-devel] Re: )set output showeditor issues

2024-06-14 Thread Grégory Vanuxem
Accessorily, after viewing the SINT domain, a file SHOW.LISTING still stays in the working directory, even if fricas is closed. Le ven. 14 juin 2024 à 16:31, Grégory Vanuxem a écrit : > Hello, > > FriCAS just cloned, commit (1b5c139) and installed with > --prefix=/home/user/.local

[fricas-devel] )set output showeditor issues

2024-06-14 Thread Grégory Vanuxem
Hello, FriCAS just cloned, commit (1b5c139) and installed with --prefix=/home/user/.local Looking at the different output modes in FriCAS, I tried the showeditor option, output from ')show' in an editor. GVim: (1) -> )sh SINT Unable to open directory to be removed rmdir failed: Not a directory

Re: [fricas-devel] Imprecision of Airy Ai

2024-06-11 Thread Grégory Vanuxem
Hello, Le ven. 7 juin 2024 à 14:36, Waldek Hebisch a écrit : > > On Fri, Jun 07, 2024 at 06:10:51AM +0200, Grégory Vanuxem wrote: > > Hello, > > > > In FriCAS, airyAi has a problem of precision. > > This is known problem. In fact, this is problem with Bess

[fricas-devel] Imprecision of Airy Ai

2024-06-06 Thread Grégory Vanuxem
Hello, In FriCAS, airyAi has a problem of precision. Here is the output using DoubleFloat, MathLink (Wolfram engine) with Julia, and Maxima: (15) -> airyAi 3.7 (15) 0.0017455720028082336 Type: DoubleFloat (16) -> airyAi jWSReal

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-31 Thread Grégory Vanuxem
Le ven. 31 mai 2024 à 23:07, Waldek Hebisch a écrit : > > On Fri, May 31, 2024 at 12:44:27PM +0200, Grégory Vanuxem wrote: > I do not know what "rotten coding" is supposed to mean. Borrowed from the expression "rotten job". Will look later at your response, tha

Re: [fricas-devel] [PATCH] improvements to the reference book

2024-05-31 Thread Grégory Vanuxem
Unapplying the src/hyper/event.c patch does not solve this issue for information. So not relied apparently but no longer works. Le ven. 31 mai 2024 à 21:23, Grégory Vanuxem a écrit : > > Hello Qian, > > Can you test this, start fricas with just Git cloned fricas and your > patch a

Re: [fricas-devel] [PATCH] improvements to the reference book

2024-05-31 Thread Grégory Vanuxem
Hello Qian, Can you test this, start fricas with just Git cloned fricas and your patch applied (ven. 31 mai 2024 21:07:10 CEST): fricas -rl -noht After, start HD with )hd, browse dilog operation, you have the descriptions in a second window. Personally I move the second window a little on the

Re: [fricas-devel] dilog(x)

2024-05-31 Thread Grégory Vanuxem
Le ven. 31 mai 2024 à 20:25, Waldek Hebisch a écrit : > > On Fri, May 31, 2024 at 06:52:11PM +0200, Grégory Vanuxem wrote: > > Hello, > > > > First there is a small typo in FSFUN: > > > > dilog: dilog(z) is the dilogaritm; > > A missing 'h'. > >

[fricas-devel] dilog(x)

2024-05-31 Thread Grégory Vanuxem
Hello, First there is a small typo in FSFUN: dilog: dilog(z) is the dilogaritm; A missing 'h'. But I do not understand what this function computes in FriCAS, usually it is a special case of polylogarithm of order 2. In SAGE via https://sagecell.sagemath.org/ dilog(0.7) => 0.889377624286039

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-31 Thread Grégory Vanuxem
Hello, Le ven. 31 mai 2024 à 02:13, Waldek Hebisch a écrit : > > On Fri, May 31, 2024 at 12:55:26AM +0200, Grégory Vanuxem wrote: > > Thanks Waldek, > > > > My principal problem would be to have a hook in the TeX formatter I think, > > I already have t

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-30 Thread Grégory Vanuxem
)) toString(x, form) == jbinfunc("W_"ToString_"", x, form) simplify(expr) == junfunc("W_"Simplify_"", expr) simplify(expr, assume) == jbinfunc("W_"Simplify_"", expr, assume) extendedSimplify(expr) == junfunc("W_"Fu

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-30 Thread Grégory Vanuxem
e and brackets to parens substitutions), normally my output in FriCAS has the Wolfram language form: Sin[Cos[x]] Le jeu. 30 mai 2024 à 17:14, Waldek Hebisch a écrit : > On Thu, May 30, 2024 at 02:57:20PM +0200, Grégory Vanuxem wrote: > > > > time allows, my thoughts are vague a

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-30 Thread Grégory Vanuxem
I will look at this, thanks! Le jeu. 30 mai 2024 à 15:19, Ralf Hemmecke a écrit : > >>> How to handle for example \asin or \sin ^{-1}(a) in LatTeX. > >> > >> That sounds like a LaTeX question you probably want a connection to > >> FriCAS. No? > > > > No. Think of jFriCAS and )set output tex on.

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-30 Thread Grégory Vanuxem
15:09, Grégory Vanuxem a écrit : > Le jeu. 30 mai 2024 à 15:03, Ralf Hemmecke a écrit : > > > > > How to handle for example \asin or \sin ^{-1}(a) in LatTeX. > > > > That sounds like a LaTeX question you probably want a connection to > > FriCAS. No? > >

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-30 Thread Grégory Vanuxem
Le jeu. 30 mai 2024 à 15:03, Ralf Hemmecke a écrit : > > > How to handle for example \asin or \sin ^{-1}(a) in LatTeX. > > That sounds like a LaTeX question you probably want a connection to > FriCAS. No? No. Think of jFriCAS and )set output tex on. latex() is not used but choosing the

Re: [fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-30 Thread Grégory Vanuxem
Le jeu. 30 mai 2024 à 13:15, Ralf Hemmecke a écrit : > Hi Greg, > > You now get a more personal view from my side. > > > I am wondering what is the use of the 'latex' function in FriCAS. > > Nothing, currently. I have no idea about the history, but I do not see > much use of it now. > > You

[fricas-devel] latex() in SetCategory and its use vs TeXFormat

2024-05-30 Thread Grégory Vanuxem
Hello, I am wondering what is the use of the 'latex' function in FriCAS. And, more importantly, why it is not used by TeXFormat. Apparently the TeX format which is used when one issue ')set output tex on' in the interpreter uses only the "official" OutForm to translate it in LaTeX. Is it

Re: [fricas-devel] Counting spad function calls during a computation

2024-05-29 Thread Grégory Vanuxem
> Complex.zero?,26 : 0 times > > > - Qian > > On 5/29/24 08:00, Grégory Vanuxem wrote: > > Hello, > > > > Is there an already implemented way to count the number of Spad > > function calls needed to compute a more general computation? I could > > add a

Re: [fricas-devel] Counting spad function calls during a computation

2024-05-29 Thread Grégory Vanuxem
Le mer. 29 mai 2024 à 05:05, Waldek Hebisch a écrit : > > On Wed, May 29, 2024 at 02:00:29AM +0200, Grégory Vanuxem wrote: > > Hello, > > > > Is there an already implemented way to count the number of Spad > > function calls needed to compute a more general computat

Re: [fricas-devel] What is this error message???

2024-05-29 Thread Grégory Vanuxem
Le mer. 29 mai 2024 à 07:20, Ralf Hemmecke a écrit : > > >> unitNormal x == > >>zero? x => [1, x, 1] > >>one? x => [1, 1, 1] > >>re := real(x); im := imag(x) > >>re > 0 => > >>--im >= 0 => [1, x, 1] > >>im > 0 => [1, x, 1] > >>

Re: [fricas-devel] What is this error message???

2024-05-29 Thread Grégory Vanuxem
Hello, I know my code is very bad, but I was working on something else. I'm used to encountering many pitfalls, bugs from myself or others, omissions here and there, not necessarily from me, and if I stop each time, or fix everything, I don't make any progress. I come back to this part of the

Re: [fricas-devel] What is this error message???

2024-05-28 Thread Grégory Vanuxem
Pff, not the good code, the commented one, reverting it made me do another mistake, but the idea is there. Le mer. 29 mai 2024 à 01:45, Grégory Vanuxem a écrit : > > Le mar. 28 mai 2024 à 22:34, Waldek Hebisch a écrit : > > > > On Tue, May 28, 2024 at 07:10:35PM +0200, Gré

[fricas-devel] Counting spad function calls during a computation

2024-05-28 Thread Grégory Vanuxem
Hello, Is there an already implemented way to count the number of Spad function calls needed to compute a more general computation? I could add a global counter to a routine/macro like spadcall or something like that, but I am wondering if this was already done? I don't think it is simple. I have

Re: [fricas-devel] What is this error message???

2024-05-28 Thread Grégory Vanuxem
Le mar. 28 mai 2024 à 22:34, Waldek Hebisch a écrit : > > On Tue, May 28, 2024 at 07:10:35PM +0200, Grégory Vanuxem wrote: > > Hello, > > > > (12) -> unitNormal complex(7,0)$JWSGINT > > > >>> Error detected within library code: > >

[fricas-devel] Re: What is this error message???

2024-05-28 Thread Grégory Vanuxem
To add to this, usually the compiler complains with something like "No value branch is an unknown mode", not always though, RetractIfCan accepts it sometimes apparently if you do not handle the "failed" case.. Le mar. 28 mai 2024 à 19:10, Grégory Vanuxem a écrit

[fricas-devel] What is this error message???

2024-05-28 Thread Grégory Vanuxem
Hello, (12) -> unitNormal complex(7,0)$JWSGINT >> Error detected within library code: Bug: ridiculous record representation (12) -> Not very "professional"... In fact, Void return value instead of a Record, I forgot a branch. Secondly, it was not handled at compile time. - Greg --

Re: [fricas-devel] )fin, restart, (|spad|) with Clozure CL based FriCAS

2024-05-24 Thread Grégory Vanuxem
Hello Waldek, > When this code was written Clozure CL documentation about building > text mode applications was rather poor. I just followed one of > examples that worked OK. And Clozure CL folks did not mention > 'ccl::toplevel-loop'. IIUC they later simplified and improved > creation of

Re: [fricas-devel] )fin, restart, (|spad|) with Clozure CL based FriCAS

2024-05-22 Thread Grégory Vanuxem
CTRL-C is not affected in fact. This is the usual behavior of FriCAS with Clozure CL. Sorry for the noise. Le mer. 22 mai 2024 à 22:08, Grégory Vanuxem a écrit : > > Oh, zut! (responding to myself) > > > (there are several use of 'CATCH' and there is 'handler-bind'). > >

Re: [fricas-devel] )fin, restart, (|spad|) with Clozure CL based FriCAS

2024-05-22 Thread Grégory Vanuxem
Oh, zut! (responding to myself) > (there are several use of 'CATCH' and there is 'handler-bind'). Badly handled. CTRL-C for example. More work needed in this regard. Le mer. 22 mai 2024 à 22:03, Grégory Vanuxem a écrit : > > Hello Waldek, hello all, > > First, thanks fo

Re: [fricas-devel] )fin, restart, (|spad|) with Clozure CL based FriCAS

2024-05-22 Thread Grégory Vanuxem
Hello Waldek, hello all, First, thanks for your response, it was very instructive it leads me to solve this long outstanding issue with my FriCAS copy. Le mar. 21 mai 2024 à 20:32, Waldek Hebisch a écrit : > > On Tue, May 21, 2024 at 01:57:45PM +0200, Grégory Vanuxem wrote: > > Hell

[fricas-devel] )fin, restart, (|spad|) with Clozure CL based FriCAS

2024-05-21 Thread Grégory Vanuxem
Hello, I try to understand why a Clozure CL 'terminate' method is not called from the interpreter. I have a CL class jlref, when a jlref object is no longer referenced the CL garbage collector reclaims it. It is possible in different CL implementations to add a 'hook' to do some job at that time.

Re: [fricas-devel] fricas get setelt etc.

2024-05-15 Thread Grégory Vanuxem
Le jeu. 16 mai 2024 à 02:36, Waldek Hebisch a écrit : > > On Thu, May 16, 2024 at 02:09:21AM +0200, Grégory Vanuxem wrote: > > Hello Waldek, > > > > Exactly what I was looking for. Thanks. > > > > I thought only integer based indexing was allowed, and sinc

Re: [fricas-devel] Windows installer for official l FriCAS - GitHub commit: 06a45d0

2024-05-15 Thread Grégory Vanuxem
? > (Other than start menu entry and desktop icon.) > > Also, it would be good to integrate it with Github CI. > > - Qian > > On 5/13/24 07:43, Grégory Vanuxem wrote: > > Hello folks, > > > > Below is a link to a Windows setup program to install FriCAS, usually

Re: [fricas-devel] fricas get setelt etc.

2024-05-15 Thread Grégory Vanuxem
, 2024 at 06:58:34PM +0200, Grégory Vanuxem wrote: > > I am not on a computer. > > > > Is it possible to get a property in Spad, like C++ for example, like > > ojb.truc? > > > > Not like a Record I have to check first. And not not a number > > It is not

[fricas-devel] fricas get setelt etc.

2024-05-14 Thread Grégory Vanuxem
I am not on a computer. Is it possible to get a property in Spad, like C++ for example, like ojb.truc? Not like a Record I have to check first. And not not a number - Greg -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.

Re: [fricas-devel] Windows installer for official l FriCAS - GitHub commit: 06a45d0

2024-05-14 Thread Grégory Vanuxem
Github CI. > > - Qian > > On 5/13/24 07:43, Grégory Vanuxem wrote: > > Hello folks, > > > > Below is a link to a Windows setup program to install FriCAS, usually > > in "USER_HOME"/AppData/local/programs/. > > > > A FriCAS start menu entry is added

[fricas-devel] Re: Windows installer for official l FriCAS - GitHub commit: 06a45d0

2024-05-12 Thread Grégory Vanuxem
Attached is an example script for Inno Setup (https://jrsoftware.org/) to build a self installer. It can be adapted I think at configure time if it is added to the contrib directory for example. With a very simple .ico file Le lun. 13 mai 2024 à 01:43, Grégory Vanuxem a écrit : > > Hello

[fricas-devel] Windows installer for official l FriCAS - GitHub commit: 06a45d0

2024-05-12 Thread Grégory Vanuxem
Hello folks, Below is a link to a Windows setup program to install FriCAS, usually in "USER_HOME"/AppData/local/programs/. A FriCAS start menu entry is added, and optionally it can also create a desktop icon. The icon used is an old one I created before an official icon was chosen. Starting

Re: [fricas-devel] Starting FriCAS directly with FRICASsys on Windows

2024-05-12 Thread Grégory Vanuxem
Le dim. 12 mai 2024 à 18:07, Waldek Hebisch a écrit : > > On Sun, May 12, 2024 at 05:00:08PM +0200, Grégory Vanuxem wrote: > > Hello, > > > > Some work has been done to start FriCAS without setting the FRICAS > > environment variable. I created a Windows installer wi

[fricas-devel] Starting FriCAS directly with FRICASsys on Windows

2024-05-12 Thread Grégory Vanuxem
Hello, Some work has been done to start FriCAS without setting the FRICAS environment variable. I created a Windows installer without a .bat file to start FRICASsys but when executing directly FRICASsys, it still complains about this environment variable: debugger invoked on a SIMPLE-TYPE-ERROR

Re: [fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-12 Thread Grégory Vanuxem
Hello, Le sam. 11 mai 2024 à 21:25, Waldek Hebisch a écrit : > > On Sat, May 04, 2024 at 09:30:51AM +0200, Grégory Vanuxem wrote: > > As a matter of fact, use of FLINT in FriCAS: > > > > (21) -> x:=x::NUP(NINT,"x") > > > >

Re: [fricas-devel] regression on windows

2024-05-12 Thread Grégory Vanuxem
> (GO LP))) > (RETURN (GGREATERP T1 T2)) ) ) > > -(defun GLESSEQP (X Y) (NOT (GGREATERP X Y))) > +(defun GLESSEQP (X Y) (|lt_sexp| X Y)) > > (defun LEXLESSEQP (X Y) (|lt_sexp| X Y)) > > On 5/11/24 00:05, Waldek Hebisch wrote: > > On Fri, May 10, 2024 at 0

Re: [fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-11 Thread Grégory Vanuxem
2024 à 21:25, Waldek Hebisch a écrit : > On Sat, May 04, 2024 at 09:30:51AM +0200, Grégory Vanuxem wrote: > > As a matter of fact, use of FLINT in FriCAS: > > > > (21) -> x:=x::NUP(NINT,"x") > > > >(21) x > >

Re: [fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-11 Thread Grégory Vanuxem
Le sam. 11 mai 2024 à 21:25, Waldek Hebisch a écrit : > On Sat, May 04, 2024 at 09:30:51AM +0200, Grégory Vanuxem wrote: > > As a matter of fact, use of FLINT in FriCAS: > > > > (21) -> x:=x::NUP(NINT,"x") > > > >(21) x > >

Re: [fricas-devel] regression on windows

2024-05-10 Thread Grégory Vanuxem
For information, exhibited on SBCL-2.3.2 (GiHub) but also on SBCL-2.4.4. I tried early this morning to revert parts of this commit without success, I abandoned, it is too Lispish for me I think. Seems to be Windows specific. Could be interesting to investigate this for the SBCL community and

[fricas-devel] Has |binparent_dir| disappeared ?

2024-05-10 Thread Grégory Vanuxem
Hello, Trying to start FriCAS using FRICASsys without any env variable related to riCAS leads to: $ /home/greg/.local/lib/fricas/target/x86_64-linux-gnu/bin/FRICASsys debugger invoked on a UNBOUND-VARIABLE @5472CE50 in thread #: The variable |binparent_dir| is unbound. Type HELP for debugger

Re: [fricas-devel] Struggling with OutputForm

2024-05-09 Thread Grégory Vanuxem
Hello, I looked more carefully at your suggestion, and, yes, 'pile' is very interesting for my purpose, but only in Format2D from what I have seen. Moreover it's not as simple as I like to switch to it, I didn't even know how. In algebra output "mode", look at this if I use the '=' operator.

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Grégory Vanuxem
Le mar. 7 mai 2024 à 13:41, Ralf Hemmecke a écrit : > On 5/7/24 13:22, Grégory Vanuxem wrote: > >> )set output algebra off > >> )set output formatted on > >> LOFC ==> List(OutputFormatterCategory) > >> setFormats!([Formatter Format2D] pretend LOF

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Grégory Vanuxem
Hello, Le mar. 7 mai 2024 à 11:16, Ralf Hemmecke a écrit : > > > is present in a string. Next, it's outputString in i-output.boot that > > needs a little tweaking for me. In fact, I've bypassed the part of the > > code that breaks lines. > > Well, you could set the output length to the maximum.

Re: [fricas-devel] Struggling with OutputForm

2024-05-07 Thread Grégory Vanuxem
Hi Waldek, Le lun. 6 mai 2024 à 18:17, Waldek Hebisch a écrit : > > On Mon, May 06, 2024 at 06:04:12PM +0200, Grégory Vanuxem wrote: > > No, it was just to be sure my string is good for Lisp. > > There is something fishy in your string, so you need to look at > i

Re: [fricas-devel] Struggling with OutputForm

2024-05-06 Thread Grégory Vanuxem
s(m)] matrix(l) Don't look at the function name please. Le lun. 6 mai 2024 à 17:55, Waldek Hebisch a écrit : > > On Mon, May 06, 2024 at 05:22:06PM +0200, Grégory Vanuxem wrote: > > Hello, > > > > I am struggling with OutputForm and frankly I do not want to be angr

[fricas-devel] Re: Struggling with OutputForm

2024-05-06 Thread Grégory Vanuxem
Hmmm, format character not taken into account probably. Any ways to prevent this from happening? Le lun. 6 mai 2024 à 17:22, Grégory Vanuxem a écrit : > Hello, > > I am struggling with OutputForm and frankly I do not want to be angry > today. Maybe you have used it, even not a lot?

[fricas-devel] Re: Struggling with OutputForm

2024-05-06 Thread Grégory Vanuxem
my apologies, in my second email this is normal, 80 characters line cut. Le lun. 6 mai 2024 à 17:26, Grégory Vanuxem a écrit : > More annoying, but I think the same thing happens: > > (5) -> b:=map(i+->urand01()$NRF, identity(4)$JMATRIX(NRF)) > > [ [0.080959372549

[fricas-devel] Re: Struggling with OutputForm

2024-05-06 Thread Grégory Vanuxem
lField) Time: 0.30 (EV) + 1.06 (OT) = 1.36 sec Not a plain text email here. Le lun. 6 mai 2024 à 17:22, Grégory Vanuxem a écrit : > Hello, > > I am struggling with OutputForm and frankly I do not want to be angry > today. Maybe you have used it,

[fricas-devel] Struggling with OutputForm

2024-05-06 Thread Grégory Vanuxem
Hello, I am struggling with OutputForm and frankly I do not want to be angry today. Maybe you have used it, even not a lot? My question is very simple, how do I prevent OutputForm processing, or how to bypass interpreter rules, just in case the interpreter has its own rules also, from memory I

Re: [fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-05 Thread Grégory Vanuxem
Hello Qian, Le sam. 4 mai 2024 à 09:58, Qian Yun a écrit : > > > > On 5/4/24 15:30, Grégory Vanuxem wrote: > > As a matter of fact, use of FLINT in FriCAS: > > > > My experience with FLINT is that is uses dense representation > for univariate polynomial. >

[fricas-devel] Trace of FormalFraction

2024-05-05 Thread Grégory Vanuxem
└─$ grep -r FormalFraction fricas/ fricas/src/algebra/exposed.lsp: (|FormalFraction| . FORMAL) - Greg -- 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

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Grégory Vanuxem
Just a question, I used to prefer pdflatex over latex/dvips in the past (for links and other addons), and at the end of the book build I saw: ps2pdf book.ps Why are you not using pdflatex? Because of .ps image? Le sam. 4 mai 2024 à 20:04, Grégory Vanuxem a écrit : > > Hi, > >

Re: [fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-04 Thread Grégory Vanuxem
I didn't notice your email, I just saw it. Modified accordingly, that's better! Thanks. Le sam. 4 mai 2024 à 15:40, Waldek Hebisch a écrit : > > On Sat, May 04, 2024 at 06:43:42AM +0200, Grégory Vanuxem wrote: > > Hello, > > > > I have found 'devaluate' in some Spad f

Re: [fricas-devel] [PATCH] generate book.pdf with PS image instead of bitmap image

2024-05-04 Thread Grégory Vanuxem
Hi, I just built the book cloning the new-ps-book branch, very good job, thanks to all ! I regularly use to look at he book.pdf, the one downloadable from github.io but I gave it a try to build it, I hadn't built it for more than 10 years, so I did it with a newbie spirit in mind. ./configure

Re: [fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-04 Thread Grégory Vanuxem
IMER: draft code. - Greg Le sam. 4 mai 2024 à 07:35, Grégory Vanuxem a écrit : > The first part of the mail about the use of devaluate is because, here, > when constructing a matrix I need a _very_ specialized matrix type, > FLINT[1] will be used so I can not use the generic

Re: [fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-03 Thread Grégory Vanuxem
g(cols),")))"])) "has Finite" or "has FiniteFieldCategory" let me call size() . And yes that is not beautiful code, the use of concatenated strings for constructions. Not very easy to explain, I admit. [1] https://flintlib.org/ Le sam. 4 mai 2024 à 07:05, Qian

[fricas-devel] Re: devaluate(Domain) at beginning of new domain in Spad

2024-05-03 Thread Grégory Vanuxem
To add to this, the jlId method is normally called with a class reference as argument: # And not (|NemoIntegerMod|) so the generated code seems totally wrong. Le sam. 4 mai 2024 à 06:43, Grégory Vanuxem a écrit : > > Hello, > > I have found 'devaluate' in some Spad files and it

[fricas-devel] devaluate(Domain) at beginning of new domain in Spad

2024-05-03 Thread Grégory Vanuxem
Hello, I have found 'devaluate' in some Spad files and it can be handy. Some domains are parameterized and it is not possible, or at least I don't know how to do it, to use ' is ' instead of ' has ' (Domain vs. Category) for them: if R is Foo then new(n) == bar(n) else new... it is not

[fricas-devel] Bad input in HyperDoc => if ')set message time on' time is displayed in the interpreter

2024-05-03 Thread Grégory Vanuxem
For example, in 'Browse', if you give an incorrect abbreviation: (1) -> )hd (1) -> Time: 0 sec Time: 0 sec Time: 0 sec

[fricas-devel] Re: Asking sman to start HyperDoc when fricas is started with fricas -noht

2024-04-29 Thread Grégory Vanuxem
, and if you use )quiet which I think is what is required the command never returns. Apparently something bad in i-syscmd.boot:selectOption. Will probably also add this issue to GitHub later. - Greg Le mar. 9 avr. 2024 à 18:42, Grégory Vanuxem a écrit : > > Hello, > > See email object.

[fricas-devel] Get a patch from a GitHub PR (was fyi, list of exceptions for Fricas, summer 2024 edition of independent CAS integration tests)

2024-04-21 Thread Grégory Vanuxem
Le dim. 21 avr. 2024 à 13:07, Dima Pasechnik a écrit : [SNIP] Do you know how to apply patches? If so, you just need to apply the patch >> corresponding to the PR Martin mentioned. It's here: >> https://patch-diff.githubusercontent.com/raw/sagemath/sage/pull/37836.diff >> > Just to mention that

Re: [fricas-devel] SKIP in src/input/Makefile.in

2024-04-21 Thread Grégory Vanuxem
Hello here, I asked some years ago to also install .input files during the 'make install’ step, say, as of today I would say in somewhere like share/examples or share/doc/examples but I received a categorical refusal which meant that I did not really explain the reason for this request. In fact,

Re: [fricas-devel] Output of Float

2024-04-14 Thread Grégory Vanuxem
Hello, Le sam. 13 avr. 2024 à 21:05, Waldek Hebisch a écrit : > > On Sun, Apr 07, 2024 at 06:05:39AM +0200, Grégory Vanuxem wrote: > > > > It is possible to modify some parameters to Float output routines, > > what about returning the previous settings? For example >

Re: [fricas-devel] Asking sman to start HyperDoc when fricas is started with fricas -noht

2024-04-13 Thread Grégory Vanuxem
Hello, So what about writing a dedicated )hd routine or whatever name is chosen so that HyperDoc receives signals from FriCAS ? As Waldek has said, most programs will not read standard input. Le sam. 13 avr. 2024 à 05:53, Qian Yun a écrit : > > The normal "hypertex" (started by sman) receives

Re: [fricas-devel] Output of Float and issue #159

2024-04-13 Thread Grégory Vanuxem
Hello Waldek, , > > And to coerce the Float to OutputForm convert(Float)@String is used. > > But with default settings the bits(n)$Float routine is used to change > > the precision in bits before performing the transformation to a string > > and it uses the mantissa which is for 8.5 (17 . -1) only

Re: [fricas-devel] How one talk to sqlite3 database from Fricas?

2024-04-12 Thread Grégory Vanuxem
Hello, Le jeu. 11 avr. 2024 à 21:19, Kurt Pagani a écrit : > > https://github.com/nilqed/spadlib/tree/master/sqlite > This is definitely better than what I thought. I guess Nasser also wants the ability to add entries but it's easy to add this I guess. I wanted to cc-ing him but he uses

Re: [fricas-devel] How one talk to sqlite3 database from Fricas?

2024-04-11 Thread Grégory Vanuxem
Hello Nasser, You were asking about sqlite3 database things. I wonder what you were asking for. The routines you use. I was looking at your work, it looks interesting. But, to be more precise, what are the functions/methods you use? I only know a little of the usual SQL language and minor things

Re: [fricas-devel] Asking sman to start HyperDoc when fricas is started with fricas -noht

2024-04-09 Thread Grégory Vanuxem
s when > I quit FriCAS with ')q'. > > - Qian > > On 4/10/24 00:42, Grégory Vanuxem wrote: > > Hello, > > > > See email object. > > > > I would like to be able to only use HyperDoc when I want, and, > > usually, not at startup time. The problem is

[fricas-devel] Asking sman to start HyperDoc when fricas is started with fricas -noht

2024-04-09 Thread Grégory Vanuxem
Hello, See email object. I would like to be able to only use HyperDoc when I want, and, usually, not at startup time. The problem is if I use the ')hd' system synonym when I close FriCAS, HyperDoc is still in use. I have to manually close HyperDoc windows after closing FriCAS. So is there a

[fricas-devel] Output of Float and issue #159

2024-04-06 Thread Grégory Vanuxem
Hello, I was trying to return the previous setting instead of Void for the different outputting routines in Float (outputFixed, outputGeneral and outputFloating), so I looked more carefully at this issue. Issue #159 => https://github.com/fricas/fricas/issues/159 Basically, and more

Re: [fricas-devel] History broken

2024-04-02 Thread Grégory Vanuxem
Hello, Seems to work fine, before: (3) -> )hist )show [1] 1+7 [2] fibonacci % (3) -> )hist )write truc.input debugger invoked on a SIMPLE-CONDITION in thread #: break Type HELP for debugger help, or (SB-EXT:EXIT) to exit from

[fricas-devel] OutputForm of float(i : Integer, j : Integer)

2024-03-29 Thread Grégory Vanuxem
Hello, I don't think this is intended, or at least it's not documented in HyperDoc: (1) -> float(17,1) -- 17 * base() ^ 1 (1) 0.3 E 2 Type: Float (2) -> log % (2) 3.5263605246_161613897

Re: [fricas-devel] julia-fricas (jlfricas) build-instructions?

2024-03-27 Thread Grégory Vanuxem
, in /usr/local/etc/julia so I do not want to create a /usr/etc directory. Le mer. 27 mars 2024 à 18:10, Grégory Vanuxem a écrit : > > Hello, > > You can a download personal debian package here: > https://drive.google.com/file/d/1AMEcSfniVNyVYEQxVOBYXxexVvqrbQ7H/view?usp=drive_link

Re: [fricas-devel] julia-fricas (jlfricas) build-instructions?

2024-03-27 Thread Grégory Vanuxem
at the beginning, things are experimental. And I first add data types (Integer, IntegerMod etc.) with basic arithmetic. Only after I populate them to reflect FriCAS exports for the corresponding type. - Greg Le mer. 27 mars 2024 à 09:10, Grégory Vanuxem a écrit : > > See the README file, partic

Re: [fricas-devel] julia-fricas (jlfricas) build-instructions?

2024-03-27 Thread Grégory Vanuxem
See the README file, particularly the Caveats part with SBCL. As of now I do not know why there are bad memory Julia/SBCL interactions: https://github.com/gvanuxem/fricas/blob/jlfricas/README.md With Julia 1.9.2 you will have to use Clozure CL and take into account, julia has to be in the PATH,

Re: [fricas-devel] string(Integer)

2024-03-25 Thread Grégory Vanuxem
hello Waldek, hello folks, Le mer. 20 mars 2024 à 22:28, Waldek Hebisch a écrit : > > On Wed, Mar 20, 2024 at 07:41:11PM +0100, Grégory Vanuxem wrote: > > Hello, > > > > Do you happen to know why the declaration of string(Integer) is in > > StringCategory and its d

[fricas-devel] string(Integer)

2024-03-20 Thread Grégory Vanuxem
Hello, Do you happen to know why the declaration of string(Integer) is in StringCategory and its definition in the String domain? (STRINGIMAGE$Lisp) That way if someone adds a domain, say, Foo, that has an Integer to Foo coercion and exports a 'string' operation the interpreter will choose the

  1   2   3   4   5   >