From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 10 15:36:12 2003 Subject: save overhead when call functions? From: Shengchao Li To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 10 Jan 2003 16:35:15 -0500 (EST) 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. I think there may be two ways to save the overhead (as in c,), one is to use macro, or inline functions, one is to pass only pointers to functions rather than to copy the matrices themselves. But how do I do this in octave? Thanks shengchao ------------------------------------------------------------- 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 -------------------------------------------------------------