net.finmath.montecarlo.AbstractRandomVariableFactory Maven / Gradle / Ivy
/*
* (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
*
* Created on 09.02.2004
*/
package net.finmath.montecarlo;
import java.io.Serializable;
import net.finmath.stochastic.RandomVariableInterface;
/**
*
* @author Christian Fries
*/
public abstract class AbstractRandomVariableFactory implements Serializable{
private static final long serialVersionUID = -4412332958142580025L;
public RandomVariableInterface createRandomVariable(double value) {
return createRandomVariable(-Double.MAX_VALUE, value);
}
public abstract RandomVariableInterface createRandomVariable(double time, double value);
public abstract RandomVariableInterface createRandomVariable(double time, double[] values);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy