Returns the depreciation for each accounting Frequency.
Namespace:
Imsl.Finance
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static double Amorlinc( double cost, DateTime issue, DateTime firstPeriod, double salvage, int period, double rate, DayCountBasis basis ) |
Visual Basic (Declaration) |
---|
Public Shared Function Amorlinc ( _ cost As Double, _ issue As DateTime, _ firstPeriod As DateTime, _ salvage As Double, _ period As Integer, _ rate As Double, _ basis As DayCountBasis _ ) As Double |
Visual C++ |
---|
public: static double Amorlinc( double cost, DateTime issue, DateTime firstPeriod, double salvage, int period, double rate, DayCountBasis^ basis ) |
Parameters
- cost
- Type: System..::.Double
A double which specifies the cost of the asset.
- issue
- Type: System..::.DateTime
The DateTime issue date of the asset.
- firstPeriod
- Type: System..::.DateTime
The DateTime date of the end of the first period.
- salvage
- Type: System..::.Double
A double which specifies the asset's salvage value at the end of the life of the asset.
- period
- Type: System..::.Int32
A int which specifies the period.
- rate
- Type: System..::.Double
A double which specifies the rate of depreciation.
- basis
- Type: Imsl.Finance..::.DayCountBasis
A DayCountBasis object which contains the type of day count basis to use.
Return Value
A double which specifies the depreciation.
Remarks
This function is similar to Amordegrc, except that Amordegrc has a depreciation coefficient that is applied during the evaluation that is based on the asset life.