casadi-bindings 2.4.1.7 → 2.4.1.8
raw patch · 5 files changed
+15/−1 lines, 5 files
Files
- casadi-bindings.cabal +1/−1
- src/Casadi/CMatrix.hs +2/−0
- src/Casadi/DMatrix.hs +4/−0
- src/Casadi/MX.hs +4/−0
- src/Casadi/SX.hs +4/−0
casadi-bindings.cabal view
@@ -1,5 +1,5 @@ name: casadi-bindings-version: 2.4.1.7+version: 2.4.1.8 synopsis: mid-level bindings to CasADi category: Numerical, Math description:
src/Casadi/CMatrix.hs view
@@ -59,6 +59,8 @@ fromDouble :: Double -> a allocEmpty :: IO a reshape :: a -> (Int, Int) -> a+ conditional :: a -> V.Vector a -> a -> a+ conditional' :: a -> V.Vector a -> a -> Bool -> a {-# DEPRECATED solve' "use the new solve, this one is going away" #-}
src/Casadi/DMatrix.hs view
@@ -148,6 +148,10 @@ allocEmpty = dmatrix__8 reshape x s = unsafePerformIO (C.casadi_reshape__4 x s) {-# NOINLINE reshape #-}+ conditional x0 x1 x2 = unsafePerformIO (C.casadi_conditional__2 x0 x1 x2)+ {-# NOINLINE conditional #-}+ conditional' x0 x1 x2 x3 = unsafePerformIO (C.casadi_conditional__3 x0 x1 x2 x3)+ {-# NOINLINE conditional' #-} instance Num DMatrix where
src/Casadi/MX.hs view
@@ -149,6 +149,10 @@ allocEmpty = mx__7 reshape x s = unsafePerformIO (C.casadi_reshape__10 x s) {-# NOINLINE reshape #-}+ conditional x0 x1 x2 = unsafePerformIO (C.casadi_conditional__6 x0 x1 x2)+ {-# NOINLINE conditional #-}+ conditional' x0 x1 x2 x3 = unsafePerformIO (C.casadi_conditional__7 x0 x1 x2 x3)+ {-# NOINLINE conditional' #-} instance Num MX where
src/Casadi/SX.hs view
@@ -144,6 +144,10 @@ allocEmpty = sx__10 reshape x s = unsafePerformIO (C.casadi_reshape__1 x s) {-# NOINLINE reshape #-}+ conditional x0 x1 x2 = unsafePerformIO (C.casadi_conditional__0 x0 x1 x2)+ {-# NOINLINE conditional #-}+ conditional' x0 x1 x2 x3 = unsafePerformIO (C.casadi_conditional__1 x0 x1 x2 x3)+ {-# NOINLINE conditional' #-} instance Num SX where