public GaussianShortRealKernel(ShortRealFeatures l, ShortRealFeatures r, double width) : this(modshogunPINVOKE.new_GaussianShortRealKernel__SWIG_3(ShortRealFeatures.getCPtr(l), ShortRealFeatures.getCPtr(r), width), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ShortRealFeatures(ShortRealFeatures orig) : this(modshogunPINVOKE.new_ShortRealFeatures__SWIG_2(ShortRealFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public StreamingShortRealFeatures(ShortRealFeatures simple_features) : this(modshogunPINVOKE.new_StreamingShortRealFeatures__SWIG_3(ShortRealFeatures.getCPtr(simple_features)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public bool obtain_from_simple(ShortRealFeatures sf) { bool ret = modshogunPINVOKE.SparseShortRealFeatures_obtain_from_simple(swigCPtr, ShortRealFeatures.getCPtr(sf)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ShortRealFeatures get_transposed() { IntPtr cPtr = modshogunPINVOKE.ShortRealFeatures_get_transposed(swigCPtr); ShortRealFeatures ret = (cPtr == IntPtr.Zero) ? null : new ShortRealFeatures(cPtr, true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public GaussianShortRealKernel(ShortRealFeatures l, ShortRealFeatures r, double width) : this(modshogunPINVOKE.new_GaussianShortRealKernel__SWIG_3(ShortRealFeatures.getCPtr(l), ShortRealFeatures.getCPtr(r), width), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public StreamingShortRealFeatures(ShortRealFeatures simple_features) : this(modshogunPINVOKE.new_StreamingShortRealFeatures__SWIG_3(ShortRealFeatures.getCPtr(simple_features)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(ShortRealFeatures obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public bool obtain_from_simple(ShortRealFeatures sf) { bool ret = modshogunPINVOKE.SparseShortRealFeatures_obtain_from_simple(swigCPtr, ShortRealFeatures.getCPtr(sf)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public ShortRealFeatures(ShortRealFeatures orig) : this(modshogunPINVOKE.new_ShortRealFeatures__SWIG_2(ShortRealFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(ShortRealFeatures obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }