public SparsePolyFeatures(SparseRealFeatures feat, int degree, bool normalize, int hash_bits) : this(modshogunPINVOKE.new_SparsePolyFeatures__SWIG_1(SparseRealFeatures.getCPtr(feat), degree, normalize, hash_bits), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseEuclidianDistance(SparseRealFeatures l, SparseRealFeatures r) : this(modshogunPINVOKE.new_SparseEuclidianDistance__SWIG_1(SparseRealFeatures.getCPtr(l), SparseRealFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseRealFeatures(SparseRealFeatures orig) : this(modshogunPINVOKE.new_SparseRealFeatures__SWIG_6(SparseRealFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public void set_sparse_features(SparseRealFeatures seq_sparse1, SparseRealFeatures seq_sparse2) { modshogunPINVOKE.DynProg_set_sparse_features(swigCPtr, SparseRealFeatures.getCPtr(seq_sparse1), SparseRealFeatures.getCPtr(seq_sparse2)); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } }
public SparseRealFeatures get_transposed() { IntPtr cPtr = modshogunPINVOKE.SparseRealFeatures_get_transposed(swigCPtr); SparseRealFeatures ret = (cPtr == IntPtr.Zero) ? null : new SparseRealFeatures(cPtr, true); if (modshogunPINVOKE.SWIGPendingException.Pending) { throw modshogunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SparseEuclidianDistance(SparseRealFeatures l, SparseRealFeatures r) : this(modshogunPINVOKE.new_SparseEuclidianDistance__SWIG_1(SparseRealFeatures.getCPtr(l), SparseRealFeatures.getCPtr(r)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public SparsePolyFeatures(SparseRealFeatures feat, int degree, bool normalize, int hash_bits) : this(modshogunPINVOKE.new_SparsePolyFeatures__SWIG_1(SparseRealFeatures.getCPtr(feat), degree, normalize, hash_bits), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(SparseRealFeatures obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public void set_sparse_features(SparseRealFeatures seq_sparse1, SparseRealFeatures seq_sparse2) { modshogunPINVOKE.DynProg_set_sparse_features(swigCPtr, SparseRealFeatures.getCPtr(seq_sparse1), SparseRealFeatures.getCPtr(seq_sparse2)); if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
public SparseRealFeatures(SparseRealFeatures orig) : this(modshogunPINVOKE.new_SparseRealFeatures__SWIG_6(SparseRealFeatures.getCPtr(orig)), true) { if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(SparseRealFeatures obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }