Copyright | (c) Sam Stites 2017 |
---|---|
License | BSD3 |
Maintainer | sam@stites.io |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Basic Tensor functionality signature file for Index tensors.
Synopsis
- c_new :: Ptr CState -> IO (Ptr CLongTensor)
- c_newWithSize1d :: Ptr CState -> CLLong -> IO (Ptr CLongTensor)
- c_newWithSize2d :: Ptr CState -> CLLong -> CLLong -> IO (Ptr CLongTensor)
- c_newWithSize3d :: Ptr CState -> CLLong -> CLLong -> CLLong -> IO (Ptr CLongTensor)
- c_newWithSize4d :: Ptr CState -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr CLongTensor)
- c_set1d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLong -> IO ()
- c_resize1d :: Ptr CState -> Ptr CLongTensor -> CLLong -> IO ()
- c_nDimension :: Ptr CState -> Ptr CLongTensor -> IO CInt
- c_size :: Ptr CState -> Ptr CLongTensor -> CInt -> IO CLLong
- c_get1d :: Ptr CState -> Ptr CLongTensor -> CLLong -> IO CLong
- c_get2d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLLong -> IO CLong
- c_get3d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLLong -> CLLong -> IO CLong
- c_get4d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO CLong
Documentation
c_newWithSize1d :: Ptr CState -> CLLong -> IO (Ptr CLongTensor) #
ffi to c-level newWithSize1d
c_newWithSize2d :: Ptr CState -> CLLong -> CLLong -> IO (Ptr CLongTensor) #
c_newWithSize3d :: Ptr CState -> CLLong -> CLLong -> CLLong -> IO (Ptr CLongTensor) #
c_resize1d :: Ptr CState -> Ptr CLongTensor -> CLLong -> IO () #
ffi to c-level resize1d
c_nDimension :: Ptr CState -> Ptr CLongTensor -> IO CInt #
ffi to c-level nDimension