| FinanceXirr Method (Double, DateTime, Double) |
Returns the internal rate of return for a schedule of cash flows with
a user supplied initial guess.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Xirr(
double[] pmt,
DateTime[] dates,
double guess
)
Public Shared Function Xirr (
pmt As Double(),
dates As DateTime(),
guess As Double
) As Double
public:
static double Xirr(
array<double>^ pmt,
array<DateTime>^ dates,
double guess
)
static member Xirr :
pmt : float[] *
dates : DateTime[] *
guess : float -> float
Parameters
- pmt
- Type: SystemDouble
A double array which contains cash flow values which
correspond to a schedule of payments in dates.
- dates
- Type: SystemDateTime
A DateTime array which contains a schedule of payment dates.
- guess
- Type: SystemDouble
A double value which represents an initial guess at the return
value from this function.
Return Value
Type:
Double
A
double which specifies the internal rate of return.
Remarks
See Also