From 54bcc1fc1e0f9676cb10f627f412eeeea34b5d2c Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Wed, 24 Feb 2010 13:23:42 +0000 Subject: created package hmatrix-special --- lib/Numeric/GSL/Special/Psi.hs | 84 ------------------------------------------ 1 file changed, 84 deletions(-) delete mode 100644 lib/Numeric/GSL/Special/Psi.hs (limited to 'lib/Numeric/GSL/Special/Psi.hs') diff --git a/lib/Numeric/GSL/Special/Psi.hs b/lib/Numeric/GSL/Special/Psi.hs deleted file mode 100644 index 4655b8c..0000000 --- a/lib/Numeric/GSL/Special/Psi.hs +++ /dev/null @@ -1,84 +0,0 @@ ------------------------------------------------------------- --- | --- Module : Numeric.GSL.Special.Psi --- Copyright : (c) Alberto Ruiz 2006 --- License : GPL --- Maintainer : Alberto Ruiz (aruiz at um dot es) --- Stability : provisional --- Portability : uses ffi --- --- Wrappers for selected functions described at: --- --- ------------------------------------------------------------- - -module Numeric.GSL.Special.Psi( - psi_int_e -, psi_int -, psi_e -, psi -, psi_1piy_e -, psi_1piy -, psi_1_int_e -, psi_1_int -, psi_1_e -, psi_1 -, psi_n_e -, psi_n -) where - -import Foreign(Ptr) -import Foreign.C.Types(CInt) -import Numeric.GSL.Special.Internal - -psi_int_e :: CInt -> (Double,Double) -psi_int_e n = createSFR "psi_int_e" $ gsl_sf_psi_int_e n -foreign import ccall SAFE_CHEAP "gsl_sf_psi_int_e" gsl_sf_psi_int_e :: CInt -> Ptr () -> IO CInt - -psi_int :: CInt -> Double -psi_int = gsl_sf_psi_int -foreign import ccall SAFE_CHEAP "gsl_sf_psi_int" gsl_sf_psi_int :: CInt -> Double - -psi_e :: Double -> (Double,Double) -psi_e x = createSFR "psi_e" $ gsl_sf_psi_e x -foreign import ccall SAFE_CHEAP "gsl_sf_psi_e" gsl_sf_psi_e :: Double -> Ptr () -> IO CInt - -psi :: Double -> Double -psi = gsl_sf_psi -foreign import ccall SAFE_CHEAP "gsl_sf_psi" gsl_sf_psi :: Double -> Double - -psi_1piy_e :: Double -> (Double,Double) -psi_1piy_e y = createSFR "psi_1piy_e" $ gsl_sf_psi_1piy_e y -foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy_e" gsl_sf_psi_1piy_e :: Double -> Ptr () -> IO CInt - -psi_1piy :: Double -> Double -psi_1piy = gsl_sf_psi_1piy -foreign import ccall SAFE_CHEAP "gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double - -complex_psi_e :: Double -> Double -> Ptr () -> (Double,Double) -complex_psi_e x y result_re = createSFR "complex_psi_e" $ gsl_sf_complex_psi_e x y result_re -foreign import ccall SAFE_CHEAP "gsl_sf_complex_psi_e" gsl_sf_complex_psi_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt - -psi_1_int_e :: CInt -> (Double,Double) -psi_1_int_e n = createSFR "psi_1_int_e" $ gsl_sf_psi_1_int_e n -foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_int_e" gsl_sf_psi_1_int_e :: CInt -> Ptr () -> IO CInt - -psi_1_int :: CInt -> Double -psi_1_int = gsl_sf_psi_1_int -foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_int" gsl_sf_psi_1_int :: CInt -> Double - -psi_1_e :: Double -> (Double,Double) -psi_1_e x = createSFR "psi_1_e" $ gsl_sf_psi_1_e x -foreign import ccall SAFE_CHEAP "gsl_sf_psi_1_e" gsl_sf_psi_1_e :: Double -> Ptr () -> IO CInt - -psi_1 :: Double -> Double -psi_1 = gsl_sf_psi_1 -foreign import ccall SAFE_CHEAP "gsl_sf_psi_1" gsl_sf_psi_1 :: Double -> Double - -psi_n_e :: CInt -> Double -> (Double,Double) -psi_n_e n x = createSFR "psi_n_e" $ gsl_sf_psi_n_e n x -foreign import ccall SAFE_CHEAP "gsl_sf_psi_n_e" gsl_sf_psi_n_e :: CInt -> Double -> Ptr () -> IO CInt - -psi_n :: CInt -> Double -> Double -psi_n = gsl_sf_psi_n -foreign import ccall SAFE_CHEAP "gsl_sf_psi_n" gsl_sf_psi_n :: CInt -> Double -> Double -- cgit v1.2.3