.. _f-vectorcontainerpythoncpython-39-x8664-linux-gnu: module ``examples.vector_container_python`` =========================================== Short summary +++++++++++++ module ``cpyquickhelper.examples.vector_container_python`` Looks into two ways to export an array of objects (vectors here). :githublink:`%|py|0` Classes +++++++ +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ | class | truncated documentation | +==================================================================================================================================+==========================================================+ | :class:`OneTensor ` | Definition of a simple tensor. `PYBIND11_MAKE_OPAQUE(std | +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ | :class:`OneTensor2 ` | Definition of a simple tensor, `PYBIND11_MAKE_OPAQUE(std | +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ | :class:`OneTensorVector ` | | +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ | :class:`RandomTensorVectorFloat ` | Random Tensors | +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ | :class:`RandomTensorVectorFloat2 ` | Random Tensors | +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ | :class:`TensorVectorConstReferencePointer ` | Reference on `std | +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ | :class:`TensorVectorConstReferencePointer2 ` | Reference on `std | +----------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+ Properties ++++++++++ +------------------------------------------------------------------------------------------------+--------------------------------------------------+ | property | truncated documentation | +================================================================================================+==================================================+ | :meth:`element_type ` | Returns the type of every element of the tensor. | +------------------------------------------------------------------------------------------------+--------------------------------------------------+ | :meth:`element_type ` | Returns the type of every element of the tensor. | +------------------------------------------------------------------------------------------------+--------------------------------------------------+ | :meth:`shape ` | Returns the tensor shape. | +------------------------------------------------------------------------------------------------+--------------------------------------------------+ | :meth:`shape ` | Returns the tensor shape. | +------------------------------------------------------------------------------------------------+--------------------------------------------------+ | :meth:`version ` | Returns the version. | +------------------------------------------------------------------------------------------------+--------------------------------------------------+ | :meth:`version ` | Returns the version. | +------------------------------------------------------------------------------------------------+--------------------------------------------------+ Documentation +++++++++++++ .. automodule:: cpyquickhelper.examples.vector_container_python :members: :special-members: __init__ :show-inheritance: .. _vector_container_python.cpython-39-x86_64-linux-gnu_literal: Code ---- .. literalinclude:: vector_container_python.cpython-39-x86_64-linux-gnu.so