Example #1
0
        /*************************************************************************
        This function initializes QPCholeskySettings structure with default settings.

        Newly created structure MUST be initialized by default settings  -  or  by
        copy of the already initialized structure.

          -- ALGLIB --
             Copyright 14.05.2011 by Bochkanov Sergey
        *************************************************************************/
        public static void qpcholeskyloaddefaults(int nmain,
            qpcholeskysettings s)
        {
            s.epsg = 0.0;
            s.epsf = 0.0;
            s.epsx = 1.0E-6;
            s.maxits = 0;
        }
Example #2
0
        /*************************************************************************
        This function initializes QPCholeskySettings  structure  with  copy  of  another,
        already initialized structure.

          -- ALGLIB --
             Copyright 14.05.2011 by Bochkanov Sergey
        *************************************************************************/
        public static void qpcholeskycopysettings(qpcholeskysettings src,
            qpcholeskysettings dst)
        {
            dst.epsg = src.epsg;
            dst.epsf = src.epsf;
            dst.epsx = src.epsx;
            dst.maxits = src.maxits;
        }
Example #3
0
 public override alglib.apobject make_copy()
 {
     qpcholeskysettings _result = new qpcholeskysettings();
     _result.epsg = epsg;
     _result.epsf = epsf;
     _result.epsx = epsx;
     _result.maxits = maxits;
     return _result;
 }