public ShortRealSparseMatrix(ShortRealSparseMatrix orig) : this(modshogunPINVOKE.new_ShortRealSparseMatrix__SWIG_5(ShortRealSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public SparseShortRealFeatures(ShortRealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseShortRealFeatures__SWIG_4(ShortRealSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public void set_sparse_feature_matrix(ShortRealSparseMatrix sm)
 {
     modshogunPINVOKE.SparseShortRealFeatures_set_sparse_feature_matrix(swigCPtr, ShortRealSparseMatrix.getCPtr(sm));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public ShortRealSparseMatrix get_sparse_feature_matrix()
    {
        ShortRealSparseMatrix ret = new ShortRealSparseMatrix(modshogunPINVOKE.SparseShortRealFeatures_get_sparse_feature_matrix(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public ShortRealSparseMatrix(ShortRealSparseMatrix orig) : this(modshogunPINVOKE.new_ShortRealSparseMatrix__SWIG_5(ShortRealSparseMatrix.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(ShortRealSparseMatrix obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(ShortRealSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public SparseShortRealFeatures(ShortRealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseShortRealFeatures__SWIG_4(ShortRealSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public void set_sparse_feature_matrix(ShortRealSparseMatrix sm) {
   modshogunPINVOKE.SparseShortRealFeatures_set_sparse_feature_matrix(swigCPtr, ShortRealSparseMatrix.getCPtr(sm));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 public ShortRealSparseMatrix get_sparse_feature_matrix() {
   ShortRealSparseMatrix ret = new ShortRealSparseMatrix(modshogunPINVOKE.SparseShortRealFeatures_get_sparse_feature_matrix(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }