[Maxima] Use of erf(x); read text file; command to display available functions
Harald.Geyer at gmx.at
Thu Aug 16 18:04:56 CDT 2007
It seems you are regularly asking questions on the maxima ML. Perhaps
you should consider subscribing to this ML. This would have the
advantage, that you get faster replies because you don't need to
wait until one of the list moderators approves your message.
> Is there a function that returns the size of a matrix: for example, if
> M is a matrix of dimension nxm, the function size(M) would return the
> list [n,m]? Such a function does not appear in the reference manual
> matrix chapter.
[length(m),length(m)]; -> [2, 3]
> Apparently, plot2d will not plot a matrix that is 1xn or mx1; it only
> plots lists (or functions). So, to plot a matrix, for example
> columnwise, it is necessary to write a separate function to pick off
> the columns, convert them to lists, and plot one-by-one. Am I missing
Yes, lambda expressions.
> It would be good to make plotting work with any data type in
I don't think there is a canonical meaning of plotting a matrix.
I'm not sure what you are proposing.
> That avoids writing special functions for conversions and makes
> use of the tool more uniform.
Actually maxima is very uniform because it is a functional programming
language where you can write conversions on the fly easily.
P.S.: If I've totally misunderstood your proposal, perhaps you should
explain it by suggesting an actual algorithm. Right now you mail
somewhat reads like "It should do what I want.", which leaves lots of
space for interpretation.
More information about the Maxima