How to use function gramschmidt in STACK? How to load eigen?

How to use function gramschmidt in STACK? How to load eigen?

by Evgeniy Grishenko -
Number of replies: 2

Hello. I need to use the function gramschmidt in STACK. How to load the module "eigen"?

Average of ratings: -
In reply to Evgeniy Grishenko

Re: How to use function gramschmidt in STACK? How to load eigen?

by Christopher Sangwin -
Picture of Particularly helpful Moodlers Picture of Plugin developers

You don't need to!

As the docs say, "Maxima loads the package automatically if one of the functions eigenvalues or eigenvectors is invoked."  so try the following in your question variables.

M:matrix ([1, 2, 3], [9, 18, 30], [12, 48, 60]);
V:eigenvalues(M);
G:gramschmidt(x);

In reply to Christopher Sangwin

Re: How to use function gramschmidt in STACK? How to load eigen?

by Evgeniy Grishenko -
Thanks you. It's a neat trick. Nevertheless, why not add module loading so as not to use irrational tricks. Can I add the load command to the maximalocal.mac file ?