#include <fmri_inference.h>
|
| MatMap () |
| default constructor no file is opened More...
|
|
| MatMap (std::string filename, size_t rows, size_t cols) |
| Open an new file as a memory map. ANY OLD FILE WILL BE DELETED The file is always opened for writing and reading. Note the same file should not be simultaneously written two by two separate processes. More...
|
|
| MatMap (std::string filename, bool writeable=false) |
| Open an existing file as a memory map. The file must already exist. If writeable is true then the file will be opened for reading and writing, by default write is off. Note the same file should not be simultaneously written two by two separate processes. More...
|
|
| ~MatMap () |
|
void | open (std::string filename, bool writeable=false) |
| Open an existing file as a memory map. The file must already exist. If writeable is true then the file will be opened for reading and writing, by default write is off. Note the same file should not be simultaneously written two by two separate processes. More...
|
|
void | create (std::string filename, size_t newrows, size_t newcols) |
| Open an new file as a memory map. ANY OLD FILE WILL BE DELETED The file is always opened for writing and reading. Note the same file should not be simultaneously written two by two separate processes. More...
|
|
void | close () |
|
bool | isopen () |
|
const size_t & | rows () const |
|
const size_t & | cols () const |
|
|
Eigen::Map< MatrixXd > | mat |
|
Definition at line 181 of file fmri_inference.h.
npl::MatMap::MatMap |
( |
std::string |
filename, |
|
|
size_t |
rows, |
|
|
size_t |
cols |
|
) |
| |
|
inline |
Open an new file as a memory map. ANY OLD FILE WILL BE DELETED The file is always opened for writing and reading. Note the same file should not be simultaneously written two by two separate processes.
- Parameters
-
filename | File to open |
rows | Number of rows in matrix file |
cols | number of columns in matrix file |
Definition at line 200 of file fmri_inference.h.
npl::MatMap::MatMap |
( |
std::string |
filename, |
|
|
bool |
writeable = false |
|
) |
| |
|
inline |
Open an existing file as a memory map. The file must already exist. If writeable is true then the file will be opened for reading and writing, by default write is off. Note the same file should not be simultaneously written two by two separate processes.
- Parameters
-
filename | File to open |
writeable | whether writing is allowed |
Definition at line 214 of file fmri_inference.h.
void npl::MatMap::close |
( |
| ) |
|
|
inline |
const size_t& npl::MatMap::cols |
( |
| ) |
const |
|
inline |
void npl::MatMap::create |
( |
std::string |
filename, |
|
|
size_t |
newrows, |
|
|
size_t |
newcols |
|
) |
| |
Open an new file as a memory map. ANY OLD FILE WILL BE DELETED The file is always opened for writing and reading. Note the same file should not be simultaneously written two by two separate processes.
- Parameters
-
filename | File to open |
newrows | Number of rows in matrix file |
newcols | number of columns in matrix file |
bool npl::MatMap::isopen |
( |
| ) |
|
|
inline |
void npl::MatMap::open |
( |
std::string |
filename, |
|
|
bool |
writeable = false |
|
) |
| |
Open an existing file as a memory map. The file must already exist. If writeable is true then the file will be opened for reading and writing, by default write is off. Note the same file should not be simultaneously written two by two separate processes.
- Parameters
-
filename | File to open |
writeable | whether writing is allowed |
const size_t& npl::MatMap::rows |
( |
| ) |
const |
|
inline |
Eigen::Map<MatrixXd> npl::MatMap::mat |
The documentation for this class was generated from the following file: