#include <include/gudhi/Persistence_heat_maps.h>
This is one of a scaling functions used to weight points depending on their persistence and/or location in the diagram. The scaling given by this function to a point (b,d) is Euclidean distance of (b,d) from diagonal.