Developer documentation
Version 3.0.3-105-gd3941f44
MR::Connectome::Mat2Vec Class Reference

#include "connectome/mat2vec.h"

Public Member Functions

 Mat2Vec (const node_t i)
 
uint64_t operator() (const node_t i, const node_t j) const
 
std::pair< node_t, node_toperator() (const uint64_t i) const
 
node_t mat_size () const
 
uint64_t vec_size () const
 
template<class MatType , class VecType >
VecType & M2V (const MatType &, VecType &) const
 
template<class VecType , class MatType >
MatType & V2M (const VecType &, MatType &) const
 
template<class MatType >
vector_type M2V (const MatType &) const
 
template<class VecType >
matrix_type V2M (const VecType &) const
 

Detailed Description

Definition at line 35 of file mat2vec.h.

Constructor & Destructor Documentation

◆ Mat2Vec()

MR::Connectome::Mat2Vec::Mat2Vec ( const node_t  i)
inline

Definition at line 39 of file mat2vec.h.

Member Function Documentation

◆ M2V() [1/2]

template<class MatType >
vector_type MR::Connectome::Mat2Vec::M2V ( const MatType &  m) const

Definition at line 113 of file mat2vec.h.

◆ M2V() [2/2]

template<class MatType , class VecType >
VecType & MR::Connectome::Mat2Vec::M2V ( const MatType &  m,
VecType &  v 
) const

Definition at line 88 of file mat2vec.h.

◆ mat_size()

node_t MR::Connectome::Mat2Vec::mat_size ( ) const
inline

Definition at line 64 of file mat2vec.h.

◆ operator()() [1/2]

uint64_t MR::Connectome::Mat2Vec::operator() ( const node_t  i,
const node_t  j 
) const
inline

Definition at line 41 of file mat2vec.h.

◆ operator()() [2/2]

std::pair< node_t, node_t > MR::Connectome::Mat2Vec::operator() ( const uint64_t  i) const
inline

Definition at line 53 of file mat2vec.h.

◆ V2M() [1/2]

template<class VecType >
matrix_type MR::Connectome::Mat2Vec::V2M ( const VecType &  v) const

Definition at line 121 of file mat2vec.h.

◆ V2M() [2/2]

template<class VecType , class MatType >
MatType & MR::Connectome::Mat2Vec::V2M ( const VecType &  v,
MatType &  m 
) const

Definition at line 101 of file mat2vec.h.

◆ vec_size()

uint64_t MR::Connectome::Mat2Vec::vec_size ( ) const
inline

Definition at line 65 of file mat2vec.h.


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