From: Florent Monnier <fmonnier@linux-nantes.fr.eu.org>
To: caml-list@inria.fr
Subject: Re: Bigarray.c_layout
Date: Fri, 14 Apr 2006 20:07:54 +0200 [thread overview]
Message-ID: <200604142007.54690.fmonnier@linux-nantes.fr.eu.org> (raw)
In-Reply-To: <20060414.193255.24118599.debian00@tiscali.fr>
> Why can't you just write arr.{j,i,k} instead of arr.{i,j,k} ?
No it is really the ordering of the data which changes, let's see an example:
In the library I use the elements are ordered like this in the 1dim C array:
01 02 03 04 05 06
07 08 09 10 11 12
13 14 15 16 17 18
19 20 21 22 23 24
but with the c_layout of big array the datas are ordered like this :
01 05 09 13 17 21
02 06 10 14 18 22
03 07 11 15 19 23
04 08 12 16 20 24
--
next prev parent reply other threads:[~2006-04-14 18:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-14 14:04 Bigarray.c_layout Florent Monnier
[not found] ` <20060414.193255.24118599.debian00@tiscali.fr>
2006-04-14 18:07 ` Florent Monnier [this message]
2006-04-20 9:42 ` [Caml-list] Bigarray.c_layout Damien Doligez
2006-04-20 14:03 ` Florent Monnier
2006-04-20 21:14 ` Remi Vanicat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200604142007.54690.fmonnier@linux-nantes.fr.eu.org \
--to=fmonnier@linux-nantes.fr.eu.org \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).