Class GaussianSpotLossLM
- Namespace
- NanoQL.Experimental
- Assembly
- NanoQL.dll
The spot-recovery latent model on the Gaussian copula: QuantLib's typedef GaussianSpotLossLM.
[Experimental("NQL0001")]
public sealed class GaussianSpotLossLM : SpotRecoveryLatentModel<GaussianCopulaPolicy, GaussianCopulaPolicyInitTraits>
- Inheritance
-
GaussianSpotLossLM
- Inherited Members
Constructors
GaussianSpotLossLM(IReadOnlyList<IReadOnlyList<double>>, IReadOnlyList<double>, double, LatentModelIntegrationType, GaussianCopulaPolicyInitTraits)
Initializes a new instance of the GaussianSpotLossLM class.
public GaussianSpotLossLM(IReadOnlyList<IReadOnlyList<double>> factorWeights, IReadOnlyList<double> recoveries, double modelA, LatentModelIntegrationType integralType, GaussianCopulaPolicyInitTraits initTraits = default)
Parameters
factorWeightsIReadOnlyList<IReadOnlyList<double>>The weights of the n default variables, then of the n recovery variables.
recoveriesIReadOnlyList<double>The names' recoveries.
modelAdoubleThe model's parameter A, not 0.
integralTypeLatentModelIntegrationTypeThe integration's type.
initTraitsGaussianCopulaPolicyInitTraitsThe policy's initialization parameters.
Exceptions
- ArgumentNullException
A list is null.
- ArgumentException
The weights' rows are odd in number, the recoveries don't match the names, or A is 0.