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

License | BSD3 |

Maintainer | sam@stites.io |

Stability | experimental |

Portability | non-portable |

Safe Haskell | None |

Language | Haskell2010 |

Compare two tensors

## Synopsis

- ltTensor :: Dynamic -> Dynamic -> MaskDynamic
- ltTensorT :: Dynamic -> Dynamic -> Dynamic
- ltTensorT_ :: Dynamic -> Dynamic -> IO ()
- leTensor :: Dynamic -> Dynamic -> MaskDynamic
- leTensorT :: Dynamic -> Dynamic -> Dynamic
- leTensorT_ :: Dynamic -> Dynamic -> IO ()
- gtTensor :: Dynamic -> Dynamic -> MaskDynamic
- gtTensorT :: Dynamic -> Dynamic -> Dynamic
- gtTensorT_ :: Dynamic -> Dynamic -> IO ()
- geTensor :: Dynamic -> Dynamic -> MaskDynamic
- geTensorT :: Dynamic -> Dynamic -> Dynamic
- geTensorT_ :: Dynamic -> Dynamic -> IO ()
- neTensor :: Dynamic -> Dynamic -> MaskDynamic
- neTensorT :: Dynamic -> Dynamic -> Dynamic
- neTensorT_ :: Dynamic -> Dynamic -> IO ()
- eqTensor :: Dynamic -> Dynamic -> MaskDynamic
- eqTensorT :: Dynamic -> Dynamic -> Dynamic
- eqTensorT_ :: Dynamic -> Dynamic -> IO ()

# Documentation

ltTensor :: Dynamic -> Dynamic -> MaskDynamic Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

leTensor :: Dynamic -> Dynamic -> MaskDynamic Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

gtTensor :: Dynamic -> Dynamic -> MaskDynamic Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

return a tensor which contains numeric values indicating the relation between two tensors. 0 stands for false, 1 stands for true.

mutate a tensor in-place with its numeric relation to the second tensor of the same size, where 0 stands for false and 1 stands for true.

geTensor :: Dynamic -> Dynamic -> MaskDynamic Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

neTensor :: Dynamic -> Dynamic -> MaskDynamic Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.

eqTensor :: Dynamic -> Dynamic -> MaskDynamic Source #

Return a byte tensor which contains boolean values indicating the relation between two tensors.