numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
greatest_common_divisor.h File Reference

Definition of greatest_common_divisor function. More...

+ Include dependency graph for greatest_common_divisor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::util
 Namespace of utilities.
 

Functions

template<base::concepts::integral T>
constexpr auto num_collect::util::greatest_common_divisor (T a, T b) -> T
 Calculate the greatest common divisor.
 

Detailed Description

Definition of greatest_common_divisor function.

Definition in file greatest_common_divisor.h.