Returns the internal rate of return for a schedule of cash flows.
Namespace:
Imsl.Finance
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double Irr( double[] pmt ) |
Visual Basic (Declaration) |
---|
Public Shared Function Irr ( _ pmt As Double() _ ) As Double |
Visual C++ |
---|
public: static double Irr( array<double>^ pmt ) |
Parameters
- pmt
- Type: array<
System..::.Double
>[]()[]
A double array which contains cash flow values which occur at regular intervals.
Return Value
A double which specifies the internal rate of return.
Remarks
It is found by solving the following:


where = the
cash flow,
is the internal rate of return.