CMR  1.3.0
Public Types | Public Member Functions | List of all members
tu::zero_block_matrix_modifier Struct Reference

#include <find_wheel_minor.hpp>

Public Types

typedef int value_type
 

Public Member Functions

 zero_block_matrix_modifier (size_t height, size_t width)
 
int operator() (size_t i, size_t j, int value)
 

Detailed Description

A matrix proxy which makes an upper-left part zero.

Member Typedef Documentation

◆ value_type

Constructor & Destructor Documentation

◆ zero_block_matrix_modifier()

tu::zero_block_matrix_modifier::zero_block_matrix_modifier ( size_t  height,
size_t  width 
)
inline

Constructs the modifier

Parameters
heightNumber of rows in the zero-part
widthNumber of columns in the zero-part

Member Function Documentation

◆ operator()()

int tu::zero_block_matrix_modifier::operator() ( size_t  i,
size_t  j,
int  value 
)
inline

Applies the modification

Parameters
irow
jcolumn
valueOriginal value
Returns
Modified value

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