MayaFlux
0.1.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
)
inline
static
Convert string to statistical method enum.
Parameters
str
String representation
Returns
StatisticalMethod value
Definition at line
318
of file
StatisticalAnalyzer.hpp
.
319
{
320
if
(str ==
"default"
)
321
return
StatisticalMethod::MEAN
;
322
return
Utils::string_to_enum_or_throw_case_insensitive<StatisticalMethod>(str,
"StatisticalMethod"
);
323
}
MayaFlux::Yantra::StatisticalMethod::MEAN
@ MEAN
Arithmetic mean.
MayaFlux
Yantra
StatisticalAnalyzer
Generated by
1.9.8