BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ArrayUtils.h File Reference
Include dependency graph for ArrayUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ArrayUtils::CreateDataImpl
 
struct  ArrayUtils::CreateDataImpl::nDim< T >
 
struct  ArrayUtils::CreateDataImpl::nDim< std::vector< T, A > >
 
struct  ArrayUtils::CreateDataImpl::baseClass< T >
 
struct  ArrayUtils::CreateDataImpl::baseClass< std::vector< T, A > >
 

Namespaces

 ArrayUtils
 

Functions

template<class T >
std::pair< size_t, size_t > ArrayUtils::getShape (const T &data)
 
template<class T >
CreateDataImpl::ReturnType< T > ArrayUtils::createData (const T &vec)
 
PyObjectArrayUtils::createNumpyArray (const std::vector< double > &data)
 
template<class T >
decltype(auto) ArrayUtils::createVector1D (const T &data)
 
template<class T >
decltype(auto) ArrayUtils::createVector2D (const T &data)
 

Detailed Description

Defines various functions to interact from numpy on Python side.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file ArrayUtils.h.