Boost logo

Ublas :

From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2008-06-28 09:10:07

> But I wanted to ask why it isn't there already?

This is mostly a question of time. There is no regression test for orgqr.hpp, and orgqr.hpp does not contain bindings to ungqr for complex value types. My typical approach would be to add the regression test for orgqr.hpp to ublas_geqrf.cpp, but then I must also implement the missing bindings to ungqr (note that ormqr.hpp does contain bindings to unmqr for complex value types).

Regression tests are important, because boost-numeric-bindings is a header only library. This means that the compiler will not even look at the file if there is no regression test for it. And even if the compiler looks at the file, it won't check the templates in detail until they get instantiated.

> , but I need orgqr.hpp. I could put it in my working directory
> and I will if it doesn't get put in the repository.

You should probably do that, then you don't have to wait for orgqr.hpp to be added to the repository.