GooseEPM v0.11.0
|
#include <algorithm>
#include <chrono>
#include <prrng.h>
#include <xtensor/xset_operation.hpp>
#include <xtensor/xsort.hpp>
#include "config.h"
#include "version.h"
Go to the source code of this file.
Namespaces | |
namespace | GooseEPM |
Elasto-plastic model. | |
Functions | |
std::tuple< array_type::tensor< size_t, 1 >, array_type::tensor< size_t, 1 >, array_type::tensor< size_t, 1 > > | GooseEPM::segment_avalanche (const array_type::tensor< bool, 1 > &condition, array_type::tensor< size_t, 1 > idx, bool first=true, bool last=true) |
Compute avalanche properties of a series of segments. | |
array_type::tensor< size_t, 1 > | GooseEPM::cumsum_n_unique (const array_type::tensor< size_t, 1 > &idx) |
Cumulative sum of the number of unique items in the slice up to that index. | |
Definition in file System.h.