Пример #1
0
 public SparseByteFeatures(ByteSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseByteFeatures__SWIG_4(ByteSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public ByteSparseMatrix(ByteSparseMatrix orig) : this(modshogunPINVOKE.new_ByteSparseMatrix__SWIG_5(ByteSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
 public void set_sparse_feature_matrix(ByteSparseMatrix sm)
 {
     modshogunPINVOKE.SparseByteFeatures_set_sparse_feature_matrix(swigCPtr, ByteSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
    public ByteSparseMatrix get_sparse_feature_matrix()
    {
        ByteSparseMatrix ret = new ByteSparseMatrix(modshogunPINVOKE.SparseByteFeatures_get_sparse_feature_matrix(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Пример #5
0
 public ByteSparseMatrix(ByteSparseMatrix orig) : this(modshogunPINVOKE.new_ByteSparseMatrix__SWIG_5(ByteSparseMatrix.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #6
0
 internal static HandleRef getCPtr(ByteSparseMatrix obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Пример #7
0
 public SparseByteFeatures(ByteSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseByteFeatures__SWIG_4(ByteSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #8
0
 public void set_sparse_feature_matrix(ByteSparseMatrix sm) {
   modshogunPINVOKE.SparseByteFeatures_set_sparse_feature_matrix(swigCPtr, ByteSparseMatrix.getCPtr(sm));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Пример #9
0
 public ByteSparseMatrix get_sparse_feature_matrix() {
   ByteSparseMatrix ret = new ByteSparseMatrix(modshogunPINVOKE.SparseByteFeatures_get_sparse_feature_matrix(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #10
0
 internal static HandleRef getCPtr(ByteSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }