Template Function bats::zigzag::extend_levelset

Function Documentation

template<typename T>
std::vector<std::vector<std::pair<T, T>>> bats::zigzag::extend_levelset(const std::vector<T> &f0, const CubicalComplex &X, const T eps, const size_t n)

Extension of zigzag filtration on vertices to a zigzag filtration on a cubical complex. The filtration progresses from low to high values.

Parameters
  • f0 – function on vertices - stored in column-major format

  • XCubicalComplex - on a vertex set of size n^3

  • eps – thickened levelset radius

  • n – length of cube

Returns

val vector of vector of pairs holding zigzag filtration values for each cube.