MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FIFFLIB::FiffSparseMatrix Class Reference

Data associated with MNE computations for each mneMeasDataSet. More...

#include <fiff_sparse_matrix.h>

Public Types

typedef QSharedPointer< FiffSparseMatrixSPtr
 
typedef QSharedPointer< const FiffSparseMatrixConstSPtr
 

Public Member Functions

 FiffSparseMatrix ()
 
 FiffSparseMatrix (const FiffSparseMatrix &mat)
 
 ~FiffSparseMatrix ()
 
FIFFLIB::FiffSparseMatrixmne_add_upper_triangle_rcs ()
 

Static Public Member Functions

static FIFFLIB::fiff_int_t * fiff_get_matrix_sparse_dims (FIFFLIB::FiffTag::SPtr &tag)
 
static FIFFLIB::FiffSparseMatrixfiff_get_float_sparse_matrix (FIFFLIB::FiffTag::SPtr &tag)
 
static FIFFLIB::FiffSparseMatrixcreate_sparse_rcs (int nrow, int ncol, int *nnz, int **colindex, float **vals)
 

Public Attributes

FIFFLIB::fiff_int_t coding
 
FIFFLIB::fiff_int_t m
 
FIFFLIB::fiff_int_t n
 
FIFFLIB::fiff_int_t nz
 
FIFFLIB::fiff_float_t * data
 
FIFFLIB::fiff_int_t * inds
 
FIFFLIB::fiff_int_t * ptrs
 

Detailed Description

Data associated with MNE computations for each mneMeasDataSet.

Implements MNE Mne Data (Replaces *mneMneData,mneMneDataRec; struct of MNE-C mne_types.h).

Definition at line 74 of file fiff_sparse_matrix.h.

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for FiffSparseMatrix.

Definition at line 78 of file fiff_sparse_matrix.h.

◆ SPtr

Shared pointer type for FiffSparseMatrix.

Definition at line 77 of file fiff_sparse_matrix.h.

Constructor & Destructor Documentation

◆ FiffSparseMatrix() [1/2]

FiffSparseMatrix::FiffSparseMatrix ( )

Constructs the FiffSparseMatrix

Definition at line 149 of file fiff_sparse_matrix.cpp.

◆ FiffSparseMatrix() [2/2]

FiffSparseMatrix::FiffSparseMatrix ( const FiffSparseMatrix mat)

Copies a FiffSparseMatrix Refactored: mne_dup_sparse_matrix (mne_sparse_matop.c)

Parameters
[in]matThe Sparse Matrix which should be copied.

Definition at line 162 of file fiff_sparse_matrix.cpp.

◆ ~FiffSparseMatrix()

FiffSparseMatrix::~FiffSparseMatrix ( )

Destroys the FiffSparseMatrix description Refactored: mne_free_sparse (mne_sparse_matop.c)

Definition at line 191 of file fiff_sparse_matrix.cpp.

Member Data Documentation

◆ coding

FIFFLIB::fiff_int_t FIFFLIB::FiffSparseMatrix::coding

coding (storage) type of the sparse matrix.

Definition at line 125 of file fiff_sparse_matrix.h.

◆ data

FIFFLIB::fiff_float_t* FIFFLIB::FiffSparseMatrix::data

owns the data.

Definition at line 129 of file fiff_sparse_matrix.h.

◆ inds

FIFFLIB::fiff_int_t* FIFFLIB::FiffSparseMatrix::inds

index list, points into data, no dealloc!.

Definition at line 130 of file fiff_sparse_matrix.h.

◆ m

FIFFLIB::fiff_int_t FIFFLIB::FiffSparseMatrix::m

m rows.

Definition at line 126 of file fiff_sparse_matrix.h.

◆ n

FIFFLIB::fiff_int_t FIFFLIB::FiffSparseMatrix::n

n columns.

Definition at line 127 of file fiff_sparse_matrix.h.

◆ nz

FIFFLIB::fiff_int_t FIFFLIB::FiffSparseMatrix::nz

nz nonzeros.

Definition at line 128 of file fiff_sparse_matrix.h.

◆ ptrs

FIFFLIB::fiff_int_t* FIFFLIB::FiffSparseMatrix::ptrs

pointer list, points into data, no dealloc!.

Definition at line 131 of file fiff_sparse_matrix.h.


The documentation for this class was generated from the following files: