Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- c_THGenerator_new :: IO (Ptr C'THGenerator)
- c_THGenerator_copy :: Ptr C'THGenerator -> Ptr C'THGenerator -> IO (Ptr C'THGenerator)
- c_THGenerator_free :: Ptr C'THGenerator -> IO ()
- c_THRandom_seed :: Ptr C'THGenerator -> IO CULong
- c_THRandom_manualSeed :: Ptr C'THGenerator -> CULong -> IO ()
- c_THRandom_initialSeed :: Ptr C'THGenerator -> IO CULong
- c_THRandom_random :: Ptr C'THGenerator -> IO CULong
- c_THRandom_random64 :: Ptr C'THGenerator -> IO CULong
- c_THRandom_standard_uniform :: Ptr C'THGenerator -> IO CDouble
- c_THRandom_uniform :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble
- c_THRandom_uniformFloat :: Ptr C'THGenerator -> CFloat -> CFloat -> IO CFloat
- c_THRandom_normal :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble
- c_THRandom_exponential :: Ptr C'THGenerator -> CDouble -> IO CDouble
- c_THRandom_standard_gamma :: Ptr C'THGenerator -> CDouble -> IO CDouble
- c_THRandom_cauchy :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble
- c_THRandom_logNormal :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble
- c_THRandom_geometric :: Ptr C'THGenerator -> CDouble -> IO CInt
- c_THRandom_bernoulli :: Ptr C'THGenerator -> CDouble -> IO CInt
- p_THGenerator_new :: FunPtr (IO (Ptr C'THGenerator))
- p_THGenerator_copy :: FunPtr (Ptr C'THGenerator -> Ptr C'THGenerator -> IO (Ptr C'THGenerator))
- p_THGenerator_free :: FunPtr (Ptr C'THGenerator -> IO ())
- p_THRandom_seed :: FunPtr (Ptr C'THGenerator -> IO CULong)
- p_THRandom_manualSeed :: FunPtr (Ptr C'THGenerator -> CULong -> IO ())
- p_THRandom_initialSeed :: FunPtr (Ptr C'THGenerator -> IO CULong)
- p_THRandom_random :: FunPtr (Ptr C'THGenerator -> IO CULong)
- p_THRandom_random64 :: FunPtr (Ptr C'THGenerator -> IO CULong)
- p_THRandom_standard_uniform :: FunPtr (Ptr C'THGenerator -> IO CDouble)
- p_THRandom_uniform :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble)
- p_THRandom_uniformFloat :: FunPtr (Ptr C'THGenerator -> CFloat -> CFloat -> IO CFloat)
- p_THRandom_normal :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble)
- p_THRandom_exponential :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CDouble)
- p_THRandom_standard_gamma :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CDouble)
- p_THRandom_cauchy :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble)
- p_THRandom_logNormal :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble)
- p_THRandom_geometric :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CInt)
- p_THRandom_bernoulli :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CInt)
Documentation
c_THGenerator_new :: IO (Ptr C'THGenerator) Source #
c_THGenerator_new : -> THGenerator *
c_THGenerator_copy :: Ptr C'THGenerator -> Ptr C'THGenerator -> IO (Ptr C'THGenerator) Source #
c_THGenerator_copy : self from -> THGenerator *
c_THGenerator_free :: Ptr C'THGenerator -> IO () Source #
c_THGenerator_free : gen -> void
c_THRandom_seed :: Ptr C'THGenerator -> IO CULong Source #
c_THRandom_seed : _generator -> uint64_t
c_THRandom_manualSeed :: Ptr C'THGenerator -> CULong -> IO () Source #
c_THRandom_manualSeed : _generator the_seed_ -> void
c_THRandom_initialSeed :: Ptr C'THGenerator -> IO CULong Source #
c_THRandom_initialSeed : _generator -> uint64_t
c_THRandom_random :: Ptr C'THGenerator -> IO CULong Source #
c_THRandom_random : _generator -> uint64_t
c_THRandom_random64 :: Ptr C'THGenerator -> IO CULong Source #
c_THRandom_random64 : _generator -> uint64_t
c_THRandom_standard_uniform :: Ptr C'THGenerator -> IO CDouble Source #
c_THRandom_standard_uniform : _generator -> double
c_THRandom_uniform :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble Source #
c_THRandom_uniform : _generator a b -> double
c_THRandom_uniformFloat :: Ptr C'THGenerator -> CFloat -> CFloat -> IO CFloat Source #
c_THRandom_uniformFloat : _generator a b -> float
c_THRandom_normal :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble Source #
c_THRandom_normal : _generator mean stdv -> double
c_THRandom_exponential :: Ptr C'THGenerator -> CDouble -> IO CDouble Source #
c_THRandom_exponential : _generator lambda -> double
c_THRandom_standard_gamma :: Ptr C'THGenerator -> CDouble -> IO CDouble Source #
c_THRandom_standard_gamma : _generator alpha -> double
c_THRandom_cauchy :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble Source #
c_THRandom_cauchy : _generator median sigma -> double
c_THRandom_logNormal :: Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble Source #
c_THRandom_logNormal : _generator mean stdv -> double
c_THRandom_geometric :: Ptr C'THGenerator -> CDouble -> IO CInt Source #
c_THRandom_geometric : _generator p -> int
c_THRandom_bernoulli :: Ptr C'THGenerator -> CDouble -> IO CInt Source #
c_THRandom_bernoulli : _generator p -> int
p_THGenerator_new :: FunPtr (IO (Ptr C'THGenerator)) Source #
p_THGenerator_new : Pointer to function : -> THGenerator *
p_THGenerator_copy :: FunPtr (Ptr C'THGenerator -> Ptr C'THGenerator -> IO (Ptr C'THGenerator)) Source #
p_THGenerator_copy : Pointer to function : self from -> THGenerator *
p_THGenerator_free :: FunPtr (Ptr C'THGenerator -> IO ()) Source #
p_THGenerator_free : Pointer to function : gen -> void
p_THRandom_seed :: FunPtr (Ptr C'THGenerator -> IO CULong) Source #
p_THRandom_seed : Pointer to function : _generator -> uint64_t
p_THRandom_manualSeed :: FunPtr (Ptr C'THGenerator -> CULong -> IO ()) Source #
p_THRandom_manualSeed : Pointer to function : _generator the_seed_ -> void
p_THRandom_initialSeed :: FunPtr (Ptr C'THGenerator -> IO CULong) Source #
p_THRandom_initialSeed : Pointer to function : _generator -> uint64_t
p_THRandom_random :: FunPtr (Ptr C'THGenerator -> IO CULong) Source #
p_THRandom_random : Pointer to function : _generator -> uint64_t
p_THRandom_random64 :: FunPtr (Ptr C'THGenerator -> IO CULong) Source #
p_THRandom_random64 : Pointer to function : _generator -> uint64_t
p_THRandom_standard_uniform :: FunPtr (Ptr C'THGenerator -> IO CDouble) Source #
p_THRandom_standard_uniform : Pointer to function : _generator -> double
p_THRandom_uniform :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble) Source #
p_THRandom_uniform : Pointer to function : _generator a b -> double
p_THRandom_uniformFloat :: FunPtr (Ptr C'THGenerator -> CFloat -> CFloat -> IO CFloat) Source #
p_THRandom_uniformFloat : Pointer to function : _generator a b -> float
p_THRandom_normal :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble) Source #
p_THRandom_normal : Pointer to function : _generator mean stdv -> double
p_THRandom_exponential :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CDouble) Source #
p_THRandom_exponential : Pointer to function : _generator lambda -> double
p_THRandom_standard_gamma :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CDouble) Source #
p_THRandom_standard_gamma : Pointer to function : _generator alpha -> double
p_THRandom_cauchy :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble) Source #
p_THRandom_cauchy : Pointer to function : _generator median sigma -> double
p_THRandom_logNormal :: FunPtr (Ptr C'THGenerator -> CDouble -> CDouble -> IO CDouble) Source #
p_THRandom_logNormal : Pointer to function : _generator mean stdv -> double
p_THRandom_geometric :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CInt) Source #
p_THRandom_geometric : Pointer to function : _generator p -> int
p_THRandom_bernoulli :: FunPtr (Ptr C'THGenerator -> CDouble -> IO CInt) Source #
p_THRandom_bernoulli : Pointer to function : _generator p -> int