#include <mne_sparse_named_matrix.h>
Public Member Functions | |
| MNESparseNamedMatrix ()=default | |
| ~MNESparseNamedMatrix ()=default | |
| void | write (FIFFLIB::FiffStream &stream, int kind) const |
Static Public Member Functions | |
| static std::unique_ptr< MNESparseNamedMatrix > | read (FIFFLIB::FiffStream::SPtr &stream, const FIFFLIB::FiffDirNode::SPtr &node, int kind) |
Public Attributes | |
| int | nrow = 0 |
| int | ncol = 0 |
| QStringList | rowlist |
| QStringList | collist |
| std::unique_ptr< FIFFLIB::FiffSparseMatrix > | data |
Sparse named matrix - matrix specification with row/column name lists.
Definition at line 45 of file mne_sparse_named_matrix.h.
|
default |
|
default |
|
static |
Reads a sparse named matrix (MNE-C mne_read_sparse_named_matrix).
| [in] | stream | An open FIFF stream. |
| [in] | node | A FIFFB_MNE_NAMED_MATRIX block, or a block whose direct children contain one. |
| [in] | kind | The tag holding the sparse matrix. |
Definition at line 33 of file mne_sparse_named_matrix.cpp.
| void MNESparseNamedMatrix::write | ( | FIFFLIB::FiffStream & | stream, |
| int | kind ) const |
Writes the matrix as a FIFFB_MNE_NAMED_MATRIX block (MNE-C mne_write_sparse_named_matrix).
| [in] | stream | A FIFF stream open for writing. |
| [in] | kind | The tag for the sparse matrix. |
Definition at line 89 of file mne_sparse_named_matrix.cpp.
| QStringList MNELIB::MNESparseNamedMatrix::collist |
Name list for the columns.
Definition at line 77 of file mne_sparse_named_matrix.h.
| std::unique_ptr<FIFFLIB::FiffSparseMatrix> MNELIB::MNESparseNamedMatrix::data |
The data itself (sparse).
Definition at line 78 of file mne_sparse_named_matrix.h.
| int MNELIB::MNESparseNamedMatrix::ncol = 0 |
Number of columns (same as in data).
Definition at line 75 of file mne_sparse_named_matrix.h.
| int MNELIB::MNESparseNamedMatrix::nrow = 0 |
Number of rows (same as in data).
Definition at line 74 of file mne_sparse_named_matrix.h.
| QStringList MNELIB::MNESparseNamedMatrix::rowlist |
Name list for the rows.
Definition at line 76 of file mne_sparse_named_matrix.h.