예제 #1
0
 public ShortRealSparseMatrix(ShortRealSparseMatrix orig) : this(modshogunPINVOKE.new_ShortRealSparseMatrix__SWIG_5(ShortRealSparseMatrix.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public SparseShortRealFeatures(ShortRealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseShortRealFeatures__SWIG_4(ShortRealSparseMatrix.getCPtr(sparse)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #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();
     }
 }
예제 #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);
    }
예제 #5
0
 public ShortRealSparseMatrix(ShortRealSparseMatrix orig) : this(modshogunPINVOKE.new_ShortRealSparseMatrix__SWIG_5(ShortRealSparseMatrix.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #6
0
 internal static HandleRef getCPtr(ShortRealSparseMatrix obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #7
0
 internal static HandleRef getCPtr(ShortRealSparseMatrix obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #8
0
 public SparseShortRealFeatures(ShortRealSparseMatrix sparse) : this(modshogunPINVOKE.new_SparseShortRealFeatures__SWIG_4(ShortRealSparseMatrix.getCPtr(sparse)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #9
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();
 }
예제 #10
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;
 }