for (; m != end ; ++m)
{
- if (m->matrix->empty())
- continue;
if (m->prefix==1.)
{
if (m->transpose)
for (; m != end ; ++m)
{
- if (m->matrix->empty())
- continue;
if (m->prefix==1.)
{
if (m->transpose)
*/
virtual ~PointerMatrixBase ();
- /**
- * Check if pointer is zero or
- * matrix is empty.
- */
- virtual bool empty () const = 0;
-
/**
* Matrix-vector product.
*/
* @see SmartPointer
*/
const PointerMatrix& operator= (const MATRIX* M);
-
- /**
- * Check if pointer is zero or
- * matrix is empty.
- */
- virtual bool empty () const;
-
/**
* Matrix-vector product.
return *this;
}
-template<class MATRIX, class VECTOR>
-inline bool
-PointerMatrix<MATRIX, VECTOR>::empty () const
-{
- if (m == 0)
- return true;
- return m->empty();
-}
-
template<class MATRIX, class VECTOR>
inline void
PointerMatrix<MATRIX, VECTOR>::vmult (VECTOR& dst,
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams