5 import Linear.Matrix hiding ((*))
9 big_A' :: Double -> Double
12 c' :: Double -> Double
15 f' :: Double -> Double
18 bdy' :: BoundaryConditions Double
19 bdy' = Left (Dirichlet (0,1))
23 pde' = PDE big_A' c' f' bdy'
25 mesh' :: Col4 (Double,Double)
26 mesh' = fromList [[(0.0,1/3)],
32 pvec' = fromList [[2],[3],[2],[1]]
34 params' :: Params N4 N3 N7 Double
35 params' = Params mesh' pvec'
38 soln :: Piecewise Double
39 soln = solution pde' params'