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

Two-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::Vector2d
 

Functions

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

Detailed Description

Two-dimensional vector with components of double type.

Author
Kristofer Björnson

Function Documentation

◆ operator*()

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

Multiplication operator (scalar*vector).

◆ operator<<()

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

operator<< for ostream.