Skip to content

Commit 696a0d7

Browse files
committed
Add src/getconstindexes.jl
1 parent 44c12bc commit 696a0d7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/getconstindexes.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)