lapack-0.2.1: Numerical Linear Algebra using LAPACK

Safe HaskellSafe-Infered

Numeric.LAPACK.Matrix.Extent

Documentation

class C tag whereSource

Methods

switchTag :: f Small -> f Big -> f tagSource

Instances

data Extent vertical horizontal height width Source

Instances

(C vert, C horiz, Eq height, Eq width) => Eq (Extent vert horiz height width) 
(C vert, C horiz, Show height, Show width) => Show (Extent vert horiz height width) 
(C vertical, C horizontal, NFData height, NFData width) => NFData (Extent vertical horizontal height width) 

data Map vertA horizA vertB horizB height width Source

data Big Source

Instances

height :: (C vert, C horiz) => Extent vert horiz height width -> heightSource

width :: (C vert, C horiz) => Extent vert horiz height width -> widthSource

squareSize :: Square sh -> shSource

dimensions :: (C vert, C horiz) => Extent vert horiz height width -> (height, width)Source

transpose :: (C vert, C horiz) => Extent vert horiz height width -> Extent horiz vert width heightSource

fuse :: (C vert, C horiz, Eq fuse) => Extent vert horiz height fuse -> Extent vert horiz fuse width -> Maybe (Extent vert horiz height width)Source

square :: sh -> Square shSource

toGeneral :: (C vert, C horiz) => Map vert horiz Big Big height widthSource

fromSquare :: (C vert, C horiz) => Map Small Small vert horiz size sizeSource

fromSquareLiberal :: (C vert, C horiz) => Map Small Small vert horiz height widthSource

generalizeTall :: (C vert, C horiz) => Map vert Small vert horiz height widthSource

generalizeWide :: (C vert, C horiz) => Map Small horiz vert horiz height widthSource