Boost logo

Ublas :

Subject: [ublas] (plus) assign a value with m(i, j) = x and with m.insert_element(i, j, x) in mapped_matrix?
From: Tim Odenthal (Tim.Odenthal_at_[hidden])
Date: 2010-02-03 10:50:52


Hi!

Why should(n't) I use m.insert_element(i,j, x) to assign an element to the
mapped_matrix m? What is the advantage/ difference compared to using m(i,j) =
x?

Thanks in advance

Tim