#include "pythonForwardDeclarations.hpp"
#include "numpyHelpers.hpp"
#include "../Array.hpp"
#include "../Macros.hpp"
#include "../limits.hpp"
#include "../output.hpp"
#include "pythonHelpers.hpp"
#include <string>
#include <memory>
#include <typeindex>
Go to the source code of this file.
|
| PyObject * | LvArray::python::internal::create (std::unique_ptr< internal::PyArrayWrapperBase > &&array) |
| | Create a Python object corresponding to array. More...
|
| |
| template<typename T , int NDIM, typename PERM , typename INDEX_TYPE , template< typename > class BUFFER_TYPE> |
| std::enable_if_t< internal::canExportToNumpy< T >||(std::is_same< T, std::string >::value &&NDIM==1), PyObject *> | LvArray::python::create (Array< T, NDIM, PERM, INDEX_TYPE, BUFFER_TYPE > &array) |
| | Create a Python object corresponding to array. More...
|
| |
| PyTypeObject * | LvArray::python::getPyArrayType () |
| | Return the Python type for the Array. More...
|
| |
◆ create()
Create a Python object corresponding to array.
- Parameters
-
| array | The Array to export to Python. |
- Returns
- A Python object corresponding to
array.