|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50019 - trunk/boost/units/detail
From: steven_at_[hidden]
Date: 2008-11-29 13:34:17
Author: steven_watanabe
Date: 2008-11-29 13:34:17 EST (Sat, 29 Nov 2008)
New Revision: 50019
URL: http://svn.boost.org/trac/boost/changeset/50019
Log:
Removed out of date comment
Text files modified:
trunk/boost/units/detail/linear_algebra.hpp | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
Modified: trunk/boost/units/detail/linear_algebra.hpp
==============================================================================
--- trunk/boost/units/detail/linear_algebra.hpp (original)
+++ trunk/boost/units/detail/linear_algebra.hpp 2008-11-29 13:34:17 EST (Sat, 29 Nov 2008)
@@ -952,20 +952,6 @@
// dimension.
//
// list<rational> calculate_base_unit_exponents(list<base_unit> units, dimension_list dimensions);
-//
-// What is the purpose of all this magic with
-// base_dimensions? Can't we just solve the
-// equations for the dimension directly? Yes,
-// we can, but remember that solving a
-// system of linear equations is O(N^3).
-// By normalizing the system we incur a
-// high one time cost O(N^4), but for all
-// solutions after the first it is O(N^2)
-// In addition, the constant factor is
-// good because everything is already set up.
-// Since we expect a few systems to be
-// used many times, the cost of creating
-// a system is probably not significant.
template<class T>
struct is_base_dimension_unit {
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk