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

License | BSD3 |

Maintainer | sam@stites.io |

Stability | experimental |

Portability | non-portable |

Safe Haskell | None |

Language | Haskell2010 |

## Synopsis

- ltValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d
- ltValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d
- ltValueT_ :: Dimensions d => Tensor d -> HsReal -> IO ()
- leValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d
- leValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d
- leValueT_ :: Dimensions d => Tensor d -> HsReal -> IO ()
- gtValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d
- gtValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d
- gtValueT_ :: Dimensions d => Tensor d -> HsReal -> IO ()
- geValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d
- geValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d
- geValueT_ :: Dimensions d => Tensor d -> HsReal -> IO ()
- neValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d
- neValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d
- neValueT_ :: Dimensions d => Tensor d -> HsReal -> IO ()
- eqValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d
- eqValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d
- eqValueT_ :: Dimensions d => Tensor d -> HsReal -> IO ()

# Documentation

ltValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

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

ltValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d 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_ :: Dimensions d => Tensor d -> 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 :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

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

leValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d 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_ :: Dimensions d => Tensor d -> 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 :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

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

gtValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d 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_ :: Dimensions d => Tensor d -> 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 :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

geValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

geValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

neValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #

neValueT :: Dimensions d => Tensor d -> HsReal -> Tensor d Source #

neValueT_ :: Dimensions d => Tensor d -> HsReal -> IO () Source #

eqValue :: Dimensions d => Tensor d -> HsReal -> MaskTensor d Source #