## Interface AnnuityMapping

• All Known Implementing Classes:
BasicPiterbargAnnuityMapping, MultiPiterbargAnnuityMapping, SimplifiedLinearAnnuityMapping

public interface AnnuityMapping
An interface for calsses providing annuity mappings. An annuity mapping allows to treat swap annuity as a function of the swap rate. More precisely it is a function $$\alpha$$ such that $\alpha(x) = E^A [ \frac{A(0)}{A(T)} | S(T) = x ] \, .$ Where A is the (froward) annuity and S is the swap rate at the given time.
Author:
Christian Fries, Roland Bachl
• ### Nested Class Summary

Nested Classes
Modifier and Type Interface Description
static class  AnnuityMapping.AnnuityMappingType
Implemented types of annuity mappings.
• ### Method Summary

All Methods
Modifier and Type Method Description
double getFirstDerivative​(double swapRate)
Return the first derivative of the annuity mapping for the given swap rate.
double getSecondDerivative​(double swapRate)
Return the second derivative of the annuity mapping for the given swap rate.
double getValue​(double swapRate)
Return the value the fraction of annuities take, when the realized swap rate meets the given swap rate.
• ### Method Detail

• #### getValue

double getValue​(double swapRate)
Return the value the fraction of annuities take, when the realized swap rate meets the given swap rate.
Parameters:
swapRate - The swap rate at which to evaluate the annuity mapping.
Returns:
The value of the annuity mapping.
• #### getFirstDerivative

double getFirstDerivative​(double swapRate)
Return the first derivative of the annuity mapping for the given swap rate.
Parameters:
swapRate - The swap rate at which to evaluate the annuity mapping.
Returns:
The first derivative of the annuity mapping.
• #### getSecondDerivative

double getSecondDerivative​(double swapRate)
Return the second derivative of the annuity mapping for the given swap rate.
Parameters:
swapRate - The swap rate at which to evaluate the annuity mapping.
Returns:
The second derivative of the annuity mapping.
{"ft_lang_label":"__label__en","ft_lang_prob":0.7490564,"math_prob":0.8449476,"size":2067,"snap":"2020-34-2020-40","text_gpt3_token_len":481,"char_repetition_ratio":0.20891905,"word_repetition_ratio":0.44781145,"special_character_ratio":0.19641994,"punctuation_ratio":0.10559006,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98786503,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-09-30T16:22:26Z\",\"WARC-Record-ID\":\"<urn:uuid:b1a31c81-701e-47d2-aaec-6de062b32e4c>\",\"Content-Length\":\"13700\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:43812103-d8e4-450e-9645-a9ee686777cd>\",\"WARC-Concurrent-To\":\"<urn:uuid:cb43b3f9-a57c-4346-8f19-1515cf268a3f>\",\"WARC-IP-Address\":\"185.199.110.153\",\"WARC-Target-URI\":\"http://www.finmath.net/finmath-lib/apidocs/net.finmath.lib/net/finmath/singleswaprate/annuitymapping/AnnuityMapping.html\",\"WARC-Payload-Digest\":\"sha1:4K4D5LLZVQE2UXXKS7WD2HQMLR4D5EQW\",\"WARC-Block-Digest\":\"sha1:M73BSVX4G3S3V676HH3YCMLNER4KKH7B\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-40/CC-MAIN-2020-40_segments_1600402127075.68_warc_CC-MAIN-20200930141310-20200930171310-00135.warc.gz\"}"}