-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdeterminant_equation.cc
38 lines (28 loc) · 1.49 KB
/
determinant_equation.cc
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
/***********************
DCProgs computes missed-events likelihood as described in
Hawkes, Jalali and Colquhoun (1990, 1992)
Copyright (C) 2013 University College London
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
************************/
#include <DCProgsConfig.h>
#include <sstream>
#include "determinant_equation.h"
namespace DCProgs {
MSWINDOBE std::ostream& operator<<(std::ostream& _stream, DeterminantEq const & _self) {
return _stream << "Determinant equation:\n"
<< "=====================\n\n"
<< " * Transition Rate matrix:\n" << numpy_io(_self.get_qmatrix().matrix) << "\n"
<< " * Number of 'A' states: " << _self.get_nopen() << "\n"
<< " * Resolution time tau: " << _self.get_tau() << "\n"
<< " * FF eigenvalues: " << _self.get_ff_eigenvalues().transpose() << "\n";
}
}