SmallVector.h File Reference
#include "GeneralDefine.h"
#include "Logger.h"
#include <cmath>
#include <algorithm>
#include <numeric>
#include <array>

Go to the source code of this file.

Classes

class  SmallVector< numberOfRows >
 

Functions

template<unsigned int numberOfRows>
SmallVector< numberOfRows > operator* (const Mdouble &left, const SmallVector< numberOfRows > &right)
 
template<unsigned int numberOfRows>
std::ostream & operator<< (std::ostream &os, const SmallVector< numberOfRows > &A)
 

Function Documentation

◆ operator*()

template<unsigned int numberOfRows>
SmallVector<numberOfRows> operator* ( const Mdouble left,
const SmallVector< numberOfRows > &  right 
)
276 {
277  return right * left;
278 }

◆ operator<<()

template<unsigned int numberOfRows>
std::ostream& operator<< ( std::ostream &  os,
const SmallVector< numberOfRows > &  A 
)
282 {
283  os << "(";
284  for (std::size_t i = 0; i < numberOfRows; ++i)
285  {
286  os << A[i] << " ";
287  }
288  os << ")";
289  return os;
290 }
@ A
Definition: StatisticsVector.h:42
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51

References A, and constants::i.