Algorith sandbox
dual_helper_function.hpp
Go to the documentation of this file.
1 
9 #pragma once
10 #include "algo/ad/fwd.h"
11 
12 namespace algo { namespace ad { namespace detail {
21  double getValue(const double v)
22  {
23  return v;
24  }
34  template <typename E>
35  double getValue(const dual_expression<E>& e)
36  {
37  return e().getValue();
38  }
39 } } } // namespace algo { namespace ad { namespace detail {
forward declarations.
Definition: ublas_matrix_expression_concept.hpp:5