Skip to content
This repository has been archived by the owner on Jan 12, 2020. It is now read-only.

Add blog post on multidimensional iteration and indexing #324

Merged
merged 2 commits into from
Feb 1, 2016

Conversation

timholy
Copy link
Sponsor Member

@timholy timholy commented Jan 31, 2016

Summarizes the work of @mbauman, @Jutho, and myself on indexing and iteration, in an attempt to make this information more widespread.

Is there an easy way to preview it? I checked it using a locally-installed markdown renderer, and it looked fine, but that doesn't use all the nice highlighting.

@jiahao
Copy link
Member

jiahao commented Jan 31, 2016

👍 Reads well to me

@tkelman
Copy link
Contributor

tkelman commented Feb 1, 2016

Nice! I definitely learned something here.

@jakebolewski
Copy link
Member

Great Post! I think you have to give a brief definition of type-instability (as you mention it often) or link to other material that explains this concept more in depth. This may be a common term thrown around in the Julia community, but there is no clear definition for this concept and it is not widely used outside it.


Starting with release 0.4, Julia makes it easy to write elegant and
efficient multidimensional algorithms. The new capabilities rest on
two foundations: a new type of iterator, called `CartesianIndex`, and
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: the iterator is CartesianRange, which has CartesianIndex elements.

@mbauman
Copy link
Sponsor Member

mbauman commented Feb 1, 2016

👍.

@Jutho
Copy link

Jutho commented Feb 1, 2016

Great read. CartesianRange/Index have already evolved significantly since the first version to which I contributed. Thanks for all the great work @timholy and @mbauman !

sophisticated array indexing mechanisms. Before I explain, let me
emphasize that developing these capabilities was a collaborative
effort, with the bulk of the work done by Matt Bauman (@mbauman),
Jutho Haegeman (@Jutho), and myself.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add @timholy?

@rfourquet
Copy link
Member

Thank you!

@timholy
Copy link
Sponsor Member Author

timholy commented Feb 1, 2016

Thanks for the comments everyone, they were very helpful. I'll leave this open a bit longer in case others want to chime in.

timholy added a commit that referenced this pull request Feb 1, 2016
Add blog post on multidimensional iteration and indexing
@timholy timholy merged commit 1dd5ad2 into master Feb 1, 2016
@timholy timholy deleted the teh/iterators branch February 1, 2016 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants