Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
vnl_matrix_fixed_ref.h File Reference
Fixed size stack-stored vnl_matrix.
More...
Go to the source code of this file.
Detailed Description
Fixed size stack-stored vnl_matrix.
-
Author:
-
Andrew W. Fitzgibbon, Oxford RRG, 04 Aug 96 vnl_matrix_fixed_ref is a fixed-size vnl_matrix for which the data space has been supplied externally. This is useful for two main tasks:
(a) Treating some row-based "C" matrix as a vnl_matrix in order to perform vnl_matrix operations on it.
(b) Declaring a vnl_matrix that uses entirely stack-based storage for the matrix.
The big warning is that returning a vnl_matrix_fixed_ref pointer will free non-heap memory if deleted through a vnl_matrix pointer. This should be very difficult though, as vnl_matrix_fixed_ref objects may not be constructed using operator new. This in turn is plausible as the point is to avoid such calls.
Definition in file vnl_matrix_fixed_ref.h.
Generated at Fri May 21 01:16:09 2004 for ITK by
1.2.15 written by Dimitri van Heesch,
© 1997-2000