NuriKit v0.1.0b2
Loading...
Searching...
No Matches
nuri::BoolMatrix Class Reference

#include <nuri/core/container/bool_matrix.h>

Public Types

using Index = Eigen::Index

Public Member Functions

 BoolMatrix ()=delete
 BoolMatrix (Index rows, Index cols=0)
bool operator() (BoolMatrixKey row, Index col) const
Index rows () const
Index cols () const
std::vector< int > gaussian_elimination ()
std::vector< int > partial_reduction (const int reduce_begin)
void colwise_xor (Index c1, Index c2)
void zero ()
void resize (int cols)
void move_col (Index c1, Index c2)
void set (BoolMatrixKey row, Index col)
void unset (BoolMatrixKey row, Index col)
void assign (BoolMatrixKey row, Index col, bool value)

Member Typedef Documentation

◆ Index

using nuri::BoolMatrix::Index = Eigen::Index

Constructor & Destructor Documentation

◆ BoolMatrix() [1/2]

nuri::BoolMatrix::BoolMatrix ( )
delete

◆ BoolMatrix() [2/2]

nuri::BoolMatrix::BoolMatrix ( Index rows,
Index cols = 0 )
inlineexplicit

Member Function Documentation

◆ assign()

void nuri::BoolMatrix::assign ( BoolMatrixKey row,
Index col,
bool value )
inline

◆ cols()

Index nuri::BoolMatrix::cols ( ) const
inline

◆ colwise_xor()

void nuri::BoolMatrix::colwise_xor ( Index c1,
Index c2 )
inline

◆ gaussian_elimination()

std::vector< int > nuri::BoolMatrix::gaussian_elimination ( )
inline

◆ move_col()

void nuri::BoolMatrix::move_col ( Index c1,
Index c2 )
inline

◆ operator()()

bool nuri::BoolMatrix::operator() ( BoolMatrixKey row,
Index col ) const
inline

◆ partial_reduction()

std::vector< int > nuri::BoolMatrix::partial_reduction ( const int reduce_begin)
inline

◆ resize()

void nuri::BoolMatrix::resize ( int cols)
inline

◆ rows()

Index nuri::BoolMatrix::rows ( ) const
inline

◆ set()

void nuri::BoolMatrix::set ( BoolMatrixKey row,
Index col )
inline

◆ unset()

void nuri::BoolMatrix::unset ( BoolMatrixKey row,
Index col )
inline

◆ zero()

void nuri::BoolMatrix::zero ( )
inline

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