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 <size_nd.hpp>
Public Member Functions | |
size_nd () | |
size_nd (const size_nd< T > &x) | |
size_nd (size_nd< T > &&x) | |
template<typename U > | |
size_nd (const vector< U > &new_widths) | |
size_nd (const vector< string > &new_widths) | |
size_nd (const string &init_size_nd) | |
size_nd< T > & | operator= (const size_nd< T > &x) |
size_nd< T > & | operator= (size_nd< T > &&x) |
size_nd< T > & | operator= (const string &init_size_nd) |
bool | is_nd (int i) const |
int | get_nd () const |
template<typename U > | |
size_nd< T > | operator+ (const size_nd< U > &x) const |
template<typename U > | |
size_nd< T > | operator- (const size_nd< U > &x) const |
template<typename U > | |
void | operator+= (const size_nd< U > &x) |
template<typename U > | |
void | operator-= (const size_nd< U > &x) |
scalar_unit | get_volume_nd () const |
string | display () const |
Public Attributes | |
vector< T > | widths |
Private Member Functions | |
void | initialize_from_string (const string &init_size_nd) |
Definition at line 17 of file size_nd.hpp.
|
inline |
Definition at line 20 of file size_nd.hpp.
Definition at line 23 of file size_nd.hpp.
Definition at line 26 of file size_nd.hpp.
|
inlineexplicit |
Definition at line 30 of file size_nd.hpp.
|
inlineexplicit |
Definition at line 38 of file size_nd.hpp.
|
inlineexplicit |
Definition at line 46 of file size_nd.hpp.
|
inline |
Definition at line 152 of file size_nd.hpp.
|
inline |
Definition at line 74 of file size_nd.hpp.
|
inline |
Definition at line 141 of file size_nd.hpp.
|
inlineprivate |
Definition at line 176 of file size_nd.hpp.
Definition at line 69 of file size_nd.hpp.
Definition at line 80 of file size_nd.hpp.
Definition at line 118 of file size_nd.hpp.
Definition at line 99 of file size_nd.hpp.
Definition at line 130 of file size_nd.hpp.
Definition at line 51 of file size_nd.hpp.
Definition at line 63 of file size_nd.hpp.
Definition at line 57 of file size_nd.hpp.
Definition at line 173 of file size_nd.hpp.