TBTK
Need a break? Support the development by playing Polarity Puzzles
Vector3d.h File Reference

Three-dimensional vector with components of double type. More...

#include <cmath>
#include <initializer_list>
#include <ostream>
#include <vector>

Go to the source code of this file.

Classes

class  TBTK::Vector3d
 

Functions

const Vector3d TBTK::operator* (double lhs, const Vector3d &rhs)
 
std::ostream & TBTK::operator<< (std::ostream &stream, const Vector3d &v)
 

Detailed Description

Three-dimensional vector with components of double type.

Author
Kristofer Björnson

Function Documentation

◆ operator*()

const Vector3d TBTK::operator* ( double  lhs,
const Vector3d rhs 
)
inline

Multiplication operator (scalar*vector).

◆ operator<<()

std::ostream& TBTK::operator<< ( std::ostream &  stream,
const Vector3d v 
)
inline

operator<< for ostream.