This was just a simple demonstration to generate the temporary object. In other languages such as C++ the operator overload does not create a temporary object unless you explicitly build it that way. To answer you question there is a lot more to matrix and vector interaction than you can get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.