Skip to Content.
Sympa Menu

mathemagix-devel - Re: [Mathemagix] Conversion/typing pb

Subject: Mathemagix

List archive

Re: [Mathemagix] Conversion/typing pb


Chronological Thread 
  • From: Bernard Mourrain <address@concealed>
  • To: address@concealed
  • Subject: Re: [Mathemagix] Conversion/typing pb
  • Date: Mon, 02 Nov 2009 23:09:49 +0100

Grégoire Lecerf wrote:


3] M := matrix(2,2,"2 2 2 3 4 5",MM)
[2, 2, "2 2 2 3 4 5", MM]
Could you try matrix (2:>Int, 2:>Int,... ?
Yes this works !
But why is this conversion not preferred to the conversion to generic for all the arguments ?


*) What about a nice printing of the signatures as
(A1, B1) -> C1
A2 -> B2
Use the 'help' command instead of function_type.
help matrix
help Matrix Double
help infix +
etc
Thanks, this is much pretty.

Use a fresh checkout of TeXmacs for pretty printing.
Grégoire.

Bernard



Archive powered by MHonArc 2.6.18.

Top of Page