Expand support for Numpy NDArray functions

Author: Casper-GuoCreated Dec 4, 2022Updated Nov 17, 2023
Labelsfeature

#143 implemented Numpy NDArray support, opening the door to supporting a wide range of Numpy functions. Here is a list of frequently used functions and how they might be represented.

Some functions have unambiguous mathematical notations:

Some other functions have standard representations in some cases (for example, when all the keyword arguments are set to the default). Refer to Numpy documentation, especially the calculations section, for many such functions. Note that some of these functions are implemented both in numpy and np.ndarray.