예제 #1
0
    public virtual bool init_optimization(KernelMachine km)
    {
        bool ret = modshogunPINVOKE.LinearKernel_init_optimization__SWIG_1(swigCPtr, KernelMachine.getCPtr(km));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #2
0
 public virtual bool init_optimization(KernelMachine km) {
   bool ret = modshogunPINVOKE.LinearKernel_init_optimization__SWIG_1(swigCPtr, KernelMachine.getCPtr(km));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #3
0
 internal static HandleRef getCPtr(KernelMachine obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #4
0
 internal static HandleRef getCPtr(KernelMachine obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }