SSJ  3.2.1 Stochastic Simulation in Java
Package umontreal.ssj.functions

Functions utilities. More...

## Classes

class  AverageMathFunction
Represents a function computing the average of several functions. More...

class  IdentityMathFunction
Represents the identity function $$f(x)=x$$. More...

interface  MathFunction
This interface should be implemented by classes which represent univariate mathematical functions. More...

class  MathFunctionUtil
Provides utility methods for computing derivatives and integrals of functions. More...

interface  MathFunctionWithDerivative
Represents a mathematical function whose $$n$$th derivative can be computed using derivative(double,int). More...

interface  MathFunctionWithFirstDerivative
Represents a mathematical function whose derivative can be computed using derivative(double). More...

interface  MathFunctionWithIntegral
Represents a mathematical function whose integral can be computed by the integral(double,double) method. More...

interface  MultiFunction
This interface should be implemented by classes which represent multivariate mathematical functions. More...

class  PiecewiseConstantFunction
Represents a piecewise-constant function. More...

class  Polynomial
Represents a polynomial of degree $$n$$ in power form. More...

class  PowerMathFunction
Represents a function computing $$(af(x) + b)^p$$ for a user-defined function $$f(x)$$ and power $$p$$. More...

class  ShiftedMathFunction
Represents a function computing $$f(x) - \delta$$ for a user-defined function $$f(x)$$ and shift $$\delta$$. More...

class  SqrtMathFunction
Represents a function computing the square root of another function $$f(x)$$. More...

class  SquareMathFunction
Represents a function computing $$(af(x) + b)^2$$ for a user-defined function $$f(x)$$. More...

## Detailed Description

Functions utilities.

This package contains a few utilities classes representing univariate mathematical functions. They are useful, for example, when one wants to pass an arbitrary function of one variable as argument to a method. They allow one to apply mathematical operations like squaring, power, etc. on generic functions. There are also utilities for numerical differentiation and integration.