MayaFlux 0.1.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 221 of file StatisticalAnalyzer.hpp.

222 {
223 m_method = string_to_method(method_name);
224 this->set_parameter("method", method_name);
225 }
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.