LCOV - code coverage report
Current view: top level - elsa/storage/transforms - Bessel.h (source / functions) Hit Total Coverage
Test: coverage-all.lcov Lines: 6 6 100.0 %
Date: 2024-05-15 03:55:36 Functions: 4 4 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include "functions/Bessel.hpp"
       4             : #include "Bessel.h"
       5             : 
       6             : #include <thrust/transform.h>
       7             : 
       8             : namespace elsa
       9             : {
      10             :     /// @brief Compute the log of modified Bessel function of the first kind
      11             :     /// of order zero for each element of the input range
      12             :     /// @ingroup transforms
      13             :     template <class InputIter, class OutIter>
      14             :     void bessel_log_0(InputIter first, InputIter last, OutIter out)
      15           4 :     {
      16           4 :         thrust::transform(first, last, out, elsa::fn::bessel_log_0);
      17           4 :     }
      18             : 
      19             :     /// @brief Compute the modified Bessel function of the first kind
      20             :     /// of order one divided by that of order zero for each element of
      21             :     /// the input range
      22             :     /// @ingroup transforms
      23             :     template <class InputIter, class OutIter>
      24             :     void bessel_1_0(InputIter first, InputIter last, OutIter out)
      25           8 :     {
      26           8 :         thrust::transform(first, last, out, elsa::fn::bessel_1_0);
      27           8 :     }
      28             : } // namespace elsa

Generated by: LCOV version 1.14