#ifndef BSP_1_B_H_INCLUDED #define BSP_1_B_H_INCLUDED #include #include /** \brief Funktion zur Berechnung des arithmetischen, geometrischen und harmonischen Mittels und der Standardabweichung aus den Eintraegen eines gegebenen Vektors * * \param[in,out] x Vektor mit Eintraegen * \param[in,out] a arithmetisches Mittel * \param[in,out] g geometrisches Mittel * \param[in,out] h harmonisches Mittel * \param[in,out] d Standardabweichung (deviation) * \return * */ void meandevvec(std::vector x, float &a, float &g, float &h, float &d); void fill_vector(std::istream& istr, std::vector& v); void read_vector_from_file(const std::string& file_name, std::vector& v); void write_vector_to_file(const std::string& file_name, const std::vector& v); #endif // BSP_1_B_H_INCLUDED