vector - Adding a new binary operator to Python 3 -
i use operator such 'x' give cross-product of 2 vectors. there way add such operator python 3?
you cannot supplement python's set of operators , statements directly in python code. however, can write wrapper uses python's language services write pythonesque dsl includes operators want.
Comments
Post a Comment