public SparseUlongFeatures(ULongIntSparseVector src, int num_feat, int num_vec) : this(modshogunPINVOKE.new_SparseUlongFeatures__SWIG_3(ULongIntSparseVector.getCPtr(src), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ULongIntSparseVector(ULongIntSparseVector orig) : this(modshogunPINVOKE.new_ULongIntSparseVector__SWIG_5(ULongIntSparseVector.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ULongIntSparseMatrix(ULongIntSparseVector vecs, int num_feat, int num_vec) : this(modshogunPINVOKE.new_ULongIntSparseMatrix__SWIG_2(ULongIntSparseVector.getCPtr(vecs), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void set_ulong_sparsematrix(ULongIntSparseVector matrix, int num_feat, int num_vec) { modshogunPINVOKE.File_set_ulong_sparsematrix(swigCPtr, ULongIntSparseVector.getCPtr(matrix), num_feat, num_vec); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public ULongIntSparseVector get_sparse_feature_vector(int num) { ULongIntSparseVector ret = new ULongIntSparseVector(modshogunPINVOKE.SparseUlongFeatures_get_sparse_feature_vector(swigCPtr, num), true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ULongIntSparseMatrix(ULongIntSparseVector vecs, int num_feat, int num_vec) : this(modshogunPINVOKE.new_ULongIntSparseMatrix__SWIG_2(ULongIntSparseVector.getCPtr(vecs), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(ULongIntSparseVector obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public virtual void set_ulong_sparsematrix(ULongIntSparseVector matrix, int num_feat, int num_vec) { modshogunPINVOKE.File_set_ulong_sparsematrix(swigCPtr, ULongIntSparseVector.getCPtr(matrix), num_feat, num_vec); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public SparseUlongFeatures(ULongIntSparseVector src, int num_feat, int num_vec) : this(modshogunPINVOKE.new_SparseUlongFeatures__SWIG_3(ULongIntSparseVector.getCPtr(src), num_feat, num_vec), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public ULongIntSparseVector get_sparse_feature_vector(int num) { ULongIntSparseVector ret = new ULongIntSparseVector(modshogunPINVOKE.SparseUlongFeatures_get_sparse_feature_vector(swigCPtr, num), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public ULongIntSparseVector(ULongIntSparseVector orig) : this(modshogunPINVOKE.new_ULongIntSparseVector__SWIG_5(ULongIntSparseVector.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(ULongIntSparseVector obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public ULongIntSparseVector get_vector() { ULongIntSparseVector ret = new ULongIntSparseVector(modshogunPINVOKE.StreamingSparseUlongFeatures_get_vector(swigCPtr), true); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); return ret; }