A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classbm_1_1dynamic__heap__matrix.html below:

NCBI C++ ToolKit: bm::dynamic_heap_matrix< Val, BVAlloc

Search Toolkit Book for bm::dynamic_heap_matrix

Heap allocated dynamic resizable scalar-type matrix. More...

#include <util/bitset/bmbuffer.h>

  dynamic_heap_matrix (size_type rows_in=0, size_type cols_in=0) noexcept   By default object is constructed but NOT allocated. More...
  void  init (bool set_z=false)   Post construction allocation, initialization. More...
  void  free () noexcept   Free memory. More...
  size_type  rows () const noexcept   size_type  cols () const noexcept   void  resize (size_type rows_in, size_type cols_in, bool copy_content=true)   void  init_resize (size_type rows_in, size_type cols_in)   void  copy_from (const dynamic_heap_matrix< value_type, bv_allocator_type > &other) noexcept   bool  is_init () const noexcept   const value_typerow (size_type row_idx) const noexcept   value_typerow (size_type row_idx) noexcept   value_type  get (size_type row_idx, size_type col_idx) noexcept   const value_typeget (size_type row_idx, size_type col_idx) const noexcept   void  set (size_type row_idx, size_type col_idx, value_type v) noexcept   void  set_zero () noexcept   memset all buffer to all zeroes More...
  void  swap (dynamic_heap_matrix &other) noexcept   void  move_from (dynamic_heap_matrix &other) noexcept   buffer_typeget_buffer () noexcept   Get low-level buffer access. More...
  const buffer_typeget_buffer () const noexcept   Get low-level buffer access. More...
  void  replicate_triange () noexcept   copy values of the left triangle elements to the right triangle (operation specific to matrices with symmetric distances) More...
  bool  equal (const dynamic_heap_matrix< Val, BVAlloc > &dhm) const noexcept   Check if two matrix objects matches on the content. More...
  bool  equal_overlap (const dynamic_heap_matrix< Val, BVAlloc > &dhm) const noexcept   Approximate equals on the rows-columns overlap area. More...
  template<typename VECT_TYPE > void  remap (VECT_TYPE *vect, size_type size) const noexcept   template<typename VECT_TYPE > void  remapz (VECT_TYPE *vect) const noexcept   template<typename ACC > void  sum (ACC &acc, size_type row_idx) const noexcept   Sum of row elements. More...
  template<typename Val, typename BVAlloc>
class bm::dynamic_heap_matrix< Val, BVAlloc >

Heap allocated dynamic resizable scalar-type matrix.

Definition at line 737 of file bmbuffer.h.

◆ buffer_type

template<typename Val , typename BVAlloc >

Definition at line 741 of file bmbuffer.h.

◆ bv_allocator_type

template<typename Val , typename BVAlloc >

Definition at line 740 of file bmbuffer.h.

◆ size_type

template<typename Val , typename BVAlloc >

Definition at line 743 of file bmbuffer.h.

◆ value_type

template<typename Val , typename BVAlloc >

Definition at line 742 of file bmbuffer.h.

◆ dynamic_heap_matrix()

template<typename Val , typename BVAlloc >

By default object is constructed but NOT allocated.

Definition at line 750 of file bmbuffer.h.

◆ cols()

template<typename Val , typename BVAlloc >

Definition at line 775 of file bmbuffer.h.

Referenced by bm::str_sparse_vector< CharType, BV, STR_SIZE >::build_octet_remap(), Check_SimModel(), bm::xor_scanner< BV >::compute_sim_model(), DynamicMatrixTest(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::equal(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::equal_overlap(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::remap(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::remapz(), SerializationCompressionLevelsTest(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::size_in_bytes(), TestSparseVector(), and TestSparseVector_XOR_Scanner().

◆ copy_from()

template<typename Val , typename BVAlloc >

◆ equal()

template<typename Val , typename BVAlloc >

◆ equal_overlap()

template<typename Val , typename BVAlloc >

Approximate equals on the rows-columns overlap area.

Definition at line 922 of file bmbuffer.h.

◆ equal_sz()

template<typename Val , typename BVAlloc >

◆ free()

template<typename Val , typename BVAlloc >

◆ get() [1/2]

template<typename Val , typename BVAlloc >

Definition at line 845 of file bmbuffer.h.

◆ get() [2/2]

template<typename Val , typename BVAlloc >

Definition at line 837 of file bmbuffer.h.

Referenced by bm::str_sparse_vector< CharType, BV, STR_SIZE >::assign(), Check_SimModel(), DynamicMatrixTest(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::equal_sz(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::import_no_check(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::replicate_triange(), TestSparseVector(), and TestSparseVector_XOR_Scanner().

◆ get_buffer() [1/2]

template<typename Val , typename BVAlloc >

Get low-level buffer access.

Definition at line 889 of file bmbuffer.h.

◆ get_buffer() [2/2]

template<typename Val , typename BVAlloc >

◆ init()

template<typename Val , typename BVAlloc >

◆ init_resize()

template<typename Val , typename BVAlloc >

◆ is_init()

template<typename Val , typename BVAlloc >

◆ move_from()

template<typename Val , typename BVAlloc >

move content from another matrix

Definition at line 879 of file bmbuffer.h.

◆ remap()

template<typename Val , typename BVAlloc >

template<typename VECT_TYPE >

remapping: vect[idx] = matrix[idx, vect[idx] ]

Definition at line 938 of file bmbuffer.h.

◆ remapz()

template<typename Val , typename BVAlloc >

template<typename VECT_TYPE >

◆ replicate_triange()

template<typename Val , typename BVAlloc >

copy values of the left triangle elements to the right triangle (operation specific to matrices with symmetric distances)

Definition at line 895 of file bmbuffer.h.

Referenced by DynamicMatrixTest().

◆ resize()

template<typename Val , typename BVAlloc >

◆ row() [1/2]

template<typename Val , typename BVAlloc >

Definition at line 820 of file bmbuffer.h.

Referenced by bm::str_sparse_vector< CharType, BV, STR_SIZE >::build_octet_remap(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::calc_octet_stat(), bm::xor_scanner< BV >::compute_sim_model(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::copy_from(), DynamicMatrixTest(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::get(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::get(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::remap(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::remapz(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::set(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::sum(), and TestStrSparseVector().

◆ row() [2/2]

template<typename Val , typename BVAlloc >

Definition at line 828 of file bmbuffer.h.

◆ row_size_in_bytes()

template<typename Val , typename BVAlloc >

◆ rows()

template<typename Val , typename BVAlloc >

Definition at line 774 of file bmbuffer.h.

Referenced by bm::str_sparse_vector< CharType, BV, STR_SIZE >::build_octet_remap(), Check_SimModel(), DynamicMatrixTest(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::equal(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::equal_overlap(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::remap(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::remap(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::remapz(), SerializationCompressionLevelsTest(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::size_in_bytes(), TestSparseVector(), and TestSparseVector_XOR_Scanner().

◆ set()

template<typename Val , typename BVAlloc >

◆ set_zero()

template<typename Val , typename BVAlloc >

◆ size_in_bytes() [1/2]

template<typename Val , typename BVAlloc >

◆ size_in_bytes() [2/2]

template<typename Val , typename BVAlloc >

inlinestaticprotectednoexcept

Definition at line 985 of file bmbuffer.h.

◆ sum()

template<typename Val , typename BVAlloc >

template<typename ACC >

◆ swap()

template<typename Val , typename BVAlloc >

◆ buffer_

template<typename Val , typename BVAlloc >

Definition at line 1012 of file bmbuffer.h.

Referenced by bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::free(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::get_buffer(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::init(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::init_resize(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::is_init(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::move_from(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::row(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::set_zero(), and bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::swap().

◆ cols_

template<typename Val , typename BVAlloc >

Definition at line 1011 of file bmbuffer.h.

Referenced by bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::cols(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::copy_from(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::free(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::get(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::init_resize(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::move_from(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::replicate_triange(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::row_size_in_bytes(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::set(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::size_in_bytes(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::sum(), and bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::swap().

◆ rows_

template<typename Val , typename BVAlloc >

Definition at line 1010 of file bmbuffer.h.

Referenced by bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::copy_from(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::free(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::get(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::init_resize(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::move_from(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::replicate_triange(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::row(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::rows(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::set(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::size_in_bytes(), bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::sum(), and bm::dynamic_heap_matrix< unsigned, bv_allocator_type >::swap().

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4