From help-octave-request at bevo dot che dot wisc dot edu Fri Jan 10 16:19:08 2003 Subject: save overhead when call functions? From: "John W. Eaton" To: Shengchao Li Cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 10 Jan 2003 16:18:59 -0600 On 10-Jan-2003, Shengchao Li 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 -------------------------------------------------------------