I hereby claim:
- I am soniakeys on github.
- I am sonia (https://keybase.io/sonia) on keybase.
- I have a public key ASBxpRCxAlK7NX867UGuXunxyU5lhq3bfkt0RQofTbcGwwo
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"log" | |
"math" | |
"github.com/soniakeys/meeus/base" | |
"github.com/soniakeys/meeus/coord" | |
pp "github.com/soniakeys/meeus/planetposition" |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"log" | |
"math" | |
"math/rand" | |
"os" | |
"testing" | |
"time" |
const ( | |
decPart = `\d*[.,]\d*` | |
intPart = `\d+` | |
decS = `(?:(?P<decS>` + decPart + `)S)` | |
intS = `(?:(?P<intS>` + intPart + `)S)?` | |
sPat = `(?:` + decS + `|` + intS + `)` | |
decMin = `(?:(?P<decMin>` + decPart + `)M)` | |
intMin = `(?:(?P<intMin>` + intPart + `)M)?` |
Sunrise: 6ʰ45ᵐ28ˢ | |
Sunset: 17ʰ11ᵐ46ˢ |
package chi2 | |
import "math" | |
func Chi2p(dof int, distance float64) float64 { | |
return IncGammaQ(.5*float64(dof), .5*distance) | |
} | |
func IncGammaQ(a, x float64) float64 { | |
if x < a+1 { |