Esempio n. 1
0
 public RealSparseMatrix(RealSparseMatrix orig) : this(modshogunPINVOKE.new_RealSparseMatrix__SWIG_5(RealSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public SparseRealFeatures(RealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseRealFeatures__SWIG_4(RealSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void set_sparse_feature_matrix(RealSparseMatrix sm)
 {
     modshogunPINVOKE.SparseRealFeatures_set_sparse_feature_matrix(swigCPtr, RealSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public RealSparseMatrix get_sparse_feature_matrix()
    {
        RealSparseMatrix ret = new RealSparseMatrix(modshogunPINVOKE.SparseRealFeatures_get_sparse_feature_matrix(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 5
0
 internal static HandleRef getCPtr(RealSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 6
0
 public RealSparseMatrix(RealSparseMatrix orig) : this(modshogunPINVOKE.new_RealSparseMatrix__SWIG_5(RealSparseMatrix.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 7
0
 internal static HandleRef getCPtr(RealSparseMatrix obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 8
0
 public SparseRealFeatures(RealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseRealFeatures__SWIG_4(RealSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 9
0
 public void set_sparse_feature_matrix(RealSparseMatrix sm) {
   modshogunPINVOKE.SparseRealFeatures_set_sparse_feature_matrix(swigCPtr, RealSparseMatrix.getCPtr(sm));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 10
0
 public RealSparseMatrix get_sparse_feature_matrix() {
   RealSparseMatrix ret = new RealSparseMatrix(modshogunPINVOKE.SparseRealFeatures_get_sparse_feature_matrix(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }