v2.0.0
Loading...
Searching...
No Matches
fiff_sparse_matrix.cpp File Reference

Implementation of FiffSparseMatrix: CCS / RCS storage matching the FIFF sparse-matrix tag layout, with Eigen conversion. More...

#include "fiff_sparse_matrix.h"
#include <fiff/fiff_file.h>
#include <fiff/fiff_types.h>
#include <vector>
#include <QDebug>
Include dependency graph for fiff_sparse_matrix.cpp:

Go to the source code of this file.

Functions

fiff_int_t fiff_type_base (fiff_int_t type)
fiff_int_t fiff_type_fundamental (fiff_int_t type)
fiff_int_t fiff_type_matrix_coding (fiff_int_t type)
std::vector< int > fiff_get_matrix_dims (const FiffTag::UPtr &tag)

Detailed Description

Implementation of FiffSparseMatrix: CCS / RCS storage matching the FIFF sparse-matrix tag layout, with Eigen conversion.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
February 2026

Stores values, inner indices and outer pointers exactly as the FIFF stream produced them so the matrix can be re-emitted without re-encoding.

Definition in file fiff_sparse_matrix.cpp.

Function Documentation

◆ fiff_get_matrix_dims()

std::vector< int > fiff_get_matrix_dims ( const FiffTag::UPtr & tag)

Definition at line 58 of file fiff_sparse_matrix.cpp.

◆ fiff_type_base()

fiff_int_t fiff_type_base ( fiff_int_t type)

Definition at line 41 of file fiff_sparse_matrix.cpp.

◆ fiff_type_fundamental()

fiff_int_t fiff_type_fundamental ( fiff_int_t type)

Definition at line 46 of file fiff_sparse_matrix.cpp.

◆ fiff_type_matrix_coding()

fiff_int_t fiff_type_matrix_coding ( fiff_int_t type)

Definition at line 51 of file fiff_sparse_matrix.cpp.