Maintainer | diagrams-discuss@googlegroups.com |
---|---|

Safe Haskell | Safe-Infered |

Various internal utilities for the diagrams project.

- withLength :: (InnerSpace v, Floating (Scalar v)) => Scalar v -> v -> v

# Vectors

withLength :: (InnerSpace v, Floating (Scalar v)) => Scalar v -> v -> vSource

Produce a vector with the specified length in the same direction as the given vector.