public TensorProductPairKernel(IntFeatures l, IntFeatures r, Kernel subkernel) : this(modshogunPINVOKE.new_TensorProductPairKernel__SWIG_2(IntFeatures.getCPtr(l), IntFeatures.getCPtr(r), Kernel.getCPtr(subkernel)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public IntFeatures(IntFeatures orig) : this(modshogunPINVOKE.new_IntFeatures__SWIG_2(IntFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public StreamingIntFeatures(IntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingIntFeatures__SWIG_3(IntFeatures.getCPtr(simple_features)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public StreamingIntFeatures(IntFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingIntFeatures__SWIG_2(IntFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public bool obtain_from_simple(IntFeatures sf) { bool ret = modshogunPINVOKE.SparseIntFeatures_obtain_from_simple(swigCPtr, IntFeatures.getCPtr(sf)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public IntFeatures get_transposed() { IntPtr cPtr = modshogunPINVOKE.IntFeatures_get_transposed(swigCPtr); IntFeatures ret = (cPtr == IntPtr.Zero) ? null : new IntFeatures(cPtr, true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public IntFeatures(IntFeatures orig) : this(modshogunPINVOKE.new_IntFeatures__SWIG_2(IntFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(IntFeatures obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public TensorProductPairKernel(IntFeatures l, IntFeatures r, Kernel subkernel) : this(modshogunPINVOKE.new_TensorProductPairKernel__SWIG_2(IntFeatures.getCPtr(l), IntFeatures.getCPtr(r), Kernel.getCPtr(subkernel)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public StreamingIntFeatures(IntFeatures simple_features) : this(modshogunPINVOKE.new_StreamingIntFeatures__SWIG_3(IntFeatures.getCPtr(simple_features)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public StreamingIntFeatures(IntFeatures simple_features, SWIGTYPE_p_double lab) : this(modshogunPINVOKE.new_StreamingIntFeatures__SWIG_2(IntFeatures.getCPtr(simple_features), SWIGTYPE_p_double.getCPtr(lab)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(IntFeatures obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }