Copyright | (c) Sam Stites 2017 |
---|---|

License | BSD3 |

Maintainer | sam@stites.io |

Stability | experimental |

Portability | non-portable |

Safe Haskell | None |

Language | Haskell2010 |

Compare a tensor with a scala value

## Synopsis

- ltValue :: Dynamic -> HsReal -> MaskDynamic
- ltValueT :: Dynamic -> HsReal -> Dynamic
- ltValueT_ :: Dynamic -> HsReal -> IO ()
- leValue :: Dynamic -> HsReal -> MaskDynamic
- leValueT :: Dynamic -> HsReal -> Dynamic
- leValueT_ :: Dynamic -> HsReal -> IO ()
- gtValue :: Dynamic -> HsReal -> MaskDynamic
- gtValueT :: Dynamic -> HsReal -> Dynamic
- gtValueT_ :: Dynamic -> HsReal -> IO ()
- geValue :: Dynamic -> HsReal -> MaskDynamic
- geValueT :: Dynamic -> HsReal -> Dynamic
- geValueT_ :: Dynamic -> HsReal -> IO ()
- neValue :: Dynamic -> HsReal -> MaskDynamic
- neValueT :: Dynamic -> HsReal -> Dynamic
- neValueT_ :: Dynamic -> HsReal -> IO ()
- eqValue :: Dynamic -> HsReal -> MaskDynamic
- eqValueT :: Dynamic -> HsReal -> Dynamic
- eqValueT_ :: Dynamic -> HsReal -> IO ()

# Documentation

ltValue :: Dynamic -> HsReal -> MaskDynamic Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

ltValueT :: Dynamic -> HsReal -> Dynamic Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

ltValueT_ :: Dynamic -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

leValue :: Dynamic -> HsReal -> MaskDynamic Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

leValueT :: Dynamic -> HsReal -> Dynamic Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

leValueT_ :: Dynamic -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

gtValue :: Dynamic -> HsReal -> MaskDynamic Source #

return a byte tensor which contains boolean values indicating the relation between a tensor and a given scalar.

gtValueT :: Dynamic -> HsReal -> Dynamic Source #

return a tensor which contains numeric values indicating the relation between a tensor and a given scalar. 0 stands for false, 1 stands for true.

gtValueT_ :: Dynamic -> HsReal -> IO () Source #

mutate a tensor in-place with its numeric relation to a given scalar, where 0 stands for false and 1 stands for true.

geValue :: Dynamic -> HsReal -> MaskDynamic Source #

geValueT :: Dynamic -> HsReal -> Dynamic Source #

geValueT_ :: Dynamic -> HsReal -> IO () Source #

neValue :: Dynamic -> HsReal -> MaskDynamic Source #

neValueT :: Dynamic -> HsReal -> Dynamic Source #

neValueT_ :: Dynamic -> HsReal -> IO () Source #

eqValue :: Dynamic -> HsReal -> MaskDynamic Source #