truncate.h File Reference
#include <TiledArray/conversions/foreach.h>
Include dependency graph for truncate.h:
This graph shows which files directly or indirectly include this file:
Namespaces | |
TiledArray | |
Functions | |
template<typename Tile , typename Policy > | |
std::enable_if_t< is_dense_v< Policy >, void > | TiledArray::truncate (DistArray< Tile, Policy > &array, typename Policy::shape_type::value_type=0) |
Truncate a dense Array. More... | |
template<typename Tile , typename Policy > | |
std::enable_if_t<!is_dense_v< Policy >, void > | TiledArray::truncate (DistArray< Tile, Policy > &array, typename Policy::shape_type::value_type thresh=Policy::shape_type::threshold()) |
Truncate a sparse Array. More... | |