public ShortRealVector(ShortRealVector orig) : this(modshogunPINVOKE.new_ShortRealVector__SWIG_5(ShortRealVector.getCPtr(orig)), true)
 {
     if (modshogunPINVOKE.SWIGPendingException.Pending)
     {
         throw modshogunPINVOKE.SWIGPendingException.Retrieve();
     }
 }
  public static float[] get_vector(ShortRealVector src) {
		IntPtr ptr = modshogunPINVOKE.ShortRealVector_get_vector__SWIG_1(ShortRealVector.getCPtr(src));
    if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
		int[] size = new int[1];
		Marshal.Copy(ptr, size, 0, 1);

		int len = size[0];

		float[] ret = new float[len];

		Marshal.Copy(new IntPtr(ptr.ToInt64() + Marshal.SizeOf(typeof(int))), ret, 0, len);
		return ret;
}
    public static float[] get_vector(ShortRealVector src, bool own)
    {
        IntPtr ptr = modshogunPINVOKE.ShortRealVector_get_vector__SWIG_0(ShortRealVector.getCPtr(src), own);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        int[] size = new int[1];
        Marshal.Copy(ptr, size, 0, 1);

        int len = size[0];

        float[] ret = new float[len];

        Marshal.Copy(new IntPtr(ptr.ToInt64() + Marshal.SizeOf(typeof(int))), ret, 0, len);
        return(ret);
    }
 internal static HandleRef getCPtr(ShortRealVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public ShortRealVector(ShortRealVector orig) : this(modshogunPINVOKE.new_ShortRealVector__SWIG_5(ShortRealVector.getCPtr(orig)), true) {
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(ShortRealVector obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }