fast_matrix_market::coo_independent_generator_formatter< IT, VT, LF, GEN_CALLABLE > Class Template Reference

Description

template<typename IT, typename VT, typename LF, typename GEN_CALLABLE>
class fast_matrix_market::coo_independent_generator_formatter< IT, VT, LF, GEN_CALLABLE >

Format (row, col, value) triplets generated by a generator callable like this one: [](auto coo_index, auto& row, auto& col, auto& value) { row = coo_index; col = coo_index; value = 1; }.

#include <generator.hpp>

Public Member Functions

 coo_independent_generator_formatter (LF lf, int64_t nnz, GEN_CALLABLE gen_callable)
 
bool has_next () const
 
chunk next_chunk (const write_options &options)
 

Protected Attributes

LF line_formatter
 
int64_t nnz
 
GEN_CALLABLE gen_callable
 
int64_t next_chunk_offset = 0
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_thirdparty/fast_matrix_market/app/generator.hpp