I don't think you can do that. Maybe with python... not sure. But for basic vector math you can just use operators (+, -, *, /, etc). There are also special commands for things like dot and cross product. Check the docs under Commands -> By Category -> Language -> Maths...