[Rcpp-commits] r1979 - scripts
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Aug 10 22:58:56 CEST 2010
Author: romain
Date: 2010-08-10 22:58:56 +0200 (Tue, 10 Aug 2010)
New Revision: 1979
Modified:
scripts/stats.R
Log:
remove the stats:: prefix from stats functions
Modified: scripts/stats.R
===================================================================
--- scripts/stats.R 2010-08-10 20:58:37 UTC (rev 1978)
+++ scripts/stats.R 2010-08-10 20:58:56 UTC (rev 1979)
@@ -62,7 +62,6 @@
namespace Rcpp {
namespace stats {
-namespace impl {
template <bool NA, typename T>
class D__UDIST__ : public Rcpp::VectorBase< REALSXP, NA, D__UDIST__<NA,T> >{
@@ -129,25 +128,24 @@
};
-} // impl
+} // stats
template <bool NA, typename T>
-inline impl::D__UDIST__<NA,T> d__DIST__( const Rcpp::VectorBase<REALSXP,NA,T>& x, __PARAM_DECL__, bool log = false ) {
- return impl::D__UDIST__<NA,T>( x, __PARAM_ULIST__, log );
+inline stats::D__UDIST__<NA,T> d__DIST__( const VectorBase<REALSXP,NA,T>& x, __PARAM_DECL__, bool log = false ) {
+ return stats::D__UDIST__<NA,T>( x, __PARAM_ULIST__, log );
}
template <bool NA, typename T>
-inline impl::P__UDIST__<NA,T> p__DIST__( const Rcpp::VectorBase<REALSXP,NA,T>& x, __PARAM_DECL__, bool lower = true, bool log = false ) {
- return impl::P__UDIST__<NA,T>( x, __PARAM_ULIST__, lower, log );
+inline stats::P__UDIST__<NA,T> p__DIST__( const VectorBase<REALSXP,NA,T>& x, __PARAM_DECL__, bool lower = true, bool log = false ) {
+ return stats::P__UDIST__<NA,T>( x, __PARAM_ULIST__, lower, log );
}
template <bool NA, typename T>
-inline impl::Q__UDIST__<NA,T> q__DIST__( const Rcpp::VectorBase<REALSXP,NA,T>& x, __PARAM_DECL__, bool lower = true, bool log = false ) {
- return impl::Q__UDIST__<NA,T>( x, __PARAM_ULIST__, lower, log );
+inline stats::Q__UDIST__<NA,T> q__DIST__( const VectorBase<REALSXP,NA,T>& x, __PARAM_DECL__, bool lower = true, bool log = false ) {
+ return stats::Q__UDIST__<NA,T>( x, __PARAM_ULIST__, lower, log );
}
-}
-}
+} // Rcpp
#endif
'
More information about the Rcpp-commits
mailing list