Safe Haskell | None |
---|---|
Language | Haskell2010 |
This internal module is going to see a lot of refactoring. It is not recommended to import this, as the API is likely to experience heavy change.
Synopsis
- class (Num a, Cast a b, Cast b a, Storable b, Code b) => Elem a b | a -> b
- class Cast a b where
- data CComplex a = CComplex !a !a
- data CTriplet a = CTriplet !CInt !CInt !a
- intSize :: Int
- encodeInt :: CInt -> ByteString
- decodeInt :: ByteString -> CInt
- data CSparseMatrix a b
- type CSparseMatrixPtr a b = Ptr (CSparseMatrix a b)
- data CSolver a b
- type CSolverPtr a b = Ptr (CSolver a b)
- performIO :: IO a -> a
- plusForeignPtr :: ForeignPtr a -> Int -> ForeignPtr b
- c_freeString :: CString -> IO ()
- call :: IO CString -> IO ()
- free :: Ptr a -> IO ()
- c_setNbThreads :: CInt -> IO ()
- c_getNbThreads :: IO CInt
- class Code a where
- newtype MagicCode = MagicCode CInt
- magicCode :: Code a => a -> MagicCode
- c_random :: CInt -> Ptr b -> CInt -> CInt -> IO CString
- random :: forall b. Code b => Ptr b -> CInt -> CInt -> IO CString
- c_identity :: CInt -> Ptr b -> CInt -> CInt -> IO CString
- identity :: forall b. Code b => Ptr b -> CInt -> CInt -> IO CString
- c_add :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- add :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_sub :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- sub :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_mul :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- mul :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_diagonal :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- diagonal :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_transpose :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- transpose :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_inverse :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- inverse :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_adjoint :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- adjoint :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_conjugate :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- conjugate :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_normalize :: CInt -> Ptr b -> CInt -> CInt -> IO CString
- normalize :: forall b. Code b => Ptr b -> CInt -> CInt -> IO CString
- c_sum :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- sum :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_prod :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- prod :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_mean :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- mean :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_norm :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- norm :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_trace :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- trace :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_squaredNorm :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- squaredNorm :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_blueNorm :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- blueNorm :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_hypotNorm :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- hypotNorm :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_determinant :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- determinant :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> IO CString
- c_rank :: CInt -> CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString
- rank :: forall b. Code b => CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_image :: CInt -> CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString
- image :: forall b. Code b => CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_kernel :: CInt -> CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString
- kernel :: forall b. Code b => CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_solve :: CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- solve :: forall b. Code b => CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_relativeError :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- relativeError :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString
- c_sparse_new :: CInt -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_new :: forall a b. Code b => CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_clone :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_clone :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_fromList :: CInt -> CInt -> CInt -> Ptr (CTriplet b) -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_fromList :: forall a b. Code b => CInt -> CInt -> Ptr (CTriplet b) -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_toList :: CInt -> CSparseMatrixPtr a b -> Ptr (CTriplet b) -> CInt -> IO CString
- c_sparse_free :: CInt -> CSparseMatrixPtr a b -> IO CString
- sparse_toList :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CTriplet b) -> CInt -> IO CString
- sparse_free :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString
- c_sparse_makeCompressed :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_makeCompressed :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_uncompress :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_uncompress :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_isCompressed :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- sparse_isCompressed :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- c_sparse_transpose :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_transpose :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_adjoint :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_adjoint :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_pruned :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_pruned :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_prunedRef :: CInt -> CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_prunedRef :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_scale :: CInt -> CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_scale :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_nonZeros :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- sparse_nonZeros :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- c_sparse_innerSize :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- sparse_innerSize :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- c_sparse_outerSize :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- sparse_outerSize :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- c_sparse_coeff :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> Ptr b -> IO CString
- sparse_coeff :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> Ptr b -> IO CString
- c_sparse_coeffRef :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> Ptr (Ptr b) -> IO CString
- sparse_coeffRef :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> Ptr (Ptr b) -> IO CString
- c_sparse_cols :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- sparse_cols :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- c_sparse_rows :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- sparse_rows :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString
- c_sparse_norm :: CInt -> CSparseMatrixPtr a b -> Ptr b -> IO CString
- sparse_norm :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> IO CString
- c_sparse_squaredNorm :: CInt -> CSparseMatrixPtr a b -> Ptr b -> IO CString
- sparse_squaredNorm :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> IO CString
- c_sparse_blueNorm :: CInt -> CSparseMatrixPtr a b -> Ptr b -> IO CString
- sparse_blueNorm :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> IO CString
- c_sparse_add :: CInt -> CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_add :: forall a b. Code b => CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_sub :: CInt -> CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_sub :: forall a b. Code b => CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_mul :: CInt -> CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_mul :: forall a b. Code b => CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_block :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_block :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_fromMatrix :: CInt -> Ptr b -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_fromMatrix :: forall a b. Code b => Ptr b -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_toMatrix :: CInt -> CSparseMatrixPtr a b -> Ptr b -> CInt -> CInt -> IO CString
- sparse_toMatrix :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> CInt -> CInt -> IO CString
- c_sparse_values :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr b) -> IO CString
- sparse_values :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr b) -> IO CString
- c_sparse_outerStarts :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString
- sparse_outerStarts :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString
- c_sparse_innerIndices :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString
- sparse_innerIndices :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString
- c_sparse_innerNNZs :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString
- c_sparse_setZero :: CInt -> CSparseMatrixPtr a b -> IO CString
- sparse_innerNNZs :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString
- sparse_setZero :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString
- c_sparse_setIdentity :: CInt -> CSparseMatrixPtr a b -> IO CString
- sparse_setIdentity :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString
- c_sparse_reserve :: CInt -> CSparseMatrixPtr a b -> CInt -> IO CString
- sparse_reserve :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> IO CString
- c_sparse_resize :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> IO CString
- sparse_resize :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> IO CString
- c_sparse_conservativeResize :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> IO CString
- sparse_conservativeResize :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> IO CString
- c_sparse_compressInplace :: CInt -> CSparseMatrixPtr a b -> IO CString
- sparse_compressInplace :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString
- c_sparse_uncompressInplace :: CInt -> CSparseMatrixPtr a b -> IO CString
- sparse_uncompressInplace :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString
- c_sparse_la_newSolver :: CInt -> CInt -> Ptr (CSolverPtr a b) -> IO CString
- sparse_la_newSolver :: forall s a b. (Code s, Code b) => s -> Ptr (CSolverPtr a b) -> IO CString
- c_sparse_la_freeSolver :: CInt -> CInt -> CSolverPtr a b -> IO CString
- sparse_la_freeSolver :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> IO CString
- c_sparse_la_factorize :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString
- sparse_la_factorize :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString
- c_sparse_la_analyzePattern :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString
- sparse_la_analyzePattern :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString
- c_sparse_la_compute :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString
- sparse_la_compute :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString
- c_sparse_la_tolerance :: CInt -> CInt -> CSolverPtr a b -> Ptr CDouble -> IO CString
- sparse_la_tolerance :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CDouble -> IO CString
- c_sparse_la_setTolerance :: CInt -> CInt -> CSolverPtr a b -> CDouble -> IO CString
- sparse_la_setTolerance :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CDouble -> IO CString
- c_sparse_la_maxIterations :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString
- sparse_la_maxIterations :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString
- c_sparse_la_setMaxIterations :: CInt -> CInt -> CSolverPtr a b -> CInt -> IO CString
- sparse_la_setMaxIterations :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CInt -> IO CString
- c_sparse_la_info :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString
- sparse_la_info :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString
- c_sparse_la_error :: CInt -> CInt -> CSolverPtr a b -> Ptr CDouble -> IO CString
- sparse_la_error :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CDouble -> IO CString
- c_sparse_la_iterations :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString
- sparse_la_iterations :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString
- c_sparse_la_solve :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_la_solve :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_la_matrixQ :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_la_matrixQ :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_la_matrixR :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_la_matrixR :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_la_setPivotThreshold :: CInt -> CInt -> CSolverPtr a b -> CDouble -> IO CString
- sparse_la_setPivotThreshold :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CDouble -> IO CString
- c_sparse_la_rank :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString
- sparse_la_rank :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString
- c_sparse_la_matrixL :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_la_matrixL :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_la_matrixU :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- sparse_la_matrixU :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString
- c_sparse_la_setSymmetric :: CInt -> CInt -> CSolverPtr a b -> CInt -> IO CString
- sparse_la_setSymmetric :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CInt -> IO CString
- c_sparse_la_determinant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString
- sparse_la_determinant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString
- c_sparse_la_logAbsDeterminant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString
- sparse_la_logAbsDeterminant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString
- c_sparse_la_absDeterminant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString
- sparse_la_absDeterminant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString
- c_sparse_la_signDeterminant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString
- sparse_la_signDeterminant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString
Documentation
Instances
Cast Double CDouble Source # | |
Cast Float CFloat Source # | |
Cast Int CInt Source # | |
Cast CInt Int Source # | |
Cast CFloat Float Source # | |
Cast CDouble Double Source # | |
Cast (Complex Double) (CComplex CDouble) Source # | |
Cast (Complex Float) (CComplex CFloat) Source # | |
Cast (CComplex CFloat) (Complex Float) Source # | |
Cast (CComplex CDouble) (Complex Double) Source # | |
Cast a b => Cast (CTriplet a) (Int, Int, b) Source # | |
Cast a b => Cast (Int, Int, a) (CTriplet b) Source # | |
Complex number for FFI with the same memory layout as std::complex<T>
CComplex !a !a |
Instances
Show a => Show (CComplex a) Source # | |
Storable a => Storable (CComplex a) Source # | |
Defined in Data.Eigen.Internal | |
Code (CComplex CFloat) Source # | |
Code (CComplex CDouble) Source # | |
Cast (Complex Double) (CComplex CDouble) Source # | |
Cast (Complex Float) (CComplex CFloat) Source # | |
Cast (CComplex CFloat) (Complex Float) Source # | |
Cast (CComplex CDouble) (Complex Double) Source # | |
Elem (Complex Double) (CComplex CDouble) Source # | |
Defined in Data.Eigen.Internal | |
Elem (Complex Float) (CComplex CFloat) Source # | |
Defined in Data.Eigen.Internal |
Instances
Show a => Show (CTriplet a) Source # | |
Storable a => Storable (CTriplet a) Source # | |
Defined in Data.Eigen.Internal | |
Cast a b => Cast (CTriplet a) (Int, Int, b) Source # | |
Cast a b => Cast (Int, Int, a) (CTriplet b) Source # | |
encodeInt :: CInt -> ByteString Source #
decodeInt :: ByteString -> CInt Source #
data CSparseMatrix a b Source #
type CSparseMatrixPtr a b = Ptr (CSparseMatrix a b) Source #
type CSolverPtr a b = Ptr (CSolver a b) Source #
plusForeignPtr :: ForeignPtr a -> Int -> ForeignPtr b Source #
c_freeString :: CString -> IO () Source #
c_setNbThreads :: CInt -> IO () Source #
c_getNbThreads :: IO CInt Source #
c_add :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
add :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
c_sub :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
sub :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
c_mul :: CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
mul :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
diagonal :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
transpose :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
inverse :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
adjoint :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
conjugate :: forall b. Code b => Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
c_image :: CInt -> CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
image :: forall b. Code b => CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
c_kernel :: CInt -> CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
kernel :: forall b. Code b => CInt -> Ptr (Ptr b) -> Ptr CInt -> Ptr CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
c_solve :: CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
solve :: forall b. Code b => CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
c_relativeError :: CInt -> Ptr b -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
relativeError :: forall b. Code b => Ptr b -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> Ptr b -> CInt -> CInt -> IO CString Source #
c_sparse_new :: CInt -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_new :: forall a b. Code b => CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_clone :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_clone :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_fromList :: CInt -> CInt -> CInt -> Ptr (CTriplet b) -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_fromList :: forall a b. Code b => CInt -> CInt -> Ptr (CTriplet b) -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_toList :: CInt -> CSparseMatrixPtr a b -> Ptr (CTriplet b) -> CInt -> IO CString Source #
c_sparse_free :: CInt -> CSparseMatrixPtr a b -> IO CString Source #
sparse_toList :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CTriplet b) -> CInt -> IO CString Source #
sparse_free :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString Source #
c_sparse_makeCompressed :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_makeCompressed :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_uncompress :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_uncompress :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_isCompressed :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
sparse_isCompressed :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_transpose :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_transpose :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_adjoint :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_adjoint :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_pruned :: CInt -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_pruned :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_prunedRef :: CInt -> CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_prunedRef :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_scale :: CInt -> CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_scale :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_nonZeros :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
sparse_nonZeros :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_innerSize :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
sparse_innerSize :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_outerSize :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
sparse_outerSize :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_coeff :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> Ptr b -> IO CString Source #
sparse_coeff :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> Ptr b -> IO CString Source #
c_sparse_coeffRef :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> Ptr (Ptr b) -> IO CString Source #
sparse_coeffRef :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> Ptr (Ptr b) -> IO CString Source #
c_sparse_cols :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
sparse_cols :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_rows :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
sparse_rows :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_norm :: CInt -> CSparseMatrixPtr a b -> Ptr b -> IO CString Source #
sparse_norm :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> IO CString Source #
c_sparse_squaredNorm :: CInt -> CSparseMatrixPtr a b -> Ptr b -> IO CString Source #
sparse_squaredNorm :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> IO CString Source #
c_sparse_blueNorm :: CInt -> CSparseMatrixPtr a b -> Ptr b -> IO CString Source #
sparse_blueNorm :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> IO CString Source #
c_sparse_add :: CInt -> CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_add :: forall a b. Code b => CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_sub :: CInt -> CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_sub :: forall a b. Code b => CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_mul :: CInt -> CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_mul :: forall a b. Code b => CSparseMatrixPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_block :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_block :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_fromMatrix :: CInt -> Ptr b -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_fromMatrix :: forall a b. Code b => Ptr b -> CInt -> CInt -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_toMatrix :: CInt -> CSparseMatrixPtr a b -> Ptr b -> CInt -> CInt -> IO CString Source #
sparse_toMatrix :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr b -> CInt -> CInt -> IO CString Source #
sparse_values :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr b) -> IO CString Source #
c_sparse_outerStarts :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString Source #
sparse_outerStarts :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString Source #
c_sparse_innerIndices :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString Source #
sparse_innerIndices :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString Source #
c_sparse_innerNNZs :: CInt -> CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString Source #
c_sparse_setZero :: CInt -> CSparseMatrixPtr a b -> IO CString Source #
sparse_innerNNZs :: forall a b. Code b => CSparseMatrixPtr a b -> Ptr CInt -> Ptr (Ptr CInt) -> IO CString Source #
sparse_setZero :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString Source #
c_sparse_setIdentity :: CInt -> CSparseMatrixPtr a b -> IO CString Source #
sparse_setIdentity :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString Source #
c_sparse_reserve :: CInt -> CSparseMatrixPtr a b -> CInt -> IO CString Source #
sparse_reserve :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> IO CString Source #
c_sparse_resize :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> IO CString Source #
sparse_resize :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> IO CString Source #
c_sparse_conservativeResize :: CInt -> CSparseMatrixPtr a b -> CInt -> CInt -> IO CString Source #
sparse_conservativeResize :: forall a b. Code b => CSparseMatrixPtr a b -> CInt -> CInt -> IO CString Source #
c_sparse_compressInplace :: CInt -> CSparseMatrixPtr a b -> IO CString Source #
sparse_compressInplace :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString Source #
c_sparse_uncompressInplace :: CInt -> CSparseMatrixPtr a b -> IO CString Source #
sparse_uncompressInplace :: forall a b. Code b => CSparseMatrixPtr a b -> IO CString Source #
c_sparse_la_newSolver :: CInt -> CInt -> Ptr (CSolverPtr a b) -> IO CString Source #
sparse_la_newSolver :: forall s a b. (Code s, Code b) => s -> Ptr (CSolverPtr a b) -> IO CString Source #
c_sparse_la_freeSolver :: CInt -> CInt -> CSolverPtr a b -> IO CString Source #
sparse_la_freeSolver :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> IO CString Source #
c_sparse_la_factorize :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString Source #
sparse_la_factorize :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString Source #
c_sparse_la_analyzePattern :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString Source #
sparse_la_analyzePattern :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString Source #
c_sparse_la_compute :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString Source #
sparse_la_compute :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> IO CString Source #
c_sparse_la_tolerance :: CInt -> CInt -> CSolverPtr a b -> Ptr CDouble -> IO CString Source #
sparse_la_tolerance :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CDouble -> IO CString Source #
c_sparse_la_setTolerance :: CInt -> CInt -> CSolverPtr a b -> CDouble -> IO CString Source #
sparse_la_setTolerance :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CDouble -> IO CString Source #
c_sparse_la_maxIterations :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
sparse_la_maxIterations :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_la_setMaxIterations :: CInt -> CInt -> CSolverPtr a b -> CInt -> IO CString Source #
sparse_la_setMaxIterations :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CInt -> IO CString Source #
c_sparse_la_info :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
sparse_la_info :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_la_error :: CInt -> CInt -> CSolverPtr a b -> Ptr CDouble -> IO CString Source #
sparse_la_error :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CDouble -> IO CString Source #
c_sparse_la_iterations :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
sparse_la_iterations :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_la_solve :: CInt -> CInt -> CSolverPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_la_solve :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CSparseMatrixPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_la_matrixQ :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_la_matrixQ :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_la_matrixR :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_la_matrixR :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_la_setPivotThreshold :: CInt -> CInt -> CSolverPtr a b -> CDouble -> IO CString Source #
sparse_la_setPivotThreshold :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CDouble -> IO CString Source #
c_sparse_la_rank :: CInt -> CInt -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
sparse_la_rank :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr CInt -> IO CString Source #
c_sparse_la_matrixL :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_la_matrixL :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_la_matrixU :: CInt -> CInt -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
sparse_la_matrixU :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr (CSparseMatrixPtr a b) -> IO CString Source #
c_sparse_la_setSymmetric :: CInt -> CInt -> CSolverPtr a b -> CInt -> IO CString Source #
sparse_la_setSymmetric :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> CInt -> IO CString Source #
c_sparse_la_determinant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString Source #
sparse_la_determinant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString Source #
c_sparse_la_logAbsDeterminant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString Source #
sparse_la_logAbsDeterminant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString Source #
c_sparse_la_absDeterminant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString Source #
sparse_la_absDeterminant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString Source #
c_sparse_la_signDeterminant :: CInt -> CInt -> CSolverPtr a b -> Ptr b -> IO CString Source #
sparse_la_signDeterminant :: forall s a b. (Code s, Code b) => s -> CSolverPtr a b -> Ptr b -> IO CString Source #