Something like:

1
2
3
let priorMu=
    print "priorMu: "
    float(Console.ReadLine()) * 1.0<SkillPoint>

The lightblub is just annoying feature of this forum, it's trying to show emoticons.

Thanks,
Rob

By on 1/28/2010 6:33 AM ()

Thanks Robert.

let priorMuPlayer1=
print "priorMu Player 1: "
float(Console.ReadLine()) * 1.0<SkillPoint>
let priorMuPlayer2=
print "priorMu Player 2: "
float(Console.ReadLine()) * 1.0<SkillPoint>

would promt for the two values but how do I then initialise the array.

let priorSkills = Array.init noPlayers (fun i -> Gaussian.Create (priorMu, priorSigma))

P.S. How are you colouring your code syntax.

By on 1/28/2010 5:38 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper