Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype ArrayDouble = ArrayDouble (ManagedPtr ArrayDouble)
- newZeroArrayDouble :: MonadIO m => m ArrayDouble
- arrayDoubleGet :: (HasCallStack, MonadIO m) => ArrayDouble -> m [Double]
- arrayDoubleNew :: (HasCallStack, MonadIO m) => [Double] -> m ArrayDouble
- getArrayDoubleArea :: MonadIO m => ArrayDouble -> m Area
Exported types
newtype ArrayDouble Source #
Memory-managed wrapper type.
ArrayDouble (ManagedPtr ArrayDouble) |
Instances
newZeroArrayDouble :: MonadIO m => m ArrayDouble Source #
Construct a ArrayDouble
struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
get
:: (HasCallStack, MonadIO m) | |
=> ArrayDouble |
|
-> m [Double] | Returns: array of double |
Fetch a double array from a ArrayDouble
. Useful for language bindings.
new
:: (HasCallStack, MonadIO m) | |
=> [Double] |
|
-> m ArrayDouble | Returns: A new |
Properties
area
No description available in the introspection data.
getArrayDoubleArea :: MonadIO m => ArrayDouble -> m Area Source #
Get the value of the “area
” field.
When overloading is enabled, this is equivalent to
get
arrayDouble #area