Encog.MathUtil.LIBSVM.SVR_Q.SVR_Q C# (CSharp) Method

SVR_Q() private method

private SVR_Q ( svm_problem prob, svm_parameter param ) : System
prob svm_problem
param svm_parameter
return System
        internal SVR_Q(svm_problem prob, svm_parameter param) : base(prob.l, prob.x, param)
        {
            l = prob.l;
            //UPGRADE_WARNING: Data types in Visual C# might be different.  Verify the accuracy of narrowing conversions. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1042_3"'
            cache = new Cache(l, (int) (param.cache_size*(1 << 20)));
            sign = new sbyte[2*l];
            index = new int[2*l];
            for (int k = 0; k < l; k++)
            {
                sign[k] = 1;
                sign[k + l] = - 1;
                index[k] = k;
                index[k + l] = k;
            }
            buffer = new float[2][];
            for (int i = 0; i < 2; i++)
            {
                buffer[i] = new float[2*l];
            }
            next_buffer = 0;
        }