This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
def cheap_ruler_k(latitude: float) -> np.ndarray: | |
''' | |
in meters | |
''' | |
# based on https://github.com/mapbox/cheap-ruler-cpp | |
RE = 6378.137 | |
FE = 1.0 / 298.257223563 | |
E2 = FE * (2 - FE) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 750a475..110a1b5 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -21,6 +21,16 @@ | |
# and then issuing `yum install cmake3` on the command line. | |
cmake_minimum_required(VERSION 3.5) | |
+set(CMAKE_CXX_STANDARD 11) | |
+set(CMAKE_CXX_STANDARD_REQUIRED ON) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 48cb6eb..f730711 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -20,6 +20,15 @@ | |
# (https://fedoraproject.org/wiki/EPEL#Extra_Packages_for_Enterprise_Linux_.28EPEL.29) | |
# and then issuing `yum install cmake3` on the command line. | |
cmake_minimum_required(VERSION 3.5) | |
+set(CMAKE_CXX_STANDARD 11) | |
+set(CMAKE_CXX_STANDARD_REQUIRED ON) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#error "you should download from https://raw.githubusercontent.com/sharkdp/dbg-macro/master/dbg.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="javascript:prompt('copy (Control+C) this link:', decodeURIComponent(window.location))">Drag Me To the Bookmarks Bar</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: mit |
NewerOlder