Example #1
0
 public virtual void get_sparse_vector_and_label(SWIGTYPE_p_SGSparseVectorEntryT_short_t vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label)
 {
     modshogunPINVOKE.StreamingFile_get_sparse_vector_and_label__SWIG_6(swigCPtr, SWIGTYPE_p_SGSparseVectorEntryT_short_t.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public override void get_sparse_vector(SWIGTYPE_p_SGSparseVectorEntryT_short_t vector, SWIGTYPE_p_int len)
 {
     modshogunPINVOKE.StreamingAsciiFile_get_sparse_vector__SWIG_6(swigCPtr, SWIGTYPE_p_SGSparseVectorEntryT_short_t.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_SGSparseVectorEntryT_short_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #4
0
 public virtual void get_sparse_vector_and_label(SWIGTYPE_p_SGSparseVectorEntryT_short_t vector, SWIGTYPE_p_int len, SWIGTYPE_p_double label) {
   modshogunPINVOKE.StreamingFile_get_sparse_vector_and_label__SWIG_6(swigCPtr, SWIGTYPE_p_SGSparseVectorEntryT_short_t.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len), SWIGTYPE_p_double.getCPtr(label));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #5
0
 internal static HandleRef getCPtr(SWIGTYPE_p_SGSparseVectorEntryT_short_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #6
0
 public override void get_sparse_vector(SWIGTYPE_p_SGSparseVectorEntryT_short_t vector, SWIGTYPE_p_int len) {
   modshogunPINVOKE.StreamingAsciiFile_get_sparse_vector__SWIG_6(swigCPtr, SWIGTYPE_p_SGSparseVectorEntryT_short_t.getCPtr(vector), SWIGTYPE_p_int.getCPtr(len));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }