CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mrbomb

Search: Search took 0.01 seconds.

  1. Re: LINQ - Calculate average and standard deviation in one go

    There's no need for LINQ I see. I converted it into this:



    mean = 0;
    double stdDev=0;
    foreach(double v in dataList) {
    mean += v;
    ...
  2. LINQ - Calculate average and standard deviation in one go

    I have a list with values:
    List<double> values = new List<double> {4,5,7,7,8,98,1,3,4,2,2,4,5,5,6,7,8,5,3,2,9,4,5,6,7,8};

    I want to get:
    the average = sum(values)/n
    standard...
  3. [RESOLVED] C# Create generic class from variable objecttype

    I have the following working code
    Main.cs


    Bootstrap<ROC> boot = new Bootstrap<ROC>(selectedTool as ROC);

    Bootstrap.cs


    class Bootstrap<T> where T : class, IBootstrappable {
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured