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

Popular posts from this blog

html - Difficulties with background-image property -

ios - Segue not passing data between ViewControllers -

bitbucket - How to automate building and deploying Jekyll site to webserver via FTP -