All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vectorbase.h
Go to the documentation of this file.
36 * Class VectorBase provides dense linear algebra vectors. It does not provide memory management for the %array of
37 * values. Instead, the constructor requires a pointer to a memory block large enough to fit the desired dimension of
40 * After construction, the values of a VectorBase can be accessed with the subscript operator[](). Safety is provided by
41 * qchecking of array bound when accessing elements with the subscript operator[]() (only when compiled without \c
44 * A VectorBase is distinguished from a simple array of %Reals or %Rationals by providing a set of mathematical
45 * operations. Since VectorBase does not provide any memory management features, no operations are available that would
48 * The following mathematical operations are provided by class VectorBase (VectorBase \p a, \p b; R \p x):
70 * When using any of these operations, the vectors involved must be of the same dimension. Also an SVectorBase \c b is
78 // ------------------------------------------------------------------------------------------------------------------
93 // ------------------------------------------------------------------------------------------------------------------
98 /** There is no default constructor since the storage for a VectorBase must be provided externally. Storage must be
99 * passed as a memory block val at construction. It must be large enough to fit at least dimen values.
143 /** Assigning an SVectorBase to a VectorBase using operator=() will set all values to 0 except the nonzeros of \p vec.
150 /** Assigning an SSVectorBase to a VectorBase using operator=() will set all values to 0 except the nonzeros of \p
153 /**@todo do we need this also in non-template version, because SSVectorBase can be automatically cast to VectorBase? */
169 // ------------------------------------------------------------------------------------------------------------------
214 // ------------------------------------------------------------------------------------------------------------------
393 // ------------------------------------------------------------------------------------------------------------------
398 /** This function serves for using a VectorBase in an C-style function. It returns a pointer to the first value of
409 /** This function serves for using a VectorBase in an C-style function. It returns a pointer to the first value of
|