Class FactorRegistry
java.lang.Object
com.quantfinlib.crb.FactorRegistry
Dense integer ids for risk-factor names — the
SymbolRegistry
pattern applied to the central risk book's factor space, so exposure
arithmetic runs over primitive arrays while the factor names stay
readable (EQ:AAPL, CCY:EUR, FXVEGA:EURUSD).
Grow-only; ids are registration order. Research/warm lane.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FactorRegistry
public FactorRegistry()
-
-
Method Details
-
id
Returns the id forname, registering it on first sight. -
idIfPresent
The id if registered, −1 otherwise (never registers). -
name
-
size
public int size()
-