Row-major transform John Cowan (16 Mar 2023 18:33 UTC)
(missing)
Re: Row-major transform John Cowan (16 Mar 2023 21:55 UTC)
Re: Row-major transform Bradley Lucier (16 Mar 2023 22:46 UTC)
Re: Row-major transform Per Bothner (16 Mar 2023 18:49 UTC)

Re: Row-major transform Per Bothner 16 Mar 2023 18:48 UTC


On 3/16/23 11:32, John Cowan wrote:
> What''s the best way to transform an arbitrary array into a 1-dimensional array in row-major order?

FWIW SRFI-164 has array->vector (which creates a view with shared storage)
and array->flatten (which creates a copy).

--
	--Per Bothner
xxxxxx@bothner.com   http://per.bothner.com/