C++QEDCore  2.100.2 (v2 Milestone 10 Development branch)
a framework for simulating open quantum dynamics – core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BlitzArrayTraits.h File Reference

Implementations of the traits functions declared in ArrayTraits.h for blitz::Array More...

#include "ArrayTraits.h"
#include "BlitzArray.h"
#include <boost/mpl/int.hpp>
+ Include dependency graph for BlitzArrayTraits.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cpputils
 Namespace comprising otherwise hard-to-classify generic utilities.
 

Functions

`blitz::Array` memory traits for `blitz::Array<double,n>`
template<int n>
bool cpputils::isStorageContiguous (const DArray< n > &a)
 
template<int n>
size_t cpputils::size (const DArray< n > &a)
 
template<int n>
std::vector< size_t > cpputils::dimensions (const DArray< n > &a)
 
template<int n>
const double * cpputils::data (const DArray< n > &a)
 
template<int n>
double * cpputils::data (DArray< n > &a)
 
template<int n>
DArray< n > cpputils::create (double *y, const DArray< n > &a)
 
template<int n>
const DArray< n > cpputils::create (const double *y, const DArray< n > &a)
 
template<int n>
DArray< n > cpputils::create (const DArray< n > &a)
 
`blitz::Array` memory traits for `blitz::Array<dcomp,n>`
template<int n>
bool cpputils::isStorageContiguous (const CArray< n > &a)
 
template<int n>
size_t cpputils::size (const CArray< n > &a)
 
template<int n>
std::vector< size_t > cpputils::dimensions (const CArray< n > &a)
 
template<int n>
const double * cpputils::data (const CArray< n > &a)
 
template<int n>
double * cpputils::data (CArray< n > &a)
 
template<int n>
CArray< n > cpputils::create (double *y, const CArray< n > &a)
 
template<int n>
const CArray< n > cpputils::create (const double *y, const CArray< n > &a)
 
template<int n>
CArray< n > cpputils::create (const CArray< n > &a)
 
`blitz::Array` traversal traits for unary double and complex arrays
const double & cpputils::subscript (const DArray< 1 > &a, size_t i)
 
double & cpputils::subscript (DArray< 1 > &a, size_t i)
 
size_t cpputils::subscriptLimit (const DArray< 1 > &a)
 
const dcompcpputils::subscript (const CArray< 1 > &a, size_t i)
 
dcompcpputils::subscript (CArray< 1 > &a, size_t i)
 
size_t cpputils::subscriptLimit (const CArray< 1 > &a)
 
size_t cpputils::stride (const CArray< 1 > &a)
 
template<int n>
const dcompcpputils::subscript (const CArray< n > &a, size_t i)
 
template<int n>
dcompcpputils::subscript (CArray< n > &a, size_t i)
 
template<int n>
size_t cpputils::subscriptLimit (const CArray< n > &a)
 

Detailed Description

Implementations of the traits functions declared in ArrayTraits.h for blitz::Array

Todo:
Much of this file is superfluous as many components can be formulated generally for all blitz::Array types

Definition in file BlitzArrayTraits.h.