SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
Package umontreal.ssj.functions

Univariate functions as Java objects. 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. More...
class  SquareMathFunction
 Represents a function computing \((af(x) + b)^2\) for a user-defined function \(f(x)\). More...

Detailed Description

Univariate functions as Java objects.

This package contains utility classes to represent univariate mathematical functions. They are useful, for example, when we want to pass such a function as argument to a method. They permit one to apply mathematical operations such as squaring, power, etc. on generic functions. There are also a few basic utilities for numerical differentiation and integration.