Changeset 1017 for trunk/yat/utility


Ignore:
Timestamp:
Feb 1, 2008, 5:53:04 PM (14 years ago)
Author:
Peter
Message:

passing VectorBase? in matrix - refs #256

Location:
trunk/yat/utility
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/matrix.cc

    r1015 r1017  
    2727#include "matrix.h"
    2828#include "vector.h"
     29#include "VectorBase.h"
    2930#include "VectorView.h"
    3031#include "utility.h"
     
    567568
    568569
    569   vector operator*(const vector& v, const matrix& m)
     570  vector operator*(const VectorBase& v, const matrix& m)
    570571  {
    571572    utility::vector res(m.columns());
  • trunk/yat/utility/matrix.h

    r1015 r1017  
    2929
    3030#include "vector.h"
    31 #include "VectorBase.h"
    3231#include "VectorView.h"
    3332#include "Exception.h"
     
    4140namespace utility {
    4241
    43   class vector;
     42  class VectorBase;
    4443
    4544  ///
     
    505504     \brief matrix vector multiplication
    506505   */
    507   vector operator*(const vector&, const matrix&);
     506  vector operator*(const VectorBase&, const matrix&);
    508507
    509508}}} // of namespace utility, yat, and theplu
Note: See TracChangeset for help on using the changeset viewer.