MRFFL: MR Fortran Finance Library 2024-12-28
Computational Tools For Finance
|
Time value of money for general cashflows. More...
Go to the source code of this file.
Modules | |
module | mrffl_cashflows |
Tools for TVM computations with irregular/uneven cashflows. | |
Functions/Subroutines | |
real(kind=rk) pure function, public | mrffl_cashflows::cashflow_vector_total_pv (cf_vec, i) |
Compute pv for a cashflow vector. | |
real(kind=rk) pure function, public | mrffl_cashflows::cashflow_matrix_total_pv (cf_mat, i) |
Compute pv for a cashflow matrix. | |
subroutine, public | mrffl_cashflows::cashflow_vector_irr (cf_vec, irr, status) |
Compute IRR for a cashflow vector. | |
real(kind=rk) function | irr_solve (i) |
subroutine, public | mrffl_cashflows::cashflow_matrix_irr (cf_mat, irr, status) |
Compute IRR for a cashflow matrix. | |
character(len=5) function | mrffl_cashflows::i2s (n) |
Convert a cashflow number into a padded string for titles. | |
subroutine, public | mrffl_cashflows::cashflow_vector_pv_fv (cf_vec, i, pv_vec, fv_vec, status) |
Compute present and future values for a cashflow vector. | |
subroutine, public | mrffl_cashflows::cashflow_vector_pv_fv_print (cf_vec, i, pv_vec, fv_vec, status, print_out) |
Compute present and future values for a cashflow vector. | |
subroutine, public | mrffl_cashflows::cashflow_matrix_pv_fv (cf_mat, i, pv_vec, fv_vec, status) |
Compute present and future values for a cashflow matrix. | |
subroutine, public | mrffl_cashflows::cashflow_matrix_pv_fv_print (cf_mat, i, pv_vec, fv_vec, status, print_out) |
Compute present and future values for a cashflow matrix. | |
subroutine, public | mrffl_cashflows::make_cashflow_vector_delayed_lump (cf_vec, a, d, status) |
Create a cashflow with a single (lump sum) payment. | |
subroutine, public | mrffl_cashflows::make_cashflow_vector_delayed_level_annuity (cf_vec, a, d, e, status) |
Create a cashflow of payments for a fixed annuity. | |
subroutine, public | mrffl_cashflows::make_cashflow_vector_delayed_geometric_annuity (cf_vec, g, a, d, e, status) |
Create a cashflow of payments for a growing annuity. | |
subroutine, public | mrffl_cashflows::make_cashflow_vector_delayed_arithmetic_annuity (cf_vec, q, a, d, e, status) |
Create a cashflow of payments for an arithmatic annuity. | |
subroutine, public | mrffl_cashflows::add_intrest_to_cashflow_vector (cf_vec, rate, status) |
Add interest cashflows to a cashflow sequence as if the sequence were being added to an interest baring account over time. | |
subroutine, public | mrffl_cashflows::add_multi_intrest_to_cashflow_vector (cf_vec, vrate, status) |
Add interest cashflows to a cashflow sequence as if the sequence were being added to an interest baring account over time. | |
Time value of money for general cashflows.
Copyright (c) 2024, Mitchell Jay Richling http://www.mitchr.me/ All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.H.E.!!
Definition in file mrffl_cashflows.f90.
|
private |
Definition at line 159 of file mrffl_cashflows.f90.
References mrffl_cashflows::cashflow_vector_total_pv(), and irr_solve().
Referenced by mrffl_cashflows::cashflow_matrix_irr(), mrffl_cashflows::cashflow_vector_irr(), and irr_solve().