Module
Data.Matrix.Operations
- Package
- purescript-sized-matrices
- Repository
- csicar/purescript-sized-matrices
#(⤓) Source
Operator alias for Data.Matrix.Operations.consRowVec (right-associative / precedence 4)
> (vec2 1 2) ⤓ (matrix22 0 2 3 5)
[1,2]
[0,2]
[3,5]
#(⇥) Source
Operator alias for Data.Matrix.Operations.consColVec (right-associative / precedence 5)
> (Vec.vec2 1 2) ⇥ (matrix22 0 2 3 5)
[2,3,5]
[1,0,2]
#(&) Source
Operator alias for Data.Matrix.Operations.consSingle (right-associative / precedence 4)
> 1 & 2 & 3 & empty
[1, 2, 3]
#replaceWithIdBlock Source
replaceWithIdBlock :: forall a w h. CommutativeRing a => Nat w => Nat h => Int -> Int -> Matrix h w a -> Matrix h w a