Esempio n. 1
0
        public static SVMProblem Convert(IntPtr ptr)
        {
            if (ptr == IntPtr.Zero)
            {
                return(null);
            }

            svm_problem x = (svm_problem)Marshal.PtrToStructure(ptr, typeof(svm_problem));

            return(SVMProblem.Convert(x));
        }