private float getitem(int index) { float ret = MyDLLPINVOKE.FloatVector_getitem(swigCPtr, index); if (MyDLLPINVOKE.SWIGPendingException.Pending) { throw MyDLLPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }