Exemple #1
0
 public floatVectorVector(floatVectorVector other) : this(fannfloatPINVOKE.new_floatVectorVector__SWIG_1(floatVectorVector.getCPtr(other)), true)
 {
     if (fannfloatPINVOKE.SWIGPendingException.Pending)
     {
         throw fannfloatPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public floatVectorVectorEnumerator(floatVectorVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, floatVectorVector values)
 {
     fannfloatPINVOKE.floatVectorVector_SetRange(swigCPtr, index, floatVectorVector.getCPtr(values));
     if (fannfloatPINVOKE.SWIGPendingException.Pending)
     {
         throw fannfloatPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
        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);
        }
Exemple #5
0
        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);
        }
Exemple #6
0
        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);
        }
Exemple #7
0
        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);
        }
Exemple #8
0
 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);
 }