public abstract class AbstractRandomVariableDifferentiableFactory extends AbstractRandomVariableFactory
AbstractRandomVariableFactory
providing
random variables implementing RandomVariableDifferentiable
.Constructor and Description |
---|
AbstractRandomVariableDifferentiableFactory() |
AbstractRandomVariableDifferentiableFactory(RandomVariableFactory randomVariableFactoryForNonDifferentiable)
Construct an object extending
AbstractRandomVariableDifferentiableFactory
with a specific AbstractRandomVariableFactory for the storage of values. |
Modifier and Type | Method and Description |
---|---|
RandomVariableDifferentiable |
createRandomVariable(double value)
Create a (deterministic) random variable form a constant.
|
abstract RandomVariableDifferentiable |
createRandomVariable(double time,
double value)
Create a (deterministic) random variable form a constant using a specific filtration time.
|
abstract RandomVariableDifferentiable |
createRandomVariable(double time,
double[] values)
Create a random variable form an array using a specific filtration time.
|
RandomVariable |
createRandomVariableNonDifferentiable(double time,
double value) |
RandomVariable |
createRandomVariableNonDifferentiable(double time,
double[] values) |
String |
toString() |
createRandomVariableArray, createRandomVariableMatrix
public AbstractRandomVariableDifferentiableFactory(RandomVariableFactory randomVariableFactoryForNonDifferentiable)
AbstractRandomVariableDifferentiableFactory
with a specific AbstractRandomVariableFactory
for the storage of values.randomVariableFactoryForNonDifferentiable
- Random variable factory to be used for the storage of values.public AbstractRandomVariableDifferentiableFactory()
public RandomVariableDifferentiable createRandomVariable(double value)
RandomVariableFactory
createRandomVariable
in interface RandomVariableFactory
createRandomVariable
in class AbstractRandomVariableFactory
value
- A constant value.RandomVariable
.public abstract RandomVariableDifferentiable createRandomVariable(double time, double value)
RandomVariableFactory
createRandomVariable
in interface RandomVariableFactory
createRandomVariable
in class AbstractRandomVariableFactory
time
- The filtration time of the random variable.value
- A constant value.RandomVariable
.public abstract RandomVariableDifferentiable createRandomVariable(double time, double[] values)
RandomVariableFactory
createRandomVariable
in interface RandomVariableFactory
createRandomVariable
in class AbstractRandomVariableFactory
time
- The filtration time of the random variable.values
- Array representing values of the random variable at the sample paths.RandomVariable
.public RandomVariable createRandomVariableNonDifferentiable(double time, double value)
public RandomVariable createRandomVariableNonDifferentiable(double time, double[] values)
Copyright © 2020. All rights reserved.