 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
30 #if defined(__cpp_lib_gcd_lcm) || !defined(NO_USE_BOOST)
37 #include "boost/integer/common_factor_rt.hpp"
40 #ifdef __cpp_lib_gcd_lcm
59 template<
typename dtype>
60 dtype
lcm(dtype inValue1, dtype inValue2) noexcept
64 #ifdef __cpp_lib_gcd_lcm
83 template<
typename dtype>
88 return boost::integer::lcm_range(inArray.
cbegin(), inArray.
cend()).first;
90 #endif // #ifndef NO_USE_BOOST
93 #endif // #if defined(__cpp_lib_gcd_lcm) || !defined(NO_USE_BOOST)
#define STATIC_ASSERT_INTEGER(dtype)
Definition: StaticAsserts.hpp:40
dtype lcm(dtype inValue1, dtype inValue2) noexcept
Definition: lcm.hpp:60
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1487
dtype lcm(const NdArray< dtype > &inArray)
Definition: lcm.hpp:84
Definition: Coordinate.hpp:44
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1143