Home > @josh-brown/vector > ApproximationFunctionTemplate
A higher-order function which is used to generate an ApproximationFunction. This must be linear in its coefficients, or the result of the linear regression will not be correct.
Signature:
export type ApproximationFunctionTemplate<S> = (coefficients: Vector<S>) => ApproximationFunction<S>;References: Vector, ApproximationFunction