help-octave
[Top][All Lists]
Advanced

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

exp(Matrix) in oct file?


From: Michael Creel
Subject: exp(Matrix) in oct file?
Date: Tue, 09 Mar 2004 11:45:09 +0100
User-agent: KMail/1.6.1

Can functions such as exp(), lgamma() etc., be made to work upon the Matrix 
type? I'm now doing:

        for (i=0; i < n; i++)
        {
                temp = (double) xtheta(i);
                temp = exp(temp);
        }

where xtheta is a column vector.

Michael



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

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



reply via email to

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