MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ smallest_size()

uint64_t MayaFlux::Yantra::smallest_size ( std::vector< std::vector< double > > &  data)
inline

Definition at line 21 of file SpectralHelper.hpp.

22{
23 if (data.empty())
24 return 0;
25
26 auto smallest = *std::ranges::min_element(data,
27 [](const auto& a, const auto& b) {
28 return a.size() < b.size();
29 });
30
31 return static_cast<uint64_t>(smallest.size());
32}

Referenced by transform_window(), and transform_window().

+ Here is the caller graph for this function: