Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/vector.hpp

    r89c8b2 rf66195  
    44using namespace std;
    55
    6 #include "helpers.hpp"
     6/*********************************************** includes ***********************************/
     7
     8// include config.h
     9#ifdef HAVE_CONFIG_H
     10#include <config.h>
     11#endif
    712
    813#include <gsl/gsl_vector.h>
    914#include <gsl/gsl_multimin.h>
    1015
    11 class Vector;
     16#include "defs.hpp"
     17
     18/********************************************** declarations *******************************/
    1219
    1320/** Single vector.
     
    5259  void Scale(double *factor);
    5360  void Scale(double factor);
    54   void MatrixMultiplication(double *M);
     61  void MatrixMultiplication(const double *M);
    5562  double * InverseMatrix(double *A);
    56   void InverseMatrixMultiplication(double *M);
     63  void InverseMatrixMultiplication(const double *M);
    5764  void KeepPeriodic(ofstream *out, double *matrix);
    5865  void LinearCombinationOfVectors(const Vector *x1, const Vector *x2, const Vector *x3, double *factors);
     
    6976  bool Output(ofstream *out) const;
    7077  bool IsInParallelepiped(Vector offset, double *parallelepiped);
     78  void WrapPeriodically(const double *M, const double *Minv);
    7179};
    7280
Note: See TracChangeset for help on using the changeset viewer.