LCOV - code coverage report
Current view: top level - elsa/storage/transforms - Absolute.h (source / functions) Hit Total Coverage
Test: coverage-all.lcov Lines: 3 3 100.0 %
Date: 2024-05-16 04:22:26 Functions: 7 7 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "functions/Abs.hpp"
       4             : 
       5             : #include <thrust/transform.h>
       6             : 
       7             : namespace elsa
       8             : {
       9             :     /// @brief Compute the coefficient wise absolute value of the input ranges.
      10             :     /// @ingroup transforms
      11             :     template <class InputIter, class OutIter>
      12             :     void cwiseAbs(InputIter first, InputIter last, OutIter out)
      13         125 :     {
      14         125 :         thrust::transform(first, last, out, elsa::abs);
      15         125 :     }
      16             : } // namespace elsa

Generated by: LCOV version 1.14