Skip to content

Commit 892458e

Browse files
committed
more header cleanup in stats/
1 parent c0d6185 commit 892458e

File tree

20 files changed

+346
-321
lines changed

20 files changed

+346
-321
lines changed

ChangeLog

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
1+
2016-03-07 Dirk Eddelbuettel <[email protected]>
2+
3+
* inst/include/Rcpp/stats/beta.h: Updated Emacs header and copyright
4+
* inst/include/Rcpp/stats/binom.h: Idem
5+
* inst/include/Rcpp/stats/cauchy.h: Idem
6+
* inst/include/Rcpp/stats/chisq.h: Idem
7+
* inst/include/Rcpp/stats/f.h: Idem
8+
* inst/include/Rcpp/stats/gamma.h: Idem
9+
* inst/include/Rcpp/stats/geom.h: Idem
10+
* inst/include/Rcpp/stats/hyper.h: Idem
11+
* inst/include/Rcpp/stats/nbeta.h: Idem
12+
* inst/include/Rcpp/stats/nbinom.h: Idem
13+
* inst/include/Rcpp/stats/nbinom_mu.h: Idem
14+
* inst/include/Rcpp/stats/nchisq.h: Idem
15+
* inst/include/Rcpp/stats/nf.h: Idem
16+
* inst/include/Rcpp/stats/nt.h: Idem
17+
* inst/include/Rcpp/stats/pois.h: Idem
18+
* inst/include/Rcpp/stats/stats.h: Idem
19+
* inst/include/Rcpp/stats/t.h: Idem
20+
* inst/include/Rcpp/stats/unif.h: Idem
21+
122
2016-03-05 Dirk Eddelbuettel <[email protected]>
223

324
* inst/include/Rcpp/stats/exp.h: Replaced initial Emacs header line with
4-
current one, ran M-x untabify and streamlined indentation
25+
current one, ran M-x untabify, streamlined indentation, update copyright
526
* inst/include/Rcpp/stats/lnorm.h: Idem
627
* inst/include/Rcpp/stats/logis.h: Idem
728
* inst/include/Rcpp/stats/norm.h: Idem

inst/include/Rcpp/stats/beta.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 4 -*-
1+
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22
//
33
// beta.h: Rcpp R/C++ interface class library -- beta distribution
44
//
5-
// Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Romain Francois
5+
// Copyright (C) 2010 - 2016 Dirk Eddelbuettel and Romain Francois
66
//
77
// This file is part of Rcpp.
88
//

inst/include/Rcpp/stats/binom.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*-
1+
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22
//
33
// binom.h: Rcpp R/C++ interface class library --
44
//
5-
// Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Romain Francois
5+
// Copyright (C) 2010 - 2016 Dirk Eddelbuettel and Romain Francois
66
//
77
// This file is part of Rcpp.
88
//

inst/include/Rcpp/stats/cauchy.h

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 4 -*-
1+
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22
//
33
// cauchy.h: Rcpp R/C++ interface class library --
44
//
5-
// Copyright (C) 2010 - 2011 Douglas Bates, Dirk Eddelbuettel and Romain Francois
5+
// Copyright (C) 2010 - 2016 Douglas Bates, Dirk Eddelbuettel and Romain Francois
66
//
77
// This file is part of Rcpp.
88
//
@@ -25,25 +25,27 @@
2525
namespace Rcpp{
2626
namespace stats{
2727

28-
inline double dcauchy_0(double x, int give_log){
29-
return ::Rf_dcauchy(x,0.0,1.0, give_log) ;
28+
inline double dcauchy_0(double x, int give_log) {
29+
return ::Rf_dcauchy(x,0.0,1.0, give_log) ;
3030
}
31-
inline double dcauchy_1(double x, double location, int give_log){
32-
return ::Rf_dcauchy(x,location,1.0, give_log) ;
31+
32+
inline double dcauchy_1(double x, double location, int give_log) {
33+
return ::Rf_dcauchy(x,location,1.0, give_log) ;
3334
}
3435

35-
inline double pcauchy_0(double x, int lower_tail, int log_p){
36-
return ::Rf_pcauchy(x,0.0,1.0,lower_tail, log_p) ;
36+
inline double pcauchy_0(double x, int lower_tail, int log_p) {
37+
return ::Rf_pcauchy(x,0.0,1.0,lower_tail, log_p) ;
3738
}
38-
inline double pcauchy_1(double x, double location, int lower_tail, int log_p){
39-
return ::Rf_pcauchy(x,location,1.0,lower_tail, log_p) ;
39+
40+
inline double pcauchy_1(double x, double location, int lower_tail, int log_p) {
41+
return ::Rf_pcauchy(x,location,1.0,lower_tail, log_p) ;
4042
}
4143

42-
inline double qcauchy_0(double p, int lower_tail, int log_p){
43-
return ::Rf_qcauchy(p, 0.0, 1.0, lower_tail, log_p ) ;
44+
inline double qcauchy_0(double p, int lower_tail, int log_p) {
45+
return ::Rf_qcauchy(p, 0.0, 1.0, lower_tail, log_p ) ;
4446
}
45-
inline double qcauchy_1(double p, double location, int lower_tail, int log_p){
46-
return ::Rf_qcauchy(p, location, 1.0, lower_tail, log_p ) ;
47+
inline double qcauchy_1(double p, double location, int lower_tail, int log_p) {
48+
return ::Rf_qcauchy(p, location, 1.0, lower_tail, log_p ) ;
4749
}
4850

4951
} // stats

inst/include/Rcpp/stats/chisq.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 4 -*-
1+
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22
//
33
// chisq.h: Rcpp R/C++ interface class library --
44
//
5-
// Copyright (C) 2010 - 2011 Douglas Bates, Dirk Eddelbuettel and Romain Francois
5+
// Copyright (C) 2010 - 2016 Douglas Bates, Dirk Eddelbuettel and Romain Francois
66
//
77
// This file is part of Rcpp.
88
//

0 commit comments

Comments
 (0)