latexify_py icon indicating copy to clipboard operation
latexify_py copied to clipboard

Expand support for Numpy NDArray functions

Open Casper-Guo opened this issue 2 years ago • 2 comments

#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.

Casper-Guo avatar Dec 04 '22 22:12 Casper-Guo

This feels like a bunch of function expansions.

ZibingZhang avatar Dec 11 '22 00:12 ZibingZhang

some of them can be implemented by the existing tools. For $a^T$, it shouldn't be implemented as pow(a, T) because it is not actually the power operator.

odashi avatar Dec 11 '22 01:12 odashi