SIRIUS
1. Sirius at a glance
2. Sirius Theoretical Basis
3. Sirius Developer Zone
3.1. Class Hierarchy
3.2. File Hierarchy
3.3. Full API
3.3.1. Namespaces
3.3.2. Classes and Structs
3.3.3. Enums
3.3.4. Functions
3.3.4.1. Function SaveFFTAsImage
3.3.4.2. Function CreateComplex
3.3.4.3. Function CreateReal
3.3.4.4. Function FFT
3.3.4.5. Function FFT
3.3.4.6. Function IFFT
3.3.4.7. Function ComputeResampledGeoReference
3.3.4.8. Function ComputeResampledGeoTransform
3.3.4.9. Function CreateDataset
3.3.4.10. Function LoadDataset
3.3.4.11. Function LoadImage
3.3.4.12. Function make_error_code
3.3.4.13. Function SaveImage
3.3.4.14. Function ComputeFFTFreq
3.3.4.15. Function CreateMeshgrid
3.3.4.16. Function FFTShift2D
3.3.4.17. Function FFTShift2DUncentered
3.3.4.18. Function Gcd
3.3.4.19. Function GenerateDyadicSize
3.3.4.20. Function GenerateZoomCompliantSize
3.3.4.21. Function IFFTShift2D
3.3.4.22. Function IFFTShift2DUncentered
3.3.4.23. Function make_error_code
3.3.4.24. Function MakeSmartPtrArraySpan
3.3.4.25. Function SetVerbosityLevel
3.3.5. Variables
3.3.6. Defines
3.3.7. Typedefs
3.3.8. Directories
3.3.9. Files
SIRIUS
Docs
»
3. Library API
»
3.3.4.18. Function Gcd
View page source
3.3.4.18. Function Gcd
¶
Defined in
File numeric.h
3.3.4.18.1. Function Documentation
¶
int
sirius::utils
::
Gcd
(
int
a
, int
b
)
¶
Compute Gcd of a and b using C++17: will be replaced with std::gcd.