wallpaper-0.1.0.1: A library and executable for creating wallpaper, frieze, and rosette patterns.

Copyright(c) 2017 Jeffrey Rosenbluth
LicenseBSD-style (see LICENSE)
Maintainerjeffrey.rosenbluth@gmail.com
Safe HaskellSafe
LanguageHaskell2010

Complextra

Description

Utility functions for dealing with complex numbers.

Synopsis

Documentation

scaleZ :: RealFloat a => a -> Complex a -> Complex a Source #

Multiply a complex number by a real number.

(.*^) :: RealFloat a => a -> Complex a -> Complex a infixl 7 Source #

Infix form of scaleZ.

im :: Num a => Complex a Source #

The square root of -1, i.e. i.