Physical Quantities  v1.0.0
C++ library of physical quantities, physical models, and units of measure for scientific computing. https://github.com/acodcha/phq
Classes | Namespaces | Functions
PlanarVector.hpp File Reference
#include <array>
#include <cmath>
#include <cstddef>
#include <functional>
#include <ostream>
#include <string>
#include <type_traits>
#include "Base.hpp"

Go to the source code of this file.

Classes

class  PhQ::PlanarVector< NumericType >
 Two-dimensional Euclidean vector in the XY plane. Contains two components in Cartesian coordinates: x and y. For a three-dimensional Euclidean vector, see PhQ::Vector. For a three-dimensional Euclidean dyadic tensor, see PhQ::Dyad. For a three-dimensional symmetric Euclidean dyadic tensor, see PhQ::SymmetricDyad. More...
 

Namespaces

 PhQ
 Namespace that encompasses all of the Physical Quantities library's content.
 

Functions

template<typename NumericType >
constexpr bool PhQ::operator== (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator!= (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator< (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator> (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator<= (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator>= (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr PlanarVector< NumericType > PhQ::operator+ (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right)
 
template<typename NumericType >
constexpr PlanarVector< NumericType > PhQ::operator- (const PlanarVector< NumericType > &left, const PlanarVector< NumericType > &right)
 
template<typename NumericType , typename OtherNumericType >
constexpr PlanarVector< NumericType > PhQ::operator* (const PlanarVector< NumericType > &planar_vector, const OtherNumericType number)
 
template<typename NumericType , typename OtherNumericType >
constexpr PlanarVector< NumericType > PhQ::operator* (const OtherNumericType number, const PlanarVector< NumericType > &planar_vector)
 
template<typename NumericType , typename OtherNumericType >
constexpr PlanarVector< NumericType > PhQ::operator/ (const PlanarVector< NumericType > &planar_vector, const OtherNumericType number)
 
template<typename NumericType >
std::ostream & PhQ::operator<< (std::ostream &stream, const PlanarVector< NumericType > &planar_vector)