MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <RollingMatrix.h>
Public Member Functions | |
void | correl (vector< double > &ret, const vector< double > &input, unsigned int row) const |
double | dotProduct (const vector< double > &input, unsigned int row, unsigned int startColumn) const |
double | get (unsigned int row, unsigned int column) const |
RollingMatrix & | operator= (const RollingMatrix &other) |
void | resize (unsigned int numRows, unsigned int numColumns) |
RollingMatrix () | |
void | rollToNextRow () |
void | sumIntoEntry (double input, unsigned int row, unsigned int column) |
void | sumIntoRow (const vector< double > &input, unsigned int row) |
void | zeroOutRow (unsigned int row) |
~RollingMatrix () | |
Private Attributes | |
unsigned int | currentStartRow_ |
unsigned int | ncolumns_ |
unsigned int | nrows_ |
vector< SparseVector > | rows_ |
Definition at line 16 of file RollingMatrix.h.
RollingMatrix::RollingMatrix | ( | ) |
Definition at line 16 of file RollingMatrix.cpp.
RollingMatrix::~RollingMatrix | ( | ) |
Definition at line 21 of file RollingMatrix.cpp.
void RollingMatrix::correl | ( | vector< double > & | ret, |
const vector< double > & | input, | ||
unsigned int | row | ||
) | const |
Definition at line 99 of file RollingMatrix.cpp.
References dotProduct(), and ncolumns_.
Referenced by SeqSynHandler::vProcess().
double RollingMatrix::dotProduct | ( | const vector< double > & | input, |
unsigned int | row, | ||
unsigned int | startColumn | ||
) | const |
startColumn is the middle of the kernel.
Definition at line 68 of file RollingMatrix.cpp.
References currentStartRow_, nrows_, and rows_.
Referenced by correl().
double RollingMatrix::get | ( | unsigned int | row, |
unsigned int | column | ||
) | const |
Definition at line 45 of file RollingMatrix.cpp.
References currentStartRow_, nrows_, and rows_.
Referenced by SeqSynHandler::getHistory().
RollingMatrix & RollingMatrix::operator= | ( | const RollingMatrix & | other | ) |
Definition at line 24 of file RollingMatrix.cpp.
References currentStartRow_, ncolumns_, nrows_, and rows_.
void RollingMatrix::resize | ( | unsigned int | numRows, |
unsigned int | numColumns | ||
) |
Definition at line 34 of file RollingMatrix.cpp.
References currentStartRow_, ncolumns_, nrows_, and rows_.
Referenced by SeqSynHandler::SeqSynHandler(), SeqSynHandler::setHistoryTime(), SeqSynHandler::setSeqDt(), and SeqSynHandler::vSetNumSynapses().
void RollingMatrix::rollToNextRow | ( | ) |
Definition at line 116 of file RollingMatrix.cpp.
References currentStartRow_, nrows_, and zeroOutRow().
Referenced by SeqSynHandler::vProcess().
void RollingMatrix::sumIntoEntry | ( | double | input, |
unsigned int | row, | ||
unsigned int | column | ||
) |
void RollingMatrix::sumIntoRow | ( | const vector< double > & | input, |
unsigned int | row | ||
) |
Definition at line 58 of file RollingMatrix.cpp.
References currentStartRow_, nrows_, and rows_.
Referenced by SeqSynHandler::vProcess().
void RollingMatrix::zeroOutRow | ( | unsigned int | row | ) |
Definition at line 110 of file RollingMatrix.cpp.
References currentStartRow_, nrows_, and rows_.
Referenced by rollToNextRow().
|
private |
Definition at line 56 of file RollingMatrix.h.
Referenced by dotProduct(), get(), operator=(), resize(), rollToNextRow(), sumIntoEntry(), sumIntoRow(), and zeroOutRow().
|
private |
Definition at line 55 of file RollingMatrix.h.
Referenced by correl(), operator=(), and resize().
|
private |
Definition at line 54 of file RollingMatrix.h.
Referenced by dotProduct(), get(), operator=(), resize(), rollToNextRow(), sumIntoEntry(), sumIntoRow(), and zeroOutRow().
|
private |
Definition at line 58 of file RollingMatrix.h.
Referenced by dotProduct(), get(), operator=(), resize(), sumIntoEntry(), sumIntoRow(), and zeroOutRow().