Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
IfElse = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
SciMLPublic = "431bcebd-1456-4ced-9d72-93c2757fff0b"
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"

[weakdeps]
Expand All @@ -23,6 +24,7 @@ ArrayInterface = "7"
Compat = "4"
IfElse = "0.1"
PrecompileTools = "1"
SciMLPublic = "1.0.0"
Static = "0.8, 1"
julia = "1.10"

Expand Down
12 changes: 12 additions & 0 deletions src/StaticArrayInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ using PrecompileTools
import Compat
end

using SciMLPublic: @public
@public BroadcastAxis, LazyAxis, OptionallyStaticStepRange,
OptionallyStaticUnitRange, SOneTo, SUnitRange, StrideIndex
@public static_axes,
axes_types, broadcast_axis, deleteat, dense_dims, from_parent_dims, getindex, indices,
insert, static_length, lazy_axes, offset1, offsets, setindex!, static_size, static_strides,
to_axes, to_axis, to_dims, to_index, static_to_indices, to_parent_dims, unsafe_reconstruct
@public contiguous_axis, contiguous_axis_indicator, contiguous_batch_size, dimnames,
has_dimnames, has_parent, is_column_major, is_lazy_conjugate,
is_splat_index, known_dimnames, known_first, known_last, known_length,
known_offset1, known_offsets, known_size, known_step, known_strides

"""
StrideIndex(x)
Subtype of `ArrayIndex` that transforms and index using stride layout information
Expand Down
Loading