22 #include <boost/cstdint.hpp> 32 std::vector<double> res;
38 std::vector<int32_t> res2;
43 std::vector<unsigned int> resunsigned;
47 std::vector<double> resdouble;
59 std::vector<double>
x;
78 std::cout << res << std::endl;
85 void testgeometricmean(){
86 std::vector<double>
x;
97 int main(
int argc,
char **argv) {
std::iterator_traits< InputIterator >::value_type mean(InputIterator begin, InputIterator end)
MEAN Trimmed arithmetic mean.
#define unit_assert_equal(x, y, epsilon)
void seq(TReal from, TReal to, std::vector< TReal > &result)
generates the sequence from, from+/-1, ..., to (identical to from:to).
void seq_length(TReal from, TReal to, unsigned int length, std::vector< TReal > &result)
generates sequence: from, to of length calls seq with $[ by = ( ( to - from ) / ( length - 1...
std::iterator_traits< Iter_T >::value_type geometricMean(Iter_T first, Iter_T last)
computes the mean
KernelTraitsBase< Kernel >::space_type::abscissa_type x
int main(int argc, char **argv)