public floatVectorVector(floatVectorVector other) : this(fannfloatPINVOKE.new_floatVectorVector__SWIG_1(floatVectorVector.getCPtr(other)), true) { if (fannfloatPINVOKE.SWIGPendingException.Pending) { throw fannfloatPINVOKE.SWIGPendingException.Retrieve(); } }
public floatVectorVectorEnumerator(floatVectorVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, floatVectorVector values) { fannfloatPINVOKE.floatVectorVector_SetRange(swigCPtr, index, floatVectorVector.getCPtr(values)); if (fannfloatPINVOKE.SWIGPendingException.Pending) { throw fannfloatPINVOKE.SWIGPendingException.Retrieve(); } }
public static floatVectorVector Repeat(floatVector value, int count) { global::System.IntPtr cPtr = fannfloatPINVOKE.floatVectorVector_Repeat(floatVector.getCPtr(value), count); floatVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new floatVectorVector(cPtr, true); if (fannfloatPINVOKE.SWIGPendingException.Pending) { throw fannfloatPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public floatVectorVector GetRange(int index, int count) { global::System.IntPtr cPtr = fannfloatPINVOKE.floatVectorVector_GetRange(swigCPtr, index, count); floatVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new floatVectorVector(cPtr, true); if (fannfloatPINVOKE.SWIGPendingException.Pending) { throw fannfloatPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static float train_epoch_sarprop_parallel(SWIGTYPE_p_fann ann, SWIGTYPE_p_fann_train_data data, uint threadnumb, floatVectorVector predicted_outputs) { float ret = fannfloatPINVOKE.train_epoch_sarprop_parallel__SWIG_1(SWIGTYPE_p_fann.getCPtr(ann), SWIGTYPE_p_fann_train_data.getCPtr(data), threadnumb, floatVectorVector.getCPtr(predicted_outputs)); if (fannfloatPINVOKE.SWIGPendingException.Pending) { throw fannfloatPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static float train_epoch_incremental_mod(SWIGTYPE_p_fann ann, SWIGTYPE_p_fann_train_data data, floatVectorVector predicted_outputs) { float ret = fannfloatPINVOKE.train_epoch_incremental_mod__SWIG_1(SWIGTYPE_p_fann.getCPtr(ann), SWIGTYPE_p_fann_train_data.getCPtr(data), floatVectorVector.getCPtr(predicted_outputs)); if (fannfloatPINVOKE.SWIGPendingException.Pending) { throw fannfloatPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(floatVectorVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }