Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/vector.hpp

    rc94eeb r0c7ed8  
    2424
    2525class Vector;
    26 class Matrix;
    2726
    2827typedef std::vector<Vector> pointset;
     
    3231 */
    3332class Vector : public Space{
    34   friend Vector operator*(const Matrix&,const Vector&);
    3533public:
     34
    3635  Vector();
    3736  Vector(const double x1, const double x2, const double x3);
     
    6059  void ScaleAll(const double *factor);
    6160  void Scale(const double factor);
    62   void MatrixMultiplication(const Matrix &M);
     61  void MatrixMultiplication(const double * const M);
    6362  bool InverseMatrixMultiplication(const double * const M);
    6463  void KeepPeriodic(const double * const matrix);
     
    9796  Vector const operator+(const Vector& b) const;
    9897  Vector const operator-(const Vector& b) const;
    99   Vector& operator*=(const Matrix&);
    10098
    10199  // Methods inherited from Space
     
    106104
    107105private:
    108   Vector(gsl_vector *);
    109106  gsl_vector *content;
    110107
     
    121118Vector const operator*(const Vector& a, const double m);
    122119Vector const operator*(const double m, const Vector& a);
    123 Vector operator*(const Matrix&,const Vector&);
    124 
    125120
    126121#endif /*VECTOR_HPP_*/
Note: See TracChangeset for help on using the changeset viewer.