Following up on SRFI 179 Bradley Lucier (22 Sep 2021 22:30 UTC)
Re: Following up on SRFI 179 John Cowan (24 Sep 2021 19:24 UTC)
Re: Following up on SRFI 179 Alex Shinn (25 Sep 2021 13:24 UTC)
Re: Following up on SRFI 179 Bradley Lucier (25 Sep 2021 16:43 UTC)
Re: Following up on SRFI 179 Alex Shinn (28 Sep 2021 07:36 UTC)
Re: Following up on SRFI 179 Bradley Lucier (28 Sep 2021 20:20 UTC)
Re: Following up on SRFI 179 Bradley Lucier (28 Sep 2021 20:30 UTC)
Re: Following up on SRFI 179 Bradley Lucier (01 Oct 2021 00:07 UTC)
Re: Following up on SRFI 179 Alex Shinn (01 Oct 2021 00:43 UTC)
Re: Following up on SRFI 179 Lucier, Bradley J (05 Oct 2021 01:04 UTC)
Re: Following up on SRFI 179 John Cowan (06 Oct 2021 01:26 UTC)
Re: Following up on SRFI 179 Lucier, Bradley J (06 Oct 2021 13:48 UTC)
Re: Following up on SRFI 179 Bradley Lucier (05 Oct 2021 19:54 UTC)
array-{append|stack|inner-product} Bradley Lucier (21 Oct 2021 15:52 UTC)

Re: Following up on SRFI 179 Alex Shinn 01 Oct 2021 00:43 UTC

On Fri, Oct 1, 2021 at 9:07 AM Bradley Lucier <xxxxxx@math.purdue.edu> wrote:
>
> But in your test suite you have:
>
> (myarray= (tensor '((4 7) (2 6) (1 0) (0 1)))
>            (array-append 0
>                          (list->array '(4 7 2 6)
>                                       (make-interval '#(2 2) '#(4 4)))
>                          (identity-array 2)))
>
> and (identity-array 2) has domain (make-interval '#(2 2)), which differs
> in dimension 1 from the domain of the other interval, which is
> (make-interval '#(2 2) '#(4 4))

It translates all input arrays to the origin, so it only requires that the
dimensions have the same size, not the same upper and lower bounds.

It's simpler and probably better to skip this and require the same domains
(modulo the appended dimension).

I also later added array-to-origin so you can manually translate if needed.

--
Alex