Click here to Skip to main content
16,006,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: arrays, stucts and static members - hmmm... Pin
Nnamdi Onyeyiri26-Jul-02 9:49
Nnamdi Onyeyiri26-Jul-02 9:49 
GeneralRe: arrays, stucts and static members - hmmm... Pin
leppie26-Jul-02 10:09
leppie26-Jul-02 10:09 
GeneralRe: arrays, stucts and static members - hmmm... Pin
Nnamdi Onyeyiri26-Jul-02 10:12
Nnamdi Onyeyiri26-Jul-02 10:12 
GeneralRe: arrays, stucts and static members - hmmm... Pin
Nnamdi Onyeyiri26-Jul-02 9:04
Nnamdi Onyeyiri26-Jul-02 9:04 
GeneralTaking the system tray a step further Pin
sasdav26-Jul-02 7:15
sasdav26-Jul-02 7:15 
GeneralDataGridColumnStyle Class Pin
stephen woolhead26-Jul-02 6:37
stephen woolhead26-Jul-02 6:37 
Generalmath and statistical functions Pin
troz26-Jul-02 4:51
troz26-Jul-02 4:51 
GeneralRe: math and statistical functions Pin
Richard Deeming26-Jul-02 5:32
mveRichard Deeming26-Jul-02 5:32 
Look at: http://ce597n.www.ecn.purdue.edu/CE597N/1997F/students/michael.a.kropinski.1/project/tutorial[^]

public class Stats {
    static readonly double root2Pi = Math.Sqrt(2.0 * Math.PI);

    public static double normDist(double y) {
        return Math.Exp(-(y*y)/2.0) / root2Pi;
    }
    public static double normDist(double y, double mean, double stdDev) {
        double yStd = y - mean;
        return Math.Exp(-(yStd*yStd)/(2.0 * stdDev * stdDev)) / (stdDev * root2Pi);
    }
}

GeneralRe: math and statistical functions Pin
troz28-Jul-02 20:46
troz28-Jul-02 20:46 
GeneralRe: math and statistical functions Pin
troz28-Jul-02 22:08
troz28-Jul-02 22:08 
GeneralRe: math and statistical functions Pin
leppie26-Jul-02 9:05
leppie26-Jul-02 9:05 
GeneralRe: math and statistical functions Pin
troz28-Jul-02 20:47
troz28-Jul-02 20:47 
GeneralSetting/changing attributes at runtime Pin
leppie25-Jul-02 23:52
leppie25-Jul-02 23:52 
GeneralRe: Setting/changing attributes at runtime Pin
James T. Johnson26-Jul-02 1:21
James T. Johnson26-Jul-02 1:21 
GeneralRe: Setting/changing attributes at runtime Pin
leppie26-Jul-02 2:05
leppie26-Jul-02 2:05 
GeneralRe: Setting/changing attributes at runtime Pin
jparsons26-Jul-02 3:06
jparsons26-Jul-02 3:06 
GeneralRe: Setting/changing attributes at runtime Pin
leppie26-Jul-02 4:41
leppie26-Jul-02 4:41 
GeneralRe: Setting/changing attributes at runtime Pin
Thomas Freudenberg20-Feb-03 3:51
Thomas Freudenberg20-Feb-03 3:51 
GeneralRe: Setting/changing attributes at runtime Pin
leppie20-Feb-03 5:59
leppie20-Feb-03 5:59 
GeneralXML Web Service error on Update() Pin
laphijia25-Jul-02 23:49
laphijia25-Jul-02 23:49 
GeneralRe: XML Web Service error on Update() Pin
James T. Johnson26-Jul-02 0:19
James T. Johnson26-Jul-02 0:19 
GeneralRe: XML Web Service error on Update() Pin
laphijia26-Jul-02 0:25
laphijia26-Jul-02 0:25 
GeneralRe: XML Web Service error on Update() Pin
James T. Johnson26-Jul-02 0:51
James T. Johnson26-Jul-02 0:51 
GeneralRe: XML Web Service error on Update() Pin
laphijia26-Jul-02 1:13
laphijia26-Jul-02 1:13 
GeneralCreating a Textbox that doesn't accept focus Pin
swpo25-Jul-02 18:28
swpo25-Jul-02 18:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.