~ubuntu-branches/ubuntu/vivid/quantlib-swig/vivid-proposed

« back to all changes in this revision

Viewing changes to SWIG/cashflows.i

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2013-09-02 14:18:33 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20130902141833-z4hia8bac0o2fzqz
Tags: 1.3-1
* New upstream release

* debian/control: Set Build-Depends: to current QuantLib version 

* debian/control: Set Standards-Version: to current version 

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 FOR A PARTICULAR PURPOSE.  See the license for more details.
19
19
*/
20
20
 
 
21
 
21
22
#ifndef quantlib_cash_flows_i
22
23
#define quantlib_cash_flows_i
23
24
 
773
774
             bool includeSettlementDateFlows,
774
775
             Date settlementDate = Date(),
775
776
             Date npvDate = Date());
 
777
 
 
778
    static Real basisPointValue(const Leg& leg,
 
779
             const InterestRate& yield,
 
780
             bool includeSettlementDateFlows,
 
781
             Date settlementDate = Date(),
 
782
             Date npvDate = Date());
 
783
 
 
784
    static Real basisPointValue(const Leg& leg,
 
785
             Rate yield,
 
786
             const DayCounter& dayCounter,
 
787
             Compounding compounding,
 
788
             Frequency frequency,
 
789
             bool includeSettlementDateFlows,
 
790
             Date settlementDate = Date(),
 
791
             Date npvDate = Date());
 
792
 
 
793
    static Spread zSpread(const Leg& leg,
 
794
             Real npv,
 
795
             const boost::shared_ptr<YieldTermStructure>&,
 
796
             const DayCounter& dayCounter,
 
797
             Compounding compounding,
 
798
             Frequency frequency,
 
799
             bool includeSettlementDateFlows,
 
800
             Date settlementDate = Date(),
 
801
             Date npvDate = Date(),
 
802
             Real accuracy = 1.0e-10,
 
803
             Size maxIterations = 100,
 
804
             Rate guess = 0.0);
 
805
 
776
806
};
777
807
 
778
808