[LON-CAPA-users] {Disarmed} RE: {Disarmed} Re: {Disarmed} RE: Matrix Operations

2018-02-13 Thread Harding, Gene L
Hi Jacob, Yuk, Carl, I am going to have to spend some time learning more about Maxima, but what you have given me will help me start moving in the right direction. Thanks! Best regards, Gene L. Harding, PE Associate Professor of ECET 574-520-4190 From: lon-capa-users-boun...@mail.lon-capa.org

[LON-CAPA-users] {Disarmed} Re: {Disarmed} RE: Matrix Operations

2018-02-13 Thread Jacob Bond
Hi all, Given an array @mat of matrix entries, this will build the Maxima syntax for the $rows x $cols matrix with entries @mat: my $maxima_mat = 'matrix('; my @mat_copy = @mat; for my $i (0..$rows-1) { my @row = splice(@mat_copy, 0, $cols); $maxima_mat .= '['.join(',', @row).']';

Re: [LON-CAPA-users] Matrix Operations

2018-02-13 Thread Carl Lira
Hi Gene, I would take advantage of this also. I see some matrix operations available, but I don't know if the module is installed. http://search.cpan.org/~ulpfr/Math-Matrix-0.8/Matrix.pm Carl Lira Associate Professor Department of Chemical Engineering and Materials Science 2100