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); }
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; }
internal static HandleRef getCPtr(KernelMachine obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtr(KernelMachine obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }