fortran-src-0.15.0: Parsers and analyses for Fortran standards 66, 77, 90, 95 and 2003 (partial).
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Fortran.Repr.Value.Scalar.Complex

Description

Fortran COMPLEX value representation.

A Fortran COMPLEX is simply two REALs of the same kind.

Documentation

data FComplex Source #

Constructors

FComplex8 Float Float
COMPLEX(8)
FComplex16 Double Double
COMPLEX(16)

Instances

Instances details
Out FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

Methods

docPrec :: Int -> FComplex -> Doc #

doc :: FComplex -> Doc #

docList :: [FComplex] -> Doc #

Data FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FComplex -> c FComplex #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FComplex #

toConstr :: FComplex -> Constr #

dataTypeOf :: FComplex -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FComplex) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FComplex) #

gmapT :: (forall b. Data b => b -> b) -> FComplex -> FComplex #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FComplex -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FComplex -> r #

gmapQ :: (forall d. Data d => d -> u) -> FComplex -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FComplex -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FComplex -> m FComplex #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FComplex -> m FComplex #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FComplex -> m FComplex #

Generic FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

Associated Types

type Rep FComplex :: Type -> Type #

Methods

from :: FComplex -> Rep FComplex x #

to :: Rep FComplex x -> FComplex #

Show FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

Binary FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

Methods

put :: FComplex -> Put #

get :: Get FComplex #

putList :: [FComplex] -> Put #

FKinded FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

Associated Types

type FKindedT FComplex Source #

type FKindedC FComplex b Source #

Eq FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

type Rep FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

type FKindedT FComplex Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

type FKindedC FComplex a Source # 
Instance details

Defined in Language.Fortran.Repr.Value.Scalar.Complex

fComplexBOp' :: (Float -> Float -> a) -> (a -> a -> r) -> (Double -> Double -> b) -> (b -> b -> r) -> FComplex -> FComplex -> r Source #

fComplexBOp :: (forall a. FKindedC FComplex a => a -> a -> b) -> (b -> b -> r) -> FComplex -> FComplex -> r Source #

fComplexBOpInplace :: (forall a. FKindedC FComplex a => a -> a -> a) -> FComplex -> FComplex -> FComplex Source #