Size helpers #rows and #cols #53

Merged
merged 5 commits into from Jan 4, 2013

Conversation

Projects
None yet
2 participants
Owner

agarie commented Dec 9, 2012

These are the helpers I described last week to @mohawkjohn. It's basically syntactic sugar for #shape, but I found them to help create more readable scripts.

And the slowdown for calling one method (and possibly caching the number of rows/columns) isn't so great, compared to the complexity of most of the matrix operations we have.

mohawkjohn merged commit c424342 into SciRuby:master Jan 4, 2013

agarie deleted the agarie:size-helpers branch Jan 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment