Skip to content

tatami-inc/gallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gallery of tatami examples

Gallery

This repository contains a gallery of demonstrations for using tatami. All of the examples can be compiled with CMake using the commands below:

cmake -S . -B build
cmake --build build

This generates executables in the build subdirectory:

  • colsums: use various extraction methods for a typical tatami::numeric_matrix to compute the column sums.
  • parallel: compute row sums in parallel with OpenMP.
  • char2double: store integers as char to save memory, but return them as doubles for downstream use.
  • sparse_extractor: compare sparse matrix access speeds with and without a workspace.

Each executable is named after the C++ source file from which they were generated. Each file contains some commentary explaining the rationale behind each example.

About

Gallery of tatami usage examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published