|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
A matrix whose columns are bit fields sized from integer ranges. More...
#include <tpl_packed_matrix.H>#include <tpl_sort_utils.H>#include <array>#include <cstddef>#include <cstdint>#include <iostream>#include <stdexcept>Go to the source code of this file.
Functions | |
| int | main () |
A matrix whose columns are bit fields sized from integer ranges.
Build: cmake –build build –target packed_matrix_example Run: ./build/Examples/packed_matrix_example
Declares a matrix of six columns from the range of each one, shows the bits that the compiler gives to each column, and reads and writes it through the unchecked and the checked accesses. Then it writes whole rows and sorts them: rows compare as their tuples of values do. Last, a matrix of 200 columns that code describes, with Packed_Matrix_Of.
Definition in file packed_matrix_example.cc.
| int main | ( | void | ) |
Definition at line 92 of file packed_matrix_example.cc.
References Aleph::and, StlAlephIterator< SetName >::begin(), StlAlephIterator< SetName >::end(), Aleph::introsort(), m, Aleph::print(), r, and row.