vecxt_re.RateChangesPerPeriod
See theRateChangesPerPeriod companion class
Attributes
- Companion
-
class
- Graph
-
- Supertypes
-
trait Product
trait Mirror
class Object
trait Matchable
class Any
- Self type
-
Members list
The names of the product elements.
The names of the product elements.
Attributes
- Inherited from:
-
Mirror
Attributes
- Inherited from:
-
Mirror
Create an RateChangesPerPeriod with a constant rate change for all periods.
Create an RateChangesPerPeriod with a constant rate change for all periods.
Value parameters
- factor
-
The constant factor for each period (e.g., 1.05 for 5% per period)
- numPeriods
-
Number of historical periods
Attributes
- Returns
-
RateChangesPerPeriod with constant factors
Create an RateChangesPerPeriod from an array of rate changes (as percentages).
Create an RateChangesPerPeriod from an array of rate changes (as percentages).
Value parameters
- rateChanges
-
Array of rate changes where each value is the percentage change. e.g., 5.0 means a 5% increase, -3.0 means a 3% decrease.
Attributes
- Returns
-
RateChangesPerPeriod with the rate changes converted to factors