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 "./coordinates_nd.hpp"
#include "../derived_units/physics_units.hpp"
#include "../units/base_units.hpp"
#include "../util/types.hpp"
#include <iostream>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | scifir::coordinates_ndr< T > |
class | scifir::coordinates_ndr< float > |
Namespaces | |
namespace | scifir |
The namespace scifir contains all scifir-units, excepting the string literals, which are outside. | |
Functions | |
template<typename T > | |
string | scifir::to_string (const coordinates_ndr< T > &x) |
string | scifir::to_string (const coordinates_ndr< float > &x) |
template<typename T , typename U > | |
T | scifir::distance (const coordinates_ndr< T > &x, const coordinates_ndr< U > &y) |
float | scifir::distance (const coordinates_ndr< float > &x, const coordinates_ndr< float > &y) |
template<typename T , typename U > | |
T | scifir::distance (const coordinates_ndr< T > &x, const coordinates_nd< U > &y) |
float | scifir::distance (const coordinates_ndr< float > &x, const coordinates_nd< float > &y) |
template<typename T , typename U > | |
T | scifir::distance (const coordinates_nd< T > &x, const coordinates_ndr< U > &y) |
float | scifir::distance (const coordinates_nd< float > &x, const coordinates_ndr< float > &y) |
template<typename T , typename U > | |
bool | operator== (const scifir::coordinates_ndr< T > &x, const scifir::coordinates_ndr< U > &y) |
template<typename T , typename U > | |
bool | operator!= (const scifir::coordinates_ndr< T > &x, const scifir::coordinates_ndr< U > &y) |
template<typename T , typename U > | |
bool | operator== (const scifir::coordinates_ndr< T > &x, const scifir::coordinates_nd< U > &y) |
template<typename T , typename U > | |
bool | operator!= (const scifir::coordinates_ndr< T > &x, const scifir::coordinates_nd< U > &y) |
template<typename T , typename U > | |
bool | operator== (const scifir::coordinates_nd< T > &x, const scifir::coordinates_ndr< U > &y) |
template<typename T , typename U > | |
bool | operator!= (const scifir::coordinates_nd< T > &x, const scifir::coordinates_ndr< U > &y) |
template<typename T > | |
bool | operator== (const scifir::coordinates_ndr< T > &x, const string &init_coordinates_ndr) |
template<typename T > | |
bool | operator!= (const scifir::coordinates_ndr< T > &x, const string &init_coordinates_ndr) |
template<typename T > | |
bool | operator== (const string &init_coordinates_ndr, const scifir::coordinates_ndr< T > &x) |
template<typename T > | |
bool | operator!= (const string &init_coordinates_ndr, const scifir::coordinates_ndr< T > &x) |
template<typename T > | |
void | operator+= (string &x, const scifir::coordinates_ndr< T > &y) |
template<typename T > | |
string | operator+ (const string &x, const scifir::coordinates_ndr< T > &y) |
template<typename T > | |
string | operator+ (const scifir::coordinates_ndr< T > &x, const string &y) |
template<typename T > | |
ostream & | operator<< (ostream &os, const scifir::coordinates_ndr< T > &x) |
ostream & | operator<< (ostream &os, const scifir::coordinates_ndr< float > &x) |
template<typename T > | |
istream & | operator>> (istream &is, scifir::coordinates_ndr< T > &x) |
bool operator!= | ( | const scifir::coordinates_nd< T > & | x, |
const scifir::coordinates_ndr< U > & | y | ||
) |
Definition at line 2324 of file coordinates_ndr.hpp.
bool operator!= | ( | const scifir::coordinates_ndr< T > & | x, |
const scifir::coordinates_nd< U > & | y | ||
) |
Definition at line 2298 of file coordinates_ndr.hpp.
bool operator!= | ( | const scifir::coordinates_ndr< T > & | x, |
const scifir::coordinates_ndr< U > & | y | ||
) |
Definition at line 2272 of file coordinates_ndr.hpp.
bool operator!= | ( | const scifir::coordinates_ndr< T > & | x, |
const string & | init_coordinates_ndr | ||
) |
Definition at line 2337 of file coordinates_ndr.hpp.
bool operator!= | ( | const string & | init_coordinates_ndr, |
const scifir::coordinates_ndr< T > & | x | ||
) |
Definition at line 2350 of file coordinates_ndr.hpp.
string operator+ | ( | const scifir::coordinates_ndr< T > & | x, |
const string & | y | ||
) |
Definition at line 2368 of file coordinates_ndr.hpp.
string operator+ | ( | const string & | x, |
const scifir::coordinates_ndr< T > & | y | ||
) |
Definition at line 2362 of file coordinates_ndr.hpp.
void operator+= | ( | string & | x, |
const scifir::coordinates_ndr< T > & | y | ||
) |
Definition at line 2356 of file coordinates_ndr.hpp.
ostream & operator<< | ( | ostream & | os, |
const scifir::coordinates_ndr< float > & | x | ||
) |
Definition at line 100 of file coordinates_ndr.cpp.
ostream & operator<< | ( | ostream & | os, |
const scifir::coordinates_ndr< T > & | x | ||
) |
Definition at line 2374 of file coordinates_ndr.hpp.
bool operator== | ( | const scifir::coordinates_nd< T > & | x, |
const scifir::coordinates_ndr< U > & | y | ||
) |
Definition at line 2304 of file coordinates_ndr.hpp.
bool operator== | ( | const scifir::coordinates_ndr< T > & | x, |
const scifir::coordinates_nd< U > & | y | ||
) |
Definition at line 2278 of file coordinates_ndr.hpp.
bool operator== | ( | const scifir::coordinates_ndr< T > & | x, |
const scifir::coordinates_ndr< U > & | y | ||
) |
Definition at line 2252 of file coordinates_ndr.hpp.
bool operator== | ( | const scifir::coordinates_ndr< T > & | x, |
const string & | init_coordinates_ndr | ||
) |
Definition at line 2330 of file coordinates_ndr.hpp.
bool operator== | ( | const string & | init_coordinates_ndr, |
const scifir::coordinates_ndr< T > & | x | ||
) |
Definition at line 2343 of file coordinates_ndr.hpp.
istream & operator>> | ( | istream & | is, |
scifir::coordinates_ndr< T > & | x | ||
) |
Definition at line 2382 of file coordinates_ndr.hpp.