BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Go to the source code of this file.
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) |
PyObject * | ArrayUtils::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) |
Defines various functions to interact from numpy on Python side.
Definition in file ArrayUtils.h.