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
Vector.hpp File Reference
#include <array>
#include <cmath>
#include <cstddef>
#include <functional>
#include <ostream>
#include <string>
#include <type_traits>
#include "Base.hpp"
#include "PlanarVector.hpp"

Go to the source code of this file.

Classes

class  PhQ::Vector< NumericType >
 Three-dimensional Euclidean vector. Contains three components in Cartesian coordinates: x, y, and z. For a two-dimensional Euclidean vector in the XY plane, see PhQ::PlanarVector. 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 Vector< NumericType > &left, const Vector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator!= (const Vector< NumericType > &left, const Vector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator< (const Vector< NumericType > &left, const Vector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator> (const Vector< NumericType > &left, const Vector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator<= (const Vector< NumericType > &left, const Vector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr bool PhQ::operator>= (const Vector< NumericType > &left, const Vector< NumericType > &right) noexcept
 
template<typename NumericType >
constexpr Vector< NumericType > PhQ::operator+ (const Vector< NumericType > &left, const Vector< NumericType > &right)
 
template<typename NumericType >
constexpr Vector< NumericType > PhQ::operator- (const Vector< NumericType > &left, const Vector< NumericType > &right)
 
template<typename NumericType , typename OtherNumericType >
constexpr Vector< NumericType > PhQ::operator* (const Vector< NumericType > &vector, const OtherNumericType number)
 
template<typename NumericType , typename OtherNumericType >
constexpr Vector< NumericType > PhQ::operator* (const OtherNumericType number, const Vector< NumericType > &vector)
 
template<typename NumericType , typename OtherNumericType >
constexpr Vector< NumericType > PhQ::operator/ (const Vector< NumericType > &vector, const OtherNumericType number)
 
template<typename NumericType >
std::ostream & PhQ::operator<< (std::ostream &stream, const Vector< NumericType > &vector)