Closed austin-sandia closed 7 years ago
Thanks for reporting.
I don't, but its definitely something that should be added. I'm considering:
A[0..3, 3..end]
A[0..3, all]
those look great.
looking good . . . might as well add a "begin" or "first" to complete the triangle.
My only concern there is that we'd be polluting the namespace with common identifiers, making it harder to import golem.*
. I'd probably end up using 0..end
anyway since thats shorter than start..end
. The current approach matches MATLAB's 1:end
, which would be good for people coming from that background.
I'd much prefer numpy's A[:]
or MATLAB's A(:)
syntax, but unfortunately Kotlin's syntax doesn't support anything like A[5..]
or A[,1..2]
apologies. agreed that 0 is better than "first."
for instance something like
A[0..5,:]
?
or do I have to do
A[0..5,0 until numCols]
?
beautiful project.
thanks.