[Boost-bugs] [Boost C++ Libraries] #13445: Manual entry for abs function of vector space algebra differs from implementation

Subject: [Boost-bugs] [Boost C++ Libraries] #13445: Manual entry for abs function of vector space algebra differs from implementation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-13 11:39:46


#13445: Manual entry for abs function of vector space algebra differs from
implementation
------------------------------+---------------------
 Reporter: jan@… | Owner: karsten
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: odeint
  Version: Boost 1.66.0 | Severity: Problem
 Keywords: odeint manual |
------------------------------+---------------------
 The manual entry for a vector space algebra definition in boost odeint
 states that the return value of the abs function necessary for controlled
 steppers must be of state type.
 http://www.boost.org/doc/libs/1_66_0/libs/numeric/odeint/doc/html/boost_numeric_odeint/odeint_in_detail/state_types__algebras_and_operations.html#boost_numeric_odeint.odeint_in_detail.state_types__algebras_and_operations.algebras_and_operations.vector_space_algebra
 This works only for fundamental types as described in the following
 stackoverflow entry.
 https://stackoverflow.com/questions/44566641/boost-odeint-controlled-
 stepper-with-custom-class-and-vector-space-algebra
 For custom types it only compiles when the return value of the abs
 function is of value type.
 This would also correspond to the mathematical understanding of the
 absolute value defined in a vector space.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13445>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-02-13 11:44:26 UTC