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

◆ set_method() [1/2]

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::VectorXd>
void MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::set_method ( const std::string &  method_name)
inline

Set method by string name.

Parameters
method_nameString representation of method

Definition at line 225 of file StatisticalAnalyzer.hpp.

226 {
227 m_method = string_to_method(method_name);
228 this->set_parameter("method", method_name);
229 }
static StatisticalMethod string_to_method(const std::string &str)
Convert string to statistical method enum.
void set_parameter(const std::string &name, std::any value) override
Type-safe parameter management with analysis-specific defaults.

References MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::m_method, MayaFlux::Yantra::UniversalAnalyzer< InputType, OutputType >::set_parameter(), and MayaFlux::Yantra::StatisticalAnalyzer< InputType, OutputType >::string_to_method().

+ Here is the call graph for this function: