示例#1
0
 public doubleVectorVector(doubleVectorVector other) : this(fanndoublePINVOKE.new_doubleVectorVector__SWIG_1(doubleVectorVector.getCPtr(other)), true)
 {
     if (fanndoublePINVOKE.SWIGPendingException.Pending)
     {
         throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public doubleVectorVectorEnumerator(doubleVectorVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, doubleVectorVector values)
 {
     fanndoublePINVOKE.doubleVectorVector_SetRange(swigCPtr, index, doubleVectorVector.getCPtr(values));
     if (fanndoublePINVOKE.SWIGPendingException.Pending)
     {
         throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public static doubleVectorVector Repeat(doubleVector value, int count)
        {
            global::System.IntPtr cPtr = fanndoublePINVOKE.doubleVectorVector_Repeat(doubleVector.getCPtr(value), count);
            doubleVectorVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new doubleVectorVector(cPtr, true);

            if (fanndoublePINVOKE.SWIGPendingException.Pending)
            {
                throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
        public doubleVectorVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = fanndoublePINVOKE.doubleVectorVector_GetRange(swigCPtr, index, count);
            doubleVectorVector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new doubleVectorVector(cPtr, true);

            if (fanndoublePINVOKE.SWIGPendingException.Pending)
            {
                throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(doubleVectorVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#7
0
        public static float train_epoch_sarprop_parallel(SWIGTYPE_p_fann ann, SWIGTYPE_p_fann_train_data data, uint threadnumb, doubleVectorVector predicted_outputs)
        {
            float ret = fanndoublePINVOKE.train_epoch_sarprop_parallel__SWIG_1(SWIGTYPE_p_fann.getCPtr(ann), SWIGTYPE_p_fann_train_data.getCPtr(data), threadnumb, doubleVectorVector.getCPtr(predicted_outputs));

            if (fanndoublePINVOKE.SWIGPendingException.Pending)
            {
                throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#8
0
        public static float train_epoch_incremental_mod(SWIGTYPE_p_fann ann, SWIGTYPE_p_fann_train_data data, doubleVectorVector predicted_outputs)
        {
            float ret = fanndoublePINVOKE.train_epoch_incremental_mod__SWIG_1(SWIGTYPE_p_fann.getCPtr(ann), SWIGTYPE_p_fann_train_data.getCPtr(data), doubleVectorVector.getCPtr(predicted_outputs));

            if (fanndoublePINVOKE.SWIGPendingException.Pending)
            {
                throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }