Boost logo

Ublas :

Subject: [ublas] Why does not overload operators?
From: Allen Chen (allen.chenal_at_[hidden])
Date: 2008-12-25 21:21:42


Six years ago, I design my own matrix library like matlab. I overload
operators, it make it conveninent to do matrix manupulations. For
example

matrix A, B, C, D;
A = B*C +D;

It is easy to use and read.

Why does not ublas overload such operators as +, -, *, /, ^, [], (),...

Allen