Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

C++Python
CmaxwellArray<T>CextensionList (Template instantiation, T = MXparamList).

Template class arrays.

Methods

NameDescription
CmaxwellArrayClass constructor.
~CmaxwellArrayClass destructor.
capacityArray capacity (see reserve).
sizeArray size
[]Gets an item by index.
clearClear all the array items.
pop_backPops one item.
resizeResize the array.
expandExpand the array.
push_backPush one item.
reserveReserve space for items.
swapSwap two items of the array.
findLinearSearchSearch for an item, returning its index.
removeRemove an item, if exist.
  • No labels