~ubuntu-branches/ubuntu/utopic/blitz++/utopic

« back to all changes in this revision

Viewing changes to random/chisquare.h

  • Committer: Package Import Robot
  • Author(s): Christophe Trophime
  • Date: 2012-07-06 09:15:30 UTC
  • mfrom: (11.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20120706091530-vzrb8zf0vpbf8tp9
Tags: 1:0.10-1
* New upstream release
  Closes: #679407
* debian/rules:
  - update for new release
  - add override_dh_auto_test target
  - regenerate configure and Makefile.am
* debian/control:
  - add libtool, automake to BuildDepends
* debian/libblitz-doc.install
  - modify path for html files
* remove uneeded patches
* add examples.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -*- C++ -*-
 
2
// $Id$
 
3
 
1
4
/*
2
5
 * Chi^2 distribution
3
6
 *
25
28
    typedef T T_numtype;
26
29
 
27
30
    ChiSquare(T df)
28
 
      : Gamma<T,IRNG,stateTag>(df/2.0)
 
31
      : Gamma<T,IRNG,stateTag>(df/2.0) // isn't this redundant with setDF call?
 
32
    {
 
33
        setDF(df);
 
34
    }
 
35
 
 
36
  ChiSquare(T df, unsigned int i)
 
37
    : Gamma<T,IRNG,stateTag>(df/2.0, i)
29
38
    {
30
39
        setDF(df);
31
40
    }