Portability | portable |
---|---|
Stability | provisional |
Maintainer | Alberto Ruiz (aruiz at um dot es) |
(Very provisional) operators for frequent operations.
- (<>) :: (Mul a b c, Field t) => a t -> b t -> c t
- (<.>) :: Field t => Vector t -> Vector t -> t
- (<\>) :: Field a => Matrix a -> Vector a -> Vector a
- (.*) :: Linear c a => a -> c a -> c a
- (*/) :: Linear c a => c a -> a -> c a
- (<|>) :: (Element t, Joinable a b) => a t -> b t -> Matrix t
- (<->) :: (Element t, Joinable a b) => a t -> b t -> Matrix t
Documentation
(<\>) :: Field a => Matrix a -> Vector a -> Vector aSource
least squares solution of a linear system, similar to the \ operator of Matlab/Octave (based on linearSolveSVD).
(<|>) :: (Element t, Joinable a b) => a t -> b t -> Matrix tSource
Horizontal concatenation of matrices and vectors:
> (ident 3 <-> 3 * ident 3) <|> fromList [1..6.0] (6><4) [ 1.0, 0.0, 0.0, 1.0 , 0.0, 1.0, 0.0, 2.0 , 0.0, 0.0, 1.0, 3.0 , 3.0, 0.0, 0.0, 4.0 , 0.0, 3.0, 0.0, 5.0 , 0.0, 0.0, 3.0, 6.0 ]