Hoogle Search
Within LTS Haskell 24.63 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromForeignPtr :: PrimType ty => (ForeignPtr ty, Int, Int) -> UArray tybasement Basement.UArray Create a foreign UArray from foreign memory and given offset/size No check are performed to make sure this is valid, so this is unsafe. This is particularly useful when dealing with foreign memory and ByteString
-
basement Basement.UArray.Mutable No documentation available.
chunkFor :: BlockCipher k => k -> ByteString -> [ByteString]crypto-api Crypto.Classes No documentation available.
chunkFor' :: BlockCipher k => k -> ByteString -> [ByteString]crypto-api Crypto.Classes No documentation available.
-
diagrams-core Diagrams.Core Type class for things t which can be transformed.
data
Transformation (v :: Type -> Type) ndiagrams-core Diagrams.Core General (affine) transformations, represented by an invertible linear map, its transpose, and a vector representing a translation component. By the transpose of a linear map we mean simply the linear map corresponding to the transpose of the map's matrix representation. For example, any scale is its own transpose, since scales are represented by matrices with zeros everywhere except the diagonal. The transpose of a rotation is the same as its inverse. The reason we need to keep track of transposes is because it turns out that when transforming a shape according to some linear map L, the shape's normal vectors transform according to L's inverse transpose. (For a more detailed explanation and proof, see https://wiki.haskell.org/Diagrams/Dev/Transformations.) This is exactly what we need when transforming bounding functions, which are defined in terms of perpendicular (i.e. normal) hyperplanes. For more general, non-invertible transformations, see Diagrams.Deform (in diagrams-lib).
transform :: Transformable t => Transformation (V t) (N t) -> t -> tdiagrams-core Diagrams.Core Apply a transformation to an object.
module Diagrams.Core.
Transform Diagrams defines the core library of primitives forming the basis of an embedded domain-specific language for describing and rendering diagrams. The Transform module defines generic transformations parameterized by any vector space.
-
diagrams-core Diagrams.Core.Transform Type class for things t which can be transformed.
data
Transformation (v :: Type -> Type) ndiagrams-core Diagrams.Core.Transform General (affine) transformations, represented by an invertible linear map, its transpose, and a vector representing a translation component. By the transpose of a linear map we mean simply the linear map corresponding to the transpose of the map's matrix representation. For example, any scale is its own transpose, since scales are represented by matrices with zeros everywhere except the diagonal. The transpose of a rotation is the same as its inverse. The reason we need to keep track of transposes is because it turns out that when transforming a shape according to some linear map L, the shape's normal vectors transform according to L's inverse transpose. (For a more detailed explanation and proof, see https://wiki.haskell.org/Diagrams/Dev/Transformations.) This is exactly what we need when transforming bounding functions, which are defined in terms of perpendicular (i.e. normal) hyperplanes. For more general, non-invertible transformations, see Diagrams.Deform (in diagrams-lib).