camfort-0.804: CamFort - Cambridge Fortran infrastructure
Camfort.Specification.Stencils.Model
model :: Result Spatial -> Result (Multiset [Int]) Source #
eqByModel :: Specification -> Specification -> Bool Source #
class Model spec where Source #
Minimal complete definition
mkModel, dimensions
Associated Types
type Domain spec Source #
Methods
mkModel :: (?globalDimensionality :: Int) => spec -> Domain spec Source #
dimensionality :: spec -> Int Source #
dimensions :: spec -> [Int] Source #
Instances
type Domain RegionSum :: * Source #
mkModel :: RegionSum -> Domain RegionSum Source #
dimensionality :: RegionSum -> Int Source #
dimensions :: RegionSum -> [Int] Source #
type Domain RegionProd :: * Source #
mkModel :: RegionProd -> Domain RegionProd Source #
dimensionality :: RegionProd -> Int Source #
dimensions :: RegionProd -> [Int] Source #
type Domain Region :: * Source #
mkModel :: Region -> Domain Region Source #
dimensionality :: Region -> Int Source #
dimensions :: Region -> [Int] Source #
type Domain Spatial :: * Source #
mkModel :: Spatial -> Domain Spatial Source #
dimensionality :: Spatial -> Int Source #
dimensions :: Spatial -> [Int] Source #
type Domain Specification :: * Source #
mkModel :: Specification -> Domain Specification Source #
dimensionality :: Specification -> Int Source #
dimensions :: Specification -> [Int] Source #
type Domain (Maybe a) :: * Source #
mkModel :: Maybe a -> Domain (Maybe a) Source #
dimensionality :: Maybe a -> Int Source #
dimensions :: Maybe a -> [Int] Source #
type Domain (Result Spatial) :: * Source #
mkModel :: Result Spatial -> Domain (Result Spatial) Source #
dimensionality :: Result Spatial -> Int Source #
dimensions :: Result Spatial -> [Int] Source #
type Multiset a = Map a Bool Source #
mkMultiset :: Ord a => [a] -> Map a Bool Source #
mkSingleEntryNeg :: Int -> Int -> Int -> [Int] Source #
tensor :: Int -> [[Int]] -> [[Int]] -> Set [Int] Source #
cprodVs :: [[[Int]]] -> [[Int]] Source #
cprodV :: [[Int]] -> [[Int]] -> [[Int]] Source #
pairwisePerm :: [Int] -> [Int] -> [[Int]] Source #
maximum1 :: (Ord t, Num t) => [t] -> t Source #