All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.stochastic.RandomVariableAccumulator Maven / Gradle / Ivy

Go to download

finmath lib is a Mathematical Finance Library in Java. It provides algorithms and methodologies related to mathematical finance.

There is a newer version: 6.0.19
Show newest version
/*
 * (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
 *
 * Created on 29.06.2013
 */
package net.finmath.stochastic;


/**
 * The interface implemented by a mutable random variable accumulator.
 * An object of this class accumulates other random variables.
 * The classical application is the accumulation of discounted cash flows.
 *
 * @author Christian Fries
 * @version 1.3
 */
public interface RandomVariableAccumulator extends RandomVariable {

	void accumulate(RandomVariable randomVariable);
	void accumulate(double time, RandomVariable randomVariable);

	RandomVariable get();
	RandomVariable get(double fromTime, double toTime);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy