turning 'lists' into matrices...



On 9/7/2012 2:11 PM, Robert Dodier wrote:
> On 2012-09-07, Evan Cooch <evan.cooch at gmail.com> wrote:
>
>> Relative newbie. Trying to extract eigenvectors from square,
>> non-negative matrices, and toss them into a matrix (which I can then
>> invert - part of some diagonilization stuff I'm trying to demonstrate in
>> class).
> Well, ignoring problems with degenerate matrices, I think you can get
> what you want like this:
>
>    [vals, vecs] : eigenvectors (a);
>    apply (matrix, apply (append, vecs));
>
> Maybe you want transpose(%) after that, so the eigenvectors are in
> columns.
>
> Hope this helps,
>
> Robert Dodier,

Indeed - thanks very much. Degeneracy not an issue in what I'm doing, 
but useful reminder.

>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>