dsvectorbase.h
Go to the documentation of this file.
34 * Class DSVectorBase implements dynamic sparse vectors, i.e. #SVectorBase%s with an automatic memory management. This 35 * allows the user to freely add() as many nonzeros to a DSVectorBase as desired, without any precautions. For saving 38 * @todo Both DSVectorBase and SVectorBase have a member variable that points to allocated memory. This does not seem to 48 // ------------------------------------------------------------------------------------------------------------------ 57 // ------------------------------------------------------------------------------------------------------------------ 86 // ------------------------------------------------------------------------------------------------------------------ 91 /** Creates a DSVectorBase ready to hold \p n nonzeros. However, the memory is automatically enlarged, if more 114 /** The redundancy with the copy constructor below is necessary since otherwise the compiler doesn't realize that it 210 // ------------------------------------------------------------------------------------------------------------------ 245 /** This methods resets the memory consumption to \p newmax. However, if \p newmax < size(), it is 284 // ------------------------------------------------------------------------------------------------------------------ 327 /** This methods resets the memory consumption to \p newmax. However, if \p newmax < size(), it is
DSVectorBase< R > & operator=(const DSVectorBase< R > &vec) Assignment operator. Definition: dsvectorbase.h:162 DSVectorBase< R > & operator=(const SVectorBase< S > &vec) Assignment operator. Definition: dsvectorbase.h:149 SVectorBase< R > & operator=(const VectorBase< S > &vec) Assignment operator. Definition: basevectors.h:905 Dense vector.Class VectorBase provides dense linear algebra vectors. It does not provide memory manag... Definition: dsvectorbase.h:28 void setMem(int n, Nonzero< R > *elmem) Set the memory area where the nonzeros will be stored. Definition: svectorbase.h:674 Dynamic sparse vectors.Class DSVectorBase implements dynamic sparse vectors, i.e. SVectorBases with a... Definition: dsvectorbase.h:42 Sparse Linear Solver virtual base class.Class SLinSolver provides a class for solving sparse linear s... Definition: slinsolver.h:43 Semi sparse vector.This class implements semi-sparse vectors. Such are DVectorBases where the indices... Definition: dsvectorbase.h:29 DSVectorBase< R > & operator=(const DSVectorBase< S > &vec) Assignment operator. Definition: dsvectorbase.h:176 Everything should be within this namespace. Sparse vectors. Sparse vectors.Class SVectorBase provides packed sparse vectors. Such are a sparse vectors... Definition: dvectorbase.h:31 |