-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrmsd.h
42 lines (33 loc) · 919 Bytes
/
rmsd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef RMSD_H
#define RMSD_H
#include <Eigen/Dense>
#include<QList>
#include<QDebug>
#include <iostream>
#include<QMessageBox>
#include"alglib/cpp/src/stdafx.h"
//#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "alglib/cpp/src/statistics.h"
using namespace Eigen;
using namespace std;
using namespace alglib;
class Rmsd
{
public:
Rmsd();
public slots:
// rmsd functions
QList<double> Rmsd1(MatrixXd & , VectorXd & );
double Rmsd2(MatrixXd & , VectorXd & );
double Rmsd3(VectorXd & , VectorXd & );
double Rmsd4(VectorXd & , VectorXd & );
QList<QList<double> > rmsdXval(QList<MatrixXd> &);
QList<double> pearsons(QList<MatrixXd> &);
// other maths functions
QList<QVector<double>> sortOutInterval(QVector<double> &,QVector<double> & );
private slots:
double Stdev(MatrixXd &, int &);
};
#endif // RMSD_H