Miind
Functions
MatrixMasterEquation.cpp File Reference
#include "MatrixMasterEquation.h"
Include dependency graph for MatrixMasterEquation.cpp:

Go to the source code of this file.

Functions

void AddCongruentBins (Index i, int i_lower, int i_higher, Potential lower, Potential higher, NumtoolsLib::QaDirty< Potential > &mat, const vector< Potential > &array_interpretation, Potential V_max, Rate rate)
 
void AddRow (Index i, NumtoolsLib::QaDirty< double > &mat, int i_lower, double lower, int i_higher, double higher, const vector< double > &array_interpretation, double V_max, double rate)
 
void AddSameBin (Index i, Index i_add, Potential lower, Potential higher, NumtoolsLib::QaDirty< Potential > &mat, const vector< Potential > &array_interpretation, Potential V_max, Rate rate)
 
pair< Potential, Potential > BinLimits (Potential V_max, const vector< Potential > &array_interpretation, Index i)
 
int find_bin (Index i, const vector< double > &array_interpretation, Potential V_max, double tr)
 
void HandleExcitatoryInput (NumtoolsLib::QaDirty< double > &mat, const InputParameterSet &set, const vector< double > &array_interpretation, Potential V_max, Potential V_reset, Index i_reset)
 
void HandleInhibitoryInput (NumtoolsLib::QaDirty< double > &mat, const InputParameterSet &set, const vector< double > &array_interpretation, Potential V_max)
 
double HigherFraction (Potential V_max, const vector< double > &array_interpretation, int i, Potential v)
 
void InitializeMatrix (NumtoolsLib::QaDirty< double > &mat, const vector< InputParameterSet > &vec_set, const vector< double > &array_interpretation, Potential V_max, Potential V_reset, Index i_reset)
 
double LowerFraction (Potential V_max, const vector< double > &array_interpretation, int i, Potential v)
 
bool ProbabilityConservation (const double dydt[], Number n_bins)
 
bool SumColumnsZero (const NumtoolsLib::QaDirty< double > &mat)
 

Function Documentation

void AddCongruentBins ( Index  i,
int  i_lower,
int  i_higher,
Potential  lower,
Potential  higher,
NumtoolsLib::QaDirty< Potential > &  mat,
const vector< Potential > &  array_interpretation,
Potential  V_max,
Rate  rate 
)

Definition at line 174 of file MatrixMasterEquation.cpp.

References HigherFraction(), and LowerFraction().

Referenced by AddRow().

void AddRow ( Index  i,
NumtoolsLib::QaDirty< double > &  mat,
int  i_lower,
double  lower,
int  i_higher,
double  higher,
const vector< double > &  array_interpretation,
double  V_max,
double  rate 
)

Definition at line 201 of file MatrixMasterEquation.cpp.

References AddCongruentBins(), and AddSameBin().

Referenced by HandleExcitatoryInput(), and HandleInhibitoryInput().

void AddSameBin ( Index  i,
Index  i_add,
Potential  lower,
Potential  higher,
NumtoolsLib::QaDirty< Potential > &  mat,
const vector< Potential > &  array_interpretation,
Potential  V_max,
Rate  rate 
)

Definition at line 152 of file MatrixMasterEquation.cpp.

References BinLimits().

Referenced by AddRow().

pair<Potential, Potential> BinLimits ( Potential  V_max,
const vector< Potential > &  array_interpretation,
Index  i 
)
int find_bin ( Index  i,
const vector< double > &  array_interpretation,
Potential  V_max,
double  tr 
)

Definition at line 223 of file MatrixMasterEquation.cpp.

Referenced by HandleExcitatoryInput(), and HandleInhibitoryInput().

void HandleExcitatoryInput ( NumtoolsLib::QaDirty< double > &  mat,
const InputParameterSet set,
const vector< double > &  array_interpretation,
Potential  V_max,
Potential  V_reset,
Index  i_reset 
)
void HandleInhibitoryInput ( NumtoolsLib::QaDirty< double > &  mat,
const InputParameterSet set,
const vector< double > &  array_interpretation,
Potential  V_max 
)
double HigherFraction ( Potential  V_max,
const vector< double > &  array_interpretation,
int  i,
Potential  v 
)

Definition at line 135 of file MatrixMasterEquation.cpp.

References BinLimits().

Referenced by AddCongruentBins().

void InitializeMatrix ( NumtoolsLib::QaDirty< double > &  mat,
const vector< InputParameterSet > &  vec_set,
const vector< double > &  array_interpretation,
Potential  V_max,
Potential  V_reset,
Index  i_reset 
)
double LowerFraction ( Potential  V_max,
const vector< double > &  array_interpretation,
int  i,
Potential  v 
)

Definition at line 117 of file MatrixMasterEquation.cpp.

References BinLimits().

Referenced by AddCongruentBins(), HandleExcitatoryInput(), and HandleInhibitoryInput().

bool ProbabilityConservation ( const double  dydt[],
Number  n_bins 
)

Definition at line 89 of file MatrixMasterEquation.cpp.

Referenced by GeomLib::DerivMatrixVersion().

bool SumColumnsZero ( const NumtoolsLib::QaDirty< double > &  mat)

Definition at line 75 of file MatrixMasterEquation.cpp.

Referenced by GeomLib::DerivMatrixVersion(), and InitializeMatrix().