help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Matrix Power (was Re: Matrix quotent)


From: flatmax
Subject: Matrix Power (was Re: Matrix quotent)
Date: Thu, 19 Oct 2000 13:50:34 +1100 (EST)

Ooops, I realise I actually want to find the power of one matrix raised to
the other .... for example :
   int r=64, p=3;
   RowVector onesP(p+1,1);
   ColumnVector onesR(r,1);
   ColumnVector spanR(r);
   RowVector spanP(p+1);   

In octave pseudo code I would like to find the following :
        b=(spanR * onesP).^(onesR * spanP);
Any ideas ?
thanks
Matt



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]