public HTKFeatureConfigurationVector(HTKFeatureConfigurationVector other) : this(CNTKLibPINVOKE.new_HTKFeatureConfigurationVector__SWIG_1(HTKFeatureConfigurationVector.getCPtr(other)), true) { if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
public HTKFeatureConfigurationVectorEnumerator(HTKFeatureConfigurationVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, HTKFeatureConfigurationVector values) { CNTKLibPINVOKE.HTKFeatureConfigurationVector_SetRange(swigCPtr, index, HTKFeatureConfigurationVector.getCPtr(values)); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } }
public static HTKFeatureConfigurationVector Repeat(HTKFeatureConfiguration value, int count) { global::System.IntPtr cPtr = CNTKLibPINVOKE.HTKFeatureConfigurationVector_Repeat(HTKFeatureConfiguration.getCPtr(value), count); HTKFeatureConfigurationVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new HTKFeatureConfigurationVector(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public HTKFeatureConfigurationVector GetRange(int index, int count) { global::System.IntPtr cPtr = CNTKLibPINVOKE.HTKFeatureConfigurationVector_GetRange(swigCPtr, index, count); HTKFeatureConfigurationVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new HTKFeatureConfigurationVector(cPtr, true); if (CNTKLibPINVOKE.SWIGPendingException.Pending) { throw CNTKLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HTKFeatureConfigurationVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }