https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Namespaces | Functions
AdaptiveMonteCarloUtils.C File Reference

Go to the source code of this file.

Namespaces

namespace  AdaptiveMonteCarloUtils
 

Functions

Real AdaptiveMonteCarloUtils::computeSTD (const std::vector< Real > &data, const unsigned int &start_index)
 compute the standard deviation of a data vector by only considering values from a specific index.
 
Real AdaptiveMonteCarloUtils::computeMean (const std::vector< Real > &data, const unsigned int &start_index)
 compute the mean of a data vector by only considering values from a specific index.
 
std::vector< std::vector< Real > > AdaptiveMonteCarloUtils::sortInput (const std::vector< std::vector< Real > > &inputs, const std::vector< Real > &outputs, const unsigned int samplessub, const Real subset_prob)
 return input values corresponding to the largest po percentile output values.
 
std::vector< Real > AdaptiveMonteCarloUtils::sortOutput (const std::vector< Real > &outputs, const unsigned int samplessub, const Real subset_prob)
 return the largest po percentile output values.
 
Real AdaptiveMonteCarloUtils::computeMin (const std::vector< Real > &data)
 return the minimum value in a vector.
 
std::vector< Real > AdaptiveMonteCarloUtils::computeVectorABS (const std::vector< Real > &data)
 return the absolute values in a vector.
 
unsigned int AdaptiveMonteCarloUtils::weightedResample (const std::vector< Real > &weights, Real rnd)
 return a resampled vector from a population given a weight vector.