blas-0.4.1: Bindings to the BLAS librarySource codeContentsIndex
BLAS.Tensor.Dense.Immutable
Stabilityexperimental
MaintainerPatrick Perry <patperry@stanford.edu>
Description
Synopsis
class ITensor x i e => IDTensor x i e where
zero :: i -> x e
constant :: i -> e -> x e
Documentation
class ITensor x i e => IDTensor x i e whereSource
Class for immutable dense tensors.
Methods
zero :: i -> x eSource
Get a zero tensor of the given shape.
constant :: i -> e -> x eSource
Get a new constant tensor of the given shape.
show/hide Instances
BLAS1 e => IDTensor (DVector Imm n) Int e
BLAS1 e => IDTensor (DVector Imm n) Int e
BLAS1 e => IDTensor (DMatrix Imm ((,) m n)) ((,) Int Int) e
BLAS1 e => IDTensor (DMatrix Imm ((,) m n)) ((,) Int Int) e
Produced by Haddock version 2.3.0