Example #1
0
 public virtual void set_sparse_matrix(SWIGTYPE_p_shogun__SGSparseVectorT_short_t matrix, int num_feat, int num_vec)
 {
     modshogunPINVOKE.File_set_sparse_matrix__SWIG_4(swigCPtr, SWIGTYPE_p_shogun__SGSparseVectorT_short_t.getCPtr(matrix), num_feat, num_vec);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public override void get_sparse_matrix(SWIGTYPE_p_shogun__SGSparseVectorT_short_t matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec)
 {
     modshogunPINVOKE.BinaryFile_get_sparse_matrix__SWIG_4(swigCPtr, SWIGTYPE_p_shogun__SGSparseVectorT_short_t.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public override void set_sparse_matrix(SWIGTYPE_p_shogun__SGSparseVectorT_short_t matrix, int num_feat, int num_vec) {
   modshogunPINVOKE.BinaryFile_set_sparse_matrix__SWIG_4(swigCPtr, SWIGTYPE_p_shogun__SGSparseVectorT_short_t.getCPtr(matrix), num_feat, num_vec);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGSparseVectorT_short_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGSparseVectorT_short_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #6
0
 public virtual void get_sparse_matrix(SWIGTYPE_p_shogun__SGSparseVectorT_short_t matrix, SWIGTYPE_p_int num_feat, SWIGTYPE_p_int num_vec) {
   modshogunPINVOKE.File_get_sparse_matrix__SWIG_4(swigCPtr, SWIGTYPE_p_shogun__SGSparseVectorT_short_t.getCPtr(matrix), SWIGTYPE_p_int.getCPtr(num_feat), SWIGTYPE_p_int.getCPtr(num_vec));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }