units_velocity(3)

units::velocity(3) Unit Conversion and Dimensional Analysis Library units::velocity(3)

NAME

units::velocity - namespace for unit types and containers representing velocity values

SYNOPSIS

Typedefs

Units (full names plural)



typedef unit< std::ratio< 1 >, units::category::velocity_unit > meters_per_second


Units (abbreviated)



typedef meters_per_second mps


Unit Containers



typedef unit_t< meters_per_second > meters_per_second_t
typedef unit_t< feet_per_second > feet_per_second_t
typedef unit_t< miles_per_hour > miles_per_hour_t
typedef unit_t< kilometers_per_hour > kilometers_per_hour_t
typedef unit_t< knot > knot_t


Functions


std::ostream & operator<< (std::ostream &os, const meters_per_second_t &obj)
std::string to_string (const meters_per_second_t &obj)
std::ostream & operator<< (std::ostream &os, const feet_per_second_t &obj)
std::string to_string (const feet_per_second_t &obj)
std::ostream & operator<< (std::ostream &os, const miles_per_hour_t &obj)
std::string to_string (const miles_per_hour_t &obj)
std::ostream & operator<< (std::ostream &os, const kilometers_per_hour_t &obj)
std::string to_string (const kilometers_per_hour_t &obj)
std::ostream & operator<< (std::ostream &os, const knot_t &obj)
std::string to_string (const knot_t &obj)

Detailed Description

namespace for unit types and containers representing velocity values

The SI unit for velocity is meters_per_second, and the corresponding base_unit category is velocity_unit.

See also

See unit_t for more information on unit type containers.

Author

Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.

Wed Feb 11 2026 09:38:34 Version 2.3.0