In mathematics, a positive-definite function is, depending on the context, either of two types of function.