Not Enough Math
Lightweight zero-dependency C++ math library
Loading...
Searching...
No Matches
quat_io.hpp File Reference
#include <iostream>
#include <string>
#include <sstream>
#include "quat.hpp"

Go to the source code of this file.

Namespaces

namespace  nem
 

Functions

template<typename T >
std::ostream & nem::operator<< (std::ostream &os, const nem::quat_t< T > &q)
 
template<typename T >
std::istream & nem::operator>> (std::istream &is, nem::quat_t< T > &q)
 
template<typename T >
std::string nem::to_str (const nem::quat_t< T > &q)
 

Variables

static constexpr const char * nem::QUAT_SEPARATOR = " + "
 
static constexpr const char * nem::QUAT_L_BRACE = "("
 
static constexpr const char * nem::QUAT_R_BRACE = ")"