public virtual bool set_normalizer(KernelNormalizer normalizer) { bool ret = modshogunPINVOKE.Kernel_set_normalizer(swigCPtr, KernelNormalizer.getCPtr(normalizer)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MultitaskKernelNormalizer KernelNormalizerToMultitaskKernelNormalizer(KernelNormalizer n) { IntPtr cPtr = modshogunPINVOKE.MultitaskKernelNormalizer_KernelNormalizerToMultitaskKernelNormalizer(swigCPtr, KernelNormalizer.getCPtr(n)); MultitaskKernelNormalizer ret = (cPtr == IntPtr.Zero) ? null : new MultitaskKernelNormalizer(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual KernelNormalizer get_normalizer() { IntPtr cPtr = modshogunPINVOKE.Kernel_get_normalizer(swigCPtr); KernelNormalizer ret = (cPtr == IntPtr.Zero) ? null : new KernelNormalizer(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(KernelNormalizer obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public MultitaskKernelTreeNormalizer KernelNormalizerToMultitaskKernelTreeNormalizer(KernelNormalizer n) { IntPtr cPtr = modshogunPINVOKE.MultitaskKernelTreeNormalizer_KernelNormalizerToMultitaskKernelTreeNormalizer(swigCPtr, KernelNormalizer.getCPtr(n)); MultitaskKernelTreeNormalizer ret = (cPtr == IntPtr.Zero) ? null : new MultitaskKernelTreeNormalizer(cPtr, false); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public virtual bool set_normalizer(KernelNormalizer normalizer) { bool ret = modshogunPINVOKE.Kernel_set_normalizer(swigCPtr, KernelNormalizer.getCPtr(normalizer)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(KernelNormalizer obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public ScatterKernelNormalizer(double const_diag, double const_offdiag, Labels labels, KernelNormalizer normalizer) : this(modshogunPINVOKE.new_ScatterKernelNormalizer__SWIG_1(const_diag, const_offdiag, Labels.getCPtr(labels), KernelNormalizer.getCPtr(normalizer)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }