Particle​ Simulation Documentation
Loading...
Searching...
No Matches
array.cpp File Reference
#include "array.h"
Include dependency graph for array.cpp:

Functions

std::array< double, 3 > operator+ (const std::array< double, 3 > &lhs, const std::array< double, 3 > &rhs)
 
std::array< double, 3 > operator- (const std::array< double, 3 > &lhs, const std::array< double, 3 > &rhs)
 
std::array< double, 3 > operator* (const std::array< double, 3 > &lhs, const std::array< double, 3 > &rhs)
 
std::array< double, 3 > operator* (const std::array< double, 3 > &lhs, double scalar)
 
std::array< double, 3 > operator* (double scalar, const std::array< double, 3 > &rhs)
 
std::array< double, 3 > & operator+= (std::array< double, 3 > &lhs, const std::array< double, 3 > &rhs)
 
double getMagnitude (const std::array< double, 3 > array)
 
double dotProduct (const std::array< double, 3 > &lhs, const std::array< double, 3 > &rhs)
 

Function Documentation

◆ dotProduct()

double dotProduct ( const std::array< double, 3 > & lhs,
const std::array< double, 3 > & rhs )
Here is the caller graph for this function:

◆ getMagnitude()

double getMagnitude ( const std::array< double, 3 > array)
Here is the caller graph for this function:

◆ operator*() [1/3]

std::array< double, 3 > operator* ( const std::array< double, 3 > & lhs,
const std::array< double, 3 > & rhs )

◆ operator*() [2/3]

std::array< double, 3 > operator* ( const std::array< double, 3 > & lhs,
double scalar )

◆ operator*() [3/3]

std::array< double, 3 > operator* ( double scalar,
const std::array< double, 3 > & rhs )

◆ operator+()

std::array< double, 3 > operator+ ( const std::array< double, 3 > & lhs,
const std::array< double, 3 > & rhs )

◆ operator+=()

std::array< double, 3 > & operator+= ( std::array< double, 3 > & lhs,
const std::array< double, 3 > & rhs )

◆ operator-()

std::array< double, 3 > operator- ( const std::array< double, 3 > & lhs,
const std::array< double, 3 > & rhs )