cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
VectorRef Class Reference

#include <CepGen/Utils/Algebra.h>

+ Inheritance diagram for VectorRef:
+ Collaboration diagram for VectorRef:

Public Member Functions

 VectorRef (const gsl_vector_view &)
 
VectorRefoperator= (const Vector &)
 Assignment operator.
 
 operator Vector () const
 Conversion operator to a vector.
 
bool operator== (const Vector &) const
 Equality with a vector operator.
 
bool operator!= (const Vector &vec) const
 Inequality with a vector operator.
 
double & operator() (size_t)
 Component access operator.
 
double operator() (size_t) const
 Component retrieval operator.
 

Friends

class Vector
 
std::ostream & operator<< (std::ostream &, const VectorRef &)
 Printout operator.
 

Detailed Description

Definition at line 122 of file Algebra.h.

Constructor & Destructor Documentation

◆ VectorRef()

VectorRef ( const gsl_vector_view &  view)

Definition at line 287 of file Algebra.cpp.

Member Function Documentation

◆ operator Vector()

operator Vector ( ) const

Definition at line 295 of file Algebra.cpp.

◆ operator!=()

bool operator!= ( const Vector vec) const

Definition at line 129 of file Algebra.h.

◆ operator()() [1/2]

double & operator() ( size_t  i)

Definition at line 299 of file Algebra.cpp.

◆ operator()() [2/2]

double operator() ( size_t  i) const

Definition at line 301 of file Algebra.cpp.

◆ operator=()

VectorRef & operator= ( const Vector vec)

Definition at line 289 of file Algebra.cpp.

◆ operator==()

bool operator== ( const Vector vec) const

Definition at line 297 of file Algebra.cpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const VectorRef ref 
)
friend

Definition at line 303 of file Algebra.cpp.

◆ Vector

friend class Vector
friend

Definition at line 135 of file Algebra.h.