Skip to content

Commit 0b6c381

Browse files
committed
Merge pull request #446 from RcppCore/feature/more-headers-cleanup
Feature/more headers cleanup
2 parents 90ee661 + 2381097 commit 0b6c381

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1081
-1063
lines changed

ChangeLog

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,58 @@
22

33
* vignettes/Rcpp-sugar.Rnw: Correct typos and indentation
44

5+
2016-03-09 Dirk Eddelbuettel <[email protected]>
6+
7+
* inst/include/Rcpp/stats/random/rlogis.h: Updated Emacs header and
8+
copyright, aligned indentation
9+
* inst/include/Rcpp/stats/random/rnbinom.h: Idem
10+
* inst/include/Rcpp/stats/random/rnbinom_mu.h: Idem
11+
* inst/include/Rcpp/stats/random/rnchisq.h: Idem
12+
* inst/include/Rcpp/stats/random/rnorm.h: Idem
13+
* inst/include/Rcpp/stats/random/rt.h: Idem
14+
* inst/include/Rcpp/stats/random/runif.h: Idem
15+
* inst/include/Rcpp/stats/random/rweibull.h: Idem
16+
* inst/include/Rcpp/stats/random/random.h: Idem
17+
* inst/include/Rcpp/stats/random/rcauchy.h: Idem
18+
* inst/include/Rcpp/stats/random/rchisq.h: Idem
19+
* inst/include/Rcpp/stats/random/rexp.h: Idem
20+
* inst/include/Rcpp/stats/random/rf.h: Idem
21+
* inst/include/Rcpp/stats/random/rgeom.h: Idem
22+
* inst/include/Rcpp/stats/random/rlnorm.h: Idem
23+
* inst/include/Rcpp/stats/random/rbeta.h: Idem
24+
* inst/include/Rcpp/stats/random/rbinom.h: Idem
25+
* inst/include/Rcpp/stats/random/rgamma.h: Idem
26+
* inst/include/Rcpp/stats/random/rhyper.h: Idem
27+
* inst/include/Rcpp/stats/random/rpois.h: Idem
28+
* inst/include/Rcpp/stats/random/rsignrank.h: Idem
29+
* inst/include/Rcpp/stats/random/rwilcox.h: Idem
30+
31+
2016-03-07 Dirk Eddelbuettel <[email protected]>
32+
33+
* inst/include/Rcpp/stats/beta.h: Updated Emacs header and copyright
34+
* inst/include/Rcpp/stats/binom.h: Idem
35+
* inst/include/Rcpp/stats/cauchy.h: Idem
36+
* inst/include/Rcpp/stats/chisq.h: Idem
37+
* inst/include/Rcpp/stats/f.h: Idem
38+
* inst/include/Rcpp/stats/gamma.h: Idem
39+
* inst/include/Rcpp/stats/geom.h: Idem
40+
* inst/include/Rcpp/stats/hyper.h: Idem
41+
* inst/include/Rcpp/stats/nbeta.h: Idem
42+
* inst/include/Rcpp/stats/nbinom.h: Idem
43+
* inst/include/Rcpp/stats/nbinom_mu.h: Idem
44+
* inst/include/Rcpp/stats/nchisq.h: Idem
45+
* inst/include/Rcpp/stats/nf.h: Idem
46+
* inst/include/Rcpp/stats/nt.h: Idem
47+
* inst/include/Rcpp/stats/pois.h: Idem
48+
* inst/include/Rcpp/stats/stats.h: Idem
49+
* inst/include/Rcpp/stats/t.h: Idem
50+
* inst/include/Rcpp/stats/unif.h: Idem
51+
* inst/include/Rcpp/stats/dpq/dpq.h: Idem
52+
553
2016-03-05 Dirk Eddelbuettel <[email protected]>
654

755
* inst/include/Rcpp/stats/exp.h: Replaced initial Emacs header line with
8-
current one, ran M-x untabify and streamlined indentation
56+
current one, ran M-x untabify, streamlined indentation, update copyright
957
* inst/include/Rcpp/stats/lnorm.h: Idem
1058
* inst/include/Rcpp/stats/logis.h: Idem
1159
* 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)