CMR  1.3.0
Namespaces | Typedefs | Enumerations | Functions
partition.hpp File Reference
#include <vector>
#include "matrix_transposed.hpp"
#include "matrix_permuted.hpp"
#include "binary_linear_space.hpp"

Go to the source code of this file.

Namespaces

 tu
 
 tu::detail
 

Typedefs

typedef std::pair< size_t, size_t > tu::size_pair_t
 

Enumerations

enum  tu::rank_distribution { tu::RANK_TOO_HIGH = 0 , tu::RANK_BL_1_TR_1 = 1 , tu::RANK_BL_2_TR_0 = 2 , tu::RANK_BL_0_TR_2 = 3 }
 

Functions

template<typename MatrixType , typename VectorType >
void tu::detail::copy_partial_row (const MatrixType &matrix, VectorType &vector, size_t row, size_t first_column, size_t beyond_column)
 
template<typename MatrixType , typename VectorType >
void tu::detail::copy_partial_column (const MatrixType &matrix, VectorType &vector, size_t column, size_t first_row, size_t beyond_row)
 
template<typename MatrixType >
rank_distribution tu::partition (matrix_permuted< const MatrixType > &matrix, size_t &top_left_height, size_t &top_left_width, size_t &bottom_right_height, size_t &bottom_right_width)