Example #1
0
 public RealNDArray(RealNDArray orig) : this(modshogunPINVOKE.new_RealNDArray__SWIG_2(RealNDArray.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void set_observation_matrix(RealNDArray seq)
 {
     modshogunPINVOKE.DynProg_set_observation_matrix(swigCPtr, RealNDArray.getCPtr(seq));
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
    public bool compute_plif_matrix(RealNDArray penalties_array)
    {
        bool ret = modshogunPINVOKE.PlifMatrix_compute_plif_matrix(swigCPtr, RealNDArray.getCPtr(penalties_array));

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #4
0
 public bool compute_plif_matrix(RealNDArray penalties_array) {
   bool ret = modshogunPINVOKE.PlifMatrix_compute_plif_matrix(swigCPtr, RealNDArray.getCPtr(penalties_array));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #5
0
 public RealNDArray(RealNDArray orig) : this(modshogunPINVOKE.new_RealNDArray__SWIG_2(RealNDArray.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #6
0
 internal static HandleRef getCPtr(RealNDArray obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #7
0
 public void set_observation_matrix(RealNDArray seq) {
   modshogunPINVOKE.DynProg_set_observation_matrix(swigCPtr, RealNDArray.getCPtr(seq));
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
Example #8
0
 internal static HandleRef getCPtr(RealNDArray obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }