[Rquantlib-commits] r322 - in pkg/RQuantLib: R src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Sep 10 17:09:06 CEST 2011
Author: edd
Date: 2011-09-10 17:09:06 +0200 (Sat, 10 Sep 2011)
New Revision: 322
Modified:
pkg/RQuantLib/R/bond.R
pkg/RQuantLib/R/dayCounter.R
pkg/RQuantLib/src/bonds.cpp
pkg/RQuantLib/src/daycounter.cpp
pkg/RQuantLib/src/discount.cpp
pkg/RQuantLib/src/utils.cpp
Log:
minor cleanups and copyright updates to 2011
Modified: pkg/RQuantLib/R/bond.R
===================================================================
--- pkg/RQuantLib/R/bond.R 2011-09-10 14:40:19 UTC (rev 321)
+++ pkg/RQuantLib/R/bond.R 2011-09-10 15:09:06 UTC (rev 322)
@@ -2,6 +2,7 @@
##
## Copyright (C) 2002 - 2009 Dirk Eddelbuettel <edd at debian.org>
## Copyright (C) 2009 Khanh Nguyen <knguyen at cs.umb.edu>
+## Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Khanh Nguyen
##
## $Id$
##
Modified: pkg/RQuantLib/R/dayCounter.R
===================================================================
--- pkg/RQuantLib/R/dayCounter.R 2011-09-10 14:40:19 UTC (rev 321)
+++ pkg/RQuantLib/R/dayCounter.R 2011-09-10 15:09:06 UTC (rev 322)
@@ -1,6 +1,6 @@
## RQuantLib -- R interface to the QuantLib libraries
##
-## Copyright (C) 2010 Dirk Eddelbuettel and Khanh Nguyen
+## Copyright (C) 2010 - 2011 Dirk Eddelbuettel and Khanh Nguyen
##
## $Id: calendars.R 293 2010-08-07 15:56:13Z edd $
##
@@ -20,20 +20,17 @@
## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
## MA 02111-1307, USA
-dayCount <- function(startDates, endDates, dayCounters){
-
- val <- .Call('dayCount', startDates, endDates, dayCounters,
- PACKAGE="RQuantLib")
- val
+dayCount <- function(startDates, endDates, dayCounters) {
+ val <- .Call('dayCount', startDates, endDates, dayCounters, PACKAGE="RQuantLib")
+ invisible(val)
}
-yearFraction <- function(startDates, endDates, dayCounters){
- val <- .Call('yearFraction', startDates, endDates, dayCounters,
- PACKAGE="RQuantLib")
- val
+yearFraction <- function(startDates, endDates, dayCounters) {
+ val <- .Call('yearFraction', startDates, endDates, dayCounters, PACKAGE="RQuantLib")
+ invisible(val)
}
setEvaluationDate <- function(evalDate) {
val <- .Call("setEvaluationDate", evalDate, PACKAGE="RQuantLib")
- val
+ invisible(val)
}
Modified: pkg/RQuantLib/src/bonds.cpp
===================================================================
--- pkg/RQuantLib/src/bonds.cpp 2011-09-10 14:40:19 UTC (rev 321)
+++ pkg/RQuantLib/src/bonds.cpp 2011-09-10 15:09:06 UTC (rev 322)
@@ -3,7 +3,7 @@
// RQuantLib -- R interface to the QuantLib libraries
//
// Copyright (C) 2002 - 2009 Dirk Eddelbuettel
-// Copyright (C) 2009 - 2010 Khanh Nguyen and Dirk Eddelbuettel
+// Copyright (C) 2009 - 2011 Khanh Nguyen and Dirk Eddelbuettel
//
// $Id$
//
Modified: pkg/RQuantLib/src/daycounter.cpp
===================================================================
--- pkg/RQuantLib/src/daycounter.cpp 2011-09-10 14:40:19 UTC (rev 321)
+++ pkg/RQuantLib/src/daycounter.cpp 2011-09-10 15:09:06 UTC (rev 322)
@@ -2,7 +2,7 @@
//
// RQuantLib -- R interface to the QuantLib libraries
//
-// Copyright (C) 2009 - 2010 Dirk Eddelbuettel and Khanh Nguyen
+// Copyright (C) 2009 - 2011 Dirk Eddelbuettel and Khanh Nguyen
//
// $Id$
//
Modified: pkg/RQuantLib/src/discount.cpp
===================================================================
--- pkg/RQuantLib/src/discount.cpp 2011-09-10 14:40:19 UTC (rev 321)
+++ pkg/RQuantLib/src/discount.cpp 2011-09-10 15:09:06 UTC (rev 322)
@@ -4,7 +4,7 @@
//
// Copyright (C) 2005 - 2007 Dominick Samperi
// Copyright (C) 2007 - 2009 Dirk Eddelbuettel
-// Copyright (C) 2009 - 2010 Dirk Eddelbuettel and Khanh Nguyen
+// Copyright (C) 2009 - 2011 Dirk Eddelbuettel and Khanh Nguyen
//
// $Id$
//
Modified: pkg/RQuantLib/src/utils.cpp
===================================================================
--- pkg/RQuantLib/src/utils.cpp 2011-09-10 14:40:19 UTC (rev 321)
+++ pkg/RQuantLib/src/utils.cpp 2011-09-10 15:09:06 UTC (rev 322)
@@ -4,7 +4,7 @@
//
// Copyright (C) 2002 - 2011 Dirk Eddelbuettel
// Copyright (C) 2005 - 2006 Dominick Samperi
-// Copyright (C) 2009 - 2010 Dirk Eddelbuettel and Khanh Nguyen
+// Copyright (C) 2009 - 2011 Dirk Eddelbuettel and Khanh Nguyen
//
// $Id$
//
More information about the Rquantlib-commits
mailing list