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

◆ string_to_method()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::VectorXd>
static StatisticalMethod MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::string_to_method ( const std::string &  str)
inlinestatic

Convert string to statistical method enum.

Parameters
strString representation
Returns
StatisticalMethod value

Definition at line 322 of file StatisticalAnalyzer.hpp.

323 {
324 if (str == "default")
326 return Reflect::string_to_enum_or_throw_case_insensitive<StatisticalMethod>(str, "StatisticalMethod");
327 }

References MayaFlux::Yantra::MEAN.

Referenced by MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::set_analysis_parameter(), and MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::set_method().

+ Here is the caller graph for this function: