Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::packed_matrix_detail::Layout< N > Struct Template Reference

Where every column of a row lives. More...

#include <tpl_packed_matrix.H>

Collaboration diagram for Aleph::packed_matrix_detail::Layout< N >:
[legend]

Public Attributes

std::array< std::int64_t, N > lo {}
 Lowest value of each column.
 
std::array< std::int64_t, N > hi {}
 Highest value of each column.
 
std::array< std::uint64_t, N > mask {}
 The low width bits of each column.
 
std::array< unsigned char, N > width {}
 Bits of each column.
 
std::array< unsigned char, N > shift {}
 Position of each column inside its word.
 
std::array< unsigned short, N > word {}
 Word of the row that holds each column.
 
unsigned bits = 0
 Sum of the widths.
 
unsigned word_bits = 64
 Bits of a word of the row: 8, 16, 32 or 64.
 
unsigned words = 1
 Words of a row.
 

Detailed Description

template<size_t N>
struct Aleph::packed_matrix_detail::Layout< N >

Where every column of a row lives.

Template Parameters
NNumber of columns.

Definition at line 164 of file tpl_packed_matrix.H.

Member Data Documentation

◆ bits

template<size_t N>
unsigned Aleph::packed_matrix_detail::Layout< N >::bits = 0

Sum of the widths.

Definition at line 172 of file tpl_packed_matrix.H.

◆ hi

template<size_t N>
std::array<std::int64_t, N> Aleph::packed_matrix_detail::Layout< N >::hi {}

Highest value of each column.

Definition at line 167 of file tpl_packed_matrix.H.

◆ lo

template<size_t N>
std::array<std::int64_t, N> Aleph::packed_matrix_detail::Layout< N >::lo {}

Lowest value of each column.

Definition at line 166 of file tpl_packed_matrix.H.

◆ mask

template<size_t N>
std::array<std::uint64_t, N> Aleph::packed_matrix_detail::Layout< N >::mask {}

The low width bits of each column.

Definition at line 168 of file tpl_packed_matrix.H.

◆ shift

template<size_t N>
std::array<unsigned char, N> Aleph::packed_matrix_detail::Layout< N >::shift {}

Position of each column inside its word.

Definition at line 170 of file tpl_packed_matrix.H.

◆ width

template<size_t N>
std::array<unsigned char, N> Aleph::packed_matrix_detail::Layout< N >::width {}

Bits of each column.

Definition at line 169 of file tpl_packed_matrix.H.

◆ word

template<size_t N>
std::array<unsigned short, N> Aleph::packed_matrix_detail::Layout< N >::word {}

Word of the row that holds each column.

Definition at line 171 of file tpl_packed_matrix.H.

◆ word_bits

template<size_t N>
unsigned Aleph::packed_matrix_detail::Layout< N >::word_bits = 64

Bits of a word of the row: 8, 16, 32 or 64.

Definition at line 173 of file tpl_packed_matrix.H.

◆ words

template<size_t N>
unsigned Aleph::packed_matrix_detail::Layout< N >::words = 1

Words of a row.

Definition at line 174 of file tpl_packed_matrix.H.


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