MPQC  3.0.0-alpha
mpqc.Math.Array

Classes

struct  mpqc::Array< T >
 Array implementation. More...
 

Functions

template<typename T , class V >
void mpqc::operator<< (Array< T > A, const V &v)
 Write to Array from a generic vector V. More...
 
template<typename T , class V >
void mpqc::operator>> (Array< T > A, V &v)
 Read from Array to a generic vector V. More...
 

Detailed Description

Distributed/serial array implementation.

Function Documentation

◆ operator<<()

template<typename T , class V >
void mpqc::operator<< ( Array< T >  A,
const V &  v 
)

Write to Array from a generic vector V.

Template Parameters
VVector with member const T* V::data() const
Parameters
AArray to write to
vVector to read from.
Warning
The pointer returned by V::data() must be contigous

◆ operator>>()

template<typename T , class V >
void mpqc::operator>> ( Array< T >  A,
V &  v 
)

Read from Array to a generic vector V.

Template Parameters
VVector with member T* V::data()
Parameters
AArray to read from
vVector to write to.
Warning
The pointer returned by V::data() must be contigous

Generated at Sun Jan 26 2020 23:24:02 for MPQC 3.0.0-alpha using the documentation package Doxygen 1.8.16.