Copyright | (c) Sam Stites 2017 |
---|---|
License | BSD3 |
Maintainer | sam@stites.io |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- ltTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d
- ltTensorT :: Dimensions d => Tensor d -> Tensor d -> Tensor d
- ltTensorT_ :: Tensor d -> Tensor d -> IO ()
- leTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d
- leTensorT :: Dimensions d => Tensor d -> Tensor d -> Tensor d
- leTensorT_ :: Tensor d -> Tensor d -> IO ()
- gtTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d
- gtTensorT :: Dimensions d => Tensor d -> Tensor d -> Tensor d
- gtTensorT_ :: Tensor d -> Tensor d -> IO ()
- geTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d
- geTensorT :: Dimensions d => Tensor d -> Tensor d -> Tensor d
- geTensorT_ :: Tensor d -> Tensor d -> IO ()
- neTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d
- neTensorT :: Dimensions d => Tensor d -> Tensor d -> Tensor d
- neTensorT_ :: Tensor d -> Tensor d -> IO ()
- eqTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d
- eqTensorT :: Dimensions d => Tensor d -> Tensor d -> Tensor d
- eqTensorT_ :: Tensor d -> Tensor d -> IO ()
Documentation
ltTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #
Return a byte tensor which contains boolean values indicating the relation between two tensors.
:: Dimensions d | |
=> Tensor d | source tensor. |
-> Tensor d | tensor to compare with. |
-> Tensor d | new return tensor. |
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 :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #
Return a byte tensor which contains boolean values indicating the relation between two tensors.
:: Dimensions d | |
=> Tensor d | source tensor. |
-> Tensor d | tensor to compare with. |
-> Tensor d | new return tensor. |
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 :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #
Return a byte tensor which contains boolean values indicating the relation between two tensors.
:: Dimensions d | |
=> Tensor d | source tensor. |
-> Tensor d | tensor to compare with. |
-> Tensor d | new return tensor. |
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 :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #
Return a byte tensor which contains boolean values indicating the relation between two tensors.
:: Dimensions d | |
=> Tensor d | source tensor. |
-> Tensor d | tensor to compare with. |
-> Tensor d | new return tensor. |
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.
neTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #
Return a byte tensor which contains boolean values indicating the relation between two tensors.
:: Dimensions d | |
=> Tensor d | source tensor. |
-> Tensor d | tensor to compare with. |
-> Tensor d | new return tensor. |
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.
eqTensor :: Dimensions d => Tensor d -> Tensor d -> MaskTensor d Source #
Return a byte tensor which contains boolean values indicating the relation between two tensors.