scifir-units 2.0.0
scifir-units is a library of units of measurement, angles, coordinates, fields, and related data, all lightweight, that help in the development of scientific software and scientific machines
|
#include <lab_number.hpp>
Public Member Functions | |
lab_number () | |
lab_number (const lab_number< T > &x) | |
lab_number (lab_number< T > &&x) | |
lab_number (const scalar_unit &x, const scalar_unit &y) | |
lab_number (const string &x, const string &y) | |
lab_number (const string &init_lab_number) | |
lab_number< T > & | operator= (const lab_number< T > &x) |
lab_number< T > & | operator= (lab_number< T > &&x) |
template<typename U > | |
lab_number< scalar_unit > | operator+ (const lab_number< U > &x) const |
template<typename U > | |
lab_number< scalar_unit > | operator- (const lab_number< U > &x) const |
template<typename U > | |
lab_number< scalar_unit > | operator* (const lab_number< U > &x) const |
template<typename U > | |
lab_number< scalar_unit > | operator/ (const lab_number< U > &x) const |
template<typename U > | |
void | operator+= (const lab_number< U > &x) |
template<typename U > | |
void | operator-= (const lab_number< U > &x) |
string | display (int number_of_decimals=2) const |
Public Attributes | |
T | value |
T | error_value |
Definition at line 19 of file lab_number.hpp.
|
inline |
Definition at line 22 of file lab_number.hpp.
|
inline |
Definition at line 25 of file lab_number.hpp.
|
inline |
Definition at line 28 of file lab_number.hpp.
|
inlineexplicit |
Definition at line 31 of file lab_number.hpp.
Definition at line 34 of file lab_number.hpp.
|
inlineexplicit |
Definition at line 37 of file lab_number.hpp.
|
inline |
Definition at line 102 of file lab_number.hpp.
|
inline |
Definition at line 77 of file lab_number.hpp.
|
inline |
Definition at line 65 of file lab_number.hpp.
|
inline |
Definition at line 89 of file lab_number.hpp.
|
inline |
Definition at line 71 of file lab_number.hpp.
|
inline |
Definition at line 96 of file lab_number.hpp.
|
inline |
Definition at line 83 of file lab_number.hpp.
|
inline |
Definition at line 50 of file lab_number.hpp.
|
inline |
Definition at line 57 of file lab_number.hpp.
T scifir::lab_number< T >::error_value |
Definition at line 110 of file lab_number.hpp.
T scifir::lab_number< T >::value |
Definition at line 109 of file lab_number.hpp.