Skip to content

Commit

Permalink
Renamed headers of renamed classes (and wished that Sourceforge provi…
Browse files Browse the repository at this point in the history
…ded Subversion support)
  • Loading branch information
lballabio committed Feb 10, 2005
1 parent adce365 commit b5adca5
Show file tree
Hide file tree
Showing 83 changed files with 144 additions and 293 deletions.
2 changes: 1 addition & 1 deletion ql/CashFlows/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include_HEADERS = \
fixedratecoupon.hpp \
floatingratecoupon.hpp \
inarrearindexedcoupon.hpp \
indexcashflowvectors.hpp \
indexedcashflowvectors.hpp \
indexedcoupon.hpp \
parcoupon.hpp \
shortfloatingcoupon.hpp \
Expand Down
2 changes: 1 addition & 1 deletion ql/CashFlows/all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <ql/CashFlows/fixedratecoupon.hpp>
#include <ql/CashFlows/floatingratecoupon.hpp>
#include <ql/CashFlows/inarrearindexedcoupon.hpp>
#include <ql/CashFlows/indexcashflowvectors.hpp>
#include <ql/CashFlows/indexedcashflowvectors.hpp>
#include <ql/CashFlows/indexedcoupon.hpp>
#include <ql/CashFlows/parcoupon.hpp>
#include <ql/CashFlows/shortfloatingcoupon.hpp>
Expand Down
2 changes: 1 addition & 1 deletion ql/CashFlows/basispointsensitivity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef quantlib_bps_calculator_hpp
#define quantlib_bps_calculator_hpp

#include <ql/termstructure.hpp>
#include <ql/yieldtermstructure.hpp>
#include <ql/CashFlows/fixedratecoupon.hpp>
#include <ql/CashFlows/timebasket.hpp>

Expand Down
2 changes: 1 addition & 1 deletion ql/CashFlows/cashflowvectors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <ql/CashFlows/fixedratecoupon.hpp>
#include <ql/CashFlows/shortfloatingcoupon.hpp>
#include <ql/CashFlows/upfrontindexedcoupon.hpp>
#include <ql/CashFlows/indexcashflowvectors.hpp>
#include <ql/CashFlows/indexedcashflowvectors.hpp>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/CashFlows/floatingratecoupon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define quantlib_floating_rate_coupon_hpp

#include <ql/CashFlows/coupon.hpp>
#include <ql/null.hpp>
#include <ql/Utilities/null.hpp>

namespace QuantLib {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
FOR A PARTICULAR PURPOSE. See the license for more details.
*/

/*! \file indexcashflowvectors.hpp
\brief Index Cash flow vector builders
/*! \file indexedcashflowvectors.hpp
\brief Indexed cash-flow vector builders
*/

#ifndef quantlib_index_cash_flow_vectors_hpp
#define quantlib_index_cash_flow_vectors_hpp
#ifndef quantlib_indexed_cash_flow_vectors_hpp
#define quantlib_indexed_cash_flow_vectors_hpp

#include <ql/CashFlows/shortindexedcoupon.hpp>
#include <ql/schedule.hpp>
Expand Down
2 changes: 1 addition & 1 deletion ql/CashFlows/timebasket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define quantlib_time_basket_hpp

#include <ql/date.hpp>
#include <ql/null.hpp>
#include <ql/Utilities/null.hpp>
#include <vector>
#include <map>

Expand Down
22 changes: 11 additions & 11 deletions ql/FiniteDifferences/boundarycondition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
\brief boundary conditions for differential operators
*/

#ifndef quantlib_boundary_condition_h
#define quantlib_boundary_condition_h
#ifndef quantlib_boundary_condition_hpp
#define quantlib_boundary_condition_hpp

#include <ql/null.hpp>
#include <ql/Utilities/null.hpp>
#include <ql/FiniteDifferences/tridiagonaloperator.hpp>

namespace QuantLib {
Expand All @@ -40,31 +40,31 @@ namespace QuantLib {
// destructor
virtual ~BoundaryCondition() {}
// interface
/*! This method modifies an operator \f$ L \f$ before it is
applied to an array \f$ u \f$ so that \f$ v = Lu \f$ will
/*! This method modifies an operator \f$ L \f$ before it is
applied to an array \f$ u \f$ so that \f$ v = Lu \f$ will
satisfy the given condition. */
virtual void applyBeforeApplying(operatorType&) const = 0;
/*! This method modifies an array \f$ u \f$ so that it satisfies
the given condition. */
virtual void applyAfterApplying(arrayType&) const = 0;
/*! This method modifies an operator \f$ L \f$ before the linear
system \f$ Lu' = u \f$ is solved so that \f$ u' \f$ will
/*! This method modifies an operator \f$ L \f$ before the linear
system \f$ Lu' = u \f$ is solved so that \f$ u' \f$ will
satisfy the given condition. */
virtual void applyBeforeSolving(operatorType&,
virtual void applyBeforeSolving(operatorType&,
arrayType& rhs) const = 0;
/*! This method modifies an array \f$ u \f$ so that it satisfies
the given condition. */
virtual void applyAfterSolving(arrayType&) const = 0;
/*! This method sets the current time for time-dependent
/*! This method sets the current time for time-dependent
boundary conditions. */
virtual void setTime(Time t) = 0;
};

// Time-independent boundary conditions for tridiagonal operators

//! Neumann boundary condition (i.e., constant derivative)
/*! \warning The value passed must not be the value of the derivative.
Instead, it must be comprehensive of the grid step
/*! \warning The value passed must not be the value of the derivative.
Instead, it must be comprehensive of the grid step
between the first two points--i.e., it must be the
difference between f[0] and f[1].
\todo generalize to time-dependent conditions.
Expand Down
1 change: 0 additions & 1 deletion ql/FiniteDifferences/tridiagonaloperator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include <ql/FiniteDifferences/tridiagonaloperator.hpp>
#include <ql/basicdataformatters.hpp>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/Indexes/xibor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define quantlib_xibor_hpp

#include <ql/index.hpp>
#include <ql/termstructure.hpp>
#include <ql/yieldtermstructure.hpp>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/Instruments/bond.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <ql/calendar.hpp>
#include <ql/daycounter.hpp>
#include <ql/interestrate.hpp>
#include <ql/termstructure.hpp>
#include <ql/yieldtermstructure.hpp>
#include <vector>

namespace QuantLib {
Expand Down
2 changes: 1 addition & 1 deletion ql/Instruments/capfloor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <ql/numericalmethod.hpp>
#include <ql/instrument.hpp>
#include <ql/cashflow.hpp>
#include <ql/termstructure.hpp>
#include <ql/yieldtermstructure.hpp>
#include <ql/quote.hpp>

namespace QuantLib {
Expand Down
2 changes: 1 addition & 1 deletion ql/Instruments/floatingratebond.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

#include <ql/Instruments/floatingratebond.hpp>
#include <ql/CashFlows/indexcashflowvectors.hpp>
#include <ql/CashFlows/indexedcashflowvectors.hpp>
#include <ql/CashFlows/upfrontindexedcoupon.hpp>
#include <ql/CashFlows/simplecashflow.hpp>

Expand Down
2 changes: 1 addition & 1 deletion ql/Instruments/swap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define quantlib_swap_hpp

#include <ql/instrument.hpp>
#include <ql/termstructure.hpp>
#include <ql/yieldtermstructure.hpp>
#include <ql/cashflow.hpp>
#include <ql/CashFlows/timebasket.hpp>

Expand Down
10 changes: 3 additions & 7 deletions ql/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -36,44 +36,41 @@ EXTRA_DIST= \
include_HEADERS = \
core.hpp \
argsandresults.hpp \
basetermstructure.hpp \
basicdataformatters.hpp \
calendar.hpp \
capvolstructures.hpp \
cashflow.hpp \
config.hpp \
currency.hpp \
dataparsers.hpp \
date.hpp \
daycounter.hpp \
discretizedasset.hpp \
disposable.hpp \
errors.hpp \
exchangerate.hpp \
exercise.hpp \
grid.hpp \
handle.hpp \
history.hpp \
index.hpp \
instrument.hpp \
interestrate.hpp \
money.hpp \
null.hpp \
numericalmethod.hpp \
option.hpp \
payoff.hpp \
pricingengine.hpp \
qldefines.hpp \
quantlib.hpp \
quote.hpp \
relinkablehandle.hpp \
schedule.hpp \
settings.hpp \
solver1d.hpp \
stochasticprocess.hpp \
swaptionvolstructure.hpp \
termstructure.hpp \
types.hpp \
voltermstructure.hpp
voltermstructure.hpp \
yieldtermstructure.hpp


install-data-hook:
Expand Down Expand Up @@ -113,7 +110,6 @@ libQuantLib_la_SOURCES = \
basicdataformatters.cpp \
calendar.cpp \
currency.cpp \
dataparsers.cpp \
date.cpp \
discretizedasset.cpp \
errors.cpp \
Expand Down
9 changes: 5 additions & 4 deletions ql/Math/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
\brief 1-D array used in linear algebra.
*/

#ifndef quantlib_array_h
#define quantlib_array_h
#ifndef quantlib_array_hpp
#define quantlib_array_hpp

#include <ql/types.hpp>
#include <ql/errors.hpp>
#include <ql/disposable.hpp>
#include <ql/basicdataformatters.hpp>
#include <ql/Utilities/disposable.hpp>
#include <boost/iterator/reverse_iterator.hpp>
#include <functional>
#include <numeric>
#include <iomanip>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/Math/bivariatenormaldistribution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#ifndef quantlib_bivariatenormal_distribution_hpp
#define quantlib_bivariatenormal_distribution_hpp

#include <ql/basicdataformatters.hpp>
#include <ql/errors.hpp>
#include <ql/types.hpp>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/Math/cubicspline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#include <ql/Math/interpolation.hpp>
#include <ql/FiniteDifferences/tridiagonaloperator.hpp>
#include <ql/null.hpp>
#include <ql/Utilities/null.hpp>
#include <vector>

namespace QuantLib {
Expand Down
1 change: 0 additions & 1 deletion ql/Math/generalstatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#include <ql/Math/generalstatistics.hpp>
#include <ql/Math/functional.hpp>
#include <ql/basicdataformatters.hpp>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/Math/generalstatistics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef quantlib_general_statistics_hpp
#define quantlib_general_statistics_hpp

#include <ql/null.hpp>
#include <ql/Utilities/null.hpp>
#include <ql/errors.hpp>
#include <vector>
#include <utility>
Expand Down
1 change: 0 additions & 1 deletion ql/Math/incrementalstatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include <ql/Math/incrementalstatistics.hpp>
#include <ql/basicdataformatters.hpp>
#include <iomanip>

namespace QuantLib {
Expand Down
2 changes: 1 addition & 1 deletion ql/Math/incrementalstatistics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef quantlib_incremental_statistics_hpp
#define quantlib_incremental_statistics_hpp

#include <ql/null.hpp>
#include <ql/Utilities/null.hpp>
#include <ql/errors.hpp>

namespace QuantLib {
Expand Down
1 change: 0 additions & 1 deletion ql/Math/interpolation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#define quantlib_interpolation_hpp

#include <ql/Patterns/bridge.hpp>
#include <ql/basicdataformatters.hpp>

namespace QuantLib {

Expand Down
1 change: 0 additions & 1 deletion ql/Math/interpolation2D.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#define quantlib_interpolation2D_hpp

#include <ql/Patterns/bridge.hpp>
#include <ql/basicdataformatters.hpp>

namespace QuantLib {

Expand Down
1 change: 0 additions & 1 deletion ql/Math/kronrodintegral.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#define quantlib_kronrod_integral_hpp

#include <ql/errors.hpp>
#include <ql/basicdataformatters.hpp>

namespace QuantLib {

Expand Down
1 change: 0 additions & 1 deletion ql/Math/multicubicspline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#define quantlib_multi_cubic_spline_hpp

#include <ql/errors.hpp>
#include <ql/basicdataformatters.hpp>
#include <functional>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion ql/Math/normaldistribution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#ifndef quantlib_normal_distribution_hpp
#define quantlib_normal_distribution_hpp

#include <ql/basicdataformatters.hpp>
#include <ql/Math/errorfunction.hpp>
#include <ql/errors.hpp>

Expand Down
1 change: 0 additions & 1 deletion ql/Math/poissondistribution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#ifndef quantlib_poisson_distribution_hpp
#define quantlib_poisson_distribution_hpp

#include <ql/basicdataformatters.hpp>
#include <ql/Math/factorial.hpp>
#include <ql/Math/incompletegamma.hpp>

Expand Down
1 change: 0 additions & 1 deletion ql/Math/pseudosqrt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <ql/Math/pseudosqrt.hpp>
#include <ql/Math/choleskydecomposition.hpp>
#include <ql/Math/symmetricschurdecomposition.hpp>
#include <ql/basicdataformatters.hpp>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/Math/trapezoidintegral.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef quantlib_trapezoid_integral_hpp
#define quantlib_trapezoid_integral_hpp

#include <ql/null.hpp>
#include <ql/Utilities/null.hpp>

namespace QuantLib {

Expand Down
1 change: 0 additions & 1 deletion ql/MonteCarlo/pathpricer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <ql/option.hpp>
#include <ql/types.hpp>
#include <ql/termstructure.hpp>
#include <functional>

namespace QuantLib {
Expand Down
1 change: 0 additions & 1 deletion ql/Pricers/mcpricer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#ifndef quantlib_montecarlo_pricer_hpp
#define quantlib_montecarlo_pricer_hpp

#include <ql/basicdataformatters.hpp>
#include <ql/MonteCarlo/montecarlomodel.hpp>

namespace QuantLib {
Expand Down
2 changes: 1 addition & 1 deletion ql/PricingEngines/Vanilla/mcdigitalengine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define quantlib_digital_mc_engine_hpp

#include <ql/exercise.hpp>
#include <ql/termstructure.hpp>
#include <ql/yieldtermstructure.hpp>
#include <ql/voltermstructure.hpp>
#include <ql/MonteCarlo/mctraits.hpp>
#include <ql/PricingEngines/Vanilla/mcvanillaengine.hpp>
Expand Down
Loading

0 comments on commit b5adca5

Please sign in to comment.