cifl-math-library-1.1.1.0: Math libraries
Safe HaskellSafe
LanguageHaskell2010

Math.Matrix.Indexable

Documentation

indexable_matrix_projections :: (Indexable m (n a), Indexable n a) => (m :*: n) (Index (m :*: n) a) Source #

apply_index :: Indexable m a => Index m a -> m a -> a Source #

with :: Indexable f a => (Index f a -> b) -> f b Source #

with2 :: (Indexable f a, Indexable g b) => (Index f a -> Index g b -> c) -> (f :*: g) c Source #

with3 :: (Indexable f a, Indexable g b, Indexable h c) => (Index f a -> Index g b -> Index h c -> d) -> (f :*: (g :*: h)) d Source #

sum_indices :: (Foldable f, Indexable f b, Num b) => (f :*: f) b -> b Source #

Orphan instances

Num a => Indexable I a Source # 
Instance details

(Integral a, Indexable f a, Indexable g a) => Indexable (f :*: g) a Source # 
Instance details

Methods

diagonal_projections :: (f :*: g) (Index (f :*: g) a) Source #

basis_vector :: Index (f :*: g) a -> (f :*: g) a Source #

index_project :: Index (f :*: g) a -> (f :*: g) a -> a Source #

indexable_indices :: (f :*: g) a Source #