mat_function(identity,matrix([a])) => Error: "argument must be a non-atomic expression"
Presumably mat_function(f,matrix([a])) == matrix([f(a)]).
Stavros Macrakis
2013-10-29
Sorry, I should have mentioned this is using the (updated) diag.mac package in share.
Rupert Swarbrick
2014-02-19
Oh dear, that's my fault. I've just pushed a fix (54f9742), although I'm not convinced that Maxima isn't doing something weird. The behaviour that triggers the bug in diag.mac is that matrix([1]) . matrix([1])
yields 1, rather than a matrix.
The result still isn't brilliant, since it turns into matrix([1]) . a, but at least it doesn't explode any more...
Rupert Swarbrick
2014-02-19