g2o
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock Struct Reference

A block within a column. More...

#include <sparse_block_matrix_ccs.h>

Public Member Functions

 RowBlock ()
 
 RowBlock (int r, MatrixType *b)
 
bool operator< (const RowBlock &other) const
 

Public Attributes

int row
 row of the block
 
MatrixType * block
 matrix pointer for the block
 

Detailed Description

template<class MatrixType>
struct g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock

A block within a column.

Definition at line 65 of file sparse_block_matrix_ccs.h.

Constructor & Destructor Documentation

◆ RowBlock() [1/2]

template<class MatrixType >
g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock::RowBlock ( )
inline

Definition at line 68 of file sparse_block_matrix_ccs.h.

68: row(-1), block(0) {}
MatrixType * block
matrix pointer for the block

◆ RowBlock() [2/2]

template<class MatrixType >
g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock::RowBlock ( int  r,
MatrixType *  b 
)
inline

Definition at line 69 of file sparse_block_matrix_ccs.h.

69: row(r), block(b) {}

Member Function Documentation

◆ operator<()

template<class MatrixType >
bool g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock::operator< ( const RowBlock other) const
inline

Definition at line 70 of file sparse_block_matrix_ccs.h.

70{ return row < other.row; }

References g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock::row.

Member Data Documentation

◆ block

template<class MatrixType >
MatrixType* g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock::block

matrix pointer for the block

Definition at line 67 of file sparse_block_matrix_ccs.h.

◆ row

template<class MatrixType >
int g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock::row

row of the block

Definition at line 66 of file sparse_block_matrix_ccs.h.

Referenced by g2o::SparseBlockMatrixCCS< MatrixType >::RowBlock::operator<().


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