com.opengamma.strata.math.impl.interpolation.WeightingFunctions 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) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.math.impl.interpolation;
/**
* Constants and implementations for standard weighting functions.
*
* Each constant returns a standard weighting function.
*/
public final class WeightingFunctions {
/**
* Weighting function.
*/
public static final WeightingFunction LINEAR = LinearWeightingFunction.INSTANCE;
/**
* Weighting function based on {@code Math.sin}.
*/
public static final WeightingFunction SINE = SineWeightingFunction.INSTANCE;
//-------------------------------------------------------------------------
/**
* Restricted constructor.
*/
private WeightingFunctions() {
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy