コード例 #1
0
 public virtual void set_int8_sparsematrix(SWIGTYPE_p_shogun__SGSparseVectorT_signed_char_t matrix, int num_feat, int num_vec)
 {
     modshogunPINVOKE.File_set_int8_sparsematrix(swigCPtr, SWIGTYPE_p_shogun__SGSparseVectorT_signed_char_t.getCPtr(matrix), num_feat, num_vec);
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_shogun__SGSparseVectorT_signed_char_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #3
0
ファイル: File.cs プロジェクト: Anshul-Bansal/gsoc
 public virtual void set_int8_sparsematrix(SWIGTYPE_p_shogun__SGSparseVectorT_signed_char_t matrix, int num_feat, int num_vec) {
   modshogunPINVOKE.File_set_int8_sparsematrix(swigCPtr, SWIGTYPE_p_shogun__SGSparseVectorT_signed_char_t.getCPtr(matrix), num_feat, num_vec);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }