Re:Overload functions in Python
by xiphias2 on Monday February 17, 2020 @11:59AM
(#22348966)
In Julia function overloading is used instead of object oriented programming, and it's actually quite powerful abstraction for mathematical manipulation.
Just as an example automatic differentation libraries are written using function overloading (in which the arguments of the overloaded functions are a tuple of a value and its derivative).
Another example is CUDA array support. And the best thing is that you can combine these 2 libraries (and many others that take advantage of operator overloading)
Just as an example automatic differentation libraries are written using function overloading (in which the arguments of the overloaded functions are a tuple of a value and its derivative).
Another example is CUDA array support. And the best thing is that you can combine these 2 libraries (and many others that take advantage of operator overloading)