public SparseLongFeatures(LongIntSparseVector src, int num_feat, int num_vec) : this(modshogunPINVOKE.new_SparseLongFeatures__SWIG_3(LongIntSparseVector.getCPtr(src), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public LongIntSparseMatrix(LongIntSparseVector vecs, int num_feat, int num_vec) : this(modshogunPINVOKE.new_LongIntSparseMatrix__SWIG_2(LongIntSparseVector.getCPtr(vecs), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public LongIntSparseVector(LongIntSparseVector orig) : this(modshogunPINVOKE.new_LongIntSparseVector__SWIG_5(LongIntSparseVector.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void set_long_sparsematrix(LongIntSparseVector matrix, int num_feat, int num_vec) { modshogunPINVOKE.File_set_long_sparsematrix(swigCPtr, LongIntSparseVector.getCPtr(matrix), num_feat, num_vec); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public LongIntSparseVector get_vector() { LongIntSparseVector ret = new LongIntSparseVector(modshogunPINVOKE.StreamingSparseLongFeatures_get_vector(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public LongIntSparseVector get_sparse_feature_vector(int num) { LongIntSparseVector ret = new LongIntSparseVector(modshogunPINVOKE.SparseLongFeatures_get_sparse_feature_vector(swigCPtr, num), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SparseLongFeatures(LongIntSparseVector src, int num_feat, int num_vec) : this(modshogunPINVOKE.new_SparseLongFeatures__SWIG_3(LongIntSparseVector.getCPtr(src), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public LongIntSparseVector get_sparse_feature_vector(int num) { LongIntSparseVector ret = new LongIntSparseVector(modshogunPINVOKE.SparseLongFeatures_get_sparse_feature_vector(swigCPtr, num), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public LongIntSparseVector get_vector() { LongIntSparseVector ret = new LongIntSparseVector(modshogunPINVOKE.StreamingSparseLongFeatures_get_vector(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(LongIntSparseVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public virtual void set_long_sparsematrix(LongIntSparseVector matrix, int num_feat, int num_vec) { modshogunPINVOKE.File_set_long_sparsematrix(swigCPtr, LongIntSparseVector.getCPtr(matrix), num_feat, num_vec); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public LongIntSparseVector(LongIntSparseVector orig) : this(modshogunPINVOKE.new_LongIntSparseVector__SWIG_5(LongIntSparseVector.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(LongIntSparseVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }