.. _l-classes: Classes ======= .. contents:: :local: :depth: 1 Summary +++++++ +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | class | class parent | truncated documentation | +==================================================================================================================================+==============+==========================================================================================================================================+ | :class:`CEventProfiler ` | | C++ buffer for @see cl EventProfiler. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`CEventProfilerEvent ` | | Description of an event logged by the the class @see cl CEventProfiler. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`ContainerType ` | | Type enumeration, similar to dtype. Members: VOID : untyped pointer BYTE : byte pointer FLOAT : float pointer ... | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`EventProfiler ` | | This profiler profiles both memory and function calls. It stores events and produces a timeline. See :ref:`l-example-event-profling` ... | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`EventProfilerDebug ` | | One class to measure time wasted by profiling. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`ExecutionStat ` | | Holds results to compare execution time of functions. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`FastDictInt64Int64 ` | | Dictionary `{ int64, int64: int64 }, faster than the python version.`. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`FastDictIntInt ` | | Dictionary `{ int64, int64: int64 }, faster than the python version.`. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`FastDictStrInt64 ` | | Dictionary `{ str, int64: int64 }, faster than the python version.`. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`KThread ` | | Add methods *kill* to :epkg:`*py:threading:Thread`. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :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:`PyCContainer ` | | Custom container, may contain almost everything. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`RandomTensorVectorFloat ` | | Random Tensors | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`RandomTensorVectorFloat2 ` | | Random Tensors | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`TensorVectorConstReferencePointer ` | | Reference on `std | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`TensorVectorConstReferencePointer2 ` | | Reference on `std | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`WeightedArray ` | | Implements an array holding @see WeightedDouble numbers. This leverages a new concept introduced in :epkg:`pandas` 0.24 ... | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`WeightedDouble ` | | Implements a weighted double used to speed up computation with aggregation. It contains two attributes: | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`WeightedDoubleAccessor ` | | Extends :epkg:`pandas` with new accessor for series based on @see cl WeightedDouble. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`WeightedFloat ` | | Implements a weighted float used to speed up computation with aggregation. It contains two attributes: | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`WeightedSeries ` | | Implements a series holding @see WeightedDouble numbers. Does not add anything to *Series*. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`WeightedSeriesDtype ` | | Defines a custom type for a @see cl WeightedSeries. | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`WithEventProfiler ` | | Enables profiling with the following syntax: | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+ | :class:`cmap_int_int ` | | | +----------------------------------------------------------------------------------------------------------------------------------+--------------+------------------------------------------------------------------------------------------------------------------------------------------+