Example #1
0
        public static TridiagonalOperator identity(uint size)
        {
            TridiagonalOperator ret = new TridiagonalOperator(NQuantLibcPINVOKE.TridiagonalOperator_identity(size), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TridiagonalOperator obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #3
0
 public static TridiagonalOperator identity(uint size) {
   TridiagonalOperator ret = new TridiagonalOperator(NQuantLibcPINVOKE.TridiagonalOperator_identity(size), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TridiagonalOperator obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }