com.opengamma.strata.math.impl.minimization.Minimizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of strata-math Show documentation
Show all versions of strata-math Show documentation
Mathematic support for Strata
/*
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.math.impl.minimization;
import java.util.function.Function;
/**
* Interface that finds the minimum value of a function. The function must be one-dimensional but the input type is not constrained
* @param The type of the function
* @param The type of the start position for the minimization
*/
public interface Minimizer, S> {
/**
* @param function The function to be minimized, not null
* @param startPosition The start position
* @return The minimum
*/
public abstract S minimize(F function, S startPosition);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy