Ignore:
Timestamp:
Nov 4, 2009, 5:34:05 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
5f1d021
Parents:
c1b76e
Message:

Extension to the periodic boundary case for analysis_correlation.cpp

other stuff:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/vector.hpp

    rc1b76e r20895b  
    6262  void Scale(const double factor);
    6363  void MatrixMultiplication(const double * const M);
    64   double * InverseMatrix(const double * const A);
    6564  void InverseMatrixMultiplication(const double * const M);
    6665  void KeepPeriodic(ofstream *out, const double * const matrix);
     
    9190Vector& operator-(const Vector& a, const Vector& b);
    9291
    93 // some algebraic matrix stuff
    94 #define RDET3(a) ((a)[0]*(a)[4]*(a)[8] + (a)[3]*(a)[7]*(a)[2] + (a)[6]*(a)[1]*(a)[5] - (a)[2]*(a)[4]*(a)[6] - (a)[5]*(a)[7]*(a)[0] - (a)[8]*(a)[1]*(a)[3])  //!< hard-coded determinant of a 3x3 matrix
    95 #define RDET2(a0,a1,a2,a3) ((a0)*(a3)-(a1)*(a2))                      //!< hard-coded determinant of a 2x2 matrix
    96 
    97 
    9892
    9993#endif /*VECTOR_HPP_*/
Note: See TracChangeset for help on using the changeset viewer.