Distributed/serial array implementation.
◆ 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
-
| V | Vector with member const T* V::data() const |
- Parameters
-
| A | Array to write to |
| v | Vector 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
-
| V | Vector with member T* V::data() |
- Parameters
-
| A | Array to read from |
| v | Vector to write to. |
- Warning
- The pointer returned by V::data() must be contigous