예제 #1
0
 public LongIntSparseMatrix(LongIntSparseMatrix orig) : this(modshogunPINVOKE.new_LongIntSparseMatrix__SWIG_5(LongIntSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public SparseLongFeatures(LongIntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseLongFeatures__SWIG_4(LongIntSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
 public void set_sparse_feature_matrix(LongIntSparseMatrix sm)
 {
     modshogunPINVOKE.SparseLongFeatures_set_sparse_feature_matrix(swigCPtr, LongIntSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
    public LongIntSparseMatrix get_sparse_feature_matrix()
    {
        LongIntSparseMatrix ret = new LongIntSparseMatrix(modshogunPINVOKE.SparseLongFeatures_get_sparse_feature_matrix(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
예제 #5
0
 public SparseLongFeatures(LongIntSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseLongFeatures__SWIG_4(LongIntSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #6
0
 public void set_sparse_feature_matrix(LongIntSparseMatrix sm) {
   modshogunPINVOKE.SparseLongFeatures_set_sparse_feature_matrix(swigCPtr, LongIntSparseMatrix.getCPtr(sm));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #7
0
 public LongIntSparseMatrix get_sparse_feature_matrix() {
   LongIntSparseMatrix ret = new LongIntSparseMatrix(modshogunPINVOKE.SparseLongFeatures_get_sparse_feature_matrix(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
예제 #8
0
 internal static HandleRef getCPtr(LongIntSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }