729 Reputation

14 Badges

14 years, 160 days

MaplePrimes Activity

These are replies submitted by itsme

syntax highlighting in 1d input (i.e the red input text).

... the holy grail for me would be more configurable interface and much more sophisticated editing/navigating capabilities: something like emacs or vim keybindings that would not requre one to reach for the mouse or for the arrow keys constantly when editing a maple worksheet.  (something like jupyter notebooks for example, where a substantial enough subset of vim key bindings can be used).

.. but i realize this is unlikely to happen. Perhaps actually interfacing the maple kernel (even at cmaple level) with jupyter notebooks would be a reasonable first step here. Something i might play with if i ever get the time.


nice touch on that last one in terms of Ks... not obvious at a quick glance form the one before it would have such an elegant form.

@Preben Alsholm 

thanks, but that's the point i was trying to make; this function seems out of date and not documented well (i.e. these days a "vector" has a meaning of a "Vector" type, and not "array", if someting returns a Matrix, then LinearAlgebra functions shoudl be able to operate on it, also different returned objects depending on 'method', at least to me, is not obvious,  etc)

it was a dummy example i showed.. in my case, A(t) is large, time dependent, and my DEs are heterogeneous, so doing a MatrixExponential as you've showed is not enough.

ok i guess to get back my initial conditions i need to do:

evalf(subs(t=0, M. subs(t=0, LinearAlgebra:-MatrixInverse(M)).X0));

this wasn't obvious to me from the docs - but maybe this is standard enough that it should be clear?


thanks for looking into this.

Once you figure out what the problem is, please post here if there are any workarounds (especially if the fix somehow doesn't make it into 2018.2).



@Leo Brewin  

great - thanks for posting that. I will play with it.


@Leo Brewin  


i could look through your code, but easer to ask: did you implment a parser of maple expressions (i.e. resutls) into latex? or are you using maple's "latex()" command.

If it's the former, and if it spits out something that's more akin to what people write manually, it would be *exremely* useful to wrap your code into something easily accessible from maple so that one can get a reasonable latex version of maple's expressions.

would save many people a lot of manual typing!.. right now (IHMO anyway) maple's 'latex()' command is unusable.


@Daniel Skoog 

yup, I'm in the worskeet mode.

looking forward to 2018.2 then.





@Daniel Skoog 

thanks for your answer.

>> Since you can create a new "sub-section" by simply inserting a section inside of a section, we felt that it was redundant functionality and elected to remove it in order to simplify the interface.

But if my cursor is inside a section and I go to "insert section", I do not get a subsection where my cursour is, but instead my cursor is moved to passed this current section and a new section is created. Is that a bug then?

Currently, I found the only way to create a subsection is to hightlight some code/text (while cursor within a section) then click on a ">" - like button in the toolbar. 



At this stage I would honestly recommend to just export your data and use another tool for plotting. For anything but most basic plots, plotting/exporting is *extremely* limited in maple. For a comparison take a look what other packages can do. For example, matplolib.
With a couple of lines it should be straightforward to export your data and then plot in (say) python. The flexibility that comes with that (i.e. multi-plot figures, latex, arbitrary layouts, export formats, consistency, etc) is unparalleled.

(I don't mean it to sound very negative here - I like maple and use it all the time; just that when it comes to exporting/making "production quality", or any non-trivial for that matter, plots, it's still in the bronze age)

thanks for your answer @acer 

I see now. It seems to me like an almost unnecessary limitation of the MatrixExponential function then. At least, as you point out, it would be good to know why such a case fails, and have some sort of error message shown.



i can't imagine him deleting his posts like that!?!... maybe a mapleprimes issue??


One thing I would point out, is that MAPLE does have stochastic equation solving ability - see here:



indeed, thanks.

3 4 5 6 7 8 9 Last Page 5 of 18