NeoPZ
Classes | Macros | Functions
vectors.h File Reference
#include <cstdio>
#include <memory>
#include <iostream>
#include <iomanip>
#include <stddef.h>
#include <utils/error.h>
#include <utils/tinyvec.h>
Include dependency graph for vectors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MEM_CPY< T >
 
class  Vector< T >
 

Macros

#define RESTRICT
 

Functions

template<class T >
Vector< T > operator+ (const Vector< T > &x, const Vector< T > &y)
 
template<class T >
Vector< T > operator- (const Vector< T > &x, const Vector< T > &y)
 
template<class T >
Vector< T > operator* (const T &a, const Vector< T > &x)
 
template<class T >
std::ostream & operator<< (std::ostream &os, const Vector< T > &x)
 

Macro Definition Documentation

◆ RESTRICT

#define RESTRICT

Function Documentation

◆ operator*()

template<class T >
Vector<T> operator* ( const T &  a,
const Vector< T > &  x 
)

Definition at line 176 of file vectors.h.

References Vector< T >::size().

◆ operator+()

template<class T >
Vector<T> operator+ ( const Vector< T > &  x,
const Vector< T > &  y 
)

Definition at line 150 of file vectors.h.

References error(), and Vector< T >::size().

◆ operator-()

template<class T >
Vector<T> operator- ( const Vector< T > &  x,
const Vector< T > &  y 
)

Definition at line 163 of file vectors.h.

References error(), and Vector< T >::size().

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  os,
const Vector< T > &  x 
)
inline

Definition at line 187 of file vectors.h.

References Vector< T >::size().