We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c12bc commit 696a0d7Copy full SHA for 696a0d7
src/getconstindexes.jl
@@ -0,0 +1,9 @@
1
+@inline second(x) = @inbounds getindex(x, 2)
2
+@inline third(x) = @inbounds getindex(x, 3)
3
+@inline fourth(x) = @inbounds getindex(x, 4)
4
+@inline fifth(x) = @inbounds getindex(x, 5)
5
+@inline sixth(x) = @inbounds getindex(x, 6)
6
+@inline seventh(x) = @inbounds getindex(x, 7)
7
+@inline eighth(x) = @inbounds getindex(x, 8)
8
+@inline ninth(x) = @inbounds getindex(x, 9)
9
+
0 commit comments