using System;
namespace Science.Mathematics
{
///
/// A function is a relation that uniquely associates
/// members of one set with members of another set.
/// More formally, a function from A to B is an object f
/// such that every a in A is uniquely associated with
/// an object f(a) in B. A function is therefore
/// a many-to-one (or sometimes one-to-one) relation.
///
public class Function
{
public Function()
{
}
public delegate void ToVoid(T x);
public delegate void ToVoid(T x, U y);
public delegate void ToVoid(T x, U y, V z);
public delegate void ToVoid(T x, U y, V z, W t);
public delegate R ToLastType();
public delegate R ToLastType(T x);
public delegate R ToLastType(T x, U y);
public delegate R ToLastType(T x, U y, V z);
public delegate R ToLastType(T x, U y, V z, W t);
}
}