![]() |
NLMech
0.1.0
|
Provides fast methods to add/subtract list of data, to find maximum/minimum from list of data. More...
Functions | |
| double | add (const std::vector< double > &data) |
| Returns the sum of data. More... | |
| float | add (const std::vector< float > &data) |
| Returns the sum of data. More... | |
| double | max (const std::vector< double > &data, size_t *i=nullptr) |
| Returns the maximum from list of data. More... | |
| float | max (const std::vector< float > &data, size_t *i=nullptr) |
| Returns the maximum from list of data. More... | |
| util::Point3 | maxLength (const std::vector< util::Point3 > &data) |
| Returns the maximum length of point from list of points. More... | |
| double | min (const std::vector< double > &data, size_t *i=nullptr) |
| Returns the minimum from list of data. More... | |
| float | min (const std::vector< float > &data, size_t *i=nullptr) |
| Returns the minimum from list of data. More... | |
Provides fast methods to add/subtract list of data, to find maximum/minimum from list of data.
| double util::methods::add | ( | const std::vector< double > & | data | ) |
Returns the sum of data.
| data | List of real numbers |
Referenced by tools::pp::Compute::computeJIntegral(), and model::Output::Output().

| float util::methods::add | ( | const std::vector< float > & | data | ) |
Returns the sum of data.
| data | List of real numbers |
| double util::methods::max | ( | const std::vector< double > & | data, |
| size_t * | i = nullptr |
||
| ) |
Returns the maximum from list of data.
| data | List of real numbers |
| i | Pointer to store the id where maximum occurs |
Referenced by model::FDModel< T >::checkOutputCriteria(), and tools::pp::Compute::updateCrack().

| float util::methods::max | ( | const std::vector< float > & | data, |
| size_t * | i = nullptr |
||
| ) |
Returns the maximum from list of data.
| data | List of real numbers |
| i | Pointer to store the id where maximum occurs |
| util::Point3 util::methods::maxLength | ( | const std::vector< util::Point3 > & | data | ) |
Returns the maximum length of point from list of points.
| data | List of points |
| double util::methods::min | ( | const std::vector< double > & | data, |
| size_t * | i = nullptr |
||
| ) |
Returns the minimum from list of data.
| data | List of real numbers |
| i | Pointer to store the id where minimum occurs |
Referenced by tools::pp::Compute::findTipInRects().

| float util::methods::min | ( | const std::vector< float > & | data, |
| size_t * | i = nullptr |
||
| ) |
Returns the minimum from list of data.
| data | List of real numbers |
| i | Pointer to store the id where minimum occurs |