help-octave
[Top][All Lists]
Advanced

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

save overhead when call functions?


From: John W. Eaton
Subject: save overhead when call functions?
Date: Fri, 10 Jan 2003 16:18:59 -0600

On 10-Jan-2003, Shengchao Li <address@hidden> wrote:

| Dear all,
|   I am wondering if there is some way to save the overhead when make calls
| to functions. I have to call a function to process several big matrices,
| by h=thefunction(A,B,C,D,E,F). Each matrix is of the sise 400x400. I
| read octave document and learn that the matrices are copied to the
| function so there is a lot of overhead.

Where did you read that?

The values are not copied unless they are modified inside the
function.

jwe



-------------------------------------------------------------
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]