Giter Site home page Giter Site logo

gostat's People

Contributors

skelterjohn avatar thepaw avatar iamthebot avatar statusfailed avatar

Watchers

James Cloos avatar

gostat's Issues

possible bug in Poisson_PMF(λ)

What steps will reproduce the problem?
8g foo.go
8l foo.8
./8.out

Output:
λ = 1.77   k= 1   p = -0.5872982159059681  should be 0.301489
λ = 15.336   k= 15   p = -1.2171062280039564e-09  should be 0.102057

Original issue reported on code.google.com by tyapca7 on 28 Nov 2011 at 8:39

Attachments:

Does not compile

What steps will reproduce the problem?
1. go get code.google.com/p/gostat/stat

What is the expected output? What do you see instead?

It should compile. But the compiler complained:

# code.google.com/p/gostat/stat
../../goproj/src/code.google.com/p/gostat/stat/poisson.go:92: cannot use k 
(type int64) as type float64 in function argument
../../goproj/src/code.google.com/p/gostat/stat/poisson.go:105: cannot use k 
(type int64) as type float64 in function argument


What version of the product are you using? On what operating system?

$ go version
go version go1.1.2 linux/amd64

Original issue reported on code.google.com by [email protected] on 26 Aug 2013 at 8:33

Update for the go tool.

This project isn't go gettable because the import paths use the old goinstall 
format.  A simple 'go fix' will fix the issue.

Original issue reported on code.google.com by [email protected] on 4 Aug 2012 at 1:29

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.