add some more functions from real vector class