Example #1
0
 public CharSparseMatrix(CharSparseMatrix orig) : this(modshogunPINVOKE.new_CharSparseMatrix__SWIG_5(CharSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public SparseCharFeatures(CharSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseCharFeatures__SWIG_4(CharSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public void set_sparse_feature_matrix(CharSparseMatrix sm)
 {
     modshogunPINVOKE.SparseCharFeatures_set_sparse_feature_matrix(swigCPtr, CharSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
    public CharSparseMatrix get_sparse_feature_matrix()
    {
        CharSparseMatrix ret = new CharSparseMatrix(modshogunPINVOKE.SparseCharFeatures_get_sparse_feature_matrix(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
 internal static HandleRef getCPtr(CharSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Example #6
0
 public CharSparseMatrix(CharSparseMatrix orig) : this(modshogunPINVOKE.new_CharSparseMatrix__SWIG_5(CharSparseMatrix.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #7
0
 internal static HandleRef getCPtr(CharSparseMatrix obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #8
0
 public SparseCharFeatures(CharSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseCharFeatures__SWIG_4(CharSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #9
0
 public void set_sparse_feature_matrix(CharSparseMatrix sm) {
   modshogunPINVOKE.SparseCharFeatures_set_sparse_feature_matrix(swigCPtr, CharSparseMatrix.getCPtr(sm));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #10
0
 public CharSparseMatrix get_sparse_feature_matrix() {
   CharSparseMatrix ret = new CharSparseMatrix(modshogunPINVOKE.SparseCharFeatures_get_sparse_feature_matrix(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }