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 
)
256 {
257  return right * left;
258 }

◆ operator<<()

template<unsigned int numberOfRows>
std::ostream& operator<< ( std::ostream &  os,
const SmallVector< numberOfRows > &  A 
)
262 {
263  os << "(";
264  for (std::size_t i = 0; i < numberOfRows; ++i)
265  {
266  os << A[i] << " ";
267  }
268  os << ")";
269  return os;
270 }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
Definition: bench_gemm.cpp:47

References i.