HROOT-math-0.10.0.3: Haskell binding to ROOT Math modules
Safe HaskellSafe-Inferred
LanguageHaskell2010

HROOT.Math.TRandom

Documentation

newtype TRandom Source #

Constructors

TRandom (Ptr RawTRandom) 

Instances

Instances details
ITNamed TRandom 
Instance details

Defined in HROOT.Math.TRandom.Implementation

Methods

setName :: Castable c0 CString => TRandom -> c0 -> IO ()

setNameTitle :: (Castable c1 CString, Castable c0 CString) => TRandom -> c0 -> c1 -> IO ()

setTitle :: Castable c0 CString => TRandom -> c0 -> IO ()

ITObject TRandom 
Instance details

Defined in HROOT.Math.TRandom.Implementation

Methods

clear :: Castable c0 CString => TRandom -> c0 -> IO ()

draw :: Castable c0 CString => TRandom -> c0 -> IO ()

findObject :: Castable c0 CString => TRandom -> c0 -> IO TObject

getName :: TRandom -> IO CString

isA :: TRandom -> IO TClass

paint :: Castable c0 CString => TRandom -> c0 -> IO ()

printObj :: Castable c0 CString => TRandom -> c0 -> IO ()

saveAs :: (Castable c1 CString, Castable c0 CString) => TRandom -> c0 -> c1 -> IO ()

write :: Castable c0 CString => TRandom -> c0 -> CInt -> CInt -> IO CInt

write_ :: TRandom -> IO CInt

ITRandom TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.Implementation

Show TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.RawType

FPtr TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.RawType

Associated Types

type Raw TRandom #

Eq TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.RawType

Methods

(==) :: TRandom -> TRandom -> Bool #

(/=) :: TRandom -> TRandom -> Bool #

Ord TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.RawType

IDeletable TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.Implementation

Methods

delete :: TRandom -> IO () #

Castable TRandom (Ptr RawTRandom) Source # 
Instance details

Defined in HROOT.Math.TRandom.Cast

Methods

cast :: TRandom -> (Ptr RawTRandom -> IO r) -> IO r #

uncast :: Ptr RawTRandom -> (TRandom -> IO r) -> IO r #

type Raw TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.RawType

class ITNamed a => ITRandom a where Source #

Methods

getSeed :: a -> IO CInt Source #

gaus :: a -> CDouble -> CDouble -> IO CDouble Source #

setSeed :: a -> CInt -> IO () Source #

uniform :: a -> CDouble -> CDouble -> IO CDouble Source #

Instances

Instances details
ITRandom TRandom Source # 
Instance details

Defined in HROOT.Math.TRandom.Implementation

upcastTRandom :: forall a. (FPtr a, ITRandom a) => a -> TRandom Source #

downcastTRandom :: forall a. (FPtr a, ITRandom a) => TRandom -> a Source #