| FinanceXirr Method (Double, DateTime) |
Returns the internal rate of return for a schedule of cash flows.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic static double Xirr(
double[] pmt,
DateTime[] dates
)
Public Shared Function Xirr (
pmt As Double(),
dates As DateTime()
) As Double
public:
static double Xirr(
array<double>^ pmt,
array<DateTime>^ dates
)
static member Xirr :
pmt : float[] *
dates : DateTime[] -> 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.
Return Value
Type:
Double
A
double which specifies the internal rate of return.
Remarks
See Also