This file contains hidden or 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
#!/usr/bin/env python3 | |
''' Generate all factors of m | |
Written by PM 2Ring 2016.10.20 | |
''' | |
import sys | |
from itertools import product | |
from functools import reduce |
This file contains hidden or 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
#! /usr/bin/env python | |
''' Geodesic distance triangulation | |
Find two locations that are at given distances | |
from two fixed points, using the WGS84 reference ellipsoid | |
First approximate using spherical trig, then refine | |
using Newton's method. |
NewerOlder