Accord.Statistics.Kernels.TStudent.Function C# (CSharp) Method

Function() public method

Generalized T-Student Kernel function.
public Function ( double z ) : double
z double Distance z in input space.
return double
        public double Function(double z)
        {
            return 1.0 / (1.0 + System.Math.Pow(z, degree));
        }

Same methods

TStudent::Function ( double x, double y ) : double