Support to perform arithmetic and other operations on Python objects
Support to perform arithmetic and other operations on Python objects
Example:
octave:1> py.int(3) + py.int(5)
ans = [Python object of type int]
8
octave:2> py.list([1 2 3 4]) + py.list(['a' 'b' 'c' 'd'])
ans = [Python object of type list]
[1.0, 2.0, 3.0, 4.0, 'a', 'b', 'c', 'd']
Edited by Vipul Cariappa