# SuanShu, a Java numerical and statistical library

## Package com.numericalmethod.suanshu.analysis.function.rn2r1

Interface Summary
BivariateRealFunction A bivariate real function takes two real arguments and outputs one real value.
RealScalarFunction A real valued function a $$R^n \rightarrow R$$ function, $$y = f(x_1, ..., x_n)$$.
TrivariateRealFunction A trivariate real function takes three real arguments and outputs one real value.

Class Summary
AbstractBivariateRealFunction A bivariate real function takes two real arguments and outputs one real value.
AbstractRealScalarFunction This abstract implementation implements Function.dimensionOfRange() by always returning 1, and Function.dimensionOfDomain() by returning the input argument for the dimension of domain.
AbstractTrivariateRealFunction A trivariate real function takes three real arguments and outputs one real value.
QuadraticFunction A quadratic function takes this form: $$f(x) = \frac{1}{2} \times x'Hx + x'p + c$$.
R1Projection Projection creates a real-valued function RealScalarFunction from a vector-valued function RealVectorFunction by taking only one of its coordinate components in the vector output.
RealScalarSubFunction This constructs a RealScalarFunction from another RealScalarFunction by restricting/fixing the values of a subset of variables.