[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Realtime cost of call by value
From: |
Glenn Golden |
Subject: |
Re: Realtime cost of call by value |
Date: |
Fri, 31 Oct 2003 12:25:07 -0700 |
John,
I'm updating the other matrix types with this 'fast global' stuff,
and I want make sure I do the uniqification correctly. In the code you
originally posted, you defined the Matrix::matrix_reference() as
Matrix&
Matrix::matrix_reference (void)
{
matrix.make_unique ();
return *this;
}
When I originally compiled this (dMatrix.cc), I got an undefined
ref on 'matrix', which I assumed was due to some missing header
file or something, which I couldn't readily ascertain at the time.
So for the purposes of initial testing, I just changed it from
matrix.make_unique() to make_unique() under the assumption that
the right method would be called (which it is). But now I need to
go back and fix the real problem. It looked to me like ov-base-mat.h
was the "missing" header file, but I just tried it out, and 'matrix'
is still undef. What's the correct way to take care of this?
Glenn
-------------------------------------------------------------
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
-------------------------------------------------------------
- Re: Realtime cost of call by value, (continued)
- Re: Realtime cost of call by value, Glenn Golden, 2003/10/30
- Re: Realtime cost of call by value, taltman, 2003/10/31
- Re: Realtime cost of call by value, John W. Eaton, 2003/10/31
- Re: Realtime cost of call by value, taltman, 2003/10/31
- Re: Realtime cost of call by value, John W. Eaton, 2003/10/31
- Re: Realtime cost of call by value, taltman, 2003/10/31
- Re: Realtime cost of call by value, John W. Eaton, 2003/10/31
- Re: Realtime cost of call by value, John W. Eaton, 2003/10/31
- Re: Realtime cost of call by value, Francesco Potorti`, 2003/10/31
Re: Realtime cost of call by value,
Glenn Golden <=