From 690a74d571c61330978fdf5e4565ce0b8622030b Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 14 Apr 2024 16:27:02 +0200 Subject: unScalar, constant --- src/Data/Array/Nested.hs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/Data/Array/Nested.hs') diff --git a/src/Data/Array/Nested.hs b/src/Data/Array/Nested.hs index 23d20eb..cd2dde7 100644 --- a/src/Data/Array/Nested.hs +++ b/src/Data/Array/Nested.hs @@ -4,7 +4,8 @@ module Data.Array.Nested ( Ranked, IxR(..), rshape, rindex, rindexPartial, rgenerate, rsumOuter1, - rtranspose, rappend, rscalar, rfromVector, + rtranspose, rappend, rscalar, rfromVector, runScalar, + rconstant, -- ** Lifting orthotope operations to 'Ranked' arrays rlift, @@ -13,7 +14,8 @@ module Data.Array.Nested ( IxS(..), KnownShape(..), SShape(..), sshape, sindex, sindexPartial, sgenerate, ssumOuter1, - stranspose, sappend, sscalar, sfromVector, + stranspose, sappend, sscalar, sfromVector, sunScalar, + sconstant, -- ** Lifting orthotope operations to 'Shaped' arrays slift, @@ -21,7 +23,8 @@ module Data.Array.Nested ( Mixed, IxX(..), KnownShapeX(..), StaticShapeX(..), - mgenerate, mtranspose, mappend, mfromVector, + mgenerate, mtranspose, mappend, mfromVector, munScalar, + mconstant, -- * Array elements Elt(mshape, mindex, mindexPartial, mscalar, mlift, mlift2), -- cgit v1.2.3-70-g09d2