MNE-CPP
0.1.9
A Framework for Electrophysiology
|
A named matrix. More...
#include <fiff_named_matrix.h>
Public Types | |
typedef QSharedPointer< FiffNamedMatrix > | SPtr |
typedef QSharedPointer< const FiffNamedMatrix > | ConstSPtr |
typedef QSharedDataPointer< FiffNamedMatrix > | SDPtr |
Public Member Functions | |
FiffNamedMatrix () | |
FiffNamedMatrix (fiff_int_t p_nrow, fiff_int_t p_ncol, const QStringList &p_row_names, const QStringList &p_col_names, const Eigen::MatrixXd &p_data) | |
FiffNamedMatrix (const FiffNamedMatrix &p_FiffNamedMatrix) | |
~FiffNamedMatrix ()=default | |
void | clear () |
bool | isEmpty () const |
void | transpose_named_matrix () |
Public Attributes | |
fiff_int_t | nrow |
fiff_int_t | ncol |
QStringList | row_names |
QStringList | col_names |
Eigen::MatrixXd | data |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FIFFLIB::FiffNamedMatrix &p_FiffNamedMatrix) |
bool | operator== (const FiffNamedMatrix &a, const FiffNamedMatrix &b) |
A named matrix.
Matrix specification with named rows and cols.
Definition at line 76 of file fiff_named_matrix.h.
typedef QSharedPointer<const FiffNamedMatrix> FIFFLIB::FiffNamedMatrix::ConstSPtr |
Const shared pointer type for FiffNamedMatrix.
Definition at line 80 of file fiff_named_matrix.h.
typedef QSharedDataPointer<FiffNamedMatrix> FIFFLIB::FiffNamedMatrix::SDPtr |
Shared data pointer type for FiffNamedMatrix.
Definition at line 81 of file fiff_named_matrix.h.
typedef QSharedPointer<FiffNamedMatrix> FIFFLIB::FiffNamedMatrix::SPtr |
Shared pointer type for FiffNamedMatrix.
Definition at line 79 of file fiff_named_matrix.h.
FiffNamedMatrix::FiffNamedMatrix | ( | ) |
Default constructor.
Definition at line 54 of file fiff_named_matrix.cpp.
|
explicit |
Constructs named matrix with given parameters. (No plausibility check is performed)
[in] | p_nrow | Number of rows. |
[in] | p_ncol | Number of cols. |
[in] | p_row_names | Row names. |
[in] | p_col_names | Column names. |
[in] | p_data | Data of the named matrix. |
FiffNamedMatrix::FiffNamedMatrix | ( | const FiffNamedMatrix & | p_FiffNamedMatrix | ) |
Copy constructor.
[in] | p_FiffNamedMatrix | Named matrix which should be copied. |
Definition at line 73 of file fiff_named_matrix.cpp.
|
default |
Destroys the named matrix.
void FiffNamedMatrix::clear | ( | ) |
Initializes the named matrix.
Definition at line 85 of file fiff_named_matrix.cpp.
|
inline |
Returns true if named matrix contains no data.
Definition at line 206 of file fiff_named_matrix.h.
void FiffNamedMatrix::transpose_named_matrix | ( | ) |
Transpose a named matrix (FiffNamedMatrix)
Definition at line 96 of file fiff_named_matrix.cpp.
|
friend |
overloading the stream out operator<<
[in] | out | The stream to which the fiff projector should be assigned to. |
[in] | p_FiffNamedMatrix | Fiff named matrix which should be assigned to the stream. |
< Matrix data.
Definition at line 213 of file fiff_named_matrix.h.
|
friend |
Overloaded == operator to compare an object to this instance.
[in] | object | The object which should be compared to. |
Definition at line 293 of file fiff_named_matrix.h.
QStringList FIFFLIB::FiffNamedMatrix::col_names |
Column names.
Definition at line 174 of file fiff_named_matrix.h.
Eigen::MatrixXd FIFFLIB::FiffNamedMatrix::data |
Matrix data.
Definition at line 175 of file fiff_named_matrix.h.
fiff_int_t FIFFLIB::FiffNamedMatrix::ncol |
Number of columns.
Definition at line 172 of file fiff_named_matrix.h.
fiff_int_t FIFFLIB::FiffNamedMatrix::nrow |
Number of rows.
Definition at line 171 of file fiff_named_matrix.h.
QStringList FIFFLIB::FiffNamedMatrix::row_names |
Row names.
Definition at line 173 of file fiff_named_matrix.h.