Supported functions#
named_arrays implements the numpy protocols
__array_function__ and __array_ufunc__, so most of the numpy
API accepts these arrays directly, using axis names where numpy would
take an axis number.
Coverage is not complete, and it is not uniform across the array types, since
each type implements each function separately.
The tables below are generated from the dispatch tables themselves, so they
describe the version of named_arrays which built this page rather than
a list someone remembered to update.
A check mark means the array type supports the function and an empty cell means
it does not, and a function which is absent is supported by no array type at
all.
If you need one which is missing, an issue or a pull request is welcome at
the repository.
Every numpy universal function, such as numpy.sqrt() or
numpy.add(), is supported by every array type through
__array_ufunc__, and is not listed here.
A matrix is a vector whose components are themselves vectors, so it supports
whatever the Vector column supports.
Functions in the numpy namespace#
Function |
Scalar |
Uncertain |
Vector |
Function |
|---|---|---|---|---|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
|||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
||||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
||||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
|||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
Functions in the named_arrays namespace#
Function |
Scalar |
Uncertain |
Vector |
Function |
|---|---|---|---|---|
✓ |
✓ |
|||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
||||
✓ |
✓ |
|||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
|||
✓ |
✓ |
|||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
|||
✓ |
||||
✓ |
✓ |
✓ |
||
✓ |
✓ |
|||
✓ |
||||
✓ |
✓ |
✓ |
||
✓ |
||||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
||||
✓ |
✓ |
✓ |
||
✓ |
✓ |
|||
✓ |
✓ |
|||
✓ |
||||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
✓ |
✓ |
||
✓ |
||||
✓ |
✓ |
|||
✓ |
||||
✓ |
✓ |
|||
✓ |
✓ |
|||
✓ |
✓ |
✓ |
||
✓ |
||||
✓ |
✓ |
✓ |
✓ |
|
✓ |
✓ |
✓ |
✓ |