diff --git a/previews/PR801/404.html b/previews/PR801/404.html new file mode 100644 index 000000000..319d9f47a --- /dev/null +++ b/previews/PR801/404.html @@ -0,0 +1,22 @@ + + + + + + 404 | DimensionalData.jl + + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/previews/PR801/api/dimensions.html b/previews/PR801/api/dimensions.html new file mode 100644 index 000000000..f8daa8382 --- /dev/null +++ b/previews/PR801/api/dimensions.html @@ -0,0 +1,181 @@ + + + + + + Dimensions | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Dimensions

Dimensions are kept in the sub-module Dimensions.

# DimensionalData.DimensionsModule.
julia
Dimensions

Sub-module for Dimensions wrappers, and operations on them used in DimensionalData.jl.

To load Dimensions types and methods into scope:

julia
using DimensionalData
+using DimensionalData.Dimensions

source


Dimensions have a type-hierarchy that organises plotting and dimension matching.

# DimensionalData.Dimensions.DimensionType.
julia
Dimension

Abstract supertype of all dimension types.

Example concrete implementations are X, Y, Z, Ti (Time), and the custom Dim dimension.

Dimensions label the axes of an AbstractDimArray, or other dimensional objects, and are used to index into an array.

They may also wrap lookup values for each array axis. This may be any AbstractVector matching the array axis length, but will usually be converted to a Lookup when use in a constructed object.

A Lookup gives more details about the dimension, such as that it is Categorical or Sampled as Points or Intervals along some transect. DimensionalData will attempt to guess the lookup from the passed-in index value.

Example:

julia
using DimensionalData, Dates
+
+x = X(2:2:10)
+y = Y(['a', 'b', 'c'])
+ti = Ti(DateTime(2021, 1):Month(1):DateTime(2021, 12))
+
+A = DimArray(zeros(3, 5, 12), (y, x, ti))
+
+# output
+
+╭────────────────────────────╮
+3×5×12 DimArray{Float64,3} │
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+ Y  Categorical{Char} ['a', 'b', 'c'] ForwardOrdered,
+ X  Sampled{Int64} 2:2:10 ForwardOrdered Regular Points,
+  ↗ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+   2    4    6    8    10
+  'a'  0.0  0.0  0.0  0.0   0.0
+  'b'  0.0  0.0  0.0  0.0   0.0
+  'c'  0.0  0.0  0.0  0.0   0.0

For simplicity, the same Dimension types are also used as wrappers in getindex, like:

julia
x = A[X(2), Y(3)]
+
+# output
+
+╭────────────────────────────────╮
+12-element DimArray{Float64,1} │
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2021-01-01T00:00:00  0.0
+ 2021-02-01T00:00:00  0.0
+ 2021-03-01T00:00:00  0.0
+ 2021-04-01T00:00:00  0.0
+ 2021-05-01T00:00:00  0.0
+ 2021-06-01T00:00:00  0.0
+ 2021-07-01T00:00:00  0.0
+ 2021-08-01T00:00:00  0.0
+ 2021-09-01T00:00:00  0.0
+ 2021-10-01T00:00:00  0.0
+ 2021-11-01T00:00:00  0.0
+ 2021-12-01T00:00:00  0.0

A Dimension can also wrap Selector.

julia
x = A[X(Between(3, 4)), Y(At('b'))]
+
+# output
+
+╭──────────────────────────╮
+1×12 DimArray{Float64,2} │
+├──────────────────────────┴───────────────────────────────────────────── dims ┐
+ X  Sampled{Int64} 4:2:4 ForwardOrdered Regular Points,
+ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+   2021-01-01T00:00:00   2021-02-01T00:00:00   2021-12-01T00:00:00
+ 4    0.0                   0.0                      0.0

source


# DimensionalData.Dimensions.DependentDimType.
julia
DependentDim <: Dimension

Abstract supertype for dependent dimensions. These will plot on the Y axis.

source


# DimensionalData.Dimensions.IndependentDimType.
julia
IndependentDim <: Dimension

Abstract supertype for independent dimensions. These will plot on the X axis.

source


# DimensionalData.Dimensions.XDimType.
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source


# DimensionalData.Dimensions.YDimType.
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source


# DimensionalData.Dimensions.ZDimType.
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source


# DimensionalData.Dimensions.TimeDimType.
julia
TimeDim <: IndependentDim

Abstract supertype for all time dimensions.

In a TimeDime with Interval sampling the locus will automatically be set to Start(). Dates and times generally refer to the start of a month, hour, second etc., not the central point as is more common with spatial data. `

source


# DimensionalData.Dimensions.XType.
julia
X <: XDim
+
+X(val=:)

X Dimension. X <: XDim <: IndependentDim

Examples

julia
xdim = X(2:2:10)
julia
val = A[X(1)]
julia
mean(A; dims=X)

source


# DimensionalData.Dimensions.YType.
julia
Y <: YDim
+
+Y(val=:)

Y Dimension. Y <: YDim <: DependentDim

Examples

julia
ydim = Y(['a', 'b', 'c'])
julia
val = A[Y(1)]
julia
mean(A; dims=Y)

source


# DimensionalData.Dimensions.ZType.
julia
Z <: ZDim
+
+Z(val=:)

Z Dimension. Z <: ZDim <: Dimension

Example:

julia
zdim = Z(10:10:100)
julia
val = A[Z(1)]
julia
mean(A; dims=Z)

source


# DimensionalData.Dimensions.TiType.

m Ti <: TimeDim

Ti(val=:)

Time Dimension. Ti <: TimeDim <: IndependentDim

Time is already used by Dates, and T is a common type parameter, We use Ti to avoid clashes.

Example:

julia
timedim = Ti(DateTime(2021, 1):Month(1):DateTime(2021, 12))
julia
val = A[Ti(1)]
julia
mean(A; dims=Ti)

source


# DimensionalData.Dimensions.DimType.
julia
Dim{S}(val=:)

A generic dimension. For use when custom dims are required when loading data from a file. Can be used as keyword arguments for indexing.

Dimension types take precedence over same named Dim types when indexing with symbols, or e.g. creating Tables.jl keys.

julia
julia> dim = Dim{:custom}(['a', 'b', 'c'])
+custom ['a', 'b', 'c']

source


# DimensionalData.Dimensions.AnonDimType.
julia
AnonDim <: Dimension
+
+AnonDim()

Anonymous dimension. Used when extra dimensions are created, such as during transpose of a vector.

source


# DimensionalData.Dimensions.@dimMacro.
julia
@dim typ [supertype=Dimension] [label::String=string(typ)]

Macro to easily define new dimensions.

The supertype will be inserted into the type of the dim. The default is simply YourDim <: Dimension.

Making a Dimension inherit from XDim, YDim, ZDim or TimeDim will affect automatic plot layout and other methods that dispatch on these types. <: YDim are plotted on the Y axis, <: XDim on the X axis, etc.

label is used in plots and similar, if the dimension is short for a longer word.

Example:

julia
using DimensionalData
+using DimensionalData: @dim, YDim, XDim
+@dim Lat YDim "Latitude"
+@dim Lon XDim "Longitude"
+# output

source


Exported methods

These are widely useful methods for working with dimensions.

# DimensionalData.Dimensions.dimsFunction.
julia
dims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+dims(x, dim) => Dimension

Return a tuple of Dimensions for an object, in the order that matches the axes or columns of the underlying data.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

The default is to return nothing.

source

julia
dims(x, query) => Tuple{Vararg{Dimension}}
+dims(x, query...) => Tuple{Vararg{Dimension}}

Get the dimension(s) matching the type(s) of the query dimension.

Lookup can be an Int or an Dimension, or a tuple containing any combination of either.

Arguments

  • x: any object with a dims method, or a Tuple of Dimension.

  • query: Tuple or a single Dimension or Dimension Type.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(2, 3, 2), (X, Y, Z))
+╭───────────────────────────╮
+2×3×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ X,  Y, ↗ Z
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+
+julia> dims(A, (X, Y))
+( X,  Y)

source


# DimensionalData.Dimensions.otherdimsFunction.
julia
otherdims(x, query) => Tuple{Vararg{Dimension,N}}

Get the dimensions of an object not in query.

Arguments

  • x: any object with a dims method, a Tuple of Dimension.

  • query: Tuple or single Dimension or dimension Type.

  • f: <: by default, but can be >: to match abstract types to concrete types.

A tuple holding the unmatched dimensions is always returned.

Example

julia
julia> using DimensionalData, DimensionalData.Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> otherdims(A, X)
+( Y,  Z)
+
+julia> otherdims(A, (Y, Z))
+( X)

source


# DimensionalData.Dimensions.dimnumFunction.
julia
dimnum(x, query::Tuple) => NTuple{Int}
+dimnum(x, query) => Int

Get the number(s) of Dimension(s) as ordered in the dimensions of an object.

Arguments

  • x: any object with a dims method, a Tuple of Dimension or a single Dimension.

  • query: Tuple, Array or single Dimension or dimension Type.

The return type will be a Tuple of Int or a single Int, depending on whether query is a Tuple or single Dimension.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> dimnum(A, (Z, X, Y))
+(3, 1, 2)
+
+julia> dimnum(A, Y)
+2

source


# DimensionalData.Dimensions.hasdimFunction.
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+hasdim([f], x, query...) => NTuple{Bool}
+hasdim([f], x, query) => Bool

Check if an object x has dimensions that match or inherit from the query dimensions.

Arguments

  • x: any object with a dims method, a Tuple of Dimension or a single Dimension.

  • query: Tuple or single Dimension or dimension Type.

  • f: <: by default, but can be >: to match abstract types to concrete types.

Check if an object or tuple contains an Dimension, or a tuple of dimensions.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> hasdim(A, X)
+true
+
+julia> hasdim(A, (Z, X, Y))
+(true, true, true)
+
+julia> hasdim(A, Ti)
+false

source


Non-exported methods

# DimensionalData.Dimensions.lookupFunction.
julia
lookup(x::Dimension) => Lookup
+lookup(x, [dims::Tuple]) => Tuple{Vararg{Lookup}}
+lookup(x::Tuple) => Tuple{Vararg{Lookup}}
+lookup(x, dim) => Lookup

Returns the Lookup of a dimension. This dictates properties of the dimension such as array axis and lookup order, and sampling properties.

dims can be a Dimension, a dimension type, or a tuple of either.

This is separate from val in that it will only work when dimensions actually contain an AbstractArray lookup, and can be used on a DimArray or DimStack to retrieve all lookups, as there is no ambiguity of meaning as there is with val.

source


# DimensionalData.Dimensions.labelFunction.
julia
label(x) => String
+label(x, dims::Tuple) => NTuple{N,String}
+label(x, dim) => String
+label(xs::Tuple) => NTuple{N,String}

Get a plot label for data or a dimension. This will include the name and units if they exist, and anything else that should be shown on a plot.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.formatFunction.
julia
format(dims, x) => Tuple{Vararg{Dimension,N}}

Format the passed-in dimension(s) dims to match the object x.

Errors are thrown if dims don't match the array dims or size, and any fields holding Auto- objects are filled with guessed objects.

If a Lookup hasn't been specified, a lookup is chosen based on the type and element type of the values.

source


# DimensionalData.Dimensions.dims2indicesFunction.
julia
dims2indices(dim::Dimension, I) => NTuple{Union{Colon,AbstractArray,Int}}

Convert a Dimension or Selector I to indices of Int, AbstractArray or Colon.

source


# DimensionalData.Dimensions.Lookups.selectindicesFunction.
julia
selectindices(lookups, selectors)

Converts Selector to regular indices.

source


Primitive methods

These low-level methods are really for internal use, but can be useful for writing dimensional algorithms.

They are not guaranteed to keep their interface, but usually will.

# DimensionalData.Dimensions.commondimsFunction.
julia
commondims([f], x, query) => Tuple{Vararg{Dimension}}

This is basically dims(x, query) where the order of the original is kept, unlike dims where the query tuple determines the order

Also unlike dims,commondims always returns a Tuple, no matter the input. No errors are thrown if dims are absent from either x or query.

f is <: by default, but can be >: to sort abstract types by concrete types.

julia
julia> using DimensionalData, .Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> commondims(A, X)
+( X)
+
+julia> commondims(A, (X, Z))
+( X,  Z)
+
+julia> commondims(A, Ti)
+()

source


# DimensionalData.Dimensions.name2dimFunction.
julia
name2dim(s::Symbol) => Dimension
+name2dim(dims...) => Tuple{Dimension,Vararg}
+name2dim(dims::Tuple) => Tuple{Dimension,Vararg}

Convert a symbol to a dimension object. :X, :Y, :Ti etc will be converted to X(), Y(), Ti(), as with any other dims generated with the @dim macro.

All other Symbols S will generate Dim{S}() dimensions.

source


# DimensionalData.Dimensions.reducedimsFunction.
julia
reducedims(x, dimstoreduce) => Tuple{Vararg{Dimension}}

Replace the specified dimensions with an index of length 1. This is usually to match a new array size where an axis has been reduced with a method like mean or reduce to a length of 1, but the number of dimensions has not changed.

Lookup traits are also updated to correspond to the change in cell step, sampling type and order.

source


# DimensionalData.Dimensions.swapdimsFunction.
julia
swapdims(x::T, newdims) => T
+swapdims(dims::Tuple, newdims) => Tuple{Vararg{Dimension}}

Swap dimensions for the passed in dimensions, in the order passed.

Passing in the Dimension types rewraps the dimension index, keeping the index values and metadata, while constructed Dimension objects replace the original dimension. nothing leaves the original dimension as-is.

Arguments

  • x: any object with a dims method or a Tuple of Dimension.

  • newdim: Tuple of Dimension or dimension Type.

Example

julia
using DimensionalData
+A = ones(X(2), Y(4), Z(2))
+Dimensions.swapdims(A, (Dim{:a}, Dim{:b}, Dim{:c}))
+
+# output
+╭───────────────────────────╮
+2×4×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ a,  b, ↗ c
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0

source


# DimensionalData.Dimensions.slicedimsFunction.
julia
slicedims(x, I) => Tuple{Tuple,Tuple}
+slicedims(f, x, I) => Tuple{Tuple,Tuple}

Slice the dimensions to match the axis values of the new array.

All methods return a tuple containing two tuples: the new dimensions, and the reference dimensions. The ref dimensions are no longer used in the new struct but are useful to give context to plots.

Called at the array level the returned tuple will also include the previous reference dims attached to the array.

Arguments

  • f: a function getindex, view or dotview. This will be used for slicing getindex is the default if f is not included.

  • x: An AbstractDimArray, Tuple of Dimension, or Dimension

  • I: A tuple of Integer, Colon or AbstractArray

source


# DimensionalData.Dimensions.comparedimsFunction.
julia
comparedims(A::AbstractDimArray...; kw...)
+comparedims(A::Tuple...; kw...)
+comparedims(A::Dimension...; kw...)
+comparedims(::Type{Bool}, args...; kw...)

Check that dimensions or tuples of dimensions passed as each argument are the same, and return the first valid dimension. If AbstractDimArrays are passed as arguments their dimensions are compared.

Empty tuples and nothing dimension values are ignored, returning the Dimension value if it exists.

Passing Bool as the first argument means true/false will be returned, rather than throwing an error.

Keywords

These are all Bool flags:

  • type: compare dimension type, true by default.

  • valtype: compare wrapped value type, false by default.

  • val: compare wrapped values, false by default.

  • order: compare order, false by default.

  • length: compare lengths, true by default.

  • ignore_length_one: ignore length 1 in comparisons, and return whichever dimension is not length 1, if any. This is useful in e.g. broadcasting comparisons. false by default.

  • msg: DimensionalData.Warn or DimensionalData.Throw. Both may contain string, which will be added to error or warning mesages.

source


# DimensionalData.Dimensions.combinedimsFunction.
julia
combinedims(xs; check=true, kw...)

Combine the dimensions of each object in xs, in the order they are found.

Keywords are passed to comparedims.

source


# DimensionalData.Dimensions.sortdimsFunction.
julia
sortdims([f], tosort, order) => Tuple

Sort dimensions tosort by order. Dimensions in order but missing from tosort are replaced with nothing.

tosort and order can be Tuples or Vectors or Dimension or dimension type. Abstract supertypes like TimeDim can be used in order.

f is <: by default, but can be >: to sort abstract types by concrete types.

source


# DimensionalData.Dimensions.Lookups.basetypeofFunction.
julia
basetypeof(x) => Type

Get the "base" type of an object - the minimum required to define the object without it's fields. By default this is the full UnionAll for the type. But custom basetypeof methods can be defined for types with free type parameters.

In DimensionalData this is primarily used for comparing Dimensions, where Dim{:x} is different from Dim{:y}.

source


# DimensionalData.Dimensions.basedimsFunction.
julia
basedims(ds::Tuple)
+basedims(d::Union{Dimension,Symbol,Type})

Returns basetypeof(d)() or a Tuple of called on a Tuple.

See basetypeof

source


# DimensionalData.Dimensions.setdimsFunction.
julia
setdims(X, newdims) => AbstractArray
+setdims(::Tuple, newdims) => Tuple{Vararg{Dimension,N}}

Replaces the first dim matching <: basetypeof(newdim) with newdim, and returns a new object or tuple with the dimension updated.

Arguments

  • x: any object with a dims method, a Tuple of Dimension or a single Dimension.

  • newdim: Tuple or single Dimension, Type or Symbol.

Example

julia
using DimensionalData, DimensionalData.Dimensions, DimensionalData.Lookups
+A = ones(X(10), Y(10:10:100))
+B = setdims(A, Y(Categorical('a':'j'; order=ForwardOrdered())))
+lookup(B, Y)
+# output
+Categorical{Char} ForwardOrdered
+wrapping: 'a':1:'j'

source


# DimensionalData.Dimensions.dimsmatchFunction.
julia
dimsmatch([f], dim, query) => Bool
+dimsmatch([f], dims::Tuple, query::Tuple) => Bool

Compare 2 dimensions or Tuple of Dimension are of the same base type, or are at least rotations/transformations of the same type.

f is <: by default, but can be >: to match abstract types to concrete types.

source


+ + + + \ No newline at end of file diff --git a/previews/PR801/api/lookuparrays.html b/previews/PR801/api/lookuparrays.html new file mode 100644 index 000000000..a119ce3ab --- /dev/null +++ b/previews/PR801/api/lookuparrays.html @@ -0,0 +1,242 @@ + + + + + + Lookups | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Lookups

# DimensionalData.Dimensions.LookupsModule.
julia
Lookups

Module for Lookups and Selectors used in DimensionalData.jl

Lookup defines traits and AbstractArray wrappers that give specific behaviours for a lookup index when indexed with Selector.

For example, these allow tracking over array order so fast indexing works even when the array is reversed.

To load Lookup types and methods into scope:

julia
using DimensionalData
+using DimensionalData.Lookups

source


# DimensionalData.Dimensions.Lookups.LookupType.
julia
Lookup

Types defining the behaviour of a lookup index, how it is plotted and how Selectors like Between work.

A Lookup may be NoLookup indicating that there are no lookup values, Categorical for ordered or unordered categories, or a Sampled index for Points or Intervals.

source


# DimensionalData.Dimensions.Lookups.AlignedType.
julia
Aligned <: Lookup

Abstract supertype for Lookups where the lookup is aligned with the array axes.

This is by far the most common supertype for Lookup.

source


# DimensionalData.Dimensions.Lookups.AbstractSampledType.
julia
AbstractSampled <: Aligned

Abstract supertype for Lookups where the lookup is aligned with the array, and is independent of other dimensions. Sampled is provided by this package.

AbstractSampled must have order, span and sampling fields, or a rebuild method that accepts them as keyword arguments.

source


# DimensionalData.Dimensions.Lookups.SampledType.
julia
Sampled <: AbstractSampled
+
+Sampled(data::AbstractVector, order::Order, span::Span, sampling::Sampling, metadata)
+Sampled(data=AutoValues(); order=AutoOrder(), span=AutoSpan(), sampling=Points(), metadata=NoMetadata())

A concrete implementation of the Lookup AbstractSampled. It can be used to represent Points or Intervals.

Sampled is capable of representing gridded data from a wide range of sources, allowing correct bounds and Selectors for points or intervals of regular, irregular, forward and reverse lookups.

On AbstractDimArray construction, Sampled lookup is assigned for all lookups of AbstractRange not assigned to Categorical.

Arguments

  • data: An AbstractVector of lookup values, matching the length of the curresponding array axis.

  • order: Order) indicating the order of the lookup, AutoOrder by default, detected from the order of data to be ForwardOrdered, ReverseOrdered or Unordered. These can be provided explicitly if they are known and performance is important.

  • span: indicates the size of intervals or distance between points, and will be set to Regular for AbstractRange and Irregular for AbstractArray, unless assigned manually.

  • sampling: is assigned to Points, unless set to Intervals manually. Using Intervals will change the behaviour of bounds and Selectorss to take account for the full size of the interval, rather than the point alone.

  • metadata: a Dict or Metadata wrapper that holds any metadata object adding more information about the array axis - useful for extending DimensionalData for specific contexts, like geospatial data in Rasters.jl. By default it is NoMetadata().

Example

Create an array with Interval sampling, and Regular span for a vector with known spacing.

We set the locus of the Intervals to Start specifying that the lookup values are for the locus at the start of each interval.

julia
using DimensionalData, DimensionalData.Lookups
+
+x = X(Sampled(100:-20:10; sampling=Intervals(Start())))
+y = Y(Sampled([1, 4, 7, 10]; span=Regular(3), sampling=Intervals(Start())))
+A = ones(x, y)
+
+# output
+╭─────────────────────────╮
+5×4 DimArray{Float64,2} │
+├─────────────────────────┴────────────────────────────────────────── dims ┐
+ X Sampled{Int64} 100:-20:20 ReverseOrdered Regular Intervals{Start},
+ Y Sampled{Int64} [1, 4, 7, 10] ForwardOrdered Regular Intervals{Start}
+└──────────────────────────────────────────────────────────────────────────┘
+  1    4    7    10
+ 100    1.0  1.0  1.0   1.0
+  80    1.0  1.0  1.0   1.0
+  60    1.0  1.0  1.0   1.0
+  40    1.0  1.0  1.0   1.0
+  20    1.0  1.0  1.0   1.0

source


# DimensionalData.Dimensions.Lookups.AbstractCyclicType.
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source


# DimensionalData.Dimensions.Lookups.CyclicType.
julia
Cyclic <: AbstractCyclic
+
+Cyclic(data; order=AutoOrder(), span=AutoSpan(), sampling=Points(), metadata=NoMetadata(), cycle)

A Cyclic lookup is similar to Sampled but out of range Selectors At, Near, Contains will cycle the values to typemin or typemax over the length of cycle. Where and .. work as for Sampled.

This is useful when we are using mean annual datasets over a real time-span, or for wrapping longitudes so that -360 and 360 are the same.

Arguments

  • data: An AbstractVector of lookup values, matching the length of the curresponding array axis.

  • order: Order) indicating the order of the lookup, AutoOrder by default, detected from the order of data to be ForwardOrdered, ReverseOrdered or Unordered. These can be provided explicitly if they are known and performance is important.

  • span: indicates the size of intervals or distance between points, and will be set to Regular for AbstractRange and Irregular for AbstractArray, unless assigned manually.

  • sampling: is assigned to Points, unless set to Intervals manually. Using Intervals will change the behaviour of bounds and Selectorss to take account for the full size of the interval, rather than the point alone.

  • metadata: a Dict or Metadata wrapper that holds any metadata object adding more information about the array axis - useful for extending DimensionalData for specific contexts, like geospatial data in Rasters.jl. By default it is NoMetadata().

  • cycle: the length of the cycle. This does not have to exactly match the data, the step size is Week(1) the cycle can be Years(1).

Notes

  1. If you use dates and e.g. cycle over a Year, every year will have the number and spacing of Weeks and Days as the cycle year. Using At may not be reliable in terms of exact dates, as it will be applied to the specified date plus or minus n years.

  2. Indexing into a Cycled with any AbstractArray or AbstractRange will return a Sampled as the full cycle is likely no longer available.

  3. .. or Between selectors do not work in a cycled way: they work as for Sampled. This may change in future to return cycled values, but there are problems with this, such as leap years breaking correct date cycling of a single year. If you actually need this behaviour, please make a GitHub issue.

source


# DimensionalData.Dimensions.Lookups.AbstractCategoricalType.
julia
AbstractCategorical <: Aligned

Lookups where the values are categories.

Categorical is the provided concrete implementation. But this can easily be extended, all methods are defined for AbstractCategorical.

All AbstractCategorical must provide a rebuild method with data, order and metadata keyword arguments.

source


# DimensionalData.Dimensions.Lookups.CategoricalType.
julia
Categorical <: AbstractCategorical
+
+Categorical(o::Order)
+Categorical(; order=Unordered())

A Lookup where the values are categories.

This will be automatically assigned if the lookup contains AbstractString, Symbol or Char. Otherwise it can be assigned manually.

Order will be determined automatically where possible.

Arguments

  • data: An AbstractVector matching the length of the corresponding array axis.

  • order: Order) indicating the order of the lookup, AutoOrder by default, detected from the order of data to be ForwardOrdered, ReverseOrdered or Unordered. Can be provided if this is known and performance is important.

  • metadata: a Dict or Metadata wrapper that holds any metadata object adding more information about the array axis - useful for extending DimensionalData for specific contexts, like geospatial data in Rasters.jl. By default it is NoMetadata().

Example

Create an array with [Interval] sampling.

julia
using DimensionalData
+
+ds = X(["one", "two", "three"]), Y([:a, :b, :c, :d])
+A = DimArray(rand(3, 4), ds)
+Dimensions.lookup(A)
+
+# output
+
+Categorical{String} ["one", "two", "three"] Unordered,
+Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source


# DimensionalData.Dimensions.Lookups.UnalignedType.
julia
Unaligned <: Lookup

Abstract supertype for Lookup where the lookup is not aligned to the grid.

Indexing an Unaligned with Selectors must provide all other Unaligned dimensions.

source


# DimensionalData.Dimensions.Lookups.TransformedType.
julia
Transformed <: Unaligned
+
+Transformed(f, dim::Dimension; metadata=NoMetadata())

Lookup that uses an affine transformation to convert dimensions from dims(lookup) to dims(array). This can be useful when the dimensions are e.g. rotated from a more commonly used axis.

Any function can be used to do the transformation, but transformations from CoordinateTransformations.jl may be useful.

Arguments

  • f: transformation function

  • dim: a dimension to transform to.

Keyword Arguments

  • metadata:

Example

julia
using DimensionalData, DimensionalData.Lookups, CoordinateTransformations
+
+m = LinearMap([0.5 0.0; 0.0 0.5])
+A = [1 2  3  4
+     5 6  7  8
+     9 10 11 12];
+da = DimArray(A, (X(Transformed(m)), Y(Transformed(m))))
+
+da[X(At(6.0)), Y(At(2.0))]
+
+# output
+9

source


# DimensionalData.Dimensions.MergedLookupType.
julia
MergedLookup <: Lookup
+
+MergedLookup(data, dims; [metadata])

A Lookup that holds multiple combined dimensions.

MergedLookup can be indexed with Selectors like At, Between, and Where although Near has undefined meaning.

Arguments

  • data: A Vector of Tuple.

  • dims: A Tuple of Dimension indicating the dimensions in the tuples in data.

Keywords

  • metadata: a Dict or Metadata object to attach dimension metadata.

source


# DimensionalData.Dimensions.Lookups.NoLookupType.
julia
NoLookup <: Lookup
+
+NoLookup()

A Lookup that is identical to the array axis. Selectors can't be used on this lookup.

Example

Defining a DimArray without passing lookup values to the dimensions, it will be assigned NoLookup:

julia
using DimensionalData
+
+A = DimArray(rand(3, 3), (X, Y))
+Dimensions.lookup(A)
+
+# output
+
+NoLookup, NoLookup

Which is identical to:

julia
using .Lookups
+A = DimArray(rand(3, 3), (X(NoLookup()), Y(NoLookup())))
+Dimensions.lookup(A)
+
+# output
+
+NoLookup, NoLookup

source


# DimensionalData.Dimensions.Lookups.AutoLookupType.
julia
AutoLookup <: Lookup
+
+AutoLookup()
+AutoLookup(values=AutoValues(); kw...)

Automatic Lookup, the default lookup. It will be converted automatically to another Lookup when it is possible to detect it from the lookup values.

Keywords will be used in the detected Lookup constructor.

source


# DimensionalData.Dimensions.Lookups.AutoValuesType.
julia
AutoValues

Detect Lookup values from the context. This is used in NoLookup to simply use the array axis as the index when the array is constructed, and in set to change the Lookup type without changing the index values.

source


The generic value getter val

# DimensionalData.Dimensions.Lookups.valFunction.
julia
val(x)
+val(dims::Tuple) => Tuple

Return the contained value of a wrapper object.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

Objects that don't define a val method are returned unaltered.

source


Lookup methods:

# DimensionalData.Dimensions.Lookups.boundsFunction.
julia
bounds(xs, [dims::Tuple]) => Tuple{Vararg{Tuple{T,T}}}
+bounds(xs::Tuple) => Tuple{Vararg{Tuple{T,T}}}
+bounds(x, dim) => Tuple{T,T}
+bounds(dim::Union{Dimension,Lookup}) => Tuple{T,T}

Return the bounds of all dimensions of an object, of a specific dimension, or of a tuple of dimensions.

If bounds are not known, one or both values may be nothing.

dims can be a Dimension, a dimension type, or a tuple of either.

source


# DimensionalData.Dimensions.Lookups.hasselectionFunction.
julia
hasselection(x, selector) => Bool
+hasselection(x, selectors::Tuple) => Bool

Check if indexing into x with selectors can be performed, where x is some object with a dims method, and selectors is a Selector or Dimension or a tuple of either.

source


# DimensionalData.Dimensions.Lookups.samplingFunction.
julia
sampling(x, [dims::Tuple]) => Tuple
+sampling(x, dim) => Sampling
+sampling(xs::Tuple) => Tuple{Vararg{Sampling}}
+sampling(x:Union{Dimension,Lookup}) => Sampling

Return the Sampling for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.spanFunction.
julia
span(x, [dims::Tuple]) => Tuple
+span(x, dim) => Span
+span(xs::Tuple) => Tuple{Vararg{Span,N}}
+span(x::Union{Dimension,Lookup}) => Span

Return the Span for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.orderFunction.
julia
order(x, [dims::Tuple]) => Tuple
+order(xs::Tuple) => Tuple
+order(x::Union{Dimension,Lookup}) => Order

Return the Ordering of the dimension lookup for each dimension: ForwardOrdered, ReverseOrdered, or Unordered

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.locusFunction.
julia
locus(x, [dims::Tuple]) => Tuple
+locus(x, dim) => Locus
+locus(xs::Tuple) => Tuple{Vararg{Locus,N}}
+locus(x::Union{Dimension,Lookup}) => Locus

Return the Position of lookup values for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.shiftlocusFunction.
julia
shiftlocus(locus::Locus, x)

Shift the values of x from the current locus to the new locus.

We only shift Sampled, Regular or Explicit, Intervals.

source


Selectors

# DimensionalData.Dimensions.Lookups.SelectorType.
julia
Selector

Abstract supertype for all selectors.

Selectors are wrappers that indicate that passed values are not the array indices, but values to be selected from the dimension lookup, such as DateTime objects for a Ti dimension.

Selectors provided in DimensionalData are:

Note: Selectors can be modified using:

  • Not: as in Not(At(x))

And IntervalSets.jl Interval can be used instead of Between

  • ..

  • Interval

  • OpenInterval

  • ClosedInterval

source


# DimensionalData.Dimensions.Lookups.IntSelectorType.
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source


# DimensionalData.Dimensions.Lookups.ArraySelectorType.
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source


# DimensionalData.Dimensions.Lookups.AtType.
julia
At <: IntSelector
+
+At(x; atol=nothing, rtol=nothing)
+At(a, b; kw...)

Selector that exactly matches the value on the passed-in dimensions, or throws an error. For ranges and arrays, every intermediate value must match an existing value - not just the end points.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between them will be selected.

Keyword atol is passed to isapprox.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(At(20)), Y(At(6))]
+
+# output
+
+5

source


# DimensionalData.Dimensions.Lookups.NearType.
julia
Near <: IntSelector
+
+Near(x)
+Near(a, b)

Selector that selects the nearest index to x.

With Points this is simply the lookup values nearest to the x, however with Intervals it is the interval center nearest to x. This will be offset from the index value for Start and End locus.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between the nearsest value to each of them will be selected.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Near(23)), Y(Near(5.1))]
+
+# output
+4

source


# DimensionalData.Dimensions.Lookups.BetweenType.
julia
Between <: ArraySelector
+
+Between(a, b)

Depreciated: use a..b instead of Between(a, b). Other Interval objects from IntervalSets.jl, like `OpenInterval(a, b) will also work, giving the correct open/closed boundaries.

Between will e removed in future to avoid clashes with DataFrames.Between.

Selector that retrieve all indices located between 2 values, evaluated with >= for the lower value, and < for the upper value. This means the same value will not be counted twice in 2 adjacent Between selections.

For Intervals the whole interval must be lie between the values. For Points the points must fall between the values. Different Sampling types may give different results with the same input - this is the intended behaviour.

Between for Irregular intervals is a little complicated. The interval is the distance between a value and the next (for Start locus) or previous (for End locus) value.

For Center, we take the mid point between two index values as the start and end of each interval. This may or may not make sense for the values in your index, so use Between with Irregular Intervals(Center()) with caution.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Between(15, 25)), Y(Between(4, 6.5))]
+
+# output
+
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Int64} 20:10:20 ForwardOrdered Regular Points,
+ Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────┘
+  5  6
+ 20    4  5

source


# DimensionalData.Dimensions.Lookups.TouchesType.
julia
Touches <: ArraySelector
+
+Touches(a, b)

Selector that retrieves all indices touching the closed interval 2 values, for the maximum possible area that could interact with the supplied range.

This can be better than .. when e.g. subsetting an area to rasterize, as you may wish to include pixels that just touch the area, rather than those that fall within it.

Touches is different to using closed intervals when the lookups also contain intervals - if any of the intervals touch, they are included. With .. they are discarded unless the whole cell interval falls inside the selector interval.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Touches(15, 25)), Y(Touches(4, 6.5))]
+
+# output
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Int64} 20:10:20 ForwardOrdered Regular Points,
+ Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────┘
+  5  6
+ 20    4  5

source


# DimensionalData.Dimensions.Lookups.ContainsType.
julia
Contains <: IntSelector
+
+Contains(x)
+Contains(a, b)

Selector that selects the interval the value is contained by. If the interval is not present in the lookup, an error will be thrown.

Can only be used for Intervals or Categorical. For Categorical it falls back to using At. Contains should not be confused with Base.contains - use Where(contains(x)) to check for if values are contain in categorical values like strings.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between them will be selected.

Example

julia
using DimensionalData; const DD = DimensionalData
+dims_ = X(10:10:20; sampling=DD.Intervals(DD.Center())),
+        Y(5:7; sampling=DD.Intervals(DD.Center()))
+A = DimArray([1 2 3; 4 5 6], dims_)
+A[X(Contains(8)), Y(Contains(6.8))]
+
+# output
+3

source


# DimensionalData.Dimensions.Lookups.WhereType.
julia
Where <: ArraySelector
+
+Where(f::Function)

Selector that filters a dimension lookup by any function that accepts a single value and returns a Bool.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(19:21)))
+A[X(Where(x -> x > 15)), Y(Where(x -> x in (19, 21)))]
+
+# output
+
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴─────────────────────────────── dims ┐
+ X Sampled{Int64} [20] ForwardOrdered Irregular Points,
+ Y Sampled{Int64} [19, 21] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────┘
+  19  21
+ 20     4   6

source


# DimensionalData.Dimensions.Lookups.AllType.
julia
All <: Selector
+
+All(selectors::Selector...)

Selector that combines the results of other selectors. The indices used will be the union of all result sorted in ascending order.

Example

julia
using DimensionalData, Unitful
+
+dimz = X(10.0:20:200.0), Ti(1u"s":5u"s":100u"s")
+A = DimArray((1:10) * (1:20)', dimz)
+A[X=All(At(10.0), At(50.0)), Ti=All(1u"s"..10u"s", 90u"s"..100u"s")]
+
+# output
+
+╭───────────────────────╮
+2×4 DimArray{Int64,2} │
+├───────────────────────┴──────────────────────────────────────────────── dims ┐
+ X  Sampled{Float64} [10.0, 50.0] ForwardOrdered Irregular Points,
+ Ti Sampled{Unitful.Quantity{Int64, 𝐓, Unitful.FreeUnits{(s,), 𝐓, nothing}}} [1 s, 6 s, 91 s, 96 s] ForwardOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  1 s  6 s  91 s  96 s
+ 10.0    1    2    19    20
+ 50.0    3    6    57    60

source


Lookup traits

# DimensionalData.Dimensions.Lookups.LookupTraitType.
julia
LookupTrait

Abstract supertype of all traits of a Lookup.

These modify the behaviour of the lookup index.

The term "Trait" is used loosely - these may be fields of an object of traits hard-coded to specific types.

source


Order

# DimensionalData.Dimensions.Lookups.OrderType.
julia
Order <: LookupTrait

Traits for the order of a Lookup. These determine how searchsorted finds values in the index, and how objects are plotted.

source


# DimensionalData.Dimensions.Lookups.OrderedType.
julia
Ordered <: Order

Supertype for the order of an ordered Lookup, including ForwardOrdered and ReverseOrdered.

source


# DimensionalData.Dimensions.Lookups.ForwardOrderedType.
julia
ForwardOrdered <: Ordered
+
+ForwardOrdered()

Indicates that the Lookup index is in the normal forward order.

source


# DimensionalData.Dimensions.Lookups.ReverseOrderedType.
julia
ReverseOrdered <: Ordered
+
+ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source


# DimensionalData.Dimensions.Lookups.UnorderedType.
julia
Unordered <: Order
+
+Unordered()

Indicates that Lookup is unordered.

This means the index cannot be searched with searchsortedfirst or similar optimised methods - instead it will use findfirst.

source


# DimensionalData.Dimensions.Lookups.AutoOrderType.
julia
AutoOrder <: Order
+
+AutoOrder()

Specifies that the Order of a Lookup will be found automatically where possible.

source


Span

# DimensionalData.Dimensions.Lookups.SpanType.
julia
Span <: LookupTrait

Defines the type of span used in a Sampling index. These are Regular or Irregular.

source


# DimensionalData.Dimensions.Lookups.RegularType.
julia
Regular <: Span
+
+Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source


# DimensionalData.Dimensions.Lookups.IrregularType.
julia
Irregular <: Span
+
+Irregular(bounds::Tuple)
+Irregular(lowerbound, upperbound)

Points or Intervals that have an Irregular step size. To enable bounds tracking and accurate selectors, the starting bounds are provided as a 2 tuple, or 2 arguments. (nothing, nothing) is acceptable input, the bounds will be guessed from the index, but may be inaccurate.

source


# DimensionalData.Dimensions.Lookups.ExplicitType.
julia
Explicit(bounds::AbstractMatrix)

Intervals where the span is explicitly listed for every interval.

This uses a matrix where with length 2 columns for each index value, holding the lower and upper bounds for that specific index.

source


# DimensionalData.Dimensions.Lookups.AutoSpanType.
julia
AutoSpan <: Span
+
+AutoSpan()

The span will be guessed and replaced in format or set.

source


Sampling

# DimensionalData.Dimensions.Lookups.SamplingType.
julia
Sampling <: LookupTrait

Indicates the sampling method used by the index: Points or Intervals.

source


# DimensionalData.Dimensions.Lookups.PointsType.
julia
Points <: Sampling
+
+Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source


# DimensionalData.Dimensions.Lookups.IntervalsType.
julia
Intervals <: Sampling
+
+Intervals(locus::Position)

Sampling specifying that sampled values are the mean (or similar) value over an interval, rather than at one specific point.

Intervals require a locus of Start, Center or End to define the location in the interval that the index values refer to.

source


Positions

# DimensionalData.Dimensions.Lookups.PositionType.
julia
Position <: LookupTrait

Abstract supertype of types that indicate the locus of index values where they represent Intervals.

These allow for values array cells to align with the Start, Center, or End of values in the lookup index.

This means they can be plotted with correct axis markers, and allows automatic conversions to between formats with different standards (such as NetCDF and GeoTiff).

source


# DimensionalData.Dimensions.Lookups.CenterType.
julia
Center <: Position
+
+Center()

Used to specify lookup values correspond to the center locus in an interval.

source


# DimensionalData.Dimensions.Lookups.StartType.
julia
Start <: Position
+
+Start()

Used to specify lookup values correspond to the start locus of an interval.

source


# DimensionalData.Dimensions.Lookups.BeginType.
julia
Begin <: Position
+
+Begin()

Used to specify the begin index of a Dimension axis, as regular begin will not work with named dimensions.

Can be used with : to create a BeginEndRange or BeginEndStepRange.

source


# DimensionalData.Dimensions.Lookups.EndType.
julia
End <: Position
+
+End()

Used to specify the end index of a Dimension axis, as regular end will not work with named dimensions. Can be used with : to create a BeginEndRange or BeginEndStepRange.

Also used to specify lookup values correspond to the end locus of an interval.

source


# DimensionalData.Dimensions.Lookups.AutoPositionType.
julia
AutoPosition <: Position
+
+AutoPosition()

Indicates a interval where the index locus is not yet known. This will be filled with a default value on object construction.

source


Metadata

# DimensionalData.Dimensions.Lookups.AbstractMetadataType.
julia
AbstractMetadata{X,T}

Abstract supertype for all metadata wrappers.

Metadata wrappers allow tracking the contents and origin of metadata. This can facilitate conversion between metadata types (for saving a file to a different format) or simply saving data back to the same file type with identical metadata.

Using a wrapper instead of Dict or NamedTuple also lets us pass metadata objects to set without ambiguity about where to put them.

source


# DimensionalData.Dimensions.Lookups.MetadataType.
julia
Metadata <: AbstractMetadata
+
+Metadata{X}(val::Union{Dict,NamedTuple})
+Metadata{X}(pairs::Pair...) => Metadata{Dict}
+Metadata{X}(; kw...) => Metadata{NamedTuple}

General Metadata object. The X type parameter categorises the metadata for method dispatch, if required.

source


# DimensionalData.Dimensions.Lookups.NoMetadataType.
julia
NoMetadata <: AbstractMetadata
+
+NoMetadata()

Indicates an object has no metadata. But unlike using nothing, get, keys and haskey will still work on it, get always returning the fallback argument. keys returns () while haskey always returns false.

source


# DimensionalData.Dimensions.Lookups.unitsFunction.
julia
units(x) => Union{Nothing,Any}
+units(xs:Tuple) => Tuple
+unit(A::AbstractDimArray, dims::Tuple) => Tuple
+unit(A::AbstractDimArray, dim) => Union{Nothing,Any}

Get the units of an array or Dimension, or a tuple of of either.

Units do not have a set field, and may or may not be included in metadata. This method is to facilitate use in labels and plots when units are available, not a guarantee that they will be. If not available, nothing is returned.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


+ + + + \ No newline at end of file diff --git a/previews/PR801/api/reference.html b/previews/PR801/api/reference.html new file mode 100644 index 000000000..b61e6e502 --- /dev/null +++ b/previews/PR801/api/reference.html @@ -0,0 +1,487 @@ + + + + + + API Reference | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

API Reference

Arrays

# DimensionalData.AbstractBasicDimArrayType.
julia
AbstractBasicDimArray <: AbstractArray

The abstract supertype for all arrays with a dims method that returns a Tuple of Dimension

Only keyword rebuild is guaranteed to work with AbstractBasicDimArray.

source


# DimensionalData.AbstractDimArrayType.
julia
AbstractDimArray <: AbstractBasicArray

Abstract supertype for all "dim" arrays.

These arrays return a Tuple of Dimension from a dims method, and can be rebuilt using rebuild.

parent must return the source array.

They should have metadata, name and refdims methods, although these are optional.

A rebuild method for AbstractDimArray must accept data, dims, refdims, name, metadata arguments.

Indexing AbstractDimArray with non-range AbstractArray has undefined effects on the Dimension index. Use forward-ordered arrays only"

source


# DimensionalData.DimArrayType.
julia
DimArray <: AbstractDimArray
+
+DimArray(data, dims, refdims, name, metadata)
+DimArray(data, dims::Tuple; refdims=(), name=NoName(), metadata=NoMetadata())

The main concrete subtype of AbstractDimArray.

DimArray maintains and updates its Dimensions through transformations and moves dimensions to reference dimension refdims after reducing operations (like e.g. mean).

Arguments

  • data: An AbstractArray.

  • dims: A Tuple of Dimension

  • name: A string name for the array. Shows in plots and tables.

  • refdims: refence dimensions. Usually set programmatically to track past slices and reductions of dimension for labelling and reconstruction.

  • metadata: Dict or Metadata object, or NoMetadata()

Indexing can be done with all regular indices, or with Dimensions and/or Selectors.

Indexing AbstractDimArray with non-range AbstractArray has undefined effects on the Dimension index. Use forward-ordered arrays only"

Example:

julia
julia> using Dates, DimensionalData
+
+julia> ti = Ti(DateTime(2001):Month(1):DateTime(2001,12));
+
+julia> x = X(10:10:100);
+
+julia> A = DimArray(rand(12,10), (ti, x), name="example");
+
+julia> A[X(Near([12, 35])), Ti(At(DateTime(2001,5)))]
+╭───────────────────────────────────────╮
+2-element DimArray{Float64,1} example │
+├───────────────────────────────────────┴─────────────── dims ┐
+ X Sampled{Int64} [10, 40] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────┘
+ 10  0.253849
+ 40  0.637077
+
+julia> A[Near(DateTime(2001, 5, 4)), Between(20, 50)]
+╭───────────────────────────────────────╮
+4-element DimArray{Float64,1} example │
+├───────────────────────────────────────┴───────────── dims ┐
+ X Sampled{Int64} 20:10:50 ForwardOrdered Regular Points
+└───────────────────────────────────────────────────────────┘
+ 20  0.774092
+ 30  0.823656
+ 40  0.637077
+ 50  0.692235

source


Shorthand AbstractDimArray constructors:

# Base.fillFunction.
julia
Base.fill(x, dims::Dimension...; kw...) => DimArray
+Base.fill(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray with a fill value of x.

There are two kinds of Dimension value acepted:

  • A Dimension holding an AbstractVector will set the dimension index to that AbstractVector, and detect the dimension lookup.

  • A Dimension holding an Integer will set the length of the axis, and set the dimension lookup to NoLookup.

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData, Random; Random.seed!(123);
+
+julia> rand(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 1  0  0  1

source


# Base.randFunction.
julia
Base.rand(x, dims::Dimension...; kw...) => DimArray
+Base.rand(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray
+Base.rand(r::AbstractRNG, x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray
+Base.rand(r::AbstractRNG, x, dims::Dimension...; kw...) => DimArray

Create a DimArray of random values.

There are two kinds of Dimension value acepted:

  • A Dimension holding an AbstractVector will set the dimension index to that AbstractVector, and detect the dimension lookup.

  • A Dimension holding an Integer will set the length of the axis, and set the dimension lookup to NoLookup.

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> rand(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 1  0  0  1
+
+julia> rand(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0       150.0       200.0
+  :a    0.443494    0.253849    0.867547
+  :b    0.745673    0.334152    0.0802658
+  :c    0.512083    0.427328    0.311448

source


# Base.zerosFunction.
julia
Base.zeros(x, dims::Dimension...; kw...) => DimArray
+Base.zeros(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray of zeros.

There are two kinds of Dimension value acepted:

  • A Dimension holding an AbstractVector will set the dimension index to that AbstractVector, and detect the dimension lookup.

  • A Dimension holding an Integer will set the length of the axis, and set the dimension lookup to NoLookup.

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> zeros(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 0  0  0  0
+
+julia> zeros(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0  150.0  200.0
+  :a    0.0    0.0    0.0
+  :b    0.0    0.0    0.0
+  :c    0.0    0.0    0.0

source


# Base.onesFunction.
julia
Base.ones(x, dims::Dimension...; kw...) => DimArray
+Base.ones(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray of ones.

There are two kinds of Dimension value acepted:

  • A Dimension holding an AbstractVector will set the dimension index to that AbstractVector, and detect the dimension lookup.

  • A Dimension holding an Integer will set the length of the axis, and set the dimension lookup to NoLookup.

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> ones(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 1  1  1  1
+ 1  1  1  1
+
+julia> ones(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0  150.0  200.0
+  :a    1.0    1.0    1.0
+  :b    1.0    1.0    1.0
+  :c    1.0    1.0    1.0

source


Functions for getting information from objects:

# DimensionalData.Dimensions.dimsFunction.
julia
dims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+dims(x, dim) => Dimension

Return a tuple of Dimensions for an object, in the order that matches the axes or columns of the underlying data.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

The default is to return nothing.

source

julia
dims(x, query) => Tuple{Vararg{Dimension}}
+dims(x, query...) => Tuple{Vararg{Dimension}}

Get the dimension(s) matching the type(s) of the query dimension.

Lookup can be an Int or an Dimension, or a tuple containing any combination of either.

Arguments

  • x: any object with a dims method, or a Tuple of Dimension.

  • query: Tuple or a single Dimension or Dimension Type.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(2, 3, 2), (X, Y, Z))
+╭───────────────────────────╮
+2×3×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ X,  Y, ↗ Z
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+
+julia> dims(A, (X, Y))
+( X,  Y)

source


# DimensionalData.Dimensions.refdimsFunction.
julia
refdims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+refdims(x, dim) => Dimension

Reference dimensions for an array that is a slice or view of another array with more dimensions.

slicedims(a, dims) returns a tuple containing the current new dimensions and the new reference dimensions. Refdims can be stored in a field or discarded, as it is mostly to give context to plots. Ignoring refdims will simply leave some captions empty.

The default is to return an empty Tuple ().

source


# DimensionalData.Dimensions.Lookups.metadataFunction.
julia
metadata(x) => (object metadata)
+metadata(x, dims::Tuple)  => Tuple (Dimension metadata)
+metadata(xs::Tuple) => Tuple

Returns the metadata for an object or for the specified dimension(s)

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.nameFunction.
julia
name(x) => Symbol
+name(xs:Tuple) => NTuple{N,Symbol}
+name(x, dims::Tuple) => NTuple{N,Symbol}
+name(x, dim) => Symbol

Get the name of an array or Dimension, or a tuple of of either as a Symbol.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.otherdimsFunction.
julia
otherdims(x, query) => Tuple{Vararg{Dimension,N}}

Get the dimensions of an object not in query.

Arguments

  • x: any object with a dims method, a Tuple of Dimension.

  • query: Tuple or single Dimension or dimension Type.

  • f: <: by default, but can be >: to match abstract types to concrete types.

A tuple holding the unmatched dimensions is always returned.

Example

julia
julia> using DimensionalData, DimensionalData.Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> otherdims(A, X)
+( Y,  Z)
+
+julia> otherdims(A, (Y, Z))
+( X)

source


# DimensionalData.Dimensions.dimnumFunction.
julia
dimnum(x, query::Tuple) => NTuple{Int}
+dimnum(x, query) => Int

Get the number(s) of Dimension(s) as ordered in the dimensions of an object.

Arguments

  • x: any object with a dims method, a Tuple of Dimension or a single Dimension.

  • query: Tuple, Array or single Dimension or dimension Type.

The return type will be a Tuple of Int or a single Int, depending on whether query is a Tuple or single Dimension.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> dimnum(A, (Z, X, Y))
+(3, 1, 2)
+
+julia> dimnum(A, Y)
+2

source


# DimensionalData.Dimensions.hasdimFunction.
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+hasdim([f], x, query...) => NTuple{Bool}
+hasdim([f], x, query) => Bool

Check if an object x has dimensions that match or inherit from the query dimensions.

Arguments

  • x: any object with a dims method, a Tuple of Dimension or a single Dimension.

  • query: Tuple or single Dimension or dimension Type.

  • f: <: by default, but can be >: to match abstract types to concrete types.

Check if an object or tuple contains an Dimension, or a tuple of dimensions.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> hasdim(A, X)
+true
+
+julia> hasdim(A, (Z, X, Y))
+(true, true, true)
+
+julia> hasdim(A, Ti)
+false

source


Multi-array datasets

# DimensionalData.AbstractDimStackType.
julia
AbstractDimStack

Abstract supertype for dimensional stacks.

These have multiple layers of data, but share dimensions.

Notably, their behaviour lies somewhere between a DimArray and a NamedTuple:

  • indexing with a Symbol as in dimstack[:symbol] returns a DimArray layer.

  • iteration and map apply over array layers, as indexed with a Symbol.

  • getindex and many base methods are applied as for DimArray - to avoid the need to always use map.

This design gives very succinct code when working with many-layered, mixed-dimension objects. But it may be jarring initially - the most surprising outcome is that dimstack[1] will return a NamedTuple of values for the first index in all layers, while first(dimstack) will return the first value of the iterator - the DimArray for the first layer.

See DimStack for the concrete implementation. Most methods are defined on the abstract type.

To extend AbstractDimStack, implement argument and keyword version of rebuild and also rebuild_from_arrays.

The constructor of an AbstractDimStack must accept a NamedTuple.

source


# DimensionalData.DimStackType.
julia
DimStack <: AbstractDimStack
+
+DimStack(data::AbstractDimArray...; kw...)
+DimStack(data::Tuple{Vararg{AbstractDimArray}}; kw...)
+DimStack(data::NamedTuple{Keys,Vararg{AbstractDimArray}}; kw...)
+DimStack(data::NamedTuple, dims::DimTuple; metadata=NoMetadata(); kw...)

DimStack holds multiple objects sharing some dimensions, in a NamedTuple.

Notably, their behaviour lies somewhere between a DimArray and a NamedTuple:

  • indexing with a Symbol as in dimstack[:symbol] returns a DimArray layer.

  • iteration and map apply over array layers, as indexed with a Symbol.

  • getindex or view with Int, Dimensions or Selectors that resolve to Int will return a NamedTuple of values from each layer in the stack. This has very good performance, and avoids the need to always use map.

  • getindex or view with a Vector or Colon will return another DimStack where all data layers have been sliced.

  • setindex! must pass a Tuple or NamedTuple matching the layers.

  • many base and Statistics methods (sum, mean etc) will work as for a DimArray again removing the need to use map.

julia
function DimStack(A::AbstractDimArray;
+    layersfrom=nothing, name=nothing, metadata=metadata(A), refdims=refdims(A), kw...
+)

For example, here we take the mean over the time dimension for all layers:

julia
mean(mydimstack; dims=Ti)

And this equivalent to:

julia
map(A -> mean(A; dims=Ti), mydimstack)

This design gives succinct code when working with many-layered, mixed-dimension objects.

But it may be jarring initially - the most surprising outcome is that dimstack[1] will return a NamedTuple of values for the first index in all layers, while first(dimstack) will return the first value of the iterator - the DimArray for the first layer.

DimStack can be constructed from multiple AbstractDimArray or a NamedTuple of AbstractArray and a matching dims tuple.

Most Base and Statistics methods that apply to AbstractArray can be used on all layers of the stack simulataneously. The result is a DimStack, or a NamedTuple if methods like mean are used without dims arguments, and return a single non-array value.

Example

julia
julia> using DimensionalData
+
+julia> A = [1.0 2.0 3.0; 4.0 5.0 6.0];
+
+julia> dimz = (X([:a, :b]), Y(10.0:10.0:30.0))
+( X [:a, :b],
+ Y 10.0:10.0:30.0)
+
+julia> da1 = DimArray(1A, dimz; name=:one);
+
+julia> da2 = DimArray(2A, dimz; name=:two);
+
+julia> da3 = DimArray(3A, dimz; name=:three);
+
+julia> s = DimStack(da1, da2, da3);
+
+julia> s[At(:b), At(10.0)]
+(one = 4.0, two = 8.0, three = 12.0)
+
+julia> s[X(At(:a))] isa DimStack
+true

source


Dimension generators

# DimensionalData.DimIndicesType.
julia
DimIndices <: AbstractArray
+
+DimIndices(x)
+DimIndices(dims::Tuple)
+DimIndices(dims::Dimension)

Like CartesianIndices, but for Dimensions. Behaves as an Array of Tuple of Dimension(i) for all combinations of the axis indices of dims.

This can be used to view/index into arbitrary dimensions over an array, and is especially useful when combined with otherdims, to iterate over the indices of unknown dimension.

DimIndices can be used directly in getindex like CartesianIndices, and freely mixed with individual Dimensions or tuples of Dimension.

Example

Index a DimArray with DimIndices.

Notice that unlike CartesianIndices, it doesn't matter if the dimensions are not in the same order. Or even if they are not all contained in each.

julia
julia> A = rand(Y(0.0:0.3:1.0), X('a':'f'))
+╭─────────────────────────╮
+4×6 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────── dims ┐
+ Y Sampled{Float64} 0.0:0.3:0.9 ForwardOrdered Regular Points,
+ X Categorical{Char} 'a':1:'f' ForwardOrdered
+└─────────────────────────────────────────────────────────────────┘
+   'a'       'b'       'c'        'd'        'e'       'f'
+ 0.0  0.9063    0.253849  0.0991336  0.0320967  0.774092  0.893537
+ 0.3  0.443494  0.334152  0.125287   0.350546   0.183555  0.354868
+ 0.6  0.745673  0.427328  0.692209   0.930332   0.297023  0.131798
+ 0.9  0.512083  0.867547  0.136551   0.959434   0.150155  0.941133
+
+julia> di = DimIndices((X(1:2:4), Y(1:2:4)))
+╭─────────────────────────────────────────────╮
+2×2 DimIndices{Tuple{X{Int64}, Y{Int64}},2} │
+├─────────────────────────────────────── dims ┤
+ X 1:2:3,
+ Y 1:2:3
+└─────────────────────────────────────────────┘
+  1                3
+ 1     ( X 1,  Y 1)   ( X 1,  Y 3)
+ 3     ( X 3,  Y 1)   ( X 3,  Y 3)
+
+julia> A[di] # Index A with these indices
+╭─────────────────────────╮
+2×2 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────── dims ┐
+ Y Sampled{Float64} 0.0:0.6:0.6 ForwardOrdered Regular Points,
+ X Categorical{Char} 'a':2:'c' ForwardOrdered
+└─────────────────────────────────────────────────────────────────┘
+   'a'       'c'
+ 0.0  0.9063    0.0991336
+ 0.6  0.745673  0.692209

source


# DimensionalData.DimSelectorsType.
julia
DimSelectors <: AbstractArray
+
+DimSelectors(x; selectors, atol...)
+DimSelectors(dims::Tuple; selectors, atol...)
+DimSelectors(dims::Dimension; selectors, atol...)

Like DimIndices, but returns Dimensions holding the chosen Selectors.

Indexing into another AbstractDimArray with DimSelectors is similar to doing an interpolation.

Keywords

  • selectors: Near, At or Contains, or a mixed tuple of these. At is the default, meaning only exact or within atol values are used.

  • atol: used for At selectors only, as the atol value.

Example

Here we can interpolate a DimArray to the lookups of another DimArray using DimSelectors with Near. This is essentially equivalent to nearest neighbour interpolation.

julia
julia> A = rand(X(1.0:3.0:30.0), Y(1.0:5.0:30.0), Ti(1:2));
+
+julia> target = rand(X(1.0:10.0:30.0), Y(1.0:10.0:30.0));
+
+julia> A[DimSelectors(target; selectors=Near), Ti=2]
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ X Sampled{Float64} [1.0, 10.0, 22.0] ForwardOrdered Irregular Points,
+ Y Sampled{Float64} [1.0, 11.0, 21.0] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────────────────┘
+  1.0        11.0       21.0
+  1.0  0.691162    0.218579   0.539076
+ 10.0  0.0303789   0.420756   0.485687
+ 22.0  0.0967863   0.864856   0.870485

Using At would make sure we only use exact interpolation, while Contains with sampling of Intervals would make sure that each values is taken only from an Interval that is present in the lookups.

source


# DimensionalData.DimPointsType.
julia
DimPoints <: AbstractArray
+
+DimPoints(x; order)
+DimPoints(dims::Tuple; order)
+DimPoints(dims::Dimension; order)

Like CartesianIndices, but for the point values of the dimension index. Behaves as an Array of Tuple lookup values (whatever they are) for all combinations of the lookup values of dims.

Either a Dimension, a Tuple of Dimension or an object x that defines a dims method can be passed in.

Keywords

  • order: determines the order of the points, the same as the order of dims by default.

source


Tables.jl/TableTraits.jl interface

# DimensionalData.AbstractDimTableType.
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source


# DimensionalData.DimTableType.
julia
DimTable <: AbstractDimTable
+
+DimTable(s::AbstractDimStack; mergedims=nothing)
+DimTable(x::AbstractDimArray; layersfrom=nothing, mergedims=nothing)
+DimTable(xs::Vararg{AbstractDimArray}; layernames=nothing, mergedims=nothing)

Construct a Tables.jl/TableTraits.jl compatible object out of an AbstractDimArray or AbstractDimStack.

This table will have columns for the array data and columns for each Dimension index, as a [DimColumn]. These are lazy, and generated as required.

Column names are converted from the dimension types using DimensionalData.name. This means type Ti becomes the column name :Ti, and Dim{:custom} becomes :custom.

To get dimension columns, you can index with Dimension (X()) or Dimension type (X) as well as the regular Int or Symbol.

Keywords

  • mergedims: Combine two or more dimensions into a new dimension.

  • layersfrom: Treat a dimension of an AbstractDimArray as layers of an AbstractDimStack.

Example

julia
julia> using DimensionalData, Tables
+
+julia> a = DimArray(ones(16, 16, 3), (X, Y, Dim{:band}))
+╭─────────────────────────────╮
+16×16×3 DimArray{Float64,3} │
+├─────────────────────── dims ┤
+ X,  Y, ↗ band
+└─────────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+
+julia>

source


Group by methods

For transforming DimensionalData objects:

# DataAPI.groupbyFunction.
julia
groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Pair...)
+groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Dimension{<:Callable}...)

Group A by grouping functions or Bins over multiple dimensions.

Arguments

  • A: any AbstractDimArray or AbstractDimStack.

  • dims: Pairs such as groups = groupby(A, :dimname => groupingfunction) or wrapped Dimensions like groups = groupby(A, DimType(groupingfunction)). Instead of a grouping function Bins can be used to specify group bins.

Return value

A DimGroupByArray is returned, which is basically a regular AbstractDimArray but holding the grouped AbstractDimArray or AbstractDimStack. Its dims hold the sorted values returned by the grouping function/s.

Base julia and package methods work on DimGroupByArray as for any other AbstractArray of AbstractArray.

It is common to broadcast or map a reducing function over groups, such as mean or sum, like mean.(groups) or map(mean, groups). This will return a regular DimArray, or DimGroupByArray if dims keyword is used in the reducing function or it otherwise returns an AbstractDimArray or AbstractDimStack.

Example

Group some data along the time dimension:

julia
julia> using DimensionalData, Dates
+
+julia> A = rand(X(1:0.1:20), Y(1:20), Ti(DateTime(2000):Day(3):DateTime(2003)));
+
+julia> groups = groupby(A, Ti => month) # Group by month
+╭───────────────────────────────────────────────────╮
+12-element DimGroupByArray{DimArray{Float64,2},1} │
+├───────────────────────────────────────────────────┴───────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points
+├───────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+├─────────────────────────────────────────────────────────── group dims ┤
+ X,  Y, ↗ Ti
+└───────────────────────────────────────────────────────────────────────┘
+  1  191×20×32 DimArray
+  2  191×20×28 DimArray
+  3  191×20×31 DimArray
+
+ 11  191×20×30 DimArray
+ 12  191×20×31 DimArray

And take the mean:

julia
julia> groupmeans = mean.(groups) # Take the monthly mean
+╭────────────────────────────────╮
+12-element DimArray{Float64,1} │
+├────────────────────────────────┴──────────────────────────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points
+├───────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+└───────────────────────────────────────────────────────────────────────┘
+  1  0.500064
+  2  0.499762
+  3  0.500083
+  4  0.499985
+
+ 10  0.500874
+ 11  0.498704
+ 12  0.50047

Calculate daily anomalies from the monthly mean. Notice we map a broadcast .- rather than -. This is because the size of the arrays to not match after application of mean.

julia
julia> map(.-, groupby(A, Ti=>month), mean.(groupby(A, Ti=>month), dims=Ti));

Or do something else with Y:

julia
julia> groupmeans = mean.(groupby(A, Ti=>month, Y=>isodd))
+╭──────────────────────────╮
+12×2 DimArray{Float64,2} │
+├──────────────────────────┴─────────────────────────────────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points,
+ Y  Sampled{Bool} [false, true] ForwardOrdered Irregular Points
+├────────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => (:Ti=>month, :Y=>isodd)
+└────────────────────────────────────────────────────────────────────────┘
+  false         true
+  1        0.499594     0.500533
+  2        0.498145     0.501379
+
+ 10        0.501105     0.500644
+ 11        0.498606     0.498801
+ 12        0.501643     0.499298

source


# DimensionalData.DimGroupByArrayType.
julia
DimGroupByArray <: AbstractDimArray

DimGroupByArray is essentially a DimArray but holding the results of a groupby operation.

Its dimensions are the sorted results of the grouping functions used in groupby.

This wrapper allows for specialisations on later broadcast or reducing operations, e.g. for chunk reading with DiskArrays.jl, because we know the data originates from a single array.

source


# DimensionalData.BinsType.
julia
Bins(f, bins; labels, pad)
+Bins(bins; labels, pad)

Specify bins to reduce groups after applying function f.

  • f: a grouping function of the lookup values, by default identity.

  • bins:

    • an Integer will divide the group values into equally spaced sections.

    • an AbstractArray of values will be treated as exact matches for the return value of f. For example, 1:3 will create 3 bins - 1, 2, 3.

    • an AbstractArray of IntervalSets.Interval can be used to explicitly define the intervals. Overlapping intervals have undefined behaviour.

Keywords

  • pad: fraction of the total interval to pad at each end when Bins contains an Integer. This avoids losing the edge values. Note this is a messy solution - it will often be prefereble to manually specify a Vector of chosen Intervals rather than relying on passing an Integer and pad.

  • labels: a list of descriptive labels for the bins. The labels need to have the same length as bins.

When the return value of f is a tuple, binning is applied to the last value of the tuples.

source


# DimensionalData.rangesFunction.
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source


# DimensionalData.intervalsFunction.
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source


# DimensionalData.CyclicBinsType.
julia
CyclicBins(f; cycle, start, step, labels)

Cyclic bins to reduce groups after applying function f. Groups can wrap around the cycle. This is used for grouping in seasons, months and hours but can also be used for custom cycles.

  • f: a grouping function of the lookup values, by default identity.

Keywords

  • cycle: the length of the cycle, in return values of f.

  • start: the start of the cycle: a return value of f.

  • step the number of sequential values to group.

  • labels: either a vector of labels matching the number of groups, or a function that generates labels from Vector{Int} of the selected bins.

When the return value of f is a tuple, binning is applied to the last value of the tuples.

source


# DimensionalData.seasonsFunction.
julia
seasons(; [start=Dates.December, labels])

Generates CyclicBins for three month periods.

Keywords

  • start: By default seasons start in December, but any integer 1:12 can be used.

  • labels: either a vector of four labels, or a function that generates labels from Vector{Int} of the selected quarters.

source


# DimensionalData.monthsFunction.
julia
months(step; [start=Dates.January, labels])

Generates CyclicBins for grouping to arbitrary month periods. These can wrap around the end of a year.

  • step the number of months to group.

Keywords

  • start: By default months start in January, but any integer 1:12 can be used.

  • labels: either a vector of labels matching the number of groups, or a function that generates labels from Vector{Int} of the selected months.

source


# DimensionalData.hoursFunction.
julia
hours(step; [start=0, labels])

Generates CyclicBins for grouping to arbitrary hour periods. These can wrap around the end of the day.

  • steps the number of hours to group.

Keywords

  • start: By default seasons start at 0, but any integer 1:24 can be used.

  • labels: either a vector of four labels, or a function that generates labels from Vector{Int} of the selected hours of the day.

source


Utility methods

For transforming DimensionalData objects:

# DimensionalData.Dimensions.Lookups.setFunction.
julia
set(x, val)
+set(x, args::Pairs...) => x with updated field/s
+set(x, args...; kw...) => x with updated field/s
+set(x, args::Tuple{Vararg{Dimension}}; kw...) => x with updated field/s
+
+set(dim::Dimension, index::AbstractArray) => Dimension
+set(dim::Dimension, lookup::Lookup) => Dimension
+set(dim::Dimension, lookupcomponent::LookupTrait) => Dimension
+set(dim::Dimension, metadata::AbstractMetadata) => Dimension

Set the properties of an object, its internal data or the traits of its dimensions and lookup index.

As DimensionalData is so strongly typed you do not need to specify what field of a Lookup to set - there is no ambiguity.

To set fields of a Lookup you need to specify the dimension. This can be done using X => val pairs, X = val keyword arguments, or X(val) wrapped arguments.

You can also set the fields of all dimensions by simply passing a single Lookup or lookup trait - it will be set for all dimensions.

When a Dimension or Lookup is passed to set to replace the existing ones, fields that are not set will keep their original values.

Notes:

Changing a lookup index range/vector will also update the step size and order where applicable.

Setting the Order like ForwardOrdered will not reverse the array or dimension to match. Use reverse and reorder to do this.

Examples

julia
julia> using DimensionalData; const DD = DimensionalData;
+
+julia> da = DimArray(zeros(3, 4), (custom=10.0:010.0:30.0, Z=-20:010.0:10.0));
+
+julia> set(da, ones(3, 4))
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Z      Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    1.0    1.0  1.0   1.0
+ 20.0    1.0    1.0  1.0   1.0
+ 30.0    1.0    1.0  1.0   1.0

Change the Dimension wrapper type:

julia
julia> set(da, :Z => Ti, :custom => Z)
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ Z  Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Ti Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    0.0    0.0  0.0   0.0
+ 20.0    0.0    0.0  0.0   0.0
+ 30.0    0.0    0.0  0.0   0.0

Change the lookup Vector:

julia
julia> set(da, Z => [:a, :b, :c, :d], :custom => [4, 5, 6])
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Int64} [4, 5, 6] ForwardOrdered Regular Points,
+ Z      Sampled{Symbol} [:a, :b, :c, :d] ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────────┘
+   :a   :b   :c   :d
+ 4    0.0  0.0  0.0  0.0
+ 5    0.0  0.0  0.0  0.0
+ 6    0.0  0.0  0.0  0.0

Change the Lookup type:

julia
julia> set(da, Z=DD.NoLookup(), custom=DD.Sampled())
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Z
+└─────────────────────────────────────────────────────────────────────────┘
+ 10.0  0.0  0.0  0.0  0.0
+ 20.0  0.0  0.0  0.0  0.0
+ 30.0  0.0  0.0  0.0  0.0

Change the Sampling trait:

julia
julia> set(da, :custom => DD.Irregular(10, 12), Z => DD.Regular(9.9))
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴─────────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Irregular Points,
+ Z      Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└───────────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    0.0    0.0  0.0   0.0
+ 20.0    0.0    0.0  0.0   0.0
+ 30.0    0.0    0.0  0.0   0.0

source


# DimensionalData.Dimensions.Lookups.rebuildFunction.
julia
rebuild(x; kw...)

Rebuild an object struct with updated field values.

x can be a AbstractDimArray, a Dimension, Lookup or other custom types.

This is an abstraction that allows inbuilt and custom types to be rebuilt to update their fields, as most objects in DimensionalData.jl are immutable.

Rebuild is mostly automated using ConstructionBase.setproperties. It should only be defined if your object has fields with with different names to DimensionalData objects. Try not to do that!

The arguments required are defined for the abstract type that has a rebuild method.

AbstractBasicDimArray:

  • dims: a Tuple of Dimension

AbstractDimArray:

  • data: the parent object - an AbstractArray

  • dims: a Tuple of Dimension

  • refdims: a Tuple of Dimension

  • name: A Symbol, or NoName and Name on GPU.

  • metadata: A Dict-like object

AbstractDimStack:

  • data: the parent object, often a NamedTuple

  • dims, refdims, metadata

Dimension:

  • val: anything.

Lookup:

  • data: the parent object, an AbstractArray

  • Note: argument rebuild is deprecated on AbstractDimArray and

AbstractDimStack in favour of always using the keyword version. In future the argument version will only be used on Dimension, which only have one argument.

source


# DimensionalData.modifyFunction.
julia
modify(f, A::AbstractDimArray) => AbstractDimArray
+modify(f, s::AbstractDimStack) => AbstractDimStack
+modify(f, dim::Dimension) => Dimension
+modify(f, x, lookupdim::Dimension) => typeof(x)

Modify the parent data, rebuilding the object wrapper without change. f must return a AbstractArray of the same size as the original.

This method is mostly useful as a way of swapping the parent array type of an object.

Example

If we have a previously-defined DimArray, we can copy it to an Nvidia GPU with:

julia
A = DimArray(rand(100, 100), (X, Y))
+modify(CuArray, A)

This also works for all the data layers in a DimStack.

source


# DimensionalData.@dMacro.
julia
@d broadcast_expression options

Dimensional broadcast macro extending Base Julia broadcasting to work with missing and permuted dimensions.

Will permute and resshape singleton dimensions so that all AbstractDimArray in a broadcast will broadcast over matching dimensions.

It is possible to pass options as the second argument of the macro to control the behaviour, as a single assignment or as a NamedTuple. Options names must be written explicitly, not passed in namedtuple variable.

Options

  • dims: Pass a Tuple of Dimensions, Dimension types or Symbols to fix the dimension order of the output array. Otherwise dimensions will be in order of appearance. If dims with lookups are passed, these will be applied to the returned array with set.

  • strict: true or false. Check that all lookup values match explicitly.

All other keywords are passed to DimensionalData.rebuild. This means name, metadata, etc for the returned array can be set here, or for example missingval in Rasters.jl.

Example

julia
using DimensionalData
+da1 = ones(X(3))
+da2 = fill(2, Y(4), X(3))
+
+@d da1 .* da2
+@d da1 .* da2 .+ 5 dims=(Y, X)
+@d da1 .* da2 .+ 5 (dims=(Y, X), strict=false, name=:testname)

Use with @.

@d does not imply @.. You need to specify each broadcast. But @. can be used with @d as the inner macro.

julia
using DimensionalData
+da1 = ones(X(3))
+da2 = fill(2, Y(4), X(3))
+
+@d @. da1 * da2
+# Use parentheses areound `@.` if you need to pass options
+@d (@. da1 * da2 .+ 5) dims=(Y, X)

source


# DimensionalData.broadcast_dimsFunction.
julia
broadcast_dims(f, sources::AbstractDimArray...) => AbstractDimArray

Broadcast function f over the AbstractDimArrays in sources, permuting and reshaping dimensions to match where required. The result will contain all the dimensions in all passed in arrays in the order in which they are found.

Arguments

  • sources: AbstractDimArrays to broadcast over with f.

This is like broadcasting over every slice of A if it is sliced by the dimensions of B.

source


# DimensionalData.broadcast_dims!Function.
julia
broadcast_dims!(f, dest::AbstractDimArray, sources::AbstractDimArray...) => dest

Broadcast function f over the AbstractDimArrays in sources, writing to dest. sources are permuting and reshaping dimensions to match where required.

The result will contain all the dimensions in all passed in arrays, in the order in which they are found.

Arguments

  • dest: AbstractDimArray to update.

  • sources: AbstractDimArrays to broadcast over with f.

source


# DimensionalData.mergedimsFunction.
julia
mergedims(old_dims => new_dim) => Dimension

Return a dimension new_dim whose indices are a MergedLookup of the indices of old_dims.

source

julia
mergedims(dims, old_dims => new_dim, others::Pair...) => dims_new

If dimensions old_dims, new_dim, etc. are found in dims, then return new dims_new where all dims in old_dims have been combined into a single dim new_dim. The returned dimension will keep only the name of new_dim. Its coords will be a MergedLookup of the coords of the dims in old_dims. New dimensions are always placed at the end of dims_new. others contains other dimension pairs to be merged.

Example

julia
julia> using DimensionalData
+
+julia> ds = (X(0:0.1:0.4), Y(10:10:100), Ti([0, 3, 4]))
+( X  0.0:0.1:0.4,
+ Y  10:10:100,
+↗ Ti [0, 3, 4])
+
+julia> mergedims(ds, (X, Y) => :space)
+( Ti    [0, 3, 4],
+ space MergedLookup{Tuple{Float64, Int64}} [(0.0, 10), (0.1, 10), , (0.3, 100), (0.4, 100)] ( X,  Y))

source

julia
mergedims(A::AbstractDimArray, dim_pairs::Pair...) => AbstractDimArray
+mergedims(A::AbstractDimStack, dim_pairs::Pair...) => AbstractDimStack

Return a new array or stack whose dimensions are the result of mergedims(dims(A), dim_pairs).

source


# DimensionalData.unmergedimsFunction.
julia
unmergedims(merged_dims::Tuple{Vararg{Dimension}}) => Tuple{Vararg{Dimension}}

Return the unmerged dimensions from a tuple of merged dimensions. However, the order of the original dimensions are not necessarily preserved.

source

julia
unmergedims(A::AbstractDimArray, original_dims) => AbstractDimArray
+unmergedims(A::AbstractDimStack, original_dims) => AbstractDimStack

Return a new array or stack whose dimensions are restored to their original prior to calling mergedims(A, dim_pairs).

source


# DimensionalData.reorderFunction.
julia
reorder(A::Union{AbstractDimArray,AbstractDimStack}, order::Pair...)
+reorder(A::Union{AbstractDimArray,AbstractDimStack}, order)
+reorder(A::Dimension, order::Order)

Reorder every dims index/array to order, or reorder index for the given dimension(s) in order.

order can be an Order, Dimension => Order pairs. A Tuple of Dimensions or any object that defines dims can be used in which case the dimensions of this object are used for reordering.

If no axis reversal is required the same objects will be returned, without allocation.

Example

julia
using DimensionalData
+
+# Create a DimArray
+da = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(300:-100:100)))
+
+# Reverse it
+rev = reverse(da, dims=Y)
+
+# using `da` in reorder will return it to the original order
+reorder(rev, da) == da
+
+# output
+true

source


Global lookup strictness settings

Control how strict DimensionalData when comparing Lookups before doing broadcasts and matrix multipications.

In some cases (especially DimVector and small DimArray) checking lookup values match may be too costly compared to the operations. You can turn check the current setting and turn them on or off with these methods.

# DimensionalData.strict_broadcastFunction.
julia
strict_broadcast()

Check if strict broadcasting checks are active.

With strict=true we check Lookup Order and values before brodcasting, to ensure that dimensions match closely.

An exception to this rule is when dimension are of length one, as these is ignored in broadcasts.

We always check that dimension names match in broadcasts. If you don't want this either, explicitly use parent(A) before broadcasting to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_broadcast!Function.
julia
strict_broadcast!(x::Bool)

Set global broadcasting checks to strict, or not for all AbstractDimArray.

With strict=true we check Lookup Order and values before brodcasting, to ensure that dimensions match closely.

An exception to this rule is when dimension are of length one, as these is ignored in broadcasts.

We always check that dimension names match in broadcasts. If you don't want this either, explicitly use parent(A) before broadcasting to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_matmulFunction.
julia
strict_matmul()

Check if strickt broadcasting checks are active.

With strict=true we check Lookup Order and values before attempting matrix multiplication, to ensure that dimensions match closely.

We always check that dimension names match in matrix multiplication. If you don't want this either, explicitly use parent(A) before multiplying to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_matmul!Function.
julia
strict_matmul!(x::Bool)

Set global matrix multiplication checks to strict, or not for all AbstractDimArray.

With strict=true we check Lookup Order and values before attempting matrix multiplication, to ensure that dimensions match closely.

We always check that dimension names match in matrix multiplication. If you don't want this either, explicitly use parent(A) before multiplying to remove the AbstractDimArray wrapper completely.

source


Base methods

# Base.catFunction.
julia
Base.cat(stacks::AbstractDimStack...; [keys=keys(stacks[1])], dims)

Concatenate all or a subset of layers for all passed in stacks.

Keywords

  • keys: Tuple of Symbol for the stack keys to concatenate.

  • dims: Dimension of child array to concatenate on.

Example

Concatenate the :sea_surface_temp and :humidity layers in the time dimension:

julia
cat(stacks...; keys=(:sea_surface_temp, :humidity), dims=Ti)

source


# Base.copy!Function.
julia
Base.copy!(dst::AbstractArray, src::AbstractDimStack, key::Key)

Copy the stack layer key to dst, which can be any AbstractArray.

Example

Copy the :humidity layer from stack to array.

julia
copy!(array, stack, :humidity)

source

julia
Base.copy!(dst::AbstractDimStack, src::AbstractDimStack, [keys=keys(dst)])

Copy all or a subset of layers from one stack to another.

Example

Copy just the :sea_surface_temp and :humidity layers from src to dst.

julia
copy!(dst::AbstractDimStack, src::AbstractDimStack, keys=(:sea_surface_temp, :humidity))

source


# Base.eachsliceFunction.
julia
Base.eachslice(A::AbstractDimArray; dims,drop=true)

Create a generator that iterates over dimensions dims of A, returning arrays that select all the data from the other dimensions in A using views.

The generator has size and axes equivalent to those of the provided dims if drop=true. Otherwise it will have the same dimensionality as the underlying array with inner dimensions having size 1.

source

julia
Base.eachslice(stack::AbstractDimStack; dims, drop=true)

Create a generator that iterates over dimensions dims of stack, returning stacks that select all the data from the other dimensions in stack using views.

The generator has size and axes equivalent to those of the provided dims.

Examples

julia
julia> ds = DimStack((
+           x=DimArray(randn(2, 3, 4), (X([:x1, :x2]), Y(1:3), Z)),
+           y=DimArray(randn(2, 3, 5), (X([:x1, :x2]), Y(1:3), Ti))
+       ));
+
+julia> slices = eachslice(ds; dims=(Z, X));
+
+julia> size(slices)
+(4, 2)
+
+julia> map(dims, axes(slices))
+( Z Base.OneTo(4),
+ X Base.OneTo(2))
+
+julia> first(slices)
+╭──────────────╮
+3×5 DimStack │
+├──────────────┴─────────────────────────────────── dims ┐
+ Y  Sampled{Int64} 1:3 ForwardOrdered Regular Points,
+ Ti
+├──────────────────────────────────────────────── layers ┤
+  :x eltype: Float64 dims: Y size: 3
+  :y eltype: Float64 dims: Y, Ti size: 3×5
+└────────────────────────────────────────────────────────┘

source


Most base methods work as expected, using Dimension wherever a dims keyword is used. They are not all specifically documented here.

Name

# DimensionalData.AbstractNameType.
julia
AbstractName

Abstract supertype for name wrappers.

source


# DimensionalData.NameType.
julia
Name <: AbstractName
+
+Name(name::Union{Symbol,Name) => Name
+Name(name::NoName) => NoName

Name wrapper. This lets arrays keep symbol names when the array wrapper needs to be isbits, like for use on GPUs. It makes the name a property of the type. It's not necessary to use in normal use, a symbol is probably easier.

source


# DimensionalData.NoNameType.
julia
NoName <: AbstractName
+
+NoName()

NoName specifies an array is not named, and is the default name value for all AbstractDimArrays.

source


Internal interface

# DimensionalData.DimArrayInterfaceType.
julia
    DimArrayInterface

An Interfaces.jl Interface with mandatory components (:dims, :refdims_base, :ndims, :size, :rebuild_parent, :rebuild_dims, :rebuild_parent_kw, :rebuild_dims_kw, :rebuild) and optional components (:refdims, :name, :metadata).

This is an early stage of inteface definition, many things are not yet tested.

Pass constructed AbstractDimArrays as test data.

They must not be zero dimensional, and should test at least 1, 2, and 3 dimensions.

Extended help

Mandatory keys:

  • dims:

    • defines a dims method

    • dims are updated on getindex

  • refdims_base: refdims returns a tuple of Dimension or empty

  • ndims: number of dims matches dimensions of array

  • size: length of dims matches dimensions of array

  • rebuild_parent: rebuild parent from args

  • rebuild_dims: rebuild paaarnet and dims from args

  • rebuild_parent_kw: rebuild parent from args

  • rebuild_dims_kw: rebuild dims from args

  • rebuild: all rebuild arguments and keywords are accepted

Optional keys:

  • refdims:

    • refdims are updated in args rebuild

    • refdims are updated in kw rebuild

    • dropped dimensions are added to refdims

  • name:

    • rebuild updates name in arg rebuild

    • rebuild updates name in kw rebuild

  • metadata:

    • rebuild updates metadata in arg rebuild

    • rebuild updates metadata in kw rebuild

source


# DimensionalData.DimStackInterfaceType.
julia
    DimStackInterface

An Interfaces.jl Interface with mandatory components (:dims, :refdims_base, :ndims, :size, :rebuild_parent, :rebuild_dims, :rebuild_layerdims, :rebuild_dims_kw, :rebuild_parent_kw, :rebuild_layerdims_kw, :rebuild) and optional components (:refdims, :metadata).

This is an early stage of inteface definition, many things are not yet tested.

Pass constructed AbstractDimArrays as test data.

They must not be zero dimensional, and should test at least 1, 2, and 3 dimensions.

Extended help

Mandatory keys:

  • dims:

    • defines a dims method

    • dims are updated on getindex

  • refdims_base: refdims returns a tuple of Dimension or empty

  • ndims: number of dims matches ndims of stack

  • size: length of dims matches size of stack

  • rebuild_parent: rebuild parent from args

  • rebuild_dims: rebuild paaarnet and dims from args

  • rebuild_layerdims: rebuild paaarnet and dims from args

  • rebuild_dims_kw: rebuild dims from args

  • rebuild_parent_kw: rebuild parent from args

  • rebuild_layerdims_kw: rebuild parent from args

  • rebuild: all rebuild arguments and keywords are accepted

Optional keys:

  • refdims:

    • refdims are updated in args rebuild

    • refdims are updated in kw rebuild

    • dropped dimensions are added to refdims

  • metadata:

    • rebuild updates metadata in arg rebuild

    • rebuild updates metadata in kw rebuild

source


# DimensionalData.rebuild_from_arraysFunction.
julia
rebuild_from_arrays(s::AbstractDimStack, das::NamedTuple{<:Any,<:Tuple{Vararg{AbstractDimArray}}}; kw...)

Rebuild an AbstractDimStack from a Tuple or NamedTuple of AbstractDimArray and an existing stack.

Keywords

Keywords are simply the fields of the stack object:

  • data

  • dims

  • refdims

  • metadata

  • layerdims

  • layermetadata

source


# DimensionalData.show_mainFunction.
julia
show_main(io::IO, mime, A::AbstractDimArray)
+show_main(io::IO, mime, A::AbstractDimStack)

Interface methods for adding the main part of show

At the least, you likely want to call:

julia
print_top(io, mime, A)

But read the DimensionalData.jl show.jl code for details.

source


# DimensionalData.show_afterFunction.
julia
show_after(io::IO, mime, A::AbstractDimArray)
+show_after(io::IO, mime, A::AbstractDimStack)

Interface methods for adding additional show text for AbstractDimArray/AbstractDimStack subtypes.

Always include kw to avoid future breaking changes

Additional keywords may be added at any time.

blockwidth is passed in context

julia
blockwidth = get(io, :blockwidth, 10000)

Note - a ANSI box is left unclosed. This method needs to close it, or add more. blockwidth is the maximum length of the inner text.

Most likely you always want to at least close the show blocks with:

julia
print_block_close(io, blockwidth)

But read the DimensionalData.jl show.jl code for details.

source


# DimensionalData.refdims_titleFunction.
julia
refdims_title(A::AbstractDimArray)
+refdims_title(refdims::Tuple)
+refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source


+ + + + \ No newline at end of file diff --git a/previews/PR801/assets/api_dimensions.md.MWHKMaKb.js b/previews/PR801/assets/api_dimensions.md.MWHKMaKb.js new file mode 100644 index 000000000..60fec6def --- /dev/null +++ b/previews/PR801/assets/api_dimensions.md.MWHKMaKb.js @@ -0,0 +1,157 @@ +import{_ as s,c as a,a4 as n,o as e}from"./chunks/framework.D3Ia4FEQ.js";const g=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"api/dimensions.md","filePath":"api/dimensions.md","lastUpdated":null}'),t={name:"api/dimensions.md"};function l(h,i,p,k,d,r){return e(),a("div",null,i[0]||(i[0]=[n(`

Dimensions

Dimensions are kept in the sub-module Dimensions.

# DimensionalData.DimensionsModule.
julia
Dimensions

Sub-module for Dimensions wrappers, and operations on them used in DimensionalData.jl.

To load Dimensions types and methods into scope:

julia
using DimensionalData
+using DimensionalData.Dimensions

source


Dimensions have a type-hierarchy that organises plotting and dimension matching.

# DimensionalData.Dimensions.DimensionType.
julia
Dimension

Abstract supertype of all dimension types.

Example concrete implementations are X, Y, Z, Ti (Time), and the custom Dim dimension.

Dimensions label the axes of an AbstractDimArray, or other dimensional objects, and are used to index into an array.

They may also wrap lookup values for each array axis. This may be any AbstractVector matching the array axis length, but will usually be converted to a Lookup when use in a constructed object.

A Lookup gives more details about the dimension, such as that it is Categorical or Sampled as Points or Intervals along some transect. DimensionalData will attempt to guess the lookup from the passed-in index value.

Example:

julia
using DimensionalData, Dates
+
+x = X(2:2:10)
+y = Y(['a', 'b', 'c'])
+ti = Ti(DateTime(2021, 1):Month(1):DateTime(2021, 12))
+
+A = DimArray(zeros(3, 5, 12), (y, x, ti))
+
+# output
+
+╭────────────────────────────╮
+3×5×12 DimArray{Float64,3} │
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+ Y  Categorical{Char} ['a', 'b', 'c'] ForwardOrdered,
+ X  Sampled{Int64} 2:2:10 ForwardOrdered Regular Points,
+  ↗ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+   2    4    6    8    10
+  'a'  0.0  0.0  0.0  0.0   0.0
+  'b'  0.0  0.0  0.0  0.0   0.0
+  'c'  0.0  0.0  0.0  0.0   0.0

For simplicity, the same Dimension types are also used as wrappers in getindex, like:

julia
x = A[X(2), Y(3)]
+
+# output
+
+╭────────────────────────────────╮
+12-element DimArray{Float64,1} │
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2021-01-01T00:00:00  0.0
+ 2021-02-01T00:00:00  0.0
+ 2021-03-01T00:00:00  0.0
+ 2021-04-01T00:00:00  0.0
+ 2021-05-01T00:00:00  0.0
+ 2021-06-01T00:00:00  0.0
+ 2021-07-01T00:00:00  0.0
+ 2021-08-01T00:00:00  0.0
+ 2021-09-01T00:00:00  0.0
+ 2021-10-01T00:00:00  0.0
+ 2021-11-01T00:00:00  0.0
+ 2021-12-01T00:00:00  0.0

A Dimension can also wrap Selector.

julia
x = A[X(Between(3, 4)), Y(At('b'))]
+
+# output
+
+╭──────────────────────────╮
+1×12 DimArray{Float64,2} │
+├──────────────────────────┴───────────────────────────────────────────── dims ┐
+ X  Sampled{Int64} 4:2:4 ForwardOrdered Regular Points,
+ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+   2021-01-01T00:00:00   2021-02-01T00:00:00   2021-12-01T00:00:00
+ 4    0.0                   0.0                      0.0

source


# DimensionalData.Dimensions.DependentDimType.
julia
DependentDim <: Dimension

Abstract supertype for dependent dimensions. These will plot on the Y axis.

source


# DimensionalData.Dimensions.IndependentDimType.
julia
IndependentDim <: Dimension

Abstract supertype for independent dimensions. These will plot on the X axis.

source


# DimensionalData.Dimensions.XDimType.
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source


# DimensionalData.Dimensions.YDimType.
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source


# DimensionalData.Dimensions.ZDimType.
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source


# DimensionalData.Dimensions.TimeDimType.
julia
TimeDim <: IndependentDim

Abstract supertype for all time dimensions.

In a TimeDime with Interval sampling the locus will automatically be set to Start(). Dates and times generally refer to the start of a month, hour, second etc., not the central point as is more common with spatial data. \`

source


# DimensionalData.Dimensions.XType.
julia
X <: XDim
+
+X(val=:)

X Dimension. X <: XDim <: IndependentDim

Examples

julia
xdim = X(2:2:10)
julia
val = A[X(1)]
julia
mean(A; dims=X)

source


# DimensionalData.Dimensions.YType.
julia
Y <: YDim
+
+Y(val=:)

Y Dimension. Y <: YDim <: DependentDim

Examples

julia
ydim = Y(['a', 'b', 'c'])
julia
val = A[Y(1)]
julia
mean(A; dims=Y)

source


# DimensionalData.Dimensions.ZType.
julia
Z <: ZDim
+
+Z(val=:)

Z Dimension. Z <: ZDim <: Dimension

Example:

julia
zdim = Z(10:10:100)
julia
val = A[Z(1)]
julia
mean(A; dims=Z)

source


# DimensionalData.Dimensions.TiType.

m Ti <: TimeDim

Ti(val=:)

Time Dimension. Ti <: TimeDim <: IndependentDim

Time is already used by Dates, and T is a common type parameter, We use Ti to avoid clashes.

Example:

julia
timedim = Ti(DateTime(2021, 1):Month(1):DateTime(2021, 12))
julia
val = A[Ti(1)]
julia
mean(A; dims=Ti)

source


# DimensionalData.Dimensions.DimType.
julia
Dim{S}(val=:)

A generic dimension. For use when custom dims are required when loading data from a file. Can be used as keyword arguments for indexing.

Dimension types take precedence over same named Dim types when indexing with symbols, or e.g. creating Tables.jl keys.

julia
julia> dim = Dim{:custom}(['a', 'b', 'c'])
+custom ['a', 'b', 'c']

source


# DimensionalData.Dimensions.AnonDimType.
julia
AnonDim <: Dimension
+
+AnonDim()

Anonymous dimension. Used when extra dimensions are created, such as during transpose of a vector.

source


# DimensionalData.Dimensions.@dimMacro.
julia
@dim typ [supertype=Dimension] [label::String=string(typ)]

Macro to easily define new dimensions.

The supertype will be inserted into the type of the dim. The default is simply YourDim <: Dimension.

Making a Dimension inherit from XDim, YDim, ZDim or TimeDim will affect automatic plot layout and other methods that dispatch on these types. <: YDim are plotted on the Y axis, <: XDim on the X axis, etc.

label is used in plots and similar, if the dimension is short for a longer word.

Example:

julia
using DimensionalData
+using DimensionalData: @dim, YDim, XDim
+@dim Lat YDim "Latitude"
+@dim Lon XDim "Longitude"
+# output

source


Exported methods

These are widely useful methods for working with dimensions.

# DimensionalData.Dimensions.dimsFunction.
julia
dims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+dims(x, dim) => Dimension

Return a tuple of Dimensions for an object, in the order that matches the axes or columns of the underlying data.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

The default is to return nothing.

source

julia
dims(x, query) => Tuple{Vararg{Dimension}}
+dims(x, query...) => Tuple{Vararg{Dimension}}

Get the dimension(s) matching the type(s) of the query dimension.

Lookup can be an Int or an Dimension, or a tuple containing any combination of either.

Arguments

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(2, 3, 2), (X, Y, Z))
+╭───────────────────────────╮
+2×3×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ X,  Y, ↗ Z
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+
+julia> dims(A, (X, Y))
+( X,  Y)

source


# DimensionalData.Dimensions.otherdimsFunction.
julia
otherdims(x, query) => Tuple{Vararg{Dimension,N}}

Get the dimensions of an object not in query.

Arguments

A tuple holding the unmatched dimensions is always returned.

Example

julia
julia> using DimensionalData, DimensionalData.Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> otherdims(A, X)
+( Y,  Z)
+
+julia> otherdims(A, (Y, Z))
+( X)

source


# DimensionalData.Dimensions.dimnumFunction.
julia
dimnum(x, query::Tuple) => NTuple{Int}
+dimnum(x, query) => Int

Get the number(s) of Dimension(s) as ordered in the dimensions of an object.

Arguments

The return type will be a Tuple of Int or a single Int, depending on whether query is a Tuple or single Dimension.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> dimnum(A, (Z, X, Y))
+(3, 1, 2)
+
+julia> dimnum(A, Y)
+2

source


# DimensionalData.Dimensions.hasdimFunction.
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+hasdim([f], x, query...) => NTuple{Bool}
+hasdim([f], x, query) => Bool

Check if an object x has dimensions that match or inherit from the query dimensions.

Arguments

Check if an object or tuple contains an Dimension, or a tuple of dimensions.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> hasdim(A, X)
+true
+
+julia> hasdim(A, (Z, X, Y))
+(true, true, true)
+
+julia> hasdim(A, Ti)
+false

source


Non-exported methods

# DimensionalData.Dimensions.lookupFunction.
julia
lookup(x::Dimension) => Lookup
+lookup(x, [dims::Tuple]) => Tuple{Vararg{Lookup}}
+lookup(x::Tuple) => Tuple{Vararg{Lookup}}
+lookup(x, dim) => Lookup

Returns the Lookup of a dimension. This dictates properties of the dimension such as array axis and lookup order, and sampling properties.

dims can be a Dimension, a dimension type, or a tuple of either.

This is separate from val in that it will only work when dimensions actually contain an AbstractArray lookup, and can be used on a DimArray or DimStack to retrieve all lookups, as there is no ambiguity of meaning as there is with val.

source


# DimensionalData.Dimensions.labelFunction.
julia
label(x) => String
+label(x, dims::Tuple) => NTuple{N,String}
+label(x, dim) => String
+label(xs::Tuple) => NTuple{N,String}

Get a plot label for data or a dimension. This will include the name and units if they exist, and anything else that should be shown on a plot.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.formatFunction.
julia
format(dims, x) => Tuple{Vararg{Dimension,N}}

Format the passed-in dimension(s) dims to match the object x.

Errors are thrown if dims don't match the array dims or size, and any fields holding Auto- objects are filled with guessed objects.

If a Lookup hasn't been specified, a lookup is chosen based on the type and element type of the values.

source


# DimensionalData.Dimensions.dims2indicesFunction.
julia
dims2indices(dim::Dimension, I) => NTuple{Union{Colon,AbstractArray,Int}}

Convert a Dimension or Selector I to indices of Int, AbstractArray or Colon.

source


# DimensionalData.Dimensions.Lookups.selectindicesFunction.
julia
selectindices(lookups, selectors)

Converts Selector to regular indices.

source


Primitive methods

These low-level methods are really for internal use, but can be useful for writing dimensional algorithms.

They are not guaranteed to keep their interface, but usually will.

# DimensionalData.Dimensions.commondimsFunction.
julia
commondims([f], x, query) => Tuple{Vararg{Dimension}}

This is basically dims(x, query) where the order of the original is kept, unlike dims where the query tuple determines the order

Also unlike dims,commondims always returns a Tuple, no matter the input. No errors are thrown if dims are absent from either x or query.

f is <: by default, but can be >: to sort abstract types by concrete types.

julia
julia> using DimensionalData, .Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> commondims(A, X)
+( X)
+
+julia> commondims(A, (X, Z))
+( X,  Z)
+
+julia> commondims(A, Ti)
+()

source


# DimensionalData.Dimensions.name2dimFunction.
julia
name2dim(s::Symbol) => Dimension
+name2dim(dims...) => Tuple{Dimension,Vararg}
+name2dim(dims::Tuple) => Tuple{Dimension,Vararg}

Convert a symbol to a dimension object. :X, :Y, :Ti etc will be converted to X(), Y(), Ti(), as with any other dims generated with the @dim macro.

All other Symbols S will generate Dim{S}() dimensions.

source


# DimensionalData.Dimensions.reducedimsFunction.
julia
reducedims(x, dimstoreduce) => Tuple{Vararg{Dimension}}

Replace the specified dimensions with an index of length 1. This is usually to match a new array size where an axis has been reduced with a method like mean or reduce to a length of 1, but the number of dimensions has not changed.

Lookup traits are also updated to correspond to the change in cell step, sampling type and order.

source


# DimensionalData.Dimensions.swapdimsFunction.
julia
swapdims(x::T, newdims) => T
+swapdims(dims::Tuple, newdims) => Tuple{Vararg{Dimension}}

Swap dimensions for the passed in dimensions, in the order passed.

Passing in the Dimension types rewraps the dimension index, keeping the index values and metadata, while constructed Dimension objects replace the original dimension. nothing leaves the original dimension as-is.

Arguments

Example

julia
using DimensionalData
+A = ones(X(2), Y(4), Z(2))
+Dimensions.swapdims(A, (Dim{:a}, Dim{:b}, Dim{:c}))
+
+# output
+╭───────────────────────────╮
+2×4×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ a,  b, ↗ c
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0

source


# DimensionalData.Dimensions.slicedimsFunction.
julia
slicedims(x, I) => Tuple{Tuple,Tuple}
+slicedims(f, x, I) => Tuple{Tuple,Tuple}

Slice the dimensions to match the axis values of the new array.

All methods return a tuple containing two tuples: the new dimensions, and the reference dimensions. The ref dimensions are no longer used in the new struct but are useful to give context to plots.

Called at the array level the returned tuple will also include the previous reference dims attached to the array.

Arguments

source


# DimensionalData.Dimensions.comparedimsFunction.
julia
comparedims(A::AbstractDimArray...; kw...)
+comparedims(A::Tuple...; kw...)
+comparedims(A::Dimension...; kw...)
+comparedims(::Type{Bool}, args...; kw...)

Check that dimensions or tuples of dimensions passed as each argument are the same, and return the first valid dimension. If AbstractDimArrays are passed as arguments their dimensions are compared.

Empty tuples and nothing dimension values are ignored, returning the Dimension value if it exists.

Passing Bool as the first argument means true/false will be returned, rather than throwing an error.

Keywords

These are all Bool flags:

source


# DimensionalData.Dimensions.combinedimsFunction.
julia
combinedims(xs; check=true, kw...)

Combine the dimensions of each object in xs, in the order they are found.

Keywords are passed to comparedims.

source


# DimensionalData.Dimensions.sortdimsFunction.
julia
sortdims([f], tosort, order) => Tuple

Sort dimensions tosort by order. Dimensions in order but missing from tosort are replaced with nothing.

tosort and order can be Tuples or Vectors or Dimension or dimension type. Abstract supertypes like TimeDim can be used in order.

f is <: by default, but can be >: to sort abstract types by concrete types.

source


# DimensionalData.Dimensions.Lookups.basetypeofFunction.
julia
basetypeof(x) => Type

Get the "base" type of an object - the minimum required to define the object without it's fields. By default this is the full UnionAll for the type. But custom basetypeof methods can be defined for types with free type parameters.

In DimensionalData this is primarily used for comparing Dimensions, where Dim{:x} is different from Dim{:y}.

source


# DimensionalData.Dimensions.basedimsFunction.
julia
basedims(ds::Tuple)
+basedims(d::Union{Dimension,Symbol,Type})

Returns basetypeof(d)() or a Tuple of called on a Tuple.

See basetypeof

source


# DimensionalData.Dimensions.setdimsFunction.
julia
setdims(X, newdims) => AbstractArray
+setdims(::Tuple, newdims) => Tuple{Vararg{Dimension,N}}

Replaces the first dim matching <: basetypeof(newdim) with newdim, and returns a new object or tuple with the dimension updated.

Arguments

Example

julia
using DimensionalData, DimensionalData.Dimensions, DimensionalData.Lookups
+A = ones(X(10), Y(10:10:100))
+B = setdims(A, Y(Categorical('a':'j'; order=ForwardOrdered())))
+lookup(B, Y)
+# output
+Categorical{Char} ForwardOrdered
+wrapping: 'a':1:'j'

source


# DimensionalData.Dimensions.dimsmatchFunction.
julia
dimsmatch([f], dim, query) => Bool
+dimsmatch([f], dims::Tuple, query::Tuple) => Bool

Compare 2 dimensions or Tuple of Dimension are of the same base type, or are at least rotations/transformations of the same type.

f is <: by default, but can be >: to match abstract types to concrete types.

source


`,81)]))}const E=s(t,[["render",l]]);export{g as __pageData,E as default}; diff --git a/previews/PR801/assets/api_dimensions.md.MWHKMaKb.lean.js b/previews/PR801/assets/api_dimensions.md.MWHKMaKb.lean.js new file mode 100644 index 000000000..60fec6def --- /dev/null +++ b/previews/PR801/assets/api_dimensions.md.MWHKMaKb.lean.js @@ -0,0 +1,157 @@ +import{_ as s,c as a,a4 as n,o as e}from"./chunks/framework.D3Ia4FEQ.js";const g=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"api/dimensions.md","filePath":"api/dimensions.md","lastUpdated":null}'),t={name:"api/dimensions.md"};function l(h,i,p,k,d,r){return e(),a("div",null,i[0]||(i[0]=[n(`

Dimensions

Dimensions are kept in the sub-module Dimensions.

# DimensionalData.DimensionsModule.
julia
Dimensions

Sub-module for Dimensions wrappers, and operations on them used in DimensionalData.jl.

To load Dimensions types and methods into scope:

julia
using DimensionalData
+using DimensionalData.Dimensions

source


Dimensions have a type-hierarchy that organises plotting and dimension matching.

# DimensionalData.Dimensions.DimensionType.
julia
Dimension

Abstract supertype of all dimension types.

Example concrete implementations are X, Y, Z, Ti (Time), and the custom Dim dimension.

Dimensions label the axes of an AbstractDimArray, or other dimensional objects, and are used to index into an array.

They may also wrap lookup values for each array axis. This may be any AbstractVector matching the array axis length, but will usually be converted to a Lookup when use in a constructed object.

A Lookup gives more details about the dimension, such as that it is Categorical or Sampled as Points or Intervals along some transect. DimensionalData will attempt to guess the lookup from the passed-in index value.

Example:

julia
using DimensionalData, Dates
+
+x = X(2:2:10)
+y = Y(['a', 'b', 'c'])
+ti = Ti(DateTime(2021, 1):Month(1):DateTime(2021, 12))
+
+A = DimArray(zeros(3, 5, 12), (y, x, ti))
+
+# output
+
+╭────────────────────────────╮
+3×5×12 DimArray{Float64,3} │
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+ Y  Categorical{Char} ['a', 'b', 'c'] ForwardOrdered,
+ X  Sampled{Int64} 2:2:10 ForwardOrdered Regular Points,
+  ↗ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+   2    4    6    8    10
+  'a'  0.0  0.0  0.0  0.0   0.0
+  'b'  0.0  0.0  0.0  0.0   0.0
+  'c'  0.0  0.0  0.0  0.0   0.0

For simplicity, the same Dimension types are also used as wrappers in getindex, like:

julia
x = A[X(2), Y(3)]
+
+# output
+
+╭────────────────────────────────╮
+12-element DimArray{Float64,1} │
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2021-01-01T00:00:00  0.0
+ 2021-02-01T00:00:00  0.0
+ 2021-03-01T00:00:00  0.0
+ 2021-04-01T00:00:00  0.0
+ 2021-05-01T00:00:00  0.0
+ 2021-06-01T00:00:00  0.0
+ 2021-07-01T00:00:00  0.0
+ 2021-08-01T00:00:00  0.0
+ 2021-09-01T00:00:00  0.0
+ 2021-10-01T00:00:00  0.0
+ 2021-11-01T00:00:00  0.0
+ 2021-12-01T00:00:00  0.0

A Dimension can also wrap Selector.

julia
x = A[X(Between(3, 4)), Y(At('b'))]
+
+# output
+
+╭──────────────────────────╮
+1×12 DimArray{Float64,2} │
+├──────────────────────────┴───────────────────────────────────────────── dims ┐
+ X  Sampled{Int64} 4:2:4 ForwardOrdered Regular Points,
+ Ti Sampled{Dates.DateTime} Dates.DateTime("2021-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2021-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+   2021-01-01T00:00:00   2021-02-01T00:00:00   2021-12-01T00:00:00
+ 4    0.0                   0.0                      0.0

source


# DimensionalData.Dimensions.DependentDimType.
julia
DependentDim <: Dimension

Abstract supertype for dependent dimensions. These will plot on the Y axis.

source


# DimensionalData.Dimensions.IndependentDimType.
julia
IndependentDim <: Dimension

Abstract supertype for independent dimensions. These will plot on the X axis.

source


# DimensionalData.Dimensions.XDimType.
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source


# DimensionalData.Dimensions.YDimType.
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source


# DimensionalData.Dimensions.ZDimType.
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source


# DimensionalData.Dimensions.TimeDimType.
julia
TimeDim <: IndependentDim

Abstract supertype for all time dimensions.

In a TimeDime with Interval sampling the locus will automatically be set to Start(). Dates and times generally refer to the start of a month, hour, second etc., not the central point as is more common with spatial data. \`

source


# DimensionalData.Dimensions.XType.
julia
X <: XDim
+
+X(val=:)

X Dimension. X <: XDim <: IndependentDim

Examples

julia
xdim = X(2:2:10)
julia
val = A[X(1)]
julia
mean(A; dims=X)

source


# DimensionalData.Dimensions.YType.
julia
Y <: YDim
+
+Y(val=:)

Y Dimension. Y <: YDim <: DependentDim

Examples

julia
ydim = Y(['a', 'b', 'c'])
julia
val = A[Y(1)]
julia
mean(A; dims=Y)

source


# DimensionalData.Dimensions.ZType.
julia
Z <: ZDim
+
+Z(val=:)

Z Dimension. Z <: ZDim <: Dimension

Example:

julia
zdim = Z(10:10:100)
julia
val = A[Z(1)]
julia
mean(A; dims=Z)

source


# DimensionalData.Dimensions.TiType.

m Ti <: TimeDim

Ti(val=:)

Time Dimension. Ti <: TimeDim <: IndependentDim

Time is already used by Dates, and T is a common type parameter, We use Ti to avoid clashes.

Example:

julia
timedim = Ti(DateTime(2021, 1):Month(1):DateTime(2021, 12))
julia
val = A[Ti(1)]
julia
mean(A; dims=Ti)

source


# DimensionalData.Dimensions.DimType.
julia
Dim{S}(val=:)

A generic dimension. For use when custom dims are required when loading data from a file. Can be used as keyword arguments for indexing.

Dimension types take precedence over same named Dim types when indexing with symbols, or e.g. creating Tables.jl keys.

julia
julia> dim = Dim{:custom}(['a', 'b', 'c'])
+custom ['a', 'b', 'c']

source


# DimensionalData.Dimensions.AnonDimType.
julia
AnonDim <: Dimension
+
+AnonDim()

Anonymous dimension. Used when extra dimensions are created, such as during transpose of a vector.

source


# DimensionalData.Dimensions.@dimMacro.
julia
@dim typ [supertype=Dimension] [label::String=string(typ)]

Macro to easily define new dimensions.

The supertype will be inserted into the type of the dim. The default is simply YourDim <: Dimension.

Making a Dimension inherit from XDim, YDim, ZDim or TimeDim will affect automatic plot layout and other methods that dispatch on these types. <: YDim are plotted on the Y axis, <: XDim on the X axis, etc.

label is used in plots and similar, if the dimension is short for a longer word.

Example:

julia
using DimensionalData
+using DimensionalData: @dim, YDim, XDim
+@dim Lat YDim "Latitude"
+@dim Lon XDim "Longitude"
+# output

source


Exported methods

These are widely useful methods for working with dimensions.

# DimensionalData.Dimensions.dimsFunction.
julia
dims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+dims(x, dim) => Dimension

Return a tuple of Dimensions for an object, in the order that matches the axes or columns of the underlying data.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

The default is to return nothing.

source

julia
dims(x, query) => Tuple{Vararg{Dimension}}
+dims(x, query...) => Tuple{Vararg{Dimension}}

Get the dimension(s) matching the type(s) of the query dimension.

Lookup can be an Int or an Dimension, or a tuple containing any combination of either.

Arguments

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(2, 3, 2), (X, Y, Z))
+╭───────────────────────────╮
+2×3×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ X,  Y, ↗ Z
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+
+julia> dims(A, (X, Y))
+( X,  Y)

source


# DimensionalData.Dimensions.otherdimsFunction.
julia
otherdims(x, query) => Tuple{Vararg{Dimension,N}}

Get the dimensions of an object not in query.

Arguments

A tuple holding the unmatched dimensions is always returned.

Example

julia
julia> using DimensionalData, DimensionalData.Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> otherdims(A, X)
+( Y,  Z)
+
+julia> otherdims(A, (Y, Z))
+( X)

source


# DimensionalData.Dimensions.dimnumFunction.
julia
dimnum(x, query::Tuple) => NTuple{Int}
+dimnum(x, query) => Int

Get the number(s) of Dimension(s) as ordered in the dimensions of an object.

Arguments

The return type will be a Tuple of Int or a single Int, depending on whether query is a Tuple or single Dimension.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> dimnum(A, (Z, X, Y))
+(3, 1, 2)
+
+julia> dimnum(A, Y)
+2

source


# DimensionalData.Dimensions.hasdimFunction.
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+hasdim([f], x, query...) => NTuple{Bool}
+hasdim([f], x, query) => Bool

Check if an object x has dimensions that match or inherit from the query dimensions.

Arguments

Check if an object or tuple contains an Dimension, or a tuple of dimensions.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> hasdim(A, X)
+true
+
+julia> hasdim(A, (Z, X, Y))
+(true, true, true)
+
+julia> hasdim(A, Ti)
+false

source


Non-exported methods

# DimensionalData.Dimensions.lookupFunction.
julia
lookup(x::Dimension) => Lookup
+lookup(x, [dims::Tuple]) => Tuple{Vararg{Lookup}}
+lookup(x::Tuple) => Tuple{Vararg{Lookup}}
+lookup(x, dim) => Lookup

Returns the Lookup of a dimension. This dictates properties of the dimension such as array axis and lookup order, and sampling properties.

dims can be a Dimension, a dimension type, or a tuple of either.

This is separate from val in that it will only work when dimensions actually contain an AbstractArray lookup, and can be used on a DimArray or DimStack to retrieve all lookups, as there is no ambiguity of meaning as there is with val.

source


# DimensionalData.Dimensions.labelFunction.
julia
label(x) => String
+label(x, dims::Tuple) => NTuple{N,String}
+label(x, dim) => String
+label(xs::Tuple) => NTuple{N,String}

Get a plot label for data or a dimension. This will include the name and units if they exist, and anything else that should be shown on a plot.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.formatFunction.
julia
format(dims, x) => Tuple{Vararg{Dimension,N}}

Format the passed-in dimension(s) dims to match the object x.

Errors are thrown if dims don't match the array dims or size, and any fields holding Auto- objects are filled with guessed objects.

If a Lookup hasn't been specified, a lookup is chosen based on the type and element type of the values.

source


# DimensionalData.Dimensions.dims2indicesFunction.
julia
dims2indices(dim::Dimension, I) => NTuple{Union{Colon,AbstractArray,Int}}

Convert a Dimension or Selector I to indices of Int, AbstractArray or Colon.

source


# DimensionalData.Dimensions.Lookups.selectindicesFunction.
julia
selectindices(lookups, selectors)

Converts Selector to regular indices.

source


Primitive methods

These low-level methods are really for internal use, but can be useful for writing dimensional algorithms.

They are not guaranteed to keep their interface, but usually will.

# DimensionalData.Dimensions.commondimsFunction.
julia
commondims([f], x, query) => Tuple{Vararg{Dimension}}

This is basically dims(x, query) where the order of the original is kept, unlike dims where the query tuple determines the order

Also unlike dims,commondims always returns a Tuple, no matter the input. No errors are thrown if dims are absent from either x or query.

f is <: by default, but can be >: to sort abstract types by concrete types.

julia
julia> using DimensionalData, .Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> commondims(A, X)
+( X)
+
+julia> commondims(A, (X, Z))
+( X,  Z)
+
+julia> commondims(A, Ti)
+()

source


# DimensionalData.Dimensions.name2dimFunction.
julia
name2dim(s::Symbol) => Dimension
+name2dim(dims...) => Tuple{Dimension,Vararg}
+name2dim(dims::Tuple) => Tuple{Dimension,Vararg}

Convert a symbol to a dimension object. :X, :Y, :Ti etc will be converted to X(), Y(), Ti(), as with any other dims generated with the @dim macro.

All other Symbols S will generate Dim{S}() dimensions.

source


# DimensionalData.Dimensions.reducedimsFunction.
julia
reducedims(x, dimstoreduce) => Tuple{Vararg{Dimension}}

Replace the specified dimensions with an index of length 1. This is usually to match a new array size where an axis has been reduced with a method like mean or reduce to a length of 1, but the number of dimensions has not changed.

Lookup traits are also updated to correspond to the change in cell step, sampling type and order.

source


# DimensionalData.Dimensions.swapdimsFunction.
julia
swapdims(x::T, newdims) => T
+swapdims(dims::Tuple, newdims) => Tuple{Vararg{Dimension}}

Swap dimensions for the passed in dimensions, in the order passed.

Passing in the Dimension types rewraps the dimension index, keeping the index values and metadata, while constructed Dimension objects replace the original dimension. nothing leaves the original dimension as-is.

Arguments

Example

julia
using DimensionalData
+A = ones(X(2), Y(4), Z(2))
+Dimensions.swapdims(A, (Dim{:a}, Dim{:b}, Dim{:c}))
+
+# output
+╭───────────────────────────╮
+2×4×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ a,  b, ↗ c
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0

source


# DimensionalData.Dimensions.slicedimsFunction.
julia
slicedims(x, I) => Tuple{Tuple,Tuple}
+slicedims(f, x, I) => Tuple{Tuple,Tuple}

Slice the dimensions to match the axis values of the new array.

All methods return a tuple containing two tuples: the new dimensions, and the reference dimensions. The ref dimensions are no longer used in the new struct but are useful to give context to plots.

Called at the array level the returned tuple will also include the previous reference dims attached to the array.

Arguments

source


# DimensionalData.Dimensions.comparedimsFunction.
julia
comparedims(A::AbstractDimArray...; kw...)
+comparedims(A::Tuple...; kw...)
+comparedims(A::Dimension...; kw...)
+comparedims(::Type{Bool}, args...; kw...)

Check that dimensions or tuples of dimensions passed as each argument are the same, and return the first valid dimension. If AbstractDimArrays are passed as arguments their dimensions are compared.

Empty tuples and nothing dimension values are ignored, returning the Dimension value if it exists.

Passing Bool as the first argument means true/false will be returned, rather than throwing an error.

Keywords

These are all Bool flags:

source


# DimensionalData.Dimensions.combinedimsFunction.
julia
combinedims(xs; check=true, kw...)

Combine the dimensions of each object in xs, in the order they are found.

Keywords are passed to comparedims.

source


# DimensionalData.Dimensions.sortdimsFunction.
julia
sortdims([f], tosort, order) => Tuple

Sort dimensions tosort by order. Dimensions in order but missing from tosort are replaced with nothing.

tosort and order can be Tuples or Vectors or Dimension or dimension type. Abstract supertypes like TimeDim can be used in order.

f is <: by default, but can be >: to sort abstract types by concrete types.

source


# DimensionalData.Dimensions.Lookups.basetypeofFunction.
julia
basetypeof(x) => Type

Get the "base" type of an object - the minimum required to define the object without it's fields. By default this is the full UnionAll for the type. But custom basetypeof methods can be defined for types with free type parameters.

In DimensionalData this is primarily used for comparing Dimensions, where Dim{:x} is different from Dim{:y}.

source


# DimensionalData.Dimensions.basedimsFunction.
julia
basedims(ds::Tuple)
+basedims(d::Union{Dimension,Symbol,Type})

Returns basetypeof(d)() or a Tuple of called on a Tuple.

See basetypeof

source


# DimensionalData.Dimensions.setdimsFunction.
julia
setdims(X, newdims) => AbstractArray
+setdims(::Tuple, newdims) => Tuple{Vararg{Dimension,N}}

Replaces the first dim matching <: basetypeof(newdim) with newdim, and returns a new object or tuple with the dimension updated.

Arguments

Example

julia
using DimensionalData, DimensionalData.Dimensions, DimensionalData.Lookups
+A = ones(X(10), Y(10:10:100))
+B = setdims(A, Y(Categorical('a':'j'; order=ForwardOrdered())))
+lookup(B, Y)
+# output
+Categorical{Char} ForwardOrdered
+wrapping: 'a':1:'j'

source


# DimensionalData.Dimensions.dimsmatchFunction.
julia
dimsmatch([f], dim, query) => Bool
+dimsmatch([f], dims::Tuple, query::Tuple) => Bool

Compare 2 dimensions or Tuple of Dimension are of the same base type, or are at least rotations/transformations of the same type.

f is <: by default, but can be >: to match abstract types to concrete types.

source


`,81)]))}const E=s(t,[["render",l]]);export{g as __pageData,E as default}; diff --git a/previews/PR801/assets/api_lookuparrays.md.BF14Z7at.js b/previews/PR801/assets/api_lookuparrays.md.BF14Z7at.js new file mode 100644 index 000000000..9a9365fc7 --- /dev/null +++ b/previews/PR801/assets/api_lookuparrays.md.BF14Z7at.js @@ -0,0 +1,218 @@ +import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.D3Ia4FEQ.js";const c=JSON.parse('{"title":"Lookups","description":"","frontmatter":{},"headers":[],"relativePath":"api/lookuparrays.md","filePath":"api/lookuparrays.md","lastUpdated":null}'),t={name:"api/lookuparrays.md"};function l(p,s,o,h,r,k){return n(),a("div",null,s[0]||(s[0]=[e(`

Lookups

# DimensionalData.Dimensions.LookupsModule.
julia
Lookups

Module for Lookups and Selectors used in DimensionalData.jl

Lookup defines traits and AbstractArray wrappers that give specific behaviours for a lookup index when indexed with Selector.

For example, these allow tracking over array order so fast indexing works even when the array is reversed.

To load Lookup types and methods into scope:

julia
using DimensionalData
+using DimensionalData.Lookups

source


# DimensionalData.Dimensions.Lookups.LookupType.
julia
Lookup

Types defining the behaviour of a lookup index, how it is plotted and how Selectors like Between work.

A Lookup may be NoLookup indicating that there are no lookup values, Categorical for ordered or unordered categories, or a Sampled index for Points or Intervals.

source


# DimensionalData.Dimensions.Lookups.AlignedType.
julia
Aligned <: Lookup

Abstract supertype for Lookups where the lookup is aligned with the array axes.

This is by far the most common supertype for Lookup.

source


# DimensionalData.Dimensions.Lookups.AbstractSampledType.
julia
AbstractSampled <: Aligned

Abstract supertype for Lookups where the lookup is aligned with the array, and is independent of other dimensions. Sampled is provided by this package.

AbstractSampled must have order, span and sampling fields, or a rebuild method that accepts them as keyword arguments.

source


# DimensionalData.Dimensions.Lookups.SampledType.
julia
Sampled <: AbstractSampled
+
+Sampled(data::AbstractVector, order::Order, span::Span, sampling::Sampling, metadata)
+Sampled(data=AutoValues(); order=AutoOrder(), span=AutoSpan(), sampling=Points(), metadata=NoMetadata())

A concrete implementation of the Lookup AbstractSampled. It can be used to represent Points or Intervals.

Sampled is capable of representing gridded data from a wide range of sources, allowing correct bounds and Selectors for points or intervals of regular, irregular, forward and reverse lookups.

On AbstractDimArray construction, Sampled lookup is assigned for all lookups of AbstractRange not assigned to Categorical.

Arguments

Example

Create an array with Interval sampling, and Regular span for a vector with known spacing.

We set the locus of the Intervals to Start specifying that the lookup values are for the locus at the start of each interval.

julia
using DimensionalData, DimensionalData.Lookups
+
+x = X(Sampled(100:-20:10; sampling=Intervals(Start())))
+y = Y(Sampled([1, 4, 7, 10]; span=Regular(3), sampling=Intervals(Start())))
+A = ones(x, y)
+
+# output
+╭─────────────────────────╮
+5×4 DimArray{Float64,2} │
+├─────────────────────────┴────────────────────────────────────────── dims ┐
+ X Sampled{Int64} 100:-20:20 ReverseOrdered Regular Intervals{Start},
+ Y Sampled{Int64} [1, 4, 7, 10] ForwardOrdered Regular Intervals{Start}
+└──────────────────────────────────────────────────────────────────────────┘
+  1    4    7    10
+ 100    1.0  1.0  1.0   1.0
+  80    1.0  1.0  1.0   1.0
+  60    1.0  1.0  1.0   1.0
+  40    1.0  1.0  1.0   1.0
+  20    1.0  1.0  1.0   1.0

source


# DimensionalData.Dimensions.Lookups.AbstractCyclicType.
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source


# DimensionalData.Dimensions.Lookups.CyclicType.
julia
Cyclic <: AbstractCyclic
+
+Cyclic(data; order=AutoOrder(), span=AutoSpan(), sampling=Points(), metadata=NoMetadata(), cycle)

A Cyclic lookup is similar to Sampled but out of range Selectors At, Near, Contains will cycle the values to typemin or typemax over the length of cycle. Where and .. work as for Sampled.

This is useful when we are using mean annual datasets over a real time-span, or for wrapping longitudes so that -360 and 360 are the same.

Arguments

Notes

  1. If you use dates and e.g. cycle over a Year, every year will have the number and spacing of Weeks and Days as the cycle year. Using At may not be reliable in terms of exact dates, as it will be applied to the specified date plus or minus n years.

  2. Indexing into a Cycled with any AbstractArray or AbstractRange will return a Sampled as the full cycle is likely no longer available.

  3. .. or Between selectors do not work in a cycled way: they work as for Sampled. This may change in future to return cycled values, but there are problems with this, such as leap years breaking correct date cycling of a single year. If you actually need this behaviour, please make a GitHub issue.

source


# DimensionalData.Dimensions.Lookups.AbstractCategoricalType.
julia
AbstractCategorical <: Aligned

Lookups where the values are categories.

Categorical is the provided concrete implementation. But this can easily be extended, all methods are defined for AbstractCategorical.

All AbstractCategorical must provide a rebuild method with data, order and metadata keyword arguments.

source


# DimensionalData.Dimensions.Lookups.CategoricalType.
julia
Categorical <: AbstractCategorical
+
+Categorical(o::Order)
+Categorical(; order=Unordered())

A Lookup where the values are categories.

This will be automatically assigned if the lookup contains AbstractString, Symbol or Char. Otherwise it can be assigned manually.

Order will be determined automatically where possible.

Arguments

Example

Create an array with [Interval] sampling.

julia
using DimensionalData
+
+ds = X(["one", "two", "three"]), Y([:a, :b, :c, :d])
+A = DimArray(rand(3, 4), ds)
+Dimensions.lookup(A)
+
+# output
+
+Categorical{String} ["one", "two", "three"] Unordered,
+Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source


# DimensionalData.Dimensions.Lookups.UnalignedType.
julia
Unaligned <: Lookup

Abstract supertype for Lookup where the lookup is not aligned to the grid.

Indexing an Unaligned with Selectors must provide all other Unaligned dimensions.

source


# DimensionalData.Dimensions.Lookups.TransformedType.
julia
Transformed <: Unaligned
+
+Transformed(f, dim::Dimension; metadata=NoMetadata())

Lookup that uses an affine transformation to convert dimensions from dims(lookup) to dims(array). This can be useful when the dimensions are e.g. rotated from a more commonly used axis.

Any function can be used to do the transformation, but transformations from CoordinateTransformations.jl may be useful.

Arguments

Keyword Arguments

Example

julia
using DimensionalData, DimensionalData.Lookups, CoordinateTransformations
+
+m = LinearMap([0.5 0.0; 0.0 0.5])
+A = [1 2  3  4
+     5 6  7  8
+     9 10 11 12];
+da = DimArray(A, (X(Transformed(m)), Y(Transformed(m))))
+
+da[X(At(6.0)), Y(At(2.0))]
+
+# output
+9

source


# DimensionalData.Dimensions.MergedLookupType.
julia
MergedLookup <: Lookup
+
+MergedLookup(data, dims; [metadata])

A Lookup that holds multiple combined dimensions.

MergedLookup can be indexed with Selectors like At, Between, and Where although Near has undefined meaning.

Arguments

Keywords

source


# DimensionalData.Dimensions.Lookups.NoLookupType.
julia
NoLookup <: Lookup
+
+NoLookup()

A Lookup that is identical to the array axis. Selectors can't be used on this lookup.

Example

Defining a DimArray without passing lookup values to the dimensions, it will be assigned NoLookup:

julia
using DimensionalData
+
+A = DimArray(rand(3, 3), (X, Y))
+Dimensions.lookup(A)
+
+# output
+
+NoLookup, NoLookup

Which is identical to:

julia
using .Lookups
+A = DimArray(rand(3, 3), (X(NoLookup()), Y(NoLookup())))
+Dimensions.lookup(A)
+
+# output
+
+NoLookup, NoLookup

source


# DimensionalData.Dimensions.Lookups.AutoLookupType.
julia
AutoLookup <: Lookup
+
+AutoLookup()
+AutoLookup(values=AutoValues(); kw...)

Automatic Lookup, the default lookup. It will be converted automatically to another Lookup when it is possible to detect it from the lookup values.

Keywords will be used in the detected Lookup constructor.

source


# DimensionalData.Dimensions.Lookups.AutoValuesType.
julia
AutoValues

Detect Lookup values from the context. This is used in NoLookup to simply use the array axis as the index when the array is constructed, and in set to change the Lookup type without changing the index values.

source


The generic value getter val

# DimensionalData.Dimensions.Lookups.valFunction.
julia
val(x)
+val(dims::Tuple) => Tuple

Return the contained value of a wrapper object.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

Objects that don't define a val method are returned unaltered.

source


Lookup methods:

# DimensionalData.Dimensions.Lookups.boundsFunction.
julia
bounds(xs, [dims::Tuple]) => Tuple{Vararg{Tuple{T,T}}}
+bounds(xs::Tuple) => Tuple{Vararg{Tuple{T,T}}}
+bounds(x, dim) => Tuple{T,T}
+bounds(dim::Union{Dimension,Lookup}) => Tuple{T,T}

Return the bounds of all dimensions of an object, of a specific dimension, or of a tuple of dimensions.

If bounds are not known, one or both values may be nothing.

dims can be a Dimension, a dimension type, or a tuple of either.

source


# DimensionalData.Dimensions.Lookups.hasselectionFunction.
julia
hasselection(x, selector) => Bool
+hasselection(x, selectors::Tuple) => Bool

Check if indexing into x with selectors can be performed, where x is some object with a dims method, and selectors is a Selector or Dimension or a tuple of either.

source


# DimensionalData.Dimensions.Lookups.samplingFunction.
julia
sampling(x, [dims::Tuple]) => Tuple
+sampling(x, dim) => Sampling
+sampling(xs::Tuple) => Tuple{Vararg{Sampling}}
+sampling(x:Union{Dimension,Lookup}) => Sampling

Return the Sampling for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.spanFunction.
julia
span(x, [dims::Tuple]) => Tuple
+span(x, dim) => Span
+span(xs::Tuple) => Tuple{Vararg{Span,N}}
+span(x::Union{Dimension,Lookup}) => Span

Return the Span for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.orderFunction.
julia
order(x, [dims::Tuple]) => Tuple
+order(xs::Tuple) => Tuple
+order(x::Union{Dimension,Lookup}) => Order

Return the Ordering of the dimension lookup for each dimension: ForwardOrdered, ReverseOrdered, or Unordered

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.locusFunction.
julia
locus(x, [dims::Tuple]) => Tuple
+locus(x, dim) => Locus
+locus(xs::Tuple) => Tuple{Vararg{Locus,N}}
+locus(x::Union{Dimension,Lookup}) => Locus

Return the Position of lookup values for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.shiftlocusFunction.
julia
shiftlocus(locus::Locus, x)

Shift the values of x from the current locus to the new locus.

We only shift Sampled, Regular or Explicit, Intervals.

source


Selectors

# DimensionalData.Dimensions.Lookups.SelectorType.
julia
Selector

Abstract supertype for all selectors.

Selectors are wrappers that indicate that passed values are not the array indices, but values to be selected from the dimension lookup, such as DateTime objects for a Ti dimension.

Selectors provided in DimensionalData are:

Note: Selectors can be modified using:

And IntervalSets.jl Interval can be used instead of Between

source


# DimensionalData.Dimensions.Lookups.IntSelectorType.
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source


# DimensionalData.Dimensions.Lookups.ArraySelectorType.
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source


# DimensionalData.Dimensions.Lookups.AtType.
julia
At <: IntSelector
+
+At(x; atol=nothing, rtol=nothing)
+At(a, b; kw...)

Selector that exactly matches the value on the passed-in dimensions, or throws an error. For ranges and arrays, every intermediate value must match an existing value - not just the end points.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between them will be selected.

Keyword atol is passed to isapprox.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(At(20)), Y(At(6))]
+
+# output
+
+5

source


# DimensionalData.Dimensions.Lookups.NearType.
julia
Near <: IntSelector
+
+Near(x)
+Near(a, b)

Selector that selects the nearest index to x.

With Points this is simply the lookup values nearest to the x, however with Intervals it is the interval center nearest to x. This will be offset from the index value for Start and End locus.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between the nearsest value to each of them will be selected.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Near(23)), Y(Near(5.1))]
+
+# output
+4

source


# DimensionalData.Dimensions.Lookups.BetweenType.
julia
Between <: ArraySelector
+
+Between(a, b)

Depreciated: use a..b instead of Between(a, b). Other Interval objects from IntervalSets.jl, like \`OpenInterval(a, b) will also work, giving the correct open/closed boundaries.

Between will e removed in future to avoid clashes with DataFrames.Between.

Selector that retrieve all indices located between 2 values, evaluated with >= for the lower value, and < for the upper value. This means the same value will not be counted twice in 2 adjacent Between selections.

For Intervals the whole interval must be lie between the values. For Points the points must fall between the values. Different Sampling types may give different results with the same input - this is the intended behaviour.

Between for Irregular intervals is a little complicated. The interval is the distance between a value and the next (for Start locus) or previous (for End locus) value.

For Center, we take the mid point between two index values as the start and end of each interval. This may or may not make sense for the values in your index, so use Between with Irregular Intervals(Center()) with caution.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Between(15, 25)), Y(Between(4, 6.5))]
+
+# output
+
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Int64} 20:10:20 ForwardOrdered Regular Points,
+ Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────┘
+  5  6
+ 20    4  5

source


# DimensionalData.Dimensions.Lookups.TouchesType.
julia
Touches <: ArraySelector
+
+Touches(a, b)

Selector that retrieves all indices touching the closed interval 2 values, for the maximum possible area that could interact with the supplied range.

This can be better than .. when e.g. subsetting an area to rasterize, as you may wish to include pixels that just touch the area, rather than those that fall within it.

Touches is different to using closed intervals when the lookups also contain intervals - if any of the intervals touch, they are included. With .. they are discarded unless the whole cell interval falls inside the selector interval.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Touches(15, 25)), Y(Touches(4, 6.5))]
+
+# output
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Int64} 20:10:20 ForwardOrdered Regular Points,
+ Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────┘
+  5  6
+ 20    4  5

source


# DimensionalData.Dimensions.Lookups.ContainsType.
julia
Contains <: IntSelector
+
+Contains(x)
+Contains(a, b)

Selector that selects the interval the value is contained by. If the interval is not present in the lookup, an error will be thrown.

Can only be used for Intervals or Categorical. For Categorical it falls back to using At. Contains should not be confused with Base.contains - use Where(contains(x)) to check for if values are contain in categorical values like strings.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between them will be selected.

Example

julia
using DimensionalData; const DD = DimensionalData
+dims_ = X(10:10:20; sampling=DD.Intervals(DD.Center())),
+        Y(5:7; sampling=DD.Intervals(DD.Center()))
+A = DimArray([1 2 3; 4 5 6], dims_)
+A[X(Contains(8)), Y(Contains(6.8))]
+
+# output
+3

source


# DimensionalData.Dimensions.Lookups.WhereType.
julia
Where <: ArraySelector
+
+Where(f::Function)

Selector that filters a dimension lookup by any function that accepts a single value and returns a Bool.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(19:21)))
+A[X(Where(x -> x > 15)), Y(Where(x -> x in (19, 21)))]
+
+# output
+
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴─────────────────────────────── dims ┐
+ X Sampled{Int64} [20] ForwardOrdered Irregular Points,
+ Y Sampled{Int64} [19, 21] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────┘
+  19  21
+ 20     4   6

source


# DimensionalData.Dimensions.Lookups.AllType.
julia
All <: Selector
+
+All(selectors::Selector...)

Selector that combines the results of other selectors. The indices used will be the union of all result sorted in ascending order.

Example

julia
using DimensionalData, Unitful
+
+dimz = X(10.0:20:200.0), Ti(1u"s":5u"s":100u"s")
+A = DimArray((1:10) * (1:20)', dimz)
+A[X=All(At(10.0), At(50.0)), Ti=All(1u"s"..10u"s", 90u"s"..100u"s")]
+
+# output
+
+╭───────────────────────╮
+2×4 DimArray{Int64,2} │
+├───────────────────────┴──────────────────────────────────────────────── dims ┐
+ X  Sampled{Float64} [10.0, 50.0] ForwardOrdered Irregular Points,
+ Ti Sampled{Unitful.Quantity{Int64, 𝐓, Unitful.FreeUnits{(s,), 𝐓, nothing}}} [1 s, 6 s, 91 s, 96 s] ForwardOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  1 s  6 s  91 s  96 s
+ 10.0    1    2    19    20
+ 50.0    3    6    57    60

source


Lookup traits

# DimensionalData.Dimensions.Lookups.LookupTraitType.
julia
LookupTrait

Abstract supertype of all traits of a Lookup.

These modify the behaviour of the lookup index.

The term "Trait" is used loosely - these may be fields of an object of traits hard-coded to specific types.

source


Order

# DimensionalData.Dimensions.Lookups.OrderType.
julia
Order <: LookupTrait

Traits for the order of a Lookup. These determine how searchsorted finds values in the index, and how objects are plotted.

source


# DimensionalData.Dimensions.Lookups.OrderedType.
julia
Ordered <: Order

Supertype for the order of an ordered Lookup, including ForwardOrdered and ReverseOrdered.

source


# DimensionalData.Dimensions.Lookups.ForwardOrderedType.
julia
ForwardOrdered <: Ordered
+
+ForwardOrdered()

Indicates that the Lookup index is in the normal forward order.

source


# DimensionalData.Dimensions.Lookups.ReverseOrderedType.
julia
ReverseOrdered <: Ordered
+
+ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source


# DimensionalData.Dimensions.Lookups.UnorderedType.
julia
Unordered <: Order
+
+Unordered()

Indicates that Lookup is unordered.

This means the index cannot be searched with searchsortedfirst or similar optimised methods - instead it will use findfirst.

source


# DimensionalData.Dimensions.Lookups.AutoOrderType.
julia
AutoOrder <: Order
+
+AutoOrder()

Specifies that the Order of a Lookup will be found automatically where possible.

source


Span

# DimensionalData.Dimensions.Lookups.SpanType.
julia
Span <: LookupTrait

Defines the type of span used in a Sampling index. These are Regular or Irregular.

source


# DimensionalData.Dimensions.Lookups.RegularType.
julia
Regular <: Span
+
+Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source


# DimensionalData.Dimensions.Lookups.IrregularType.
julia
Irregular <: Span
+
+Irregular(bounds::Tuple)
+Irregular(lowerbound, upperbound)

Points or Intervals that have an Irregular step size. To enable bounds tracking and accurate selectors, the starting bounds are provided as a 2 tuple, or 2 arguments. (nothing, nothing) is acceptable input, the bounds will be guessed from the index, but may be inaccurate.

source


# DimensionalData.Dimensions.Lookups.ExplicitType.
julia
Explicit(bounds::AbstractMatrix)

Intervals where the span is explicitly listed for every interval.

This uses a matrix where with length 2 columns for each index value, holding the lower and upper bounds for that specific index.

source


# DimensionalData.Dimensions.Lookups.AutoSpanType.
julia
AutoSpan <: Span
+
+AutoSpan()

The span will be guessed and replaced in format or set.

source


Sampling

# DimensionalData.Dimensions.Lookups.SamplingType.
julia
Sampling <: LookupTrait

Indicates the sampling method used by the index: Points or Intervals.

source


# DimensionalData.Dimensions.Lookups.PointsType.
julia
Points <: Sampling
+
+Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source


# DimensionalData.Dimensions.Lookups.IntervalsType.
julia
Intervals <: Sampling
+
+Intervals(locus::Position)

Sampling specifying that sampled values are the mean (or similar) value over an interval, rather than at one specific point.

Intervals require a locus of Start, Center or End to define the location in the interval that the index values refer to.

source


Positions

# DimensionalData.Dimensions.Lookups.PositionType.
julia
Position <: LookupTrait

Abstract supertype of types that indicate the locus of index values where they represent Intervals.

These allow for values array cells to align with the Start, Center, or End of values in the lookup index.

This means they can be plotted with correct axis markers, and allows automatic conversions to between formats with different standards (such as NetCDF and GeoTiff).

source


# DimensionalData.Dimensions.Lookups.CenterType.
julia
Center <: Position
+
+Center()

Used to specify lookup values correspond to the center locus in an interval.

source


# DimensionalData.Dimensions.Lookups.StartType.
julia
Start <: Position
+
+Start()

Used to specify lookup values correspond to the start locus of an interval.

source


# DimensionalData.Dimensions.Lookups.BeginType.
julia
Begin <: Position
+
+Begin()

Used to specify the begin index of a Dimension axis, as regular begin will not work with named dimensions.

Can be used with : to create a BeginEndRange or BeginEndStepRange.

source


# DimensionalData.Dimensions.Lookups.EndType.
julia
End <: Position
+
+End()

Used to specify the end index of a Dimension axis, as regular end will not work with named dimensions. Can be used with : to create a BeginEndRange or BeginEndStepRange.

Also used to specify lookup values correspond to the end locus of an interval.

source


# DimensionalData.Dimensions.Lookups.AutoPositionType.
julia
AutoPosition <: Position
+
+AutoPosition()

Indicates a interval where the index locus is not yet known. This will be filled with a default value on object construction.

source


Metadata

# DimensionalData.Dimensions.Lookups.AbstractMetadataType.
julia
AbstractMetadata{X,T}

Abstract supertype for all metadata wrappers.

Metadata wrappers allow tracking the contents and origin of metadata. This can facilitate conversion between metadata types (for saving a file to a different format) or simply saving data back to the same file type with identical metadata.

Using a wrapper instead of Dict or NamedTuple also lets us pass metadata objects to set without ambiguity about where to put them.

source


# DimensionalData.Dimensions.Lookups.MetadataType.
julia
Metadata <: AbstractMetadata
+
+Metadata{X}(val::Union{Dict,NamedTuple})
+Metadata{X}(pairs::Pair...) => Metadata{Dict}
+Metadata{X}(; kw...) => Metadata{NamedTuple}

General Metadata object. The X type parameter categorises the metadata for method dispatch, if required.

source


# DimensionalData.Dimensions.Lookups.NoMetadataType.
julia
NoMetadata <: AbstractMetadata
+
+NoMetadata()

Indicates an object has no metadata. But unlike using nothing, get, keys and haskey will still work on it, get always returning the fallback argument. keys returns () while haskey always returns false.

source


# DimensionalData.Dimensions.Lookups.unitsFunction.
julia
units(x) => Union{Nothing,Any}
+units(xs:Tuple) => Tuple
+unit(A::AbstractDimArray, dims::Tuple) => Tuple
+unit(A::AbstractDimArray, dim) => Union{Nothing,Any}

Get the units of an array or Dimension, or a tuple of of either.

Units do not have a set field, and may or may not be included in metadata. This method is to facilitate use in labels and plots when units are available, not a guarantee that they will be. If not available, nothing is returned.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


`,126)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/previews/PR801/assets/api_lookuparrays.md.BF14Z7at.lean.js b/previews/PR801/assets/api_lookuparrays.md.BF14Z7at.lean.js new file mode 100644 index 000000000..9a9365fc7 --- /dev/null +++ b/previews/PR801/assets/api_lookuparrays.md.BF14Z7at.lean.js @@ -0,0 +1,218 @@ +import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.D3Ia4FEQ.js";const c=JSON.parse('{"title":"Lookups","description":"","frontmatter":{},"headers":[],"relativePath":"api/lookuparrays.md","filePath":"api/lookuparrays.md","lastUpdated":null}'),t={name:"api/lookuparrays.md"};function l(p,s,o,h,r,k){return n(),a("div",null,s[0]||(s[0]=[e(`

Lookups

# DimensionalData.Dimensions.LookupsModule.
julia
Lookups

Module for Lookups and Selectors used in DimensionalData.jl

Lookup defines traits and AbstractArray wrappers that give specific behaviours for a lookup index when indexed with Selector.

For example, these allow tracking over array order so fast indexing works even when the array is reversed.

To load Lookup types and methods into scope:

julia
using DimensionalData
+using DimensionalData.Lookups

source


# DimensionalData.Dimensions.Lookups.LookupType.
julia
Lookup

Types defining the behaviour of a lookup index, how it is plotted and how Selectors like Between work.

A Lookup may be NoLookup indicating that there are no lookup values, Categorical for ordered or unordered categories, or a Sampled index for Points or Intervals.

source


# DimensionalData.Dimensions.Lookups.AlignedType.
julia
Aligned <: Lookup

Abstract supertype for Lookups where the lookup is aligned with the array axes.

This is by far the most common supertype for Lookup.

source


# DimensionalData.Dimensions.Lookups.AbstractSampledType.
julia
AbstractSampled <: Aligned

Abstract supertype for Lookups where the lookup is aligned with the array, and is independent of other dimensions. Sampled is provided by this package.

AbstractSampled must have order, span and sampling fields, or a rebuild method that accepts them as keyword arguments.

source


# DimensionalData.Dimensions.Lookups.SampledType.
julia
Sampled <: AbstractSampled
+
+Sampled(data::AbstractVector, order::Order, span::Span, sampling::Sampling, metadata)
+Sampled(data=AutoValues(); order=AutoOrder(), span=AutoSpan(), sampling=Points(), metadata=NoMetadata())

A concrete implementation of the Lookup AbstractSampled. It can be used to represent Points or Intervals.

Sampled is capable of representing gridded data from a wide range of sources, allowing correct bounds and Selectors for points or intervals of regular, irregular, forward and reverse lookups.

On AbstractDimArray construction, Sampled lookup is assigned for all lookups of AbstractRange not assigned to Categorical.

Arguments

Example

Create an array with Interval sampling, and Regular span for a vector with known spacing.

We set the locus of the Intervals to Start specifying that the lookup values are for the locus at the start of each interval.

julia
using DimensionalData, DimensionalData.Lookups
+
+x = X(Sampled(100:-20:10; sampling=Intervals(Start())))
+y = Y(Sampled([1, 4, 7, 10]; span=Regular(3), sampling=Intervals(Start())))
+A = ones(x, y)
+
+# output
+╭─────────────────────────╮
+5×4 DimArray{Float64,2} │
+├─────────────────────────┴────────────────────────────────────────── dims ┐
+ X Sampled{Int64} 100:-20:20 ReverseOrdered Regular Intervals{Start},
+ Y Sampled{Int64} [1, 4, 7, 10] ForwardOrdered Regular Intervals{Start}
+└──────────────────────────────────────────────────────────────────────────┘
+  1    4    7    10
+ 100    1.0  1.0  1.0   1.0
+  80    1.0  1.0  1.0   1.0
+  60    1.0  1.0  1.0   1.0
+  40    1.0  1.0  1.0   1.0
+  20    1.0  1.0  1.0   1.0

source


# DimensionalData.Dimensions.Lookups.AbstractCyclicType.
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source


# DimensionalData.Dimensions.Lookups.CyclicType.
julia
Cyclic <: AbstractCyclic
+
+Cyclic(data; order=AutoOrder(), span=AutoSpan(), sampling=Points(), metadata=NoMetadata(), cycle)

A Cyclic lookup is similar to Sampled but out of range Selectors At, Near, Contains will cycle the values to typemin or typemax over the length of cycle. Where and .. work as for Sampled.

This is useful when we are using mean annual datasets over a real time-span, or for wrapping longitudes so that -360 and 360 are the same.

Arguments

Notes

  1. If you use dates and e.g. cycle over a Year, every year will have the number and spacing of Weeks and Days as the cycle year. Using At may not be reliable in terms of exact dates, as it will be applied to the specified date plus or minus n years.

  2. Indexing into a Cycled with any AbstractArray or AbstractRange will return a Sampled as the full cycle is likely no longer available.

  3. .. or Between selectors do not work in a cycled way: they work as for Sampled. This may change in future to return cycled values, but there are problems with this, such as leap years breaking correct date cycling of a single year. If you actually need this behaviour, please make a GitHub issue.

source


# DimensionalData.Dimensions.Lookups.AbstractCategoricalType.
julia
AbstractCategorical <: Aligned

Lookups where the values are categories.

Categorical is the provided concrete implementation. But this can easily be extended, all methods are defined for AbstractCategorical.

All AbstractCategorical must provide a rebuild method with data, order and metadata keyword arguments.

source


# DimensionalData.Dimensions.Lookups.CategoricalType.
julia
Categorical <: AbstractCategorical
+
+Categorical(o::Order)
+Categorical(; order=Unordered())

A Lookup where the values are categories.

This will be automatically assigned if the lookup contains AbstractString, Symbol or Char. Otherwise it can be assigned manually.

Order will be determined automatically where possible.

Arguments

Example

Create an array with [Interval] sampling.

julia
using DimensionalData
+
+ds = X(["one", "two", "three"]), Y([:a, :b, :c, :d])
+A = DimArray(rand(3, 4), ds)
+Dimensions.lookup(A)
+
+# output
+
+Categorical{String} ["one", "two", "three"] Unordered,
+Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source


# DimensionalData.Dimensions.Lookups.UnalignedType.
julia
Unaligned <: Lookup

Abstract supertype for Lookup where the lookup is not aligned to the grid.

Indexing an Unaligned with Selectors must provide all other Unaligned dimensions.

source


# DimensionalData.Dimensions.Lookups.TransformedType.
julia
Transformed <: Unaligned
+
+Transformed(f, dim::Dimension; metadata=NoMetadata())

Lookup that uses an affine transformation to convert dimensions from dims(lookup) to dims(array). This can be useful when the dimensions are e.g. rotated from a more commonly used axis.

Any function can be used to do the transformation, but transformations from CoordinateTransformations.jl may be useful.

Arguments

Keyword Arguments

Example

julia
using DimensionalData, DimensionalData.Lookups, CoordinateTransformations
+
+m = LinearMap([0.5 0.0; 0.0 0.5])
+A = [1 2  3  4
+     5 6  7  8
+     9 10 11 12];
+da = DimArray(A, (X(Transformed(m)), Y(Transformed(m))))
+
+da[X(At(6.0)), Y(At(2.0))]
+
+# output
+9

source


# DimensionalData.Dimensions.MergedLookupType.
julia
MergedLookup <: Lookup
+
+MergedLookup(data, dims; [metadata])

A Lookup that holds multiple combined dimensions.

MergedLookup can be indexed with Selectors like At, Between, and Where although Near has undefined meaning.

Arguments

Keywords

source


# DimensionalData.Dimensions.Lookups.NoLookupType.
julia
NoLookup <: Lookup
+
+NoLookup()

A Lookup that is identical to the array axis. Selectors can't be used on this lookup.

Example

Defining a DimArray without passing lookup values to the dimensions, it will be assigned NoLookup:

julia
using DimensionalData
+
+A = DimArray(rand(3, 3), (X, Y))
+Dimensions.lookup(A)
+
+# output
+
+NoLookup, NoLookup

Which is identical to:

julia
using .Lookups
+A = DimArray(rand(3, 3), (X(NoLookup()), Y(NoLookup())))
+Dimensions.lookup(A)
+
+# output
+
+NoLookup, NoLookup

source


# DimensionalData.Dimensions.Lookups.AutoLookupType.
julia
AutoLookup <: Lookup
+
+AutoLookup()
+AutoLookup(values=AutoValues(); kw...)

Automatic Lookup, the default lookup. It will be converted automatically to another Lookup when it is possible to detect it from the lookup values.

Keywords will be used in the detected Lookup constructor.

source


# DimensionalData.Dimensions.Lookups.AutoValuesType.
julia
AutoValues

Detect Lookup values from the context. This is used in NoLookup to simply use the array axis as the index when the array is constructed, and in set to change the Lookup type without changing the index values.

source


The generic value getter val

# DimensionalData.Dimensions.Lookups.valFunction.
julia
val(x)
+val(dims::Tuple) => Tuple

Return the contained value of a wrapper object.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

Objects that don't define a val method are returned unaltered.

source


Lookup methods:

# DimensionalData.Dimensions.Lookups.boundsFunction.
julia
bounds(xs, [dims::Tuple]) => Tuple{Vararg{Tuple{T,T}}}
+bounds(xs::Tuple) => Tuple{Vararg{Tuple{T,T}}}
+bounds(x, dim) => Tuple{T,T}
+bounds(dim::Union{Dimension,Lookup}) => Tuple{T,T}

Return the bounds of all dimensions of an object, of a specific dimension, or of a tuple of dimensions.

If bounds are not known, one or both values may be nothing.

dims can be a Dimension, a dimension type, or a tuple of either.

source


# DimensionalData.Dimensions.Lookups.hasselectionFunction.
julia
hasselection(x, selector) => Bool
+hasselection(x, selectors::Tuple) => Bool

Check if indexing into x with selectors can be performed, where x is some object with a dims method, and selectors is a Selector or Dimension or a tuple of either.

source


# DimensionalData.Dimensions.Lookups.samplingFunction.
julia
sampling(x, [dims::Tuple]) => Tuple
+sampling(x, dim) => Sampling
+sampling(xs::Tuple) => Tuple{Vararg{Sampling}}
+sampling(x:Union{Dimension,Lookup}) => Sampling

Return the Sampling for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.spanFunction.
julia
span(x, [dims::Tuple]) => Tuple
+span(x, dim) => Span
+span(xs::Tuple) => Tuple{Vararg{Span,N}}
+span(x::Union{Dimension,Lookup}) => Span

Return the Span for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.orderFunction.
julia
order(x, [dims::Tuple]) => Tuple
+order(xs::Tuple) => Tuple
+order(x::Union{Dimension,Lookup}) => Order

Return the Ordering of the dimension lookup for each dimension: ForwardOrdered, ReverseOrdered, or Unordered

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.locusFunction.
julia
locus(x, [dims::Tuple]) => Tuple
+locus(x, dim) => Locus
+locus(xs::Tuple) => Tuple{Vararg{Locus,N}}
+locus(x::Union{Dimension,Lookup}) => Locus

Return the Position of lookup values for each dimension.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.Lookups.shiftlocusFunction.
julia
shiftlocus(locus::Locus, x)

Shift the values of x from the current locus to the new locus.

We only shift Sampled, Regular or Explicit, Intervals.

source


Selectors

# DimensionalData.Dimensions.Lookups.SelectorType.
julia
Selector

Abstract supertype for all selectors.

Selectors are wrappers that indicate that passed values are not the array indices, but values to be selected from the dimension lookup, such as DateTime objects for a Ti dimension.

Selectors provided in DimensionalData are:

Note: Selectors can be modified using:

And IntervalSets.jl Interval can be used instead of Between

source


# DimensionalData.Dimensions.Lookups.IntSelectorType.
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source


# DimensionalData.Dimensions.Lookups.ArraySelectorType.
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source


# DimensionalData.Dimensions.Lookups.AtType.
julia
At <: IntSelector
+
+At(x; atol=nothing, rtol=nothing)
+At(a, b; kw...)

Selector that exactly matches the value on the passed-in dimensions, or throws an error. For ranges and arrays, every intermediate value must match an existing value - not just the end points.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between them will be selected.

Keyword atol is passed to isapprox.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(At(20)), Y(At(6))]
+
+# output
+
+5

source


# DimensionalData.Dimensions.Lookups.NearType.
julia
Near <: IntSelector
+
+Near(x)
+Near(a, b)

Selector that selects the nearest index to x.

With Points this is simply the lookup values nearest to the x, however with Intervals it is the interval center nearest to x. This will be offset from the index value for Start and End locus.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between the nearsest value to each of them will be selected.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Near(23)), Y(Near(5.1))]
+
+# output
+4

source


# DimensionalData.Dimensions.Lookups.BetweenType.
julia
Between <: ArraySelector
+
+Between(a, b)

Depreciated: use a..b instead of Between(a, b). Other Interval objects from IntervalSets.jl, like \`OpenInterval(a, b) will also work, giving the correct open/closed boundaries.

Between will e removed in future to avoid clashes with DataFrames.Between.

Selector that retrieve all indices located between 2 values, evaluated with >= for the lower value, and < for the upper value. This means the same value will not be counted twice in 2 adjacent Between selections.

For Intervals the whole interval must be lie between the values. For Points the points must fall between the values. Different Sampling types may give different results with the same input - this is the intended behaviour.

Between for Irregular intervals is a little complicated. The interval is the distance between a value and the next (for Start locus) or previous (for End locus) value.

For Center, we take the mid point between two index values as the start and end of each interval. This may or may not make sense for the values in your index, so use Between with Irregular Intervals(Center()) with caution.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Between(15, 25)), Y(Between(4, 6.5))]
+
+# output
+
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Int64} 20:10:20 ForwardOrdered Regular Points,
+ Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────┘
+  5  6
+ 20    4  5

source


# DimensionalData.Dimensions.Lookups.TouchesType.
julia
Touches <: ArraySelector
+
+Touches(a, b)

Selector that retrieves all indices touching the closed interval 2 values, for the maximum possible area that could interact with the supplied range.

This can be better than .. when e.g. subsetting an area to rasterize, as you may wish to include pixels that just touch the area, rather than those that fall within it.

Touches is different to using closed intervals when the lookups also contain intervals - if any of the intervals touch, they are included. With .. they are discarded unless the whole cell interval falls inside the selector interval.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(5:7)))
+A[X(Touches(15, 25)), Y(Touches(4, 6.5))]
+
+# output
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Int64} 20:10:20 ForwardOrdered Regular Points,
+ Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────┘
+  5  6
+ 20    4  5

source


# DimensionalData.Dimensions.Lookups.ContainsType.
julia
Contains <: IntSelector
+
+Contains(x)
+Contains(a, b)

Selector that selects the interval the value is contained by. If the interval is not present in the lookup, an error will be thrown.

Can only be used for Intervals or Categorical. For Categorical it falls back to using At. Contains should not be confused with Base.contains - use Where(contains(x)) to check for if values are contain in categorical values like strings.

x can be any value to select a single index, or a Vector of values to select vector of indices. If two values a and b are used, the range between them will be selected.

Example

julia
using DimensionalData; const DD = DimensionalData
+dims_ = X(10:10:20; sampling=DD.Intervals(DD.Center())),
+        Y(5:7; sampling=DD.Intervals(DD.Center()))
+A = DimArray([1 2 3; 4 5 6], dims_)
+A[X(Contains(8)), Y(Contains(6.8))]
+
+# output
+3

source


# DimensionalData.Dimensions.Lookups.WhereType.
julia
Where <: ArraySelector
+
+Where(f::Function)

Selector that filters a dimension lookup by any function that accepts a single value and returns a Bool.

Example

julia
using DimensionalData
+
+A = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(19:21)))
+A[X(Where(x -> x > 15)), Y(Where(x -> x in (19, 21)))]
+
+# output
+
+╭───────────────────────╮
+1×2 DimArray{Int64,2} │
+├───────────────────────┴─────────────────────────────── dims ┐
+ X Sampled{Int64} [20] ForwardOrdered Irregular Points,
+ Y Sampled{Int64} [19, 21] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────┘
+  19  21
+ 20     4   6

source


# DimensionalData.Dimensions.Lookups.AllType.
julia
All <: Selector
+
+All(selectors::Selector...)

Selector that combines the results of other selectors. The indices used will be the union of all result sorted in ascending order.

Example

julia
using DimensionalData, Unitful
+
+dimz = X(10.0:20:200.0), Ti(1u"s":5u"s":100u"s")
+A = DimArray((1:10) * (1:20)', dimz)
+A[X=All(At(10.0), At(50.0)), Ti=All(1u"s"..10u"s", 90u"s"..100u"s")]
+
+# output
+
+╭───────────────────────╮
+2×4 DimArray{Int64,2} │
+├───────────────────────┴──────────────────────────────────────────────── dims ┐
+ X  Sampled{Float64} [10.0, 50.0] ForwardOrdered Irregular Points,
+ Ti Sampled{Unitful.Quantity{Int64, 𝐓, Unitful.FreeUnits{(s,), 𝐓, nothing}}} [1 s, 6 s, 91 s, 96 s] ForwardOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  1 s  6 s  91 s  96 s
+ 10.0    1    2    19    20
+ 50.0    3    6    57    60

source


Lookup traits

# DimensionalData.Dimensions.Lookups.LookupTraitType.
julia
LookupTrait

Abstract supertype of all traits of a Lookup.

These modify the behaviour of the lookup index.

The term "Trait" is used loosely - these may be fields of an object of traits hard-coded to specific types.

source


Order

# DimensionalData.Dimensions.Lookups.OrderType.
julia
Order <: LookupTrait

Traits for the order of a Lookup. These determine how searchsorted finds values in the index, and how objects are plotted.

source


# DimensionalData.Dimensions.Lookups.OrderedType.
julia
Ordered <: Order

Supertype for the order of an ordered Lookup, including ForwardOrdered and ReverseOrdered.

source


# DimensionalData.Dimensions.Lookups.ForwardOrderedType.
julia
ForwardOrdered <: Ordered
+
+ForwardOrdered()

Indicates that the Lookup index is in the normal forward order.

source


# DimensionalData.Dimensions.Lookups.ReverseOrderedType.
julia
ReverseOrdered <: Ordered
+
+ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source


# DimensionalData.Dimensions.Lookups.UnorderedType.
julia
Unordered <: Order
+
+Unordered()

Indicates that Lookup is unordered.

This means the index cannot be searched with searchsortedfirst or similar optimised methods - instead it will use findfirst.

source


# DimensionalData.Dimensions.Lookups.AutoOrderType.
julia
AutoOrder <: Order
+
+AutoOrder()

Specifies that the Order of a Lookup will be found automatically where possible.

source


Span

# DimensionalData.Dimensions.Lookups.SpanType.
julia
Span <: LookupTrait

Defines the type of span used in a Sampling index. These are Regular or Irregular.

source


# DimensionalData.Dimensions.Lookups.RegularType.
julia
Regular <: Span
+
+Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source


# DimensionalData.Dimensions.Lookups.IrregularType.
julia
Irregular <: Span
+
+Irregular(bounds::Tuple)
+Irregular(lowerbound, upperbound)

Points or Intervals that have an Irregular step size. To enable bounds tracking and accurate selectors, the starting bounds are provided as a 2 tuple, or 2 arguments. (nothing, nothing) is acceptable input, the bounds will be guessed from the index, but may be inaccurate.

source


# DimensionalData.Dimensions.Lookups.ExplicitType.
julia
Explicit(bounds::AbstractMatrix)

Intervals where the span is explicitly listed for every interval.

This uses a matrix where with length 2 columns for each index value, holding the lower and upper bounds for that specific index.

source


# DimensionalData.Dimensions.Lookups.AutoSpanType.
julia
AutoSpan <: Span
+
+AutoSpan()

The span will be guessed and replaced in format or set.

source


Sampling

# DimensionalData.Dimensions.Lookups.SamplingType.
julia
Sampling <: LookupTrait

Indicates the sampling method used by the index: Points or Intervals.

source


# DimensionalData.Dimensions.Lookups.PointsType.
julia
Points <: Sampling
+
+Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source


# DimensionalData.Dimensions.Lookups.IntervalsType.
julia
Intervals <: Sampling
+
+Intervals(locus::Position)

Sampling specifying that sampled values are the mean (or similar) value over an interval, rather than at one specific point.

Intervals require a locus of Start, Center or End to define the location in the interval that the index values refer to.

source


Positions

# DimensionalData.Dimensions.Lookups.PositionType.
julia
Position <: LookupTrait

Abstract supertype of types that indicate the locus of index values where they represent Intervals.

These allow for values array cells to align with the Start, Center, or End of values in the lookup index.

This means they can be plotted with correct axis markers, and allows automatic conversions to between formats with different standards (such as NetCDF and GeoTiff).

source


# DimensionalData.Dimensions.Lookups.CenterType.
julia
Center <: Position
+
+Center()

Used to specify lookup values correspond to the center locus in an interval.

source


# DimensionalData.Dimensions.Lookups.StartType.
julia
Start <: Position
+
+Start()

Used to specify lookup values correspond to the start locus of an interval.

source


# DimensionalData.Dimensions.Lookups.BeginType.
julia
Begin <: Position
+
+Begin()

Used to specify the begin index of a Dimension axis, as regular begin will not work with named dimensions.

Can be used with : to create a BeginEndRange or BeginEndStepRange.

source


# DimensionalData.Dimensions.Lookups.EndType.
julia
End <: Position
+
+End()

Used to specify the end index of a Dimension axis, as regular end will not work with named dimensions. Can be used with : to create a BeginEndRange or BeginEndStepRange.

Also used to specify lookup values correspond to the end locus of an interval.

source


# DimensionalData.Dimensions.Lookups.AutoPositionType.
julia
AutoPosition <: Position
+
+AutoPosition()

Indicates a interval where the index locus is not yet known. This will be filled with a default value on object construction.

source


Metadata

# DimensionalData.Dimensions.Lookups.AbstractMetadataType.
julia
AbstractMetadata{X,T}

Abstract supertype for all metadata wrappers.

Metadata wrappers allow tracking the contents and origin of metadata. This can facilitate conversion between metadata types (for saving a file to a different format) or simply saving data back to the same file type with identical metadata.

Using a wrapper instead of Dict or NamedTuple also lets us pass metadata objects to set without ambiguity about where to put them.

source


# DimensionalData.Dimensions.Lookups.MetadataType.
julia
Metadata <: AbstractMetadata
+
+Metadata{X}(val::Union{Dict,NamedTuple})
+Metadata{X}(pairs::Pair...) => Metadata{Dict}
+Metadata{X}(; kw...) => Metadata{NamedTuple}

General Metadata object. The X type parameter categorises the metadata for method dispatch, if required.

source


# DimensionalData.Dimensions.Lookups.NoMetadataType.
julia
NoMetadata <: AbstractMetadata
+
+NoMetadata()

Indicates an object has no metadata. But unlike using nothing, get, keys and haskey will still work on it, get always returning the fallback argument. keys returns () while haskey always returns false.

source


# DimensionalData.Dimensions.Lookups.unitsFunction.
julia
units(x) => Union{Nothing,Any}
+units(xs:Tuple) => Tuple
+unit(A::AbstractDimArray, dims::Tuple) => Tuple
+unit(A::AbstractDimArray, dim) => Union{Nothing,Any}

Get the units of an array or Dimension, or a tuple of of either.

Units do not have a set field, and may or may not be included in metadata. This method is to facilitate use in labels and plots when units are available, not a guarantee that they will be. If not available, nothing is returned.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


`,126)]))}const g=i(t,[["render",l]]);export{c as __pageData,g as default}; diff --git a/previews/PR801/assets/api_reference.md.CQevsPbp.js b/previews/PR801/assets/api_reference.md.CQevsPbp.js new file mode 100644 index 000000000..e9903d3c9 --- /dev/null +++ b/previews/PR801/assets/api_reference.md.CQevsPbp.js @@ -0,0 +1,463 @@ +import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.D3Ia4FEQ.js";const E=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api/reference.md","filePath":"api/reference.md","lastUpdated":null}'),t={name:"api/reference.md"};function e(l,s,k,p,r,d){return h(),a("div",null,s[0]||(s[0]=[n(`

API Reference

Arrays

# DimensionalData.AbstractBasicDimArrayType.
julia
AbstractBasicDimArray <: AbstractArray

The abstract supertype for all arrays with a dims method that returns a Tuple of Dimension

Only keyword rebuild is guaranteed to work with AbstractBasicDimArray.

source


# DimensionalData.AbstractDimArrayType.
julia
AbstractDimArray <: AbstractBasicArray

Abstract supertype for all "dim" arrays.

These arrays return a Tuple of Dimension from a dims method, and can be rebuilt using rebuild.

parent must return the source array.

They should have metadata, name and refdims methods, although these are optional.

A rebuild method for AbstractDimArray must accept data, dims, refdims, name, metadata arguments.

Indexing AbstractDimArray with non-range AbstractArray has undefined effects on the Dimension index. Use forward-ordered arrays only"

source


# DimensionalData.DimArrayType.
julia
DimArray <: AbstractDimArray
+
+DimArray(data, dims, refdims, name, metadata)
+DimArray(data, dims::Tuple; refdims=(), name=NoName(), metadata=NoMetadata())

The main concrete subtype of AbstractDimArray.

DimArray maintains and updates its Dimensions through transformations and moves dimensions to reference dimension refdims after reducing operations (like e.g. mean).

Arguments

Indexing can be done with all regular indices, or with Dimensions and/or Selectors.

Indexing AbstractDimArray with non-range AbstractArray has undefined effects on the Dimension index. Use forward-ordered arrays only"

Example:

julia
julia> using Dates, DimensionalData
+
+julia> ti = Ti(DateTime(2001):Month(1):DateTime(2001,12));
+
+julia> x = X(10:10:100);
+
+julia> A = DimArray(rand(12,10), (ti, x), name="example");
+
+julia> A[X(Near([12, 35])), Ti(At(DateTime(2001,5)))]
+╭───────────────────────────────────────╮
+2-element DimArray{Float64,1} example │
+├───────────────────────────────────────┴─────────────── dims ┐
+ X Sampled{Int64} [10, 40] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────┘
+ 10  0.253849
+ 40  0.637077
+
+julia> A[Near(DateTime(2001, 5, 4)), Between(20, 50)]
+╭───────────────────────────────────────╮
+4-element DimArray{Float64,1} example │
+├───────────────────────────────────────┴───────────── dims ┐
+ X Sampled{Int64} 20:10:50 ForwardOrdered Regular Points
+└───────────────────────────────────────────────────────────┘
+ 20  0.774092
+ 30  0.823656
+ 40  0.637077
+ 50  0.692235

source


Shorthand AbstractDimArray constructors:

# Base.fillFunction.
julia
Base.fill(x, dims::Dimension...; kw...) => DimArray
+Base.fill(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray with a fill value of x.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData, Random; Random.seed!(123);
+
+julia> rand(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 1  0  0  1

source


# Base.randFunction.
julia
Base.rand(x, dims::Dimension...; kw...) => DimArray
+Base.rand(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray
+Base.rand(r::AbstractRNG, x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray
+Base.rand(r::AbstractRNG, x, dims::Dimension...; kw...) => DimArray

Create a DimArray of random values.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> rand(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 1  0  0  1
+
+julia> rand(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0       150.0       200.0
+  :a    0.443494    0.253849    0.867547
+  :b    0.745673    0.334152    0.0802658
+  :c    0.512083    0.427328    0.311448

source


# Base.zerosFunction.
julia
Base.zeros(x, dims::Dimension...; kw...) => DimArray
+Base.zeros(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray of zeros.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> zeros(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 0  0  0  0
+
+julia> zeros(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0  150.0  200.0
+  :a    0.0    0.0    0.0
+  :b    0.0    0.0    0.0
+  :c    0.0    0.0    0.0

source


# Base.onesFunction.
julia
Base.ones(x, dims::Dimension...; kw...) => DimArray
+Base.ones(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray of ones.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> ones(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 1  1  1  1
+ 1  1  1  1
+
+julia> ones(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0  150.0  200.0
+  :a    1.0    1.0    1.0
+  :b    1.0    1.0    1.0
+  :c    1.0    1.0    1.0

source


Functions for getting information from objects:

# DimensionalData.Dimensions.dimsFunction.
julia
dims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+dims(x, dim) => Dimension

Return a tuple of Dimensions for an object, in the order that matches the axes or columns of the underlying data.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

The default is to return nothing.

source

julia
dims(x, query) => Tuple{Vararg{Dimension}}
+dims(x, query...) => Tuple{Vararg{Dimension}}

Get the dimension(s) matching the type(s) of the query dimension.

Lookup can be an Int or an Dimension, or a tuple containing any combination of either.

Arguments

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(2, 3, 2), (X, Y, Z))
+╭───────────────────────────╮
+2×3×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ X,  Y, ↗ Z
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+
+julia> dims(A, (X, Y))
+( X,  Y)

source


# DimensionalData.Dimensions.refdimsFunction.
julia
refdims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+refdims(x, dim) => Dimension

Reference dimensions for an array that is a slice or view of another array with more dimensions.

slicedims(a, dims) returns a tuple containing the current new dimensions and the new reference dimensions. Refdims can be stored in a field or discarded, as it is mostly to give context to plots. Ignoring refdims will simply leave some captions empty.

The default is to return an empty Tuple ().

source


# DimensionalData.Dimensions.Lookups.metadataFunction.
julia
metadata(x) => (object metadata)
+metadata(x, dims::Tuple)  => Tuple (Dimension metadata)
+metadata(xs::Tuple) => Tuple

Returns the metadata for an object or for the specified dimension(s)

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.nameFunction.
julia
name(x) => Symbol
+name(xs:Tuple) => NTuple{N,Symbol}
+name(x, dims::Tuple) => NTuple{N,Symbol}
+name(x, dim) => Symbol

Get the name of an array or Dimension, or a tuple of of either as a Symbol.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.otherdimsFunction.
julia
otherdims(x, query) => Tuple{Vararg{Dimension,N}}

Get the dimensions of an object not in query.

Arguments

A tuple holding the unmatched dimensions is always returned.

Example

julia
julia> using DimensionalData, DimensionalData.Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> otherdims(A, X)
+( Y,  Z)
+
+julia> otherdims(A, (Y, Z))
+( X)

source


# DimensionalData.Dimensions.dimnumFunction.
julia
dimnum(x, query::Tuple) => NTuple{Int}
+dimnum(x, query) => Int

Get the number(s) of Dimension(s) as ordered in the dimensions of an object.

Arguments

The return type will be a Tuple of Int or a single Int, depending on whether query is a Tuple or single Dimension.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> dimnum(A, (Z, X, Y))
+(3, 1, 2)
+
+julia> dimnum(A, Y)
+2

source


# DimensionalData.Dimensions.hasdimFunction.
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+hasdim([f], x, query...) => NTuple{Bool}
+hasdim([f], x, query) => Bool

Check if an object x has dimensions that match or inherit from the query dimensions.

Arguments

Check if an object or tuple contains an Dimension, or a tuple of dimensions.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> hasdim(A, X)
+true
+
+julia> hasdim(A, (Z, X, Y))
+(true, true, true)
+
+julia> hasdim(A, Ti)
+false

source


Multi-array datasets

# DimensionalData.AbstractDimStackType.
julia
AbstractDimStack

Abstract supertype for dimensional stacks.

These have multiple layers of data, but share dimensions.

Notably, their behaviour lies somewhere between a DimArray and a NamedTuple:

This design gives very succinct code when working with many-layered, mixed-dimension objects. But it may be jarring initially - the most surprising outcome is that dimstack[1] will return a NamedTuple of values for the first index in all layers, while first(dimstack) will return the first value of the iterator - the DimArray for the first layer.

See DimStack for the concrete implementation. Most methods are defined on the abstract type.

To extend AbstractDimStack, implement argument and keyword version of rebuild and also rebuild_from_arrays.

The constructor of an AbstractDimStack must accept a NamedTuple.

source


# DimensionalData.DimStackType.
julia
DimStack <: AbstractDimStack
+
+DimStack(data::AbstractDimArray...; kw...)
+DimStack(data::Tuple{Vararg{AbstractDimArray}}; kw...)
+DimStack(data::NamedTuple{Keys,Vararg{AbstractDimArray}}; kw...)
+DimStack(data::NamedTuple, dims::DimTuple; metadata=NoMetadata(); kw...)

DimStack holds multiple objects sharing some dimensions, in a NamedTuple.

Notably, their behaviour lies somewhere between a DimArray and a NamedTuple:

julia
function DimStack(A::AbstractDimArray;
+    layersfrom=nothing, name=nothing, metadata=metadata(A), refdims=refdims(A), kw...
+)

For example, here we take the mean over the time dimension for all layers:

julia
mean(mydimstack; dims=Ti)

And this equivalent to:

julia
map(A -> mean(A; dims=Ti), mydimstack)

This design gives succinct code when working with many-layered, mixed-dimension objects.

But it may be jarring initially - the most surprising outcome is that dimstack[1] will return a NamedTuple of values for the first index in all layers, while first(dimstack) will return the first value of the iterator - the DimArray for the first layer.

DimStack can be constructed from multiple AbstractDimArray or a NamedTuple of AbstractArray and a matching dims tuple.

Most Base and Statistics methods that apply to AbstractArray can be used on all layers of the stack simulataneously. The result is a DimStack, or a NamedTuple if methods like mean are used without dims arguments, and return a single non-array value.

Example

julia
julia> using DimensionalData
+
+julia> A = [1.0 2.0 3.0; 4.0 5.0 6.0];
+
+julia> dimz = (X([:a, :b]), Y(10.0:10.0:30.0))
+( X [:a, :b],
+ Y 10.0:10.0:30.0)
+
+julia> da1 = DimArray(1A, dimz; name=:one);
+
+julia> da2 = DimArray(2A, dimz; name=:two);
+
+julia> da3 = DimArray(3A, dimz; name=:three);
+
+julia> s = DimStack(da1, da2, da3);
+
+julia> s[At(:b), At(10.0)]
+(one = 4.0, two = 8.0, three = 12.0)
+
+julia> s[X(At(:a))] isa DimStack
+true

source


Dimension generators

# DimensionalData.DimIndicesType.
julia
DimIndices <: AbstractArray
+
+DimIndices(x)
+DimIndices(dims::Tuple)
+DimIndices(dims::Dimension)

Like CartesianIndices, but for Dimensions. Behaves as an Array of Tuple of Dimension(i) for all combinations of the axis indices of dims.

This can be used to view/index into arbitrary dimensions over an array, and is especially useful when combined with otherdims, to iterate over the indices of unknown dimension.

DimIndices can be used directly in getindex like CartesianIndices, and freely mixed with individual Dimensions or tuples of Dimension.

Example

Index a DimArray with DimIndices.

Notice that unlike CartesianIndices, it doesn't matter if the dimensions are not in the same order. Or even if they are not all contained in each.

julia
julia> A = rand(Y(0.0:0.3:1.0), X('a':'f'))
+╭─────────────────────────╮
+4×6 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────── dims ┐
+ Y Sampled{Float64} 0.0:0.3:0.9 ForwardOrdered Regular Points,
+ X Categorical{Char} 'a':1:'f' ForwardOrdered
+└─────────────────────────────────────────────────────────────────┘
+   'a'       'b'       'c'        'd'        'e'       'f'
+ 0.0  0.9063    0.253849  0.0991336  0.0320967  0.774092  0.893537
+ 0.3  0.443494  0.334152  0.125287   0.350546   0.183555  0.354868
+ 0.6  0.745673  0.427328  0.692209   0.930332   0.297023  0.131798
+ 0.9  0.512083  0.867547  0.136551   0.959434   0.150155  0.941133
+
+julia> di = DimIndices((X(1:2:4), Y(1:2:4)))
+╭─────────────────────────────────────────────╮
+2×2 DimIndices{Tuple{X{Int64}, Y{Int64}},2} │
+├─────────────────────────────────────── dims ┤
+ X 1:2:3,
+ Y 1:2:3
+└─────────────────────────────────────────────┘
+  1                3
+ 1     ( X 1,  Y 1)   ( X 1,  Y 3)
+ 3     ( X 3,  Y 1)   ( X 3,  Y 3)
+
+julia> A[di] # Index A with these indices
+╭─────────────────────────╮
+2×2 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────── dims ┐
+ Y Sampled{Float64} 0.0:0.6:0.6 ForwardOrdered Regular Points,
+ X Categorical{Char} 'a':2:'c' ForwardOrdered
+└─────────────────────────────────────────────────────────────────┘
+   'a'       'c'
+ 0.0  0.9063    0.0991336
+ 0.6  0.745673  0.692209

source


# DimensionalData.DimSelectorsType.
julia
DimSelectors <: AbstractArray
+
+DimSelectors(x; selectors, atol...)
+DimSelectors(dims::Tuple; selectors, atol...)
+DimSelectors(dims::Dimension; selectors, atol...)

Like DimIndices, but returns Dimensions holding the chosen Selectors.

Indexing into another AbstractDimArray with DimSelectors is similar to doing an interpolation.

Keywords

Example

Here we can interpolate a DimArray to the lookups of another DimArray using DimSelectors with Near. This is essentially equivalent to nearest neighbour interpolation.

julia
julia> A = rand(X(1.0:3.0:30.0), Y(1.0:5.0:30.0), Ti(1:2));
+
+julia> target = rand(X(1.0:10.0:30.0), Y(1.0:10.0:30.0));
+
+julia> A[DimSelectors(target; selectors=Near), Ti=2]
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ X Sampled{Float64} [1.0, 10.0, 22.0] ForwardOrdered Irregular Points,
+ Y Sampled{Float64} [1.0, 11.0, 21.0] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────────────────┘
+  1.0        11.0       21.0
+  1.0  0.691162    0.218579   0.539076
+ 10.0  0.0303789   0.420756   0.485687
+ 22.0  0.0967863   0.864856   0.870485

Using At would make sure we only use exact interpolation, while Contains with sampling of Intervals would make sure that each values is taken only from an Interval that is present in the lookups.

source


# DimensionalData.DimPointsType.
julia
DimPoints <: AbstractArray
+
+DimPoints(x; order)
+DimPoints(dims::Tuple; order)
+DimPoints(dims::Dimension; order)

Like CartesianIndices, but for the point values of the dimension index. Behaves as an Array of Tuple lookup values (whatever they are) for all combinations of the lookup values of dims.

Either a Dimension, a Tuple of Dimension or an object x that defines a dims method can be passed in.

Keywords

source


Tables.jl/TableTraits.jl interface

# DimensionalData.AbstractDimTableType.
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source


# DimensionalData.DimTableType.
julia
DimTable <: AbstractDimTable
+
+DimTable(s::AbstractDimStack; mergedims=nothing)
+DimTable(x::AbstractDimArray; layersfrom=nothing, mergedims=nothing)
+DimTable(xs::Vararg{AbstractDimArray}; layernames=nothing, mergedims=nothing)

Construct a Tables.jl/TableTraits.jl compatible object out of an AbstractDimArray or AbstractDimStack.

This table will have columns for the array data and columns for each Dimension index, as a [DimColumn]. These are lazy, and generated as required.

Column names are converted from the dimension types using DimensionalData.name. This means type Ti becomes the column name :Ti, and Dim{:custom} becomes :custom.

To get dimension columns, you can index with Dimension (X()) or Dimension type (X) as well as the regular Int or Symbol.

Keywords

Example

julia
julia> using DimensionalData, Tables
+
+julia> a = DimArray(ones(16, 16, 3), (X, Y, Dim{:band}))
+╭─────────────────────────────╮
+16×16×3 DimArray{Float64,3} │
+├─────────────────────── dims ┤
+ X,  Y, ↗ band
+└─────────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+
+julia>

source


Group by methods

For transforming DimensionalData objects:

# DataAPI.groupbyFunction.
julia
groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Pair...)
+groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Dimension{<:Callable}...)

Group A by grouping functions or Bins over multiple dimensions.

Arguments

Return value

A DimGroupByArray is returned, which is basically a regular AbstractDimArray but holding the grouped AbstractDimArray or AbstractDimStack. Its dims hold the sorted values returned by the grouping function/s.

Base julia and package methods work on DimGroupByArray as for any other AbstractArray of AbstractArray.

It is common to broadcast or map a reducing function over groups, such as mean or sum, like mean.(groups) or map(mean, groups). This will return a regular DimArray, or DimGroupByArray if dims keyword is used in the reducing function or it otherwise returns an AbstractDimArray or AbstractDimStack.

Example

Group some data along the time dimension:

julia
julia> using DimensionalData, Dates
+
+julia> A = rand(X(1:0.1:20), Y(1:20), Ti(DateTime(2000):Day(3):DateTime(2003)));
+
+julia> groups = groupby(A, Ti => month) # Group by month
+╭───────────────────────────────────────────────────╮
+12-element DimGroupByArray{DimArray{Float64,2},1} │
+├───────────────────────────────────────────────────┴───────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points
+├───────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+├─────────────────────────────────────────────────────────── group dims ┤
+ X,  Y, ↗ Ti
+└───────────────────────────────────────────────────────────────────────┘
+  1  191×20×32 DimArray
+  2  191×20×28 DimArray
+  3  191×20×31 DimArray
+
+ 11  191×20×30 DimArray
+ 12  191×20×31 DimArray

And take the mean:

julia
julia> groupmeans = mean.(groups) # Take the monthly mean
+╭────────────────────────────────╮
+12-element DimArray{Float64,1} │
+├────────────────────────────────┴──────────────────────────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points
+├───────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+└───────────────────────────────────────────────────────────────────────┘
+  1  0.500064
+  2  0.499762
+  3  0.500083
+  4  0.499985
+
+ 10  0.500874
+ 11  0.498704
+ 12  0.50047

Calculate daily anomalies from the monthly mean. Notice we map a broadcast .- rather than -. This is because the size of the arrays to not match after application of mean.

julia
julia> map(.-, groupby(A, Ti=>month), mean.(groupby(A, Ti=>month), dims=Ti));

Or do something else with Y:

julia
julia> groupmeans = mean.(groupby(A, Ti=>month, Y=>isodd))
+╭──────────────────────────╮
+12×2 DimArray{Float64,2} │
+├──────────────────────────┴─────────────────────────────────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points,
+ Y  Sampled{Bool} [false, true] ForwardOrdered Irregular Points
+├────────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => (:Ti=>month, :Y=>isodd)
+└────────────────────────────────────────────────────────────────────────┘
+  false         true
+  1        0.499594     0.500533
+  2        0.498145     0.501379
+
+ 10        0.501105     0.500644
+ 11        0.498606     0.498801
+ 12        0.501643     0.499298

source


# DimensionalData.DimGroupByArrayType.
julia
DimGroupByArray <: AbstractDimArray

DimGroupByArray is essentially a DimArray but holding the results of a groupby operation.

Its dimensions are the sorted results of the grouping functions used in groupby.

This wrapper allows for specialisations on later broadcast or reducing operations, e.g. for chunk reading with DiskArrays.jl, because we know the data originates from a single array.

source


# DimensionalData.BinsType.
julia
Bins(f, bins; labels, pad)
+Bins(bins; labels, pad)

Specify bins to reduce groups after applying function f.

Keywords

When the return value of f is a tuple, binning is applied to the last value of the tuples.

source


# DimensionalData.rangesFunction.
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source


# DimensionalData.intervalsFunction.
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source


# DimensionalData.CyclicBinsType.
julia
CyclicBins(f; cycle, start, step, labels)

Cyclic bins to reduce groups after applying function f. Groups can wrap around the cycle. This is used for grouping in seasons, months and hours but can also be used for custom cycles.

Keywords

When the return value of f is a tuple, binning is applied to the last value of the tuples.

source


# DimensionalData.seasonsFunction.
julia
seasons(; [start=Dates.December, labels])

Generates CyclicBins for three month periods.

Keywords

source


# DimensionalData.monthsFunction.
julia
months(step; [start=Dates.January, labels])

Generates CyclicBins for grouping to arbitrary month periods. These can wrap around the end of a year.

Keywords

source


# DimensionalData.hoursFunction.
julia
hours(step; [start=0, labels])

Generates CyclicBins for grouping to arbitrary hour periods. These can wrap around the end of the day.

Keywords

source


Utility methods

For transforming DimensionalData objects:

# DimensionalData.Dimensions.Lookups.setFunction.
julia
set(x, val)
+set(x, args::Pairs...) => x with updated field/s
+set(x, args...; kw...) => x with updated field/s
+set(x, args::Tuple{Vararg{Dimension}}; kw...) => x with updated field/s
+
+set(dim::Dimension, index::AbstractArray) => Dimension
+set(dim::Dimension, lookup::Lookup) => Dimension
+set(dim::Dimension, lookupcomponent::LookupTrait) => Dimension
+set(dim::Dimension, metadata::AbstractMetadata) => Dimension

Set the properties of an object, its internal data or the traits of its dimensions and lookup index.

As DimensionalData is so strongly typed you do not need to specify what field of a Lookup to set - there is no ambiguity.

To set fields of a Lookup you need to specify the dimension. This can be done using X => val pairs, X = val keyword arguments, or X(val) wrapped arguments.

You can also set the fields of all dimensions by simply passing a single Lookup or lookup trait - it will be set for all dimensions.

When a Dimension or Lookup is passed to set to replace the existing ones, fields that are not set will keep their original values.

Notes:

Changing a lookup index range/vector will also update the step size and order where applicable.

Setting the Order like ForwardOrdered will not reverse the array or dimension to match. Use reverse and reorder to do this.

Examples

julia
julia> using DimensionalData; const DD = DimensionalData;
+
+julia> da = DimArray(zeros(3, 4), (custom=10.0:010.0:30.0, Z=-20:010.0:10.0));
+
+julia> set(da, ones(3, 4))
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Z      Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    1.0    1.0  1.0   1.0
+ 20.0    1.0    1.0  1.0   1.0
+ 30.0    1.0    1.0  1.0   1.0

Change the Dimension wrapper type:

julia
julia> set(da, :Z => Ti, :custom => Z)
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ Z  Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Ti Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    0.0    0.0  0.0   0.0
+ 20.0    0.0    0.0  0.0   0.0
+ 30.0    0.0    0.0  0.0   0.0

Change the lookup Vector:

julia
julia> set(da, Z => [:a, :b, :c, :d], :custom => [4, 5, 6])
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Int64} [4, 5, 6] ForwardOrdered Regular Points,
+ Z      Sampled{Symbol} [:a, :b, :c, :d] ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────────┘
+   :a   :b   :c   :d
+ 4    0.0  0.0  0.0  0.0
+ 5    0.0  0.0  0.0  0.0
+ 6    0.0  0.0  0.0  0.0

Change the Lookup type:

julia
julia> set(da, Z=DD.NoLookup(), custom=DD.Sampled())
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Z
+└─────────────────────────────────────────────────────────────────────────┘
+ 10.0  0.0  0.0  0.0  0.0
+ 20.0  0.0  0.0  0.0  0.0
+ 30.0  0.0  0.0  0.0  0.0

Change the Sampling trait:

julia
julia> set(da, :custom => DD.Irregular(10, 12), Z => DD.Regular(9.9))
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴─────────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Irregular Points,
+ Z      Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└───────────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    0.0    0.0  0.0   0.0
+ 20.0    0.0    0.0  0.0   0.0
+ 30.0    0.0    0.0  0.0   0.0

source


# DimensionalData.Dimensions.Lookups.rebuildFunction.
julia
rebuild(x; kw...)

Rebuild an object struct with updated field values.

x can be a AbstractDimArray, a Dimension, Lookup or other custom types.

This is an abstraction that allows inbuilt and custom types to be rebuilt to update their fields, as most objects in DimensionalData.jl are immutable.

Rebuild is mostly automated using ConstructionBase.setproperties. It should only be defined if your object has fields with with different names to DimensionalData objects. Try not to do that!

The arguments required are defined for the abstract type that has a rebuild method.

AbstractBasicDimArray:

AbstractDimArray:

AbstractDimStack:

Dimension:

Lookup:

AbstractDimStack in favour of always using the keyword version. In future the argument version will only be used on Dimension, which only have one argument.

source


# DimensionalData.modifyFunction.
julia
modify(f, A::AbstractDimArray) => AbstractDimArray
+modify(f, s::AbstractDimStack) => AbstractDimStack
+modify(f, dim::Dimension) => Dimension
+modify(f, x, lookupdim::Dimension) => typeof(x)

Modify the parent data, rebuilding the object wrapper without change. f must return a AbstractArray of the same size as the original.

This method is mostly useful as a way of swapping the parent array type of an object.

Example

If we have a previously-defined DimArray, we can copy it to an Nvidia GPU with:

julia
A = DimArray(rand(100, 100), (X, Y))
+modify(CuArray, A)

This also works for all the data layers in a DimStack.

source


# DimensionalData.@dMacro.
julia
@d broadcast_expression options

Dimensional broadcast macro extending Base Julia broadcasting to work with missing and permuted dimensions.

Will permute and resshape singleton dimensions so that all AbstractDimArray in a broadcast will broadcast over matching dimensions.

It is possible to pass options as the second argument of the macro to control the behaviour, as a single assignment or as a NamedTuple. Options names must be written explicitly, not passed in namedtuple variable.

Options

All other keywords are passed to DimensionalData.rebuild. This means name, metadata, etc for the returned array can be set here, or for example missingval in Rasters.jl.

Example

julia
using DimensionalData
+da1 = ones(X(3))
+da2 = fill(2, Y(4), X(3))
+
+@d da1 .* da2
+@d da1 .* da2 .+ 5 dims=(Y, X)
+@d da1 .* da2 .+ 5 (dims=(Y, X), strict=false, name=:testname)

Use with @.

@d does not imply @.. You need to specify each broadcast. But @. can be used with @d as the inner macro.

julia
using DimensionalData
+da1 = ones(X(3))
+da2 = fill(2, Y(4), X(3))
+
+@d @. da1 * da2
+# Use parentheses areound \`@.\` if you need to pass options
+@d (@. da1 * da2 .+ 5) dims=(Y, X)

source


# DimensionalData.broadcast_dimsFunction.
julia
broadcast_dims(f, sources::AbstractDimArray...) => AbstractDimArray

Broadcast function f over the AbstractDimArrays in sources, permuting and reshaping dimensions to match where required. The result will contain all the dimensions in all passed in arrays in the order in which they are found.

Arguments

This is like broadcasting over every slice of A if it is sliced by the dimensions of B.

source


# DimensionalData.broadcast_dims!Function.
julia
broadcast_dims!(f, dest::AbstractDimArray, sources::AbstractDimArray...) => dest

Broadcast function f over the AbstractDimArrays in sources, writing to dest. sources are permuting and reshaping dimensions to match where required.

The result will contain all the dimensions in all passed in arrays, in the order in which they are found.

Arguments

source


# DimensionalData.mergedimsFunction.
julia
mergedims(old_dims => new_dim) => Dimension

Return a dimension new_dim whose indices are a MergedLookup of the indices of old_dims.

source

julia
mergedims(dims, old_dims => new_dim, others::Pair...) => dims_new

If dimensions old_dims, new_dim, etc. are found in dims, then return new dims_new where all dims in old_dims have been combined into a single dim new_dim. The returned dimension will keep only the name of new_dim. Its coords will be a MergedLookup of the coords of the dims in old_dims. New dimensions are always placed at the end of dims_new. others contains other dimension pairs to be merged.

Example

julia
julia> using DimensionalData
+
+julia> ds = (X(0:0.1:0.4), Y(10:10:100), Ti([0, 3, 4]))
+( X  0.0:0.1:0.4,
+ Y  10:10:100,
+↗ Ti [0, 3, 4])
+
+julia> mergedims(ds, (X, Y) => :space)
+( Ti    [0, 3, 4],
+ space MergedLookup{Tuple{Float64, Int64}} [(0.0, 10), (0.1, 10), , (0.3, 100), (0.4, 100)] ( X,  Y))

source

julia
mergedims(A::AbstractDimArray, dim_pairs::Pair...) => AbstractDimArray
+mergedims(A::AbstractDimStack, dim_pairs::Pair...) => AbstractDimStack

Return a new array or stack whose dimensions are the result of mergedims(dims(A), dim_pairs).

source


# DimensionalData.unmergedimsFunction.
julia
unmergedims(merged_dims::Tuple{Vararg{Dimension}}) => Tuple{Vararg{Dimension}}

Return the unmerged dimensions from a tuple of merged dimensions. However, the order of the original dimensions are not necessarily preserved.

source

julia
unmergedims(A::AbstractDimArray, original_dims) => AbstractDimArray
+unmergedims(A::AbstractDimStack, original_dims) => AbstractDimStack

Return a new array or stack whose dimensions are restored to their original prior to calling mergedims(A, dim_pairs).

source


# DimensionalData.reorderFunction.
julia
reorder(A::Union{AbstractDimArray,AbstractDimStack}, order::Pair...)
+reorder(A::Union{AbstractDimArray,AbstractDimStack}, order)
+reorder(A::Dimension, order::Order)

Reorder every dims index/array to order, or reorder index for the given dimension(s) in order.

order can be an Order, Dimension => Order pairs. A Tuple of Dimensions or any object that defines dims can be used in which case the dimensions of this object are used for reordering.

If no axis reversal is required the same objects will be returned, without allocation.

Example

julia
using DimensionalData
+
+# Create a DimArray
+da = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(300:-100:100)))
+
+# Reverse it
+rev = reverse(da, dims=Y)
+
+# using \`da\` in reorder will return it to the original order
+reorder(rev, da) == da
+
+# output
+true

source


Global lookup strictness settings

Control how strict DimensionalData when comparing Lookups before doing broadcasts and matrix multipications.

In some cases (especially DimVector and small DimArray) checking lookup values match may be too costly compared to the operations. You can turn check the current setting and turn them on or off with these methods.

# DimensionalData.strict_broadcastFunction.
julia
strict_broadcast()

Check if strict broadcasting checks are active.

With strict=true we check Lookup Order and values before brodcasting, to ensure that dimensions match closely.

An exception to this rule is when dimension are of length one, as these is ignored in broadcasts.

We always check that dimension names match in broadcasts. If you don't want this either, explicitly use parent(A) before broadcasting to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_broadcast!Function.
julia
strict_broadcast!(x::Bool)

Set global broadcasting checks to strict, or not for all AbstractDimArray.

With strict=true we check Lookup Order and values before brodcasting, to ensure that dimensions match closely.

An exception to this rule is when dimension are of length one, as these is ignored in broadcasts.

We always check that dimension names match in broadcasts. If you don't want this either, explicitly use parent(A) before broadcasting to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_matmulFunction.
julia
strict_matmul()

Check if strickt broadcasting checks are active.

With strict=true we check Lookup Order and values before attempting matrix multiplication, to ensure that dimensions match closely.

We always check that dimension names match in matrix multiplication. If you don't want this either, explicitly use parent(A) before multiplying to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_matmul!Function.
julia
strict_matmul!(x::Bool)

Set global matrix multiplication checks to strict, or not for all AbstractDimArray.

With strict=true we check Lookup Order and values before attempting matrix multiplication, to ensure that dimensions match closely.

We always check that dimension names match in matrix multiplication. If you don't want this either, explicitly use parent(A) before multiplying to remove the AbstractDimArray wrapper completely.

source


Base methods

# Base.catFunction.
julia
Base.cat(stacks::AbstractDimStack...; [keys=keys(stacks[1])], dims)

Concatenate all or a subset of layers for all passed in stacks.

Keywords

Example

Concatenate the :sea_surface_temp and :humidity layers in the time dimension:

julia
cat(stacks...; keys=(:sea_surface_temp, :humidity), dims=Ti)

source


# Base.copy!Function.
julia
Base.copy!(dst::AbstractArray, src::AbstractDimStack, key::Key)

Copy the stack layer key to dst, which can be any AbstractArray.

Example

Copy the :humidity layer from stack to array.

julia
copy!(array, stack, :humidity)

source

julia
Base.copy!(dst::AbstractDimStack, src::AbstractDimStack, [keys=keys(dst)])

Copy all or a subset of layers from one stack to another.

Example

Copy just the :sea_surface_temp and :humidity layers from src to dst.

julia
copy!(dst::AbstractDimStack, src::AbstractDimStack, keys=(:sea_surface_temp, :humidity))

source


# Base.eachsliceFunction.
julia
Base.eachslice(A::AbstractDimArray; dims,drop=true)

Create a generator that iterates over dimensions dims of A, returning arrays that select all the data from the other dimensions in A using views.

The generator has size and axes equivalent to those of the provided dims if drop=true. Otherwise it will have the same dimensionality as the underlying array with inner dimensions having size 1.

source

julia
Base.eachslice(stack::AbstractDimStack; dims, drop=true)

Create a generator that iterates over dimensions dims of stack, returning stacks that select all the data from the other dimensions in stack using views.

The generator has size and axes equivalent to those of the provided dims.

Examples

julia
julia> ds = DimStack((
+           x=DimArray(randn(2, 3, 4), (X([:x1, :x2]), Y(1:3), Z)),
+           y=DimArray(randn(2, 3, 5), (X([:x1, :x2]), Y(1:3), Ti))
+       ));
+
+julia> slices = eachslice(ds; dims=(Z, X));
+
+julia> size(slices)
+(4, 2)
+
+julia> map(dims, axes(slices))
+( Z Base.OneTo(4),
+ X Base.OneTo(2))
+
+julia> first(slices)
+╭──────────────╮
+3×5 DimStack │
+├──────────────┴─────────────────────────────────── dims ┐
+ Y  Sampled{Int64} 1:3 ForwardOrdered Regular Points,
+ Ti
+├──────────────────────────────────────────────── layers ┤
+  :x eltype: Float64 dims: Y size: 3
+  :y eltype: Float64 dims: Y, Ti size: 3×5
+└────────────────────────────────────────────────────────┘

source


Most base methods work as expected, using Dimension wherever a dims keyword is used. They are not all specifically documented here.

Name

# DimensionalData.AbstractNameType.
julia
AbstractName

Abstract supertype for name wrappers.

source


# DimensionalData.NameType.
julia
Name <: AbstractName
+
+Name(name::Union{Symbol,Name) => Name
+Name(name::NoName) => NoName

Name wrapper. This lets arrays keep symbol names when the array wrapper needs to be isbits, like for use on GPUs. It makes the name a property of the type. It's not necessary to use in normal use, a symbol is probably easier.

source


# DimensionalData.NoNameType.
julia
NoName <: AbstractName
+
+NoName()

NoName specifies an array is not named, and is the default name value for all AbstractDimArrays.

source


Internal interface

# DimensionalData.DimArrayInterfaceType.
julia
    DimArrayInterface

An Interfaces.jl Interface with mandatory components (:dims, :refdims_base, :ndims, :size, :rebuild_parent, :rebuild_dims, :rebuild_parent_kw, :rebuild_dims_kw, :rebuild) and optional components (:refdims, :name, :metadata).

This is an early stage of inteface definition, many things are not yet tested.

Pass constructed AbstractDimArrays as test data.

They must not be zero dimensional, and should test at least 1, 2, and 3 dimensions.

Extended help

Mandatory keys:

Optional keys:

source


# DimensionalData.DimStackInterfaceType.
julia
    DimStackInterface

An Interfaces.jl Interface with mandatory components (:dims, :refdims_base, :ndims, :size, :rebuild_parent, :rebuild_dims, :rebuild_layerdims, :rebuild_dims_kw, :rebuild_parent_kw, :rebuild_layerdims_kw, :rebuild) and optional components (:refdims, :metadata).

This is an early stage of inteface definition, many things are not yet tested.

Pass constructed AbstractDimArrays as test data.

They must not be zero dimensional, and should test at least 1, 2, and 3 dimensions.

Extended help

Mandatory keys:

Optional keys:

source


# DimensionalData.rebuild_from_arraysFunction.
julia
rebuild_from_arrays(s::AbstractDimStack, das::NamedTuple{<:Any,<:Tuple{Vararg{AbstractDimArray}}}; kw...)

Rebuild an AbstractDimStack from a Tuple or NamedTuple of AbstractDimArray and an existing stack.

Keywords

Keywords are simply the fields of the stack object:

source


# DimensionalData.show_mainFunction.
julia
show_main(io::IO, mime, A::AbstractDimArray)
+show_main(io::IO, mime, A::AbstractDimStack)

Interface methods for adding the main part of show

At the least, you likely want to call:

julia
print_top(io, mime, A)

But read the DimensionalData.jl show.jl code for details.

source


# DimensionalData.show_afterFunction.
julia
show_after(io::IO, mime, A::AbstractDimArray)
+show_after(io::IO, mime, A::AbstractDimStack)

Interface methods for adding additional show text for AbstractDimArray/AbstractDimStack subtypes.

Always include kw to avoid future breaking changes

Additional keywords may be added at any time.

blockwidth is passed in context

julia
blockwidth = get(io, :blockwidth, 10000)

Note - a ANSI box is left unclosed. This method needs to close it, or add more. blockwidth is the maximum length of the inner text.

Most likely you always want to at least close the show blocks with:

julia
print_block_close(io, blockwidth)

But read the DimensionalData.jl show.jl code for details.

source


# DimensionalData.refdims_titleFunction.
julia
refdims_title(A::AbstractDimArray)
+refdims_title(refdims::Tuple)
+refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source


`,128)]))}const g=i(t,[["render",e]]);export{E as __pageData,g as default}; diff --git a/previews/PR801/assets/api_reference.md.CQevsPbp.lean.js b/previews/PR801/assets/api_reference.md.CQevsPbp.lean.js new file mode 100644 index 000000000..e9903d3c9 --- /dev/null +++ b/previews/PR801/assets/api_reference.md.CQevsPbp.lean.js @@ -0,0 +1,463 @@ +import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.D3Ia4FEQ.js";const E=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api/reference.md","filePath":"api/reference.md","lastUpdated":null}'),t={name:"api/reference.md"};function e(l,s,k,p,r,d){return h(),a("div",null,s[0]||(s[0]=[n(`

API Reference

Arrays

# DimensionalData.AbstractBasicDimArrayType.
julia
AbstractBasicDimArray <: AbstractArray

The abstract supertype for all arrays with a dims method that returns a Tuple of Dimension

Only keyword rebuild is guaranteed to work with AbstractBasicDimArray.

source


# DimensionalData.AbstractDimArrayType.
julia
AbstractDimArray <: AbstractBasicArray

Abstract supertype for all "dim" arrays.

These arrays return a Tuple of Dimension from a dims method, and can be rebuilt using rebuild.

parent must return the source array.

They should have metadata, name and refdims methods, although these are optional.

A rebuild method for AbstractDimArray must accept data, dims, refdims, name, metadata arguments.

Indexing AbstractDimArray with non-range AbstractArray has undefined effects on the Dimension index. Use forward-ordered arrays only"

source


# DimensionalData.DimArrayType.
julia
DimArray <: AbstractDimArray
+
+DimArray(data, dims, refdims, name, metadata)
+DimArray(data, dims::Tuple; refdims=(), name=NoName(), metadata=NoMetadata())

The main concrete subtype of AbstractDimArray.

DimArray maintains and updates its Dimensions through transformations and moves dimensions to reference dimension refdims after reducing operations (like e.g. mean).

Arguments

Indexing can be done with all regular indices, or with Dimensions and/or Selectors.

Indexing AbstractDimArray with non-range AbstractArray has undefined effects on the Dimension index. Use forward-ordered arrays only"

Example:

julia
julia> using Dates, DimensionalData
+
+julia> ti = Ti(DateTime(2001):Month(1):DateTime(2001,12));
+
+julia> x = X(10:10:100);
+
+julia> A = DimArray(rand(12,10), (ti, x), name="example");
+
+julia> A[X(Near([12, 35])), Ti(At(DateTime(2001,5)))]
+╭───────────────────────────────────────╮
+2-element DimArray{Float64,1} example │
+├───────────────────────────────────────┴─────────────── dims ┐
+ X Sampled{Int64} [10, 40] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────┘
+ 10  0.253849
+ 40  0.637077
+
+julia> A[Near(DateTime(2001, 5, 4)), Between(20, 50)]
+╭───────────────────────────────────────╮
+4-element DimArray{Float64,1} example │
+├───────────────────────────────────────┴───────────── dims ┐
+ X Sampled{Int64} 20:10:50 ForwardOrdered Regular Points
+└───────────────────────────────────────────────────────────┘
+ 20  0.774092
+ 30  0.823656
+ 40  0.637077
+ 50  0.692235

source


Shorthand AbstractDimArray constructors:

# Base.fillFunction.
julia
Base.fill(x, dims::Dimension...; kw...) => DimArray
+Base.fill(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray with a fill value of x.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData, Random; Random.seed!(123);
+
+julia> rand(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 1  0  0  1

source


# Base.randFunction.
julia
Base.rand(x, dims::Dimension...; kw...) => DimArray
+Base.rand(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray
+Base.rand(r::AbstractRNG, x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray
+Base.rand(r::AbstractRNG, x, dims::Dimension...; kw...) => DimArray

Create a DimArray of random values.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> rand(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 1  0  0  1
+
+julia> rand(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0       150.0       200.0
+  :a    0.443494    0.253849    0.867547
+  :b    0.745673    0.334152    0.0802658
+  :c    0.512083    0.427328    0.311448

source


# Base.zerosFunction.
julia
Base.zeros(x, dims::Dimension...; kw...) => DimArray
+Base.zeros(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray of zeros.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> zeros(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 0  0  0  0
+ 0  0  0  0
+
+julia> zeros(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0  150.0  200.0
+  :a    0.0    0.0    0.0
+  :b    0.0    0.0    0.0
+  :c    0.0    0.0    0.0

source


# Base.onesFunction.
julia
Base.ones(x, dims::Dimension...; kw...) => DimArray
+Base.ones(x, dims::Tuple{Vararg{Dimension}}; kw...) => DimArray

Create a DimArray of ones.

There are two kinds of Dimension value acepted:

Keywords are the same as for DimArray.

Example

julia
julia> using DimensionalData
+
+julia> ones(Bool, X(2), Y(4))
+╭──────────────────────╮
+2×4 DimArray{Bool,2} │
+├──────────────── dims ┤
+ X,  Y
+└──────────────────────┘
+ 1  1  1  1
+ 1  1  1  1
+
+julia> ones(X([:a, :b, :c]), Y(100.0:50:200.0))
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ X Categorical{Symbol} [:a, :b, :c] ForwardOrdered,
+ Y Sampled{Float64} 100.0:50.0:200.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  100.0  150.0  200.0
+  :a    1.0    1.0    1.0
+  :b    1.0    1.0    1.0
+  :c    1.0    1.0    1.0

source


Functions for getting information from objects:

# DimensionalData.Dimensions.dimsFunction.
julia
dims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+dims(x, dim) => Dimension

Return a tuple of Dimensions for an object, in the order that matches the axes or columns of the underlying data.

dims can be Dimension, Dimension types, or Symbols for Dim{Symbol}.

The default is to return nothing.

source

julia
dims(x, query) => Tuple{Vararg{Dimension}}
+dims(x, query...) => Tuple{Vararg{Dimension}}

Get the dimension(s) matching the type(s) of the query dimension.

Lookup can be an Int or an Dimension, or a tuple containing any combination of either.

Arguments

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(2, 3, 2), (X, Y, Z))
+╭───────────────────────────╮
+2×3×2 DimArray{Float64,3} │
+├───────────────────── dims ┤
+ X,  Y, ↗ Z
+└───────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+
+julia> dims(A, (X, Y))
+( X,  Y)

source


# DimensionalData.Dimensions.refdimsFunction.
julia
refdims(x, [dims::Tuple]) => Tuple{Vararg{Dimension}}
+refdims(x, dim) => Dimension

Reference dimensions for an array that is a slice or view of another array with more dimensions.

slicedims(a, dims) returns a tuple containing the current new dimensions and the new reference dimensions. Refdims can be stored in a field or discarded, as it is mostly to give context to plots. Ignoring refdims will simply leave some captions empty.

The default is to return an empty Tuple ().

source


# DimensionalData.Dimensions.Lookups.metadataFunction.
julia
metadata(x) => (object metadata)
+metadata(x, dims::Tuple)  => Tuple (Dimension metadata)
+metadata(xs::Tuple) => Tuple

Returns the metadata for an object or for the specified dimension(s)

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.nameFunction.
julia
name(x) => Symbol
+name(xs:Tuple) => NTuple{N,Symbol}
+name(x, dims::Tuple) => NTuple{N,Symbol}
+name(x, dim) => Symbol

Get the name of an array or Dimension, or a tuple of of either as a Symbol.

Second argument dims can be Dimensions, Dimension types, or Symbols for Dim{Symbol}.

source


# DimensionalData.Dimensions.otherdimsFunction.
julia
otherdims(x, query) => Tuple{Vararg{Dimension,N}}

Get the dimensions of an object not in query.

Arguments

A tuple holding the unmatched dimensions is always returned.

Example

julia
julia> using DimensionalData, DimensionalData.Dimensions
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> otherdims(A, X)
+( Y,  Z)
+
+julia> otherdims(A, (Y, Z))
+( X)

source


# DimensionalData.Dimensions.dimnumFunction.
julia
dimnum(x, query::Tuple) => NTuple{Int}
+dimnum(x, query) => Int

Get the number(s) of Dimension(s) as ordered in the dimensions of an object.

Arguments

The return type will be a Tuple of Int or a single Int, depending on whether query is a Tuple or single Dimension.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> dimnum(A, (Z, X, Y))
+(3, 1, 2)
+
+julia> dimnum(A, Y)
+2

source


# DimensionalData.Dimensions.hasdimFunction.
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+hasdim([f], x, query...) => NTuple{Bool}
+hasdim([f], x, query) => Bool

Check if an object x has dimensions that match or inherit from the query dimensions.

Arguments

Check if an object or tuple contains an Dimension, or a tuple of dimensions.

Example

julia
julia> using DimensionalData
+
+julia> A = DimArray(ones(10, 10, 10), (X, Y, Z));
+
+julia> hasdim(A, X)
+true
+
+julia> hasdim(A, (Z, X, Y))
+(true, true, true)
+
+julia> hasdim(A, Ti)
+false

source


Multi-array datasets

# DimensionalData.AbstractDimStackType.
julia
AbstractDimStack

Abstract supertype for dimensional stacks.

These have multiple layers of data, but share dimensions.

Notably, their behaviour lies somewhere between a DimArray and a NamedTuple:

This design gives very succinct code when working with many-layered, mixed-dimension objects. But it may be jarring initially - the most surprising outcome is that dimstack[1] will return a NamedTuple of values for the first index in all layers, while first(dimstack) will return the first value of the iterator - the DimArray for the first layer.

See DimStack for the concrete implementation. Most methods are defined on the abstract type.

To extend AbstractDimStack, implement argument and keyword version of rebuild and also rebuild_from_arrays.

The constructor of an AbstractDimStack must accept a NamedTuple.

source


# DimensionalData.DimStackType.
julia
DimStack <: AbstractDimStack
+
+DimStack(data::AbstractDimArray...; kw...)
+DimStack(data::Tuple{Vararg{AbstractDimArray}}; kw...)
+DimStack(data::NamedTuple{Keys,Vararg{AbstractDimArray}}; kw...)
+DimStack(data::NamedTuple, dims::DimTuple; metadata=NoMetadata(); kw...)

DimStack holds multiple objects sharing some dimensions, in a NamedTuple.

Notably, their behaviour lies somewhere between a DimArray and a NamedTuple:

julia
function DimStack(A::AbstractDimArray;
+    layersfrom=nothing, name=nothing, metadata=metadata(A), refdims=refdims(A), kw...
+)

For example, here we take the mean over the time dimension for all layers:

julia
mean(mydimstack; dims=Ti)

And this equivalent to:

julia
map(A -> mean(A; dims=Ti), mydimstack)

This design gives succinct code when working with many-layered, mixed-dimension objects.

But it may be jarring initially - the most surprising outcome is that dimstack[1] will return a NamedTuple of values for the first index in all layers, while first(dimstack) will return the first value of the iterator - the DimArray for the first layer.

DimStack can be constructed from multiple AbstractDimArray or a NamedTuple of AbstractArray and a matching dims tuple.

Most Base and Statistics methods that apply to AbstractArray can be used on all layers of the stack simulataneously. The result is a DimStack, or a NamedTuple if methods like mean are used without dims arguments, and return a single non-array value.

Example

julia
julia> using DimensionalData
+
+julia> A = [1.0 2.0 3.0; 4.0 5.0 6.0];
+
+julia> dimz = (X([:a, :b]), Y(10.0:10.0:30.0))
+( X [:a, :b],
+ Y 10.0:10.0:30.0)
+
+julia> da1 = DimArray(1A, dimz; name=:one);
+
+julia> da2 = DimArray(2A, dimz; name=:two);
+
+julia> da3 = DimArray(3A, dimz; name=:three);
+
+julia> s = DimStack(da1, da2, da3);
+
+julia> s[At(:b), At(10.0)]
+(one = 4.0, two = 8.0, three = 12.0)
+
+julia> s[X(At(:a))] isa DimStack
+true

source


Dimension generators

# DimensionalData.DimIndicesType.
julia
DimIndices <: AbstractArray
+
+DimIndices(x)
+DimIndices(dims::Tuple)
+DimIndices(dims::Dimension)

Like CartesianIndices, but for Dimensions. Behaves as an Array of Tuple of Dimension(i) for all combinations of the axis indices of dims.

This can be used to view/index into arbitrary dimensions over an array, and is especially useful when combined with otherdims, to iterate over the indices of unknown dimension.

DimIndices can be used directly in getindex like CartesianIndices, and freely mixed with individual Dimensions or tuples of Dimension.

Example

Index a DimArray with DimIndices.

Notice that unlike CartesianIndices, it doesn't matter if the dimensions are not in the same order. Or even if they are not all contained in each.

julia
julia> A = rand(Y(0.0:0.3:1.0), X('a':'f'))
+╭─────────────────────────╮
+4×6 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────── dims ┐
+ Y Sampled{Float64} 0.0:0.3:0.9 ForwardOrdered Regular Points,
+ X Categorical{Char} 'a':1:'f' ForwardOrdered
+└─────────────────────────────────────────────────────────────────┘
+   'a'       'b'       'c'        'd'        'e'       'f'
+ 0.0  0.9063    0.253849  0.0991336  0.0320967  0.774092  0.893537
+ 0.3  0.443494  0.334152  0.125287   0.350546   0.183555  0.354868
+ 0.6  0.745673  0.427328  0.692209   0.930332   0.297023  0.131798
+ 0.9  0.512083  0.867547  0.136551   0.959434   0.150155  0.941133
+
+julia> di = DimIndices((X(1:2:4), Y(1:2:4)))
+╭─────────────────────────────────────────────╮
+2×2 DimIndices{Tuple{X{Int64}, Y{Int64}},2} │
+├─────────────────────────────────────── dims ┤
+ X 1:2:3,
+ Y 1:2:3
+└─────────────────────────────────────────────┘
+  1                3
+ 1     ( X 1,  Y 1)   ( X 1,  Y 3)
+ 3     ( X 3,  Y 1)   ( X 3,  Y 3)
+
+julia> A[di] # Index A with these indices
+╭─────────────────────────╮
+2×2 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────── dims ┐
+ Y Sampled{Float64} 0.0:0.6:0.6 ForwardOrdered Regular Points,
+ X Categorical{Char} 'a':2:'c' ForwardOrdered
+└─────────────────────────────────────────────────────────────────┘
+   'a'       'c'
+ 0.0  0.9063    0.0991336
+ 0.6  0.745673  0.692209

source


# DimensionalData.DimSelectorsType.
julia
DimSelectors <: AbstractArray
+
+DimSelectors(x; selectors, atol...)
+DimSelectors(dims::Tuple; selectors, atol...)
+DimSelectors(dims::Dimension; selectors, atol...)

Like DimIndices, but returns Dimensions holding the chosen Selectors.

Indexing into another AbstractDimArray with DimSelectors is similar to doing an interpolation.

Keywords

Example

Here we can interpolate a DimArray to the lookups of another DimArray using DimSelectors with Near. This is essentially equivalent to nearest neighbour interpolation.

julia
julia> A = rand(X(1.0:3.0:30.0), Y(1.0:5.0:30.0), Ti(1:2));
+
+julia> target = rand(X(1.0:10.0:30.0), Y(1.0:10.0:30.0));
+
+julia> A[DimSelectors(target; selectors=Near), Ti=2]
+╭─────────────────────────╮
+3×3 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ X Sampled{Float64} [1.0, 10.0, 22.0] ForwardOrdered Irregular Points,
+ Y Sampled{Float64} [1.0, 11.0, 21.0] ForwardOrdered Irregular Points
+└─────────────────────────────────────────────────────────────────────────┘
+  1.0        11.0       21.0
+  1.0  0.691162    0.218579   0.539076
+ 10.0  0.0303789   0.420756   0.485687
+ 22.0  0.0967863   0.864856   0.870485

Using At would make sure we only use exact interpolation, while Contains with sampling of Intervals would make sure that each values is taken only from an Interval that is present in the lookups.

source


# DimensionalData.DimPointsType.
julia
DimPoints <: AbstractArray
+
+DimPoints(x; order)
+DimPoints(dims::Tuple; order)
+DimPoints(dims::Dimension; order)

Like CartesianIndices, but for the point values of the dimension index. Behaves as an Array of Tuple lookup values (whatever they are) for all combinations of the lookup values of dims.

Either a Dimension, a Tuple of Dimension or an object x that defines a dims method can be passed in.

Keywords

source


Tables.jl/TableTraits.jl interface

# DimensionalData.AbstractDimTableType.
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source


# DimensionalData.DimTableType.
julia
DimTable <: AbstractDimTable
+
+DimTable(s::AbstractDimStack; mergedims=nothing)
+DimTable(x::AbstractDimArray; layersfrom=nothing, mergedims=nothing)
+DimTable(xs::Vararg{AbstractDimArray}; layernames=nothing, mergedims=nothing)

Construct a Tables.jl/TableTraits.jl compatible object out of an AbstractDimArray or AbstractDimStack.

This table will have columns for the array data and columns for each Dimension index, as a [DimColumn]. These are lazy, and generated as required.

Column names are converted from the dimension types using DimensionalData.name. This means type Ti becomes the column name :Ti, and Dim{:custom} becomes :custom.

To get dimension columns, you can index with Dimension (X()) or Dimension type (X) as well as the regular Int or Symbol.

Keywords

Example

julia
julia> using DimensionalData, Tables
+
+julia> a = DimArray(ones(16, 16, 3), (X, Y, Dim{:band}))
+╭─────────────────────────────╮
+16×16×3 DimArray{Float64,3} │
+├─────────────────────── dims ┤
+ X,  Y, ↗ band
+└─────────────────────────────┘
+[:, :, 1]
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
+ 1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0
+
+julia>

source


Group by methods

For transforming DimensionalData objects:

# DataAPI.groupbyFunction.
julia
groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Pair...)
+groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Dimension{<:Callable}...)

Group A by grouping functions or Bins over multiple dimensions.

Arguments

Return value

A DimGroupByArray is returned, which is basically a regular AbstractDimArray but holding the grouped AbstractDimArray or AbstractDimStack. Its dims hold the sorted values returned by the grouping function/s.

Base julia and package methods work on DimGroupByArray as for any other AbstractArray of AbstractArray.

It is common to broadcast or map a reducing function over groups, such as mean or sum, like mean.(groups) or map(mean, groups). This will return a regular DimArray, or DimGroupByArray if dims keyword is used in the reducing function or it otherwise returns an AbstractDimArray or AbstractDimStack.

Example

Group some data along the time dimension:

julia
julia> using DimensionalData, Dates
+
+julia> A = rand(X(1:0.1:20), Y(1:20), Ti(DateTime(2000):Day(3):DateTime(2003)));
+
+julia> groups = groupby(A, Ti => month) # Group by month
+╭───────────────────────────────────────────────────╮
+12-element DimGroupByArray{DimArray{Float64,2},1} │
+├───────────────────────────────────────────────────┴───────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points
+├───────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+├─────────────────────────────────────────────────────────── group dims ┤
+ X,  Y, ↗ Ti
+└───────────────────────────────────────────────────────────────────────┘
+  1  191×20×32 DimArray
+  2  191×20×28 DimArray
+  3  191×20×31 DimArray
+
+ 11  191×20×30 DimArray
+ 12  191×20×31 DimArray

And take the mean:

julia
julia> groupmeans = mean.(groups) # Take the monthly mean
+╭────────────────────────────────╮
+12-element DimArray{Float64,1} │
+├────────────────────────────────┴──────────────────────────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points
+├───────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+└───────────────────────────────────────────────────────────────────────┘
+  1  0.500064
+  2  0.499762
+  3  0.500083
+  4  0.499985
+
+ 10  0.500874
+ 11  0.498704
+ 12  0.50047

Calculate daily anomalies from the monthly mean. Notice we map a broadcast .- rather than -. This is because the size of the arrays to not match after application of mean.

julia
julia> map(.-, groupby(A, Ti=>month), mean.(groupby(A, Ti=>month), dims=Ti));

Or do something else with Y:

julia
julia> groupmeans = mean.(groupby(A, Ti=>month, Y=>isodd))
+╭──────────────────────────╮
+12×2 DimArray{Float64,2} │
+├──────────────────────────┴─────────────────────────────────────── dims ┐
+ Ti Sampled{Int64} [1, 2, , 11, 12] ForwardOrdered Irregular Points,
+ Y  Sampled{Bool} [false, true] ForwardOrdered Irregular Points
+├────────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => (:Ti=>month, :Y=>isodd)
+└────────────────────────────────────────────────────────────────────────┘
+  false         true
+  1        0.499594     0.500533
+  2        0.498145     0.501379
+
+ 10        0.501105     0.500644
+ 11        0.498606     0.498801
+ 12        0.501643     0.499298

source


# DimensionalData.DimGroupByArrayType.
julia
DimGroupByArray <: AbstractDimArray

DimGroupByArray is essentially a DimArray but holding the results of a groupby operation.

Its dimensions are the sorted results of the grouping functions used in groupby.

This wrapper allows for specialisations on later broadcast or reducing operations, e.g. for chunk reading with DiskArrays.jl, because we know the data originates from a single array.

source


# DimensionalData.BinsType.
julia
Bins(f, bins; labels, pad)
+Bins(bins; labels, pad)

Specify bins to reduce groups after applying function f.

Keywords

When the return value of f is a tuple, binning is applied to the last value of the tuples.

source


# DimensionalData.rangesFunction.
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source


# DimensionalData.intervalsFunction.
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source


# DimensionalData.CyclicBinsType.
julia
CyclicBins(f; cycle, start, step, labels)

Cyclic bins to reduce groups after applying function f. Groups can wrap around the cycle. This is used for grouping in seasons, months and hours but can also be used for custom cycles.

Keywords

When the return value of f is a tuple, binning is applied to the last value of the tuples.

source


# DimensionalData.seasonsFunction.
julia
seasons(; [start=Dates.December, labels])

Generates CyclicBins for three month periods.

Keywords

source


# DimensionalData.monthsFunction.
julia
months(step; [start=Dates.January, labels])

Generates CyclicBins for grouping to arbitrary month periods. These can wrap around the end of a year.

Keywords

source


# DimensionalData.hoursFunction.
julia
hours(step; [start=0, labels])

Generates CyclicBins for grouping to arbitrary hour periods. These can wrap around the end of the day.

Keywords

source


Utility methods

For transforming DimensionalData objects:

# DimensionalData.Dimensions.Lookups.setFunction.
julia
set(x, val)
+set(x, args::Pairs...) => x with updated field/s
+set(x, args...; kw...) => x with updated field/s
+set(x, args::Tuple{Vararg{Dimension}}; kw...) => x with updated field/s
+
+set(dim::Dimension, index::AbstractArray) => Dimension
+set(dim::Dimension, lookup::Lookup) => Dimension
+set(dim::Dimension, lookupcomponent::LookupTrait) => Dimension
+set(dim::Dimension, metadata::AbstractMetadata) => Dimension

Set the properties of an object, its internal data or the traits of its dimensions and lookup index.

As DimensionalData is so strongly typed you do not need to specify what field of a Lookup to set - there is no ambiguity.

To set fields of a Lookup you need to specify the dimension. This can be done using X => val pairs, X = val keyword arguments, or X(val) wrapped arguments.

You can also set the fields of all dimensions by simply passing a single Lookup or lookup trait - it will be set for all dimensions.

When a Dimension or Lookup is passed to set to replace the existing ones, fields that are not set will keep their original values.

Notes:

Changing a lookup index range/vector will also update the step size and order where applicable.

Setting the Order like ForwardOrdered will not reverse the array or dimension to match. Use reverse and reorder to do this.

Examples

julia
julia> using DimensionalData; const DD = DimensionalData;
+
+julia> da = DimArray(zeros(3, 4), (custom=10.0:010.0:30.0, Z=-20:010.0:10.0));
+
+julia> set(da, ones(3, 4))
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Z      Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    1.0    1.0  1.0   1.0
+ 20.0    1.0    1.0  1.0   1.0
+ 30.0    1.0    1.0  1.0   1.0

Change the Dimension wrapper type:

julia
julia> set(da, :Z => Ti, :custom => Z)
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────── dims ┐
+ Z  Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Ti Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    0.0    0.0  0.0   0.0
+ 20.0    0.0    0.0  0.0   0.0
+ 30.0    0.0    0.0  0.0   0.0

Change the lookup Vector:

julia
julia> set(da, Z => [:a, :b, :c, :d], :custom => [4, 5, 6])
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Int64} [4, 5, 6] ForwardOrdered Regular Points,
+ Z      Sampled{Symbol} [:a, :b, :c, :d] ForwardOrdered Regular Points
+└─────────────────────────────────────────────────────────────────────────┘
+   :a   :b   :c   :d
+ 4    0.0  0.0  0.0  0.0
+ 5    0.0  0.0  0.0  0.0
+ 6    0.0  0.0  0.0  0.0

Change the Lookup type:

julia
julia> set(da, Z=DD.NoLookup(), custom=DD.Sampled())
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴───────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Regular Points,
+ Z
+└─────────────────────────────────────────────────────────────────────────┘
+ 10.0  0.0  0.0  0.0  0.0
+ 20.0  0.0  0.0  0.0  0.0
+ 30.0  0.0  0.0  0.0  0.0

Change the Sampling trait:

julia
julia> set(da, :custom => DD.Irregular(10, 12), Z => DD.Regular(9.9))
+╭─────────────────────────╮
+3×4 DimArray{Float64,2} │
+├─────────────────────────┴─────────────────────────────────────────── dims ┐
+ custom Sampled{Float64} 10.0:10.0:30.0 ForwardOrdered Irregular Points,
+ Z      Sampled{Float64} -20.0:10.0:10.0 ForwardOrdered Regular Points
+└───────────────────────────────────────────────────────────────────────────┘
+  -20.0  -10.0  0.0  10.0
+ 10.0    0.0    0.0  0.0   0.0
+ 20.0    0.0    0.0  0.0   0.0
+ 30.0    0.0    0.0  0.0   0.0

source


# DimensionalData.Dimensions.Lookups.rebuildFunction.
julia
rebuild(x; kw...)

Rebuild an object struct with updated field values.

x can be a AbstractDimArray, a Dimension, Lookup or other custom types.

This is an abstraction that allows inbuilt and custom types to be rebuilt to update their fields, as most objects in DimensionalData.jl are immutable.

Rebuild is mostly automated using ConstructionBase.setproperties. It should only be defined if your object has fields with with different names to DimensionalData objects. Try not to do that!

The arguments required are defined for the abstract type that has a rebuild method.

AbstractBasicDimArray:

AbstractDimArray:

AbstractDimStack:

Dimension:

Lookup:

AbstractDimStack in favour of always using the keyword version. In future the argument version will only be used on Dimension, which only have one argument.

source


# DimensionalData.modifyFunction.
julia
modify(f, A::AbstractDimArray) => AbstractDimArray
+modify(f, s::AbstractDimStack) => AbstractDimStack
+modify(f, dim::Dimension) => Dimension
+modify(f, x, lookupdim::Dimension) => typeof(x)

Modify the parent data, rebuilding the object wrapper without change. f must return a AbstractArray of the same size as the original.

This method is mostly useful as a way of swapping the parent array type of an object.

Example

If we have a previously-defined DimArray, we can copy it to an Nvidia GPU with:

julia
A = DimArray(rand(100, 100), (X, Y))
+modify(CuArray, A)

This also works for all the data layers in a DimStack.

source


# DimensionalData.@dMacro.
julia
@d broadcast_expression options

Dimensional broadcast macro extending Base Julia broadcasting to work with missing and permuted dimensions.

Will permute and resshape singleton dimensions so that all AbstractDimArray in a broadcast will broadcast over matching dimensions.

It is possible to pass options as the second argument of the macro to control the behaviour, as a single assignment or as a NamedTuple. Options names must be written explicitly, not passed in namedtuple variable.

Options

All other keywords are passed to DimensionalData.rebuild. This means name, metadata, etc for the returned array can be set here, or for example missingval in Rasters.jl.

Example

julia
using DimensionalData
+da1 = ones(X(3))
+da2 = fill(2, Y(4), X(3))
+
+@d da1 .* da2
+@d da1 .* da2 .+ 5 dims=(Y, X)
+@d da1 .* da2 .+ 5 (dims=(Y, X), strict=false, name=:testname)

Use with @.

@d does not imply @.. You need to specify each broadcast. But @. can be used with @d as the inner macro.

julia
using DimensionalData
+da1 = ones(X(3))
+da2 = fill(2, Y(4), X(3))
+
+@d @. da1 * da2
+# Use parentheses areound \`@.\` if you need to pass options
+@d (@. da1 * da2 .+ 5) dims=(Y, X)

source


# DimensionalData.broadcast_dimsFunction.
julia
broadcast_dims(f, sources::AbstractDimArray...) => AbstractDimArray

Broadcast function f over the AbstractDimArrays in sources, permuting and reshaping dimensions to match where required. The result will contain all the dimensions in all passed in arrays in the order in which they are found.

Arguments

This is like broadcasting over every slice of A if it is sliced by the dimensions of B.

source


# DimensionalData.broadcast_dims!Function.
julia
broadcast_dims!(f, dest::AbstractDimArray, sources::AbstractDimArray...) => dest

Broadcast function f over the AbstractDimArrays in sources, writing to dest. sources are permuting and reshaping dimensions to match where required.

The result will contain all the dimensions in all passed in arrays, in the order in which they are found.

Arguments

source


# DimensionalData.mergedimsFunction.
julia
mergedims(old_dims => new_dim) => Dimension

Return a dimension new_dim whose indices are a MergedLookup of the indices of old_dims.

source

julia
mergedims(dims, old_dims => new_dim, others::Pair...) => dims_new

If dimensions old_dims, new_dim, etc. are found in dims, then return new dims_new where all dims in old_dims have been combined into a single dim new_dim. The returned dimension will keep only the name of new_dim. Its coords will be a MergedLookup of the coords of the dims in old_dims. New dimensions are always placed at the end of dims_new. others contains other dimension pairs to be merged.

Example

julia
julia> using DimensionalData
+
+julia> ds = (X(0:0.1:0.4), Y(10:10:100), Ti([0, 3, 4]))
+( X  0.0:0.1:0.4,
+ Y  10:10:100,
+↗ Ti [0, 3, 4])
+
+julia> mergedims(ds, (X, Y) => :space)
+( Ti    [0, 3, 4],
+ space MergedLookup{Tuple{Float64, Int64}} [(0.0, 10), (0.1, 10), , (0.3, 100), (0.4, 100)] ( X,  Y))

source

julia
mergedims(A::AbstractDimArray, dim_pairs::Pair...) => AbstractDimArray
+mergedims(A::AbstractDimStack, dim_pairs::Pair...) => AbstractDimStack

Return a new array or stack whose dimensions are the result of mergedims(dims(A), dim_pairs).

source


# DimensionalData.unmergedimsFunction.
julia
unmergedims(merged_dims::Tuple{Vararg{Dimension}}) => Tuple{Vararg{Dimension}}

Return the unmerged dimensions from a tuple of merged dimensions. However, the order of the original dimensions are not necessarily preserved.

source

julia
unmergedims(A::AbstractDimArray, original_dims) => AbstractDimArray
+unmergedims(A::AbstractDimStack, original_dims) => AbstractDimStack

Return a new array or stack whose dimensions are restored to their original prior to calling mergedims(A, dim_pairs).

source


# DimensionalData.reorderFunction.
julia
reorder(A::Union{AbstractDimArray,AbstractDimStack}, order::Pair...)
+reorder(A::Union{AbstractDimArray,AbstractDimStack}, order)
+reorder(A::Dimension, order::Order)

Reorder every dims index/array to order, or reorder index for the given dimension(s) in order.

order can be an Order, Dimension => Order pairs. A Tuple of Dimensions or any object that defines dims can be used in which case the dimensions of this object are used for reordering.

If no axis reversal is required the same objects will be returned, without allocation.

Example

julia
using DimensionalData
+
+# Create a DimArray
+da = DimArray([1 2 3; 4 5 6], (X(10:10:20), Y(300:-100:100)))
+
+# Reverse it
+rev = reverse(da, dims=Y)
+
+# using \`da\` in reorder will return it to the original order
+reorder(rev, da) == da
+
+# output
+true

source


Global lookup strictness settings

Control how strict DimensionalData when comparing Lookups before doing broadcasts and matrix multipications.

In some cases (especially DimVector and small DimArray) checking lookup values match may be too costly compared to the operations. You can turn check the current setting and turn them on or off with these methods.

# DimensionalData.strict_broadcastFunction.
julia
strict_broadcast()

Check if strict broadcasting checks are active.

With strict=true we check Lookup Order and values before brodcasting, to ensure that dimensions match closely.

An exception to this rule is when dimension are of length one, as these is ignored in broadcasts.

We always check that dimension names match in broadcasts. If you don't want this either, explicitly use parent(A) before broadcasting to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_broadcast!Function.
julia
strict_broadcast!(x::Bool)

Set global broadcasting checks to strict, or not for all AbstractDimArray.

With strict=true we check Lookup Order and values before brodcasting, to ensure that dimensions match closely.

An exception to this rule is when dimension are of length one, as these is ignored in broadcasts.

We always check that dimension names match in broadcasts. If you don't want this either, explicitly use parent(A) before broadcasting to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_matmulFunction.
julia
strict_matmul()

Check if strickt broadcasting checks are active.

With strict=true we check Lookup Order and values before attempting matrix multiplication, to ensure that dimensions match closely.

We always check that dimension names match in matrix multiplication. If you don't want this either, explicitly use parent(A) before multiplying to remove the AbstractDimArray wrapper completely.

source


# DimensionalData.strict_matmul!Function.
julia
strict_matmul!(x::Bool)

Set global matrix multiplication checks to strict, or not for all AbstractDimArray.

With strict=true we check Lookup Order and values before attempting matrix multiplication, to ensure that dimensions match closely.

We always check that dimension names match in matrix multiplication. If you don't want this either, explicitly use parent(A) before multiplying to remove the AbstractDimArray wrapper completely.

source


Base methods

# Base.catFunction.
julia
Base.cat(stacks::AbstractDimStack...; [keys=keys(stacks[1])], dims)

Concatenate all or a subset of layers for all passed in stacks.

Keywords

Example

Concatenate the :sea_surface_temp and :humidity layers in the time dimension:

julia
cat(stacks...; keys=(:sea_surface_temp, :humidity), dims=Ti)

source


# Base.copy!Function.
julia
Base.copy!(dst::AbstractArray, src::AbstractDimStack, key::Key)

Copy the stack layer key to dst, which can be any AbstractArray.

Example

Copy the :humidity layer from stack to array.

julia
copy!(array, stack, :humidity)

source

julia
Base.copy!(dst::AbstractDimStack, src::AbstractDimStack, [keys=keys(dst)])

Copy all or a subset of layers from one stack to another.

Example

Copy just the :sea_surface_temp and :humidity layers from src to dst.

julia
copy!(dst::AbstractDimStack, src::AbstractDimStack, keys=(:sea_surface_temp, :humidity))

source


# Base.eachsliceFunction.
julia
Base.eachslice(A::AbstractDimArray; dims,drop=true)

Create a generator that iterates over dimensions dims of A, returning arrays that select all the data from the other dimensions in A using views.

The generator has size and axes equivalent to those of the provided dims if drop=true. Otherwise it will have the same dimensionality as the underlying array with inner dimensions having size 1.

source

julia
Base.eachslice(stack::AbstractDimStack; dims, drop=true)

Create a generator that iterates over dimensions dims of stack, returning stacks that select all the data from the other dimensions in stack using views.

The generator has size and axes equivalent to those of the provided dims.

Examples

julia
julia> ds = DimStack((
+           x=DimArray(randn(2, 3, 4), (X([:x1, :x2]), Y(1:3), Z)),
+           y=DimArray(randn(2, 3, 5), (X([:x1, :x2]), Y(1:3), Ti))
+       ));
+
+julia> slices = eachslice(ds; dims=(Z, X));
+
+julia> size(slices)
+(4, 2)
+
+julia> map(dims, axes(slices))
+( Z Base.OneTo(4),
+ X Base.OneTo(2))
+
+julia> first(slices)
+╭──────────────╮
+3×5 DimStack │
+├──────────────┴─────────────────────────────────── dims ┐
+ Y  Sampled{Int64} 1:3 ForwardOrdered Regular Points,
+ Ti
+├──────────────────────────────────────────────── layers ┤
+  :x eltype: Float64 dims: Y size: 3
+  :y eltype: Float64 dims: Y, Ti size: 3×5
+└────────────────────────────────────────────────────────┘

source


Most base methods work as expected, using Dimension wherever a dims keyword is used. They are not all specifically documented here.

Name

# DimensionalData.AbstractNameType.
julia
AbstractName

Abstract supertype for name wrappers.

source


# DimensionalData.NameType.
julia
Name <: AbstractName
+
+Name(name::Union{Symbol,Name) => Name
+Name(name::NoName) => NoName

Name wrapper. This lets arrays keep symbol names when the array wrapper needs to be isbits, like for use on GPUs. It makes the name a property of the type. It's not necessary to use in normal use, a symbol is probably easier.

source


# DimensionalData.NoNameType.
julia
NoName <: AbstractName
+
+NoName()

NoName specifies an array is not named, and is the default name value for all AbstractDimArrays.

source


Internal interface

# DimensionalData.DimArrayInterfaceType.
julia
    DimArrayInterface

An Interfaces.jl Interface with mandatory components (:dims, :refdims_base, :ndims, :size, :rebuild_parent, :rebuild_dims, :rebuild_parent_kw, :rebuild_dims_kw, :rebuild) and optional components (:refdims, :name, :metadata).

This is an early stage of inteface definition, many things are not yet tested.

Pass constructed AbstractDimArrays as test data.

They must not be zero dimensional, and should test at least 1, 2, and 3 dimensions.

Extended help

Mandatory keys:

Optional keys:

source


# DimensionalData.DimStackInterfaceType.
julia
    DimStackInterface

An Interfaces.jl Interface with mandatory components (:dims, :refdims_base, :ndims, :size, :rebuild_parent, :rebuild_dims, :rebuild_layerdims, :rebuild_dims_kw, :rebuild_parent_kw, :rebuild_layerdims_kw, :rebuild) and optional components (:refdims, :metadata).

This is an early stage of inteface definition, many things are not yet tested.

Pass constructed AbstractDimArrays as test data.

They must not be zero dimensional, and should test at least 1, 2, and 3 dimensions.

Extended help

Mandatory keys:

Optional keys:

source


# DimensionalData.rebuild_from_arraysFunction.
julia
rebuild_from_arrays(s::AbstractDimStack, das::NamedTuple{<:Any,<:Tuple{Vararg{AbstractDimArray}}}; kw...)

Rebuild an AbstractDimStack from a Tuple or NamedTuple of AbstractDimArray and an existing stack.

Keywords

Keywords are simply the fields of the stack object:

source


# DimensionalData.show_mainFunction.
julia
show_main(io::IO, mime, A::AbstractDimArray)
+show_main(io::IO, mime, A::AbstractDimStack)

Interface methods for adding the main part of show

At the least, you likely want to call:

julia
print_top(io, mime, A)

But read the DimensionalData.jl show.jl code for details.

source


# DimensionalData.show_afterFunction.
julia
show_after(io::IO, mime, A::AbstractDimArray)
+show_after(io::IO, mime, A::AbstractDimStack)

Interface methods for adding additional show text for AbstractDimArray/AbstractDimStack subtypes.

Always include kw to avoid future breaking changes

Additional keywords may be added at any time.

blockwidth is passed in context

julia
blockwidth = get(io, :blockwidth, 10000)

Note - a ANSI box is left unclosed. This method needs to close it, or add more. blockwidth is the maximum length of the inner text.

Most likely you always want to at least close the show blocks with:

julia
print_block_close(io, blockwidth)

But read the DimensionalData.jl show.jl code for details.

source


# DimensionalData.refdims_titleFunction.
julia
refdims_title(A::AbstractDimArray)
+refdims_title(refdims::Tuple)
+refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source


`,128)]))}const g=i(t,[["render",e]]);export{E as __pageData,g as default}; diff --git a/previews/PR801/assets/app.DuHn16A7.js b/previews/PR801/assets/app.DuHn16A7.js new file mode 100644 index 000000000..575527153 --- /dev/null +++ b/previews/PR801/assets/app.DuHn16A7.js @@ -0,0 +1 @@ +import{R as p}from"./chunks/theme.DdfSediW.js";import{R as o,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as g,ad as A,ae as v,d as P,u as R,v as w,s as y,af as C,ag as b,ah as E,ai as S}from"./chunks/framework.D3Ia4FEQ.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=R();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function D(){globalThis.__VITEPRESS__=!0;const e=j(),a=_();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function _(){return g(T)}function j(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&D().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{D as createApp}; diff --git a/previews/PR801/assets/basics.md.LP9Fcdo1.js b/previews/PR801/assets/basics.md.LP9Fcdo1.js new file mode 100644 index 000000000..da9046332 --- /dev/null +++ b/previews/PR801/assets/basics.md.LP9Fcdo1.js @@ -0,0 +1,49 @@ +import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.D3Ia4FEQ.js";const y=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"basics.md","filePath":"basics.md","lastUpdated":null}'),l={name:"basics.md"};function k(t,s,e,p,d,r){return h(),a("div",null,s[0]||(s[0]=[n(`

Installation

If you want to use this package you need to install it first. You can do it using the following commands:

julia
julia> ] # ']' should be pressed
+pkg> add DimensionalData

or

julia
julia> using Pkg
+julia> Pkg.add("DimensionalData")

Additionally, it is recommended to check the version that you have installed with the status command.

julia
julia> ]
+pkg> status DimensionalData

Basics

Start using the package:

julia
using DimensionalData

and create your first DimArray

julia
julia> A = DimArray(rand(4,5), (a=1:4, b=1:5))
╭─────────────────────────╮
+4×5 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+a Sampled{Int64} 1:4 ForwardOrdered Regular Points,
+b Sampled{Int64} 1:5 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  1         2          3         4         5
+ 1    0.541806  0.0282382  0.762794  0.844547  0.919763
+ 2    0.300768  0.247683   0.388243  0.95636   0.383632
+ 3    0.70597   0.599558   0.803192  0.675435  0.487578
+ 4    0.93479   0.624685   0.774731  0.216524  0.102405

or

julia
julia> C = DimArray(rand(Int8, 10), (alpha='a':'j',))
╭─────────────────────────────╮
+10-element DimArray{Int8,1}
+├─────────────────────────────┴────────────────────────────────────────── dims ┐
+alpha Categorical{Char} 'a':1:'j' ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+ 'a'  112
+ 'b'   85
+ 'c'  -86
+ 'd'  123
+ 'e'   95
+ 'f'   59
+ 'g'  -91
+ 'h'   55
+ 'i'  -78
+ 'j'  -15

or something a little bit more complicated:

julia
julia> data = rand(Int8, 2, 10, 3) .|> abs
2×10×3 Array{Int8, 3}:
+[:, :, 1] =
+  65  110   71  108  76  15  120   65  121  126
+ 125   78  118  101  11  32   87  108   49  115
+
+[:, :, 2] =
+ 106  84  74  80   9   26  35  74  28  47
+  87   1  42  54  15  107  77  23  89  34
+
+[:, :, 3] =
+ 65  66  113  1  123  16  69  104  -128  26
+ 25  13   29  1   21  72  24   48    51  88
julia
julia> B = DimArray(data, (channel=[:left, :right], time=1:10, iter=1:3))
╭─────────────────────────╮
+2×10×3 DimArray{Int8,3}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+channel Categorical{Symbol} [:left, :right] ForwardOrdered,
+time    Sampled{Int64} 1:10 ForwardOrdered Regular Points,
+iter    Sampled{Int64} 1:3 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+        1    2    3    4   5   6    7    8    9   10
+  :left    65  110   71  108  76  15  120   65  121  126
+  :right  125   78  118  101  11  32   87  108   49  115
`,21)]))}const f=i(l,[["render",k]]);export{y as __pageData,f as default}; diff --git a/previews/PR801/assets/basics.md.LP9Fcdo1.lean.js b/previews/PR801/assets/basics.md.LP9Fcdo1.lean.js new file mode 100644 index 000000000..da9046332 --- /dev/null +++ b/previews/PR801/assets/basics.md.LP9Fcdo1.lean.js @@ -0,0 +1,49 @@ +import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.D3Ia4FEQ.js";const y=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"basics.md","filePath":"basics.md","lastUpdated":null}'),l={name:"basics.md"};function k(t,s,e,p,d,r){return h(),a("div",null,s[0]||(s[0]=[n(`

Installation

If you want to use this package you need to install it first. You can do it using the following commands:

julia
julia> ] # ']' should be pressed
+pkg> add DimensionalData

or

julia
julia> using Pkg
+julia> Pkg.add("DimensionalData")

Additionally, it is recommended to check the version that you have installed with the status command.

julia
julia> ]
+pkg> status DimensionalData

Basics

Start using the package:

julia
using DimensionalData

and create your first DimArray

julia
julia> A = DimArray(rand(4,5), (a=1:4, b=1:5))
╭─────────────────────────╮
+4×5 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+a Sampled{Int64} 1:4 ForwardOrdered Regular Points,
+b Sampled{Int64} 1:5 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  1         2          3         4         5
+ 1    0.541806  0.0282382  0.762794  0.844547  0.919763
+ 2    0.300768  0.247683   0.388243  0.95636   0.383632
+ 3    0.70597   0.599558   0.803192  0.675435  0.487578
+ 4    0.93479   0.624685   0.774731  0.216524  0.102405

or

julia
julia> C = DimArray(rand(Int8, 10), (alpha='a':'j',))
╭─────────────────────────────╮
+10-element DimArray{Int8,1}
+├─────────────────────────────┴────────────────────────────────────────── dims ┐
+alpha Categorical{Char} 'a':1:'j' ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+ 'a'  112
+ 'b'   85
+ 'c'  -86
+ 'd'  123
+ 'e'   95
+ 'f'   59
+ 'g'  -91
+ 'h'   55
+ 'i'  -78
+ 'j'  -15

or something a little bit more complicated:

julia
julia> data = rand(Int8, 2, 10, 3) .|> abs
2×10×3 Array{Int8, 3}:
+[:, :, 1] =
+  65  110   71  108  76  15  120   65  121  126
+ 125   78  118  101  11  32   87  108   49  115
+
+[:, :, 2] =
+ 106  84  74  80   9   26  35  74  28  47
+  87   1  42  54  15  107  77  23  89  34
+
+[:, :, 3] =
+ 65  66  113  1  123  16  69  104  -128  26
+ 25  13   29  1   21  72  24   48    51  88
julia
julia> B = DimArray(data, (channel=[:left, :right], time=1:10, iter=1:3))
╭─────────────────────────╮
+2×10×3 DimArray{Int8,3}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+channel Categorical{Symbol} [:left, :right] ForwardOrdered,
+time    Sampled{Int64} 1:10 ForwardOrdered Regular Points,
+iter    Sampled{Int64} 1:3 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+        1    2    3    4   5   6    7    8    9   10
+  :left    65  110   71  108  76  15  120   65  121  126
+  :right  125   78  118  101  11  32   87  108   49  115
`,21)]))}const f=i(l,[["render",k]]);export{y as __pageData,f as default}; diff --git a/previews/PR801/assets/broadcasts.md.5J_tBPs5.js b/previews/PR801/assets/broadcasts.md.5J_tBPs5.js new file mode 100644 index 000000000..827a22857 --- /dev/null +++ b/previews/PR801/assets/broadcasts.md.5J_tBPs5.js @@ -0,0 +1,138 @@ +import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.D3Ia4FEQ.js";const g=JSON.parse('{"title":"Dimensional broadcasts with @d and broadcast_dims","description":"","frontmatter":{},"headers":[],"relativePath":"broadcasts.md","filePath":"broadcasts.md","lastUpdated":null}'),h={name:"broadcasts.md"};function l(k,s,t,p,d,f){return e(),a("div",null,s[0]||(s[0]=[n(`

Dimensional broadcasts with @d and broadcast_dims

Broadcasting over AbstractDimArray works as usual with Base Julia broadcasts, except that dimensions are checked for compatibility with eachother, and that values match. Strict checks can be turned of globally with strict_broadcast!(false). To avoid even dimension name checks, broadcast over parent(dimarray).

The @d macro is a dimension-aware extension to regular dot brodcasting. broadcast_dims and broadcast_dims are analagous to Base julia broadcast.

Because we know the names of the dimensions, there is no ambiguity in which one we mean to broadcast together. This means we can permute and reshape dims so that broadcasts that would fail with a regular Array just work with a DimArray.

As an added bonus, broadcast_dims even works on DimStacks. Currently @d does not work on DimStack.

Example: scaling along the time dimension

Define some dimensions:

julia
using DimensionalData
+using Dates
+using Statistics
julia
julia> x, y, t = X(1:100), Y(1:25), Ti(DateTime(2000):Month(1):DateTime(2000, 12))
(X  1:100,
+Y  1:25,
+Ti Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00"))

A DimArray from 1:12 to scale with:

julia
julia> month_scalars = DimArray(month, t)
╭────────────────────────────────────────╮
+12-element DimArray{Int64,1} month(Ti)
+├────────────────────────────────────────┴─────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00   1
+ 2000-02-01T00:00:00   2
+ 2000-03-01T00:00:00   3
+ 2000-04-01T00:00:00   4
+ 2000-05-01T00:00:00   5
+ 2000-06-01T00:00:00   6
+ 2000-07-01T00:00:00   7
+ 2000-08-01T00:00:00   8
+ 2000-09-01T00:00:00   9
+ 2000-10-01T00:00:00  10
+ 2000-11-01T00:00:00  11
+ 2000-12-01T00:00:00  12

And a larger DimArray for example data:

julia
julia> data = rand(x, y, t)
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

A regular broadcast fails:

julia
julia> scaled = data .* month_scalars
ERROR: DimensionMismatch: arrays could not be broadcast to a common size; got a dimension with lengths 100 and 12

But @d knows to broadcast over the Ti dimension:

julia
julia> scaled = @d data .* month_scalars
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

We can see the means of each month are scaled by the broadcast :

julia
julia> mean(eachslice(data; dims=(X, Y)))
╭────────────────────────────────╮
+12-element DimArray{Float64,1}
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00  0.496108
+ 2000-02-01T00:00:00  0.49795
+ 2000-03-01T00:00:00  0.493708
+ 2000-04-01T00:00:00  0.492377
+ 2000-05-01T00:00:00  0.496201
+ 2000-06-01T00:00:00  0.496665
+ 2000-07-01T00:00:00  0.489762
+ 2000-08-01T00:00:00  0.503719
+ 2000-09-01T00:00:00  0.505946
+ 2000-10-01T00:00:00  0.499719
+ 2000-11-01T00:00:00  0.490968
+ 2000-12-01T00:00:00  0.501068
julia
julia> mean(eachslice(scaled; dims=(X, Y)))
╭────────────────────────────────╮
+12-element DimArray{Float64,1}
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00  0.496108
+ 2000-02-01T00:00:00  0.995899
+ 2000-03-01T00:00:00  1.48113
+ 2000-04-01T00:00:00  1.96951
+ 2000-05-01T00:00:00  2.48101
+ 2000-06-01T00:00:00  2.97999
+ 2000-07-01T00:00:00  3.42833
+ 2000-08-01T00:00:00  4.02976
+ 2000-09-01T00:00:00  4.55351
+ 2000-10-01T00:00:00  4.99719
+ 2000-11-01T00:00:00  5.40065
+ 2000-12-01T00:00:00  6.01282

You can also use broadcast_dims the same way:

julia
julia> broadcast_dims(*, data, month_scalars)
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

And with the @d macro you can set the dimension order and other properties of the output array, by passing a single assignment or a NamedTuple argument to @d after the broadcast:

julia
julia> @d data .* month_scalars dims=(Ti, X, Y)
╭───────────────────────────────╮
+12×100×25 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points,
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+                   198         99         100
+  2000-01-01T00:00:00  0.792885      0.204551   0.250752    0.295548
+  2000-02-01T00:00:00  1.27802       0.728611   1.04046     1.10447
+  2000-03-01T00:00:00  1.13589       1.54853    0.686287    0.929592
+  2000-04-01T00:00:00  3.49029       1.09764    3.2115      1.38795
+ ⋮                               ⋱                          ⋮
+  2000-09-01T00:00:00  1.89618       0.203703   4.47963     2.55114
+  2000-10-01T00:00:00  9.58054   …   5.3793     0.118632    7.12731
+  2000-11-01T00:00:00  0.134208      5.08512    6.19995     2.74204
+  2000-12-01T00:00:00  7.60111      11.5008    10.2026      6.54483

Or

julia
julia> @d data .* month_scalars (dims=(Ti, X, Y), name=:scaled)
╭──────────────────────────────────────╮
+12×100×25 DimArray{Float64,3} scaled
+├──────────────────────────────────────┴───────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points,
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+                   198         99         100
+  2000-01-01T00:00:00  0.792885      0.204551   0.250752    0.295548
+  2000-02-01T00:00:00  1.27802       0.728611   1.04046     1.10447
+  2000-03-01T00:00:00  1.13589       1.54853    0.686287    0.929592
+  2000-04-01T00:00:00  3.49029       1.09764    3.2115      1.38795
+ ⋮                               ⋱                          ⋮
+  2000-09-01T00:00:00  1.89618       0.203703   4.47963     2.55114
+  2000-10-01T00:00:00  9.58054   …   5.3793     0.118632    7.12731
+  2000-11-01T00:00:00  0.134208      5.08512    6.19995     2.74204
+  2000-12-01T00:00:00  7.60111      11.5008    10.2026      6.54483
`,36)]))}const y=i(h,[["render",l]]);export{g as __pageData,y as default}; diff --git a/previews/PR801/assets/broadcasts.md.5J_tBPs5.lean.js b/previews/PR801/assets/broadcasts.md.5J_tBPs5.lean.js new file mode 100644 index 000000000..827a22857 --- /dev/null +++ b/previews/PR801/assets/broadcasts.md.5J_tBPs5.lean.js @@ -0,0 +1,138 @@ +import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.D3Ia4FEQ.js";const g=JSON.parse('{"title":"Dimensional broadcasts with @d and broadcast_dims","description":"","frontmatter":{},"headers":[],"relativePath":"broadcasts.md","filePath":"broadcasts.md","lastUpdated":null}'),h={name:"broadcasts.md"};function l(k,s,t,p,d,f){return e(),a("div",null,s[0]||(s[0]=[n(`

Dimensional broadcasts with @d and broadcast_dims

Broadcasting over AbstractDimArray works as usual with Base Julia broadcasts, except that dimensions are checked for compatibility with eachother, and that values match. Strict checks can be turned of globally with strict_broadcast!(false). To avoid even dimension name checks, broadcast over parent(dimarray).

The @d macro is a dimension-aware extension to regular dot brodcasting. broadcast_dims and broadcast_dims are analagous to Base julia broadcast.

Because we know the names of the dimensions, there is no ambiguity in which one we mean to broadcast together. This means we can permute and reshape dims so that broadcasts that would fail with a regular Array just work with a DimArray.

As an added bonus, broadcast_dims even works on DimStacks. Currently @d does not work on DimStack.

Example: scaling along the time dimension

Define some dimensions:

julia
using DimensionalData
+using Dates
+using Statistics
julia
julia> x, y, t = X(1:100), Y(1:25), Ti(DateTime(2000):Month(1):DateTime(2000, 12))
(X  1:100,
+Y  1:25,
+Ti Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00"))

A DimArray from 1:12 to scale with:

julia
julia> month_scalars = DimArray(month, t)
╭────────────────────────────────────────╮
+12-element DimArray{Int64,1} month(Ti)
+├────────────────────────────────────────┴─────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00   1
+ 2000-02-01T00:00:00   2
+ 2000-03-01T00:00:00   3
+ 2000-04-01T00:00:00   4
+ 2000-05-01T00:00:00   5
+ 2000-06-01T00:00:00   6
+ 2000-07-01T00:00:00   7
+ 2000-08-01T00:00:00   8
+ 2000-09-01T00:00:00   9
+ 2000-10-01T00:00:00  10
+ 2000-11-01T00:00:00  11
+ 2000-12-01T00:00:00  12

And a larger DimArray for example data:

julia
julia> data = rand(x, y, t)
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

A regular broadcast fails:

julia
julia> scaled = data .* month_scalars
ERROR: DimensionMismatch: arrays could not be broadcast to a common size; got a dimension with lengths 100 and 12

But @d knows to broadcast over the Ti dimension:

julia
julia> scaled = @d data .* month_scalars
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

We can see the means of each month are scaled by the broadcast :

julia
julia> mean(eachslice(data; dims=(X, Y)))
╭────────────────────────────────╮
+12-element DimArray{Float64,1}
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00  0.496108
+ 2000-02-01T00:00:00  0.49795
+ 2000-03-01T00:00:00  0.493708
+ 2000-04-01T00:00:00  0.492377
+ 2000-05-01T00:00:00  0.496201
+ 2000-06-01T00:00:00  0.496665
+ 2000-07-01T00:00:00  0.489762
+ 2000-08-01T00:00:00  0.503719
+ 2000-09-01T00:00:00  0.505946
+ 2000-10-01T00:00:00  0.499719
+ 2000-11-01T00:00:00  0.490968
+ 2000-12-01T00:00:00  0.501068
julia
julia> mean(eachslice(scaled; dims=(X, Y)))
╭────────────────────────────────╮
+12-element DimArray{Float64,1}
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00  0.496108
+ 2000-02-01T00:00:00  0.995899
+ 2000-03-01T00:00:00  1.48113
+ 2000-04-01T00:00:00  1.96951
+ 2000-05-01T00:00:00  2.48101
+ 2000-06-01T00:00:00  2.97999
+ 2000-07-01T00:00:00  3.42833
+ 2000-08-01T00:00:00  4.02976
+ 2000-09-01T00:00:00  4.55351
+ 2000-10-01T00:00:00  4.99719
+ 2000-11-01T00:00:00  5.40065
+ 2000-12-01T00:00:00  6.01282

You can also use broadcast_dims the same way:

julia
julia> broadcast_dims(*, data, month_scalars)
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

And with the @d macro you can set the dimension order and other properties of the output array, by passing a single assignment or a NamedTuple argument to @d after the broadcast:

julia
julia> @d data .* month_scalars dims=(Ti, X, Y)
╭───────────────────────────────╮
+12×100×25 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points,
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+                   198         99         100
+  2000-01-01T00:00:00  0.792885      0.204551   0.250752    0.295548
+  2000-02-01T00:00:00  1.27802       0.728611   1.04046     1.10447
+  2000-03-01T00:00:00  1.13589       1.54853    0.686287    0.929592
+  2000-04-01T00:00:00  3.49029       1.09764    3.2115      1.38795
+ ⋮                               ⋱                          ⋮
+  2000-09-01T00:00:00  1.89618       0.203703   4.47963     2.55114
+  2000-10-01T00:00:00  9.58054   …   5.3793     0.118632    7.12731
+  2000-11-01T00:00:00  0.134208      5.08512    6.19995     2.74204
+  2000-12-01T00:00:00  7.60111      11.5008    10.2026      6.54483

Or

julia
julia> @d data .* month_scalars (dims=(Ti, X, Y), name=:scaled)
╭──────────────────────────────────────╮
+12×100×25 DimArray{Float64,3} scaled
+├──────────────────────────────────────┴───────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points,
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+                   198         99         100
+  2000-01-01T00:00:00  0.792885      0.204551   0.250752    0.295548
+  2000-02-01T00:00:00  1.27802       0.728611   1.04046     1.10447
+  2000-03-01T00:00:00  1.13589       1.54853    0.686287    0.929592
+  2000-04-01T00:00:00  3.49029       1.09764    3.2115      1.38795
+ ⋮                               ⋱                          ⋮
+  2000-09-01T00:00:00  1.89618       0.203703   4.47963     2.55114
+  2000-10-01T00:00:00  9.58054   …   5.3793     0.118632    7.12731
+  2000-11-01T00:00:00  0.134208      5.08512    6.19995     2.74204
+  2000-12-01T00:00:00  7.60111      11.5008    10.2026      6.54483
`,36)]))}const y=i(h,[["render",l]]);export{g as __pageData,y as default}; diff --git a/previews/PR801/assets/chunks/@localSearchIndexroot.CRm6DHrn.js b/previews/PR801/assets/chunks/@localSearchIndexroot.CRm6DHrn.js new file mode 100644 index 000000000..206ec2742 --- /dev/null +++ b/previews/PR801/assets/chunks/@localSearchIndexroot.CRm6DHrn.js @@ -0,0 +1 @@ +const e='{"documentCount":86,"nextId":86,"documentIds":{"0":"/DimensionalData.jl/previews/PR801/api/dimensions#dimensions","1":"/DimensionalData.jl/previews/PR801/api/dimensions#Exported-methods","2":"/DimensionalData.jl/previews/PR801/api/dimensions#Non-exported-methods","3":"/DimensionalData.jl/previews/PR801/api/dimensions#Primitive-methods","4":"/DimensionalData.jl/previews/PR801/api/lookuparrays#lookups","5":"/DimensionalData.jl/previews/PR801/api/lookuparrays#selectors","6":"/DimensionalData.jl/previews/PR801/api/lookuparrays#Lookup-traits","7":"/DimensionalData.jl/previews/PR801/api/lookuparrays#order","8":"/DimensionalData.jl/previews/PR801/api/lookuparrays#span","9":"/DimensionalData.jl/previews/PR801/api/lookuparrays#sampling","10":"/DimensionalData.jl/previews/PR801/api/lookuparrays#positions","11":"/DimensionalData.jl/previews/PR801/api/lookuparrays#metadata","12":"/DimensionalData.jl/previews/PR801/basics#installation","13":"/DimensionalData.jl/previews/PR801/basics#basics","14":"/DimensionalData.jl/previews/PR801/broadcasts#Dimensional-broadcasts-with-@d-and-broadcast_dims","15":"/DimensionalData.jl/previews/PR801/broadcasts#Example:-scaling-along-the-time-dimension","16":"/DimensionalData.jl/previews/PR801/api/reference#API-Reference","17":"/DimensionalData.jl/previews/PR801/api/reference#arrays","18":"/DimensionalData.jl/previews/PR801/api/reference#Multi-array-datasets","19":"/DimensionalData.jl/previews/PR801/api/reference#Dimension-generators","20":"/DimensionalData.jl/previews/PR801/api/reference#Tables.jl/TableTraits.jl-interface","21":"/DimensionalData.jl/previews/PR801/api/reference#Group-by-methods","22":"/DimensionalData.jl/previews/PR801/api/reference#Utility-methods","23":"/DimensionalData.jl/previews/PR801/api/reference#Global-lookup-strictness-settings","24":"/DimensionalData.jl/previews/PR801/api/reference#name","25":"/DimensionalData.jl/previews/PR801/api/reference#Internal-interface","26":"/DimensionalData.jl/previews/PR801/cuda#CUDA-and-GPUs","27":"/DimensionalData.jl/previews/PR801/cuda#GPU-Integration-goals","28":"/DimensionalData.jl/previews/PR801/dimensions#dimensions","29":"/DimensionalData.jl/previews/PR801/dimarrays#dimarrays","30":"/DimensionalData.jl/previews/PR801/dimarrays#Constructing-DimArray-with-arbitrary-dimension-names","31":"/DimensionalData.jl/previews/PR801/dimarrays#Dimensional-Indexing","32":"/DimensionalData.jl/previews/PR801/dimarrays#Begin-End-indexing","33":"/DimensionalData.jl/previews/PR801/dimarrays#dims-keywords","34":"/DimensionalData.jl/previews/PR801/dimarrays#performance","35":"/DimensionalData.jl/previews/PR801/diskarrays#DiskArrays.jl-compatibility","36":"/DimensionalData.jl/previews/PR801/extending_dd#Extending-DimensionalData","37":"/DimensionalData.jl/previews/PR801/extending_dd#dims","38":"/DimensionalData.jl/previews/PR801/extending_dd#Dimension-axes","39":"/DimensionalData.jl/previews/PR801/extending_dd#dims-keywords","40":"/DimensionalData.jl/previews/PR801/extending_dd#rebuild","41":"/DimensionalData.jl/previews/PR801/extending_dd#format","42":"/DimensionalData.jl/previews/PR801/extending_dd#Interfaces.jl-interface-testing","43":"/DimensionalData.jl/previews/PR801/get_info#getters","44":"/DimensionalData.jl/previews/PR801/get_info#predicates","45":"/DimensionalData.jl/previews/PR801/groupby#Group-By","46":"/DimensionalData.jl/previews/PR801/groupby#Grouping-functions","47":"/DimensionalData.jl/previews/PR801/groupby#Grouping-and-reducing","48":"/DimensionalData.jl/previews/PR801/groupby#binning","49":"/DimensionalData.jl/previews/PR801/groupby#Select-by-Dimension","50":"/DimensionalData.jl/previews/PR801/integrations#integrations","51":"/DimensionalData.jl/previews/PR801/integrations#rasters-jl","52":"/DimensionalData.jl/previews/PR801/integrations#yaxarrays-jl","53":"/DimensionalData.jl/previews/PR801/integrations#climatebase-jl","54":"/DimensionalData.jl/previews/PR801/integrations#arviz-jl","55":"/DimensionalData.jl/previews/PR801/integrations#jump-jl","56":"/DimensionalData.jl/previews/PR801/integrations#cryogrid-jl","57":"/DimensionalData.jl/previews/PR801/integrations#dynamicgrids-jl","58":"/DimensionalData.jl/previews/PR801/integrations#astroimages-jl","59":"/DimensionalData.jl/previews/PR801/integrations#timeseriestools-jl","60":"/DimensionalData.jl/previews/PR801/object_modification#Modifying-objects","61":"/DimensionalData.jl/previews/PR801/object_modification#modify","62":"/DimensionalData.jl/previews/PR801/object_modification#reorder","63":"/DimensionalData.jl/previews/PR801/object_modification#mergedims","64":"/DimensionalData.jl/previews/PR801/object_modification#rebuild","65":"/DimensionalData.jl/previews/PR801/object_modification#rebuild-magic","66":"/DimensionalData.jl/previews/PR801/object_modification#set","67":"/DimensionalData.jl/previews/PR801/plots#plots-jl","68":"/DimensionalData.jl/previews/PR801/plots#makie-jl","69":"/DimensionalData.jl/previews/PR801/plots#Test-series-plots","70":"/DimensionalData.jl/previews/PR801/plots#default-colormap","71":"/DimensionalData.jl/previews/PR801/plots#A-different-colormap","72":"/DimensionalData.jl/previews/PR801/plots#with-markers","73":"/DimensionalData.jl/previews/PR801/selectors#selectors","74":"/DimensionalData.jl/previews/PR801/selectors#lookups","75":"/DimensionalData.jl/previews/PR801/selectors#Lookup-autodetection","76":"/DimensionalData.jl/previews/PR801/selectors#DimSelector","77":"/DimensionalData.jl/previews/PR801/stacks#dimstacks","78":"/DimensionalData.jl/previews/PR801/stacks#NamedTuple-like-indexing","79":"/DimensionalData.jl/previews/PR801/stacks#Array-like-indexing","80":"/DimensionalData.jl/previews/PR801/stacks#Reducing-functions","81":"/DimensionalData.jl/previews/PR801/stacks#performance","82":"/DimensionalData.jl/previews/PR801/tables#Tables-and-DataFrames","83":"/DimensionalData.jl/previews/PR801/tables#example","84":"/DimensionalData.jl/previews/PR801/tables#Converting-to-DataFrame","85":"/DimensionalData.jl/previews/PR801/tables#Converting-to-CSV"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,307],"1":[2,1,133],"2":[3,1,137],"3":[2,1,349],"4":[1,1,490],"5":[1,1,332],"6":[2,1,41],"7":[1,3,73],"8":[1,3,93],"9":[1,3,66],"10":[1,3,100],"11":[1,1,148],"12":[1,1,40],"13":[1,1,161],"14":[7,1,87],"15":[6,7,245],"16":[2,1,1],"17":[1,2,338],"18":[3,2,226],"19":[2,2,233],"20":[4,2,115],"21":[3,1,350],"22":[2,1,411],"23":[4,1,237],"24":[1,4,62],"25":[2,4,183],"26":[3,1,176],"27":[3,3,110],"28":[1,1,102],"29":[1,1,222],"30":[6,1,75],"31":[2,1,256],"32":[3,1,129],"33":[2,1,118],"34":[1,1,92],"35":[3,1,77],"36":[2,1,68],"37":[1,2,18],"38":[2,3,55],"39":[2,3,47],"40":[1,2,106],"41":[1,2,54],"42":[4,2,91],"43":[1,1,216],"44":[1,1,59],"45":[2,1,22],"46":[2,2,114],"47":[3,2,207],"48":[1,2,287],"49":[3,2,141],"50":[1,1,1],"51":[2,1,69],"52":[2,1,38],"53":[2,1,12],"54":[2,1,18],"55":[2,1,24],"56":[2,1,18],"57":[2,1,34],"58":[2,1,15],"59":[2,1,9],"60":[2,1,39],"61":[1,2,83],"62":[1,2,82],"63":[1,2,23],"64":[1,2,188],"65":[2,3,51],"66":[1,2,135],"67":[2,1,51],"68":[2,1,66],"69":[3,2,1],"70":[2,5,21],"71":[3,5,32],"72":[2,5,19],"73":[1,1,198],"74":[1,1,215],"75":[2,1,157],"76":[1,1,319],"77":[1,1,89],"78":[3,1,171],"79":[3,1,127],"80":[2,1,139],"81":[1,1,69],"82":[3,1,71],"83":[1,3,115],"84":[3,3,251],"85":[3,3,85]},"averageFieldLength":[2.0232558139534884,1.744186046511628,125.98837209302317],"storedFields":{"0":{"title":"Dimensions","titles":[]},"1":{"title":"Exported methods","titles":["Dimensions"]},"2":{"title":"Non-exported methods","titles":["Dimensions"]},"3":{"title":"Primitive methods","titles":["Dimensions"]},"4":{"title":"Lookups","titles":[]},"5":{"title":"Selectors","titles":["Lookups"]},"6":{"title":"Lookup traits","titles":["Lookups"]},"7":{"title":"Order","titles":["Lookups","Lookup traits"]},"8":{"title":"Span","titles":["Lookups","Lookup traits"]},"9":{"title":"Sampling","titles":["Lookups","Lookup traits"]},"10":{"title":"Positions","titles":["Lookups","Lookup traits"]},"11":{"title":"Metadata","titles":["Lookups"]},"12":{"title":"Installation","titles":[]},"13":{"title":"Basics","titles":[]},"14":{"title":"Dimensional broadcasts with @d and broadcast_dims","titles":[]},"15":{"title":"Example: scaling along the time dimension","titles":["Dimensional broadcasts with @d and broadcast_dims"]},"16":{"title":"API Reference","titles":[]},"17":{"title":"Arrays","titles":["API Reference"]},"18":{"title":"Multi-array datasets","titles":["API Reference"]},"19":{"title":"Dimension generators","titles":["API Reference"]},"20":{"title":"Tables.jl/TableTraits.jl interface","titles":["API Reference"]},"21":{"title":"Group by methods","titles":[]},"22":{"title":"Utility methods","titles":[]},"23":{"title":"Global lookup strictness settings","titles":[]},"24":{"title":"Name","titles":["Global lookup strictness settings"]},"25":{"title":"Internal interface","titles":["Global lookup strictness settings"]},"26":{"title":"CUDA & GPUs","titles":[]},"27":{"title":"GPU Integration goals","titles":["CUDA & GPUs"]},"28":{"title":"Dimensions","titles":[]},"29":{"title":"DimArrays","titles":[]},"30":{"title":"Constructing DimArray with arbitrary dimension names","titles":["DimArrays"]},"31":{"title":"Dimensional Indexing","titles":["DimArrays"]},"32":{"title":"Begin End indexing","titles":["DimArrays"]},"33":{"title":"dims keywords","titles":["DimArrays"]},"34":{"title":"Performance","titles":["DimArrays"]},"35":{"title":"DiskArrays.jl compatibility","titles":[]},"36":{"title":"Extending DimensionalData","titles":[]},"37":{"title":"dims","titles":["Extending DimensionalData"]},"38":{"title":"Dimension axes","titles":["Extending DimensionalData","dims"]},"39":{"title":"dims keywords","titles":["Extending DimensionalData","dims"]},"40":{"title":"rebuild","titles":["Extending DimensionalData"]},"41":{"title":"format","titles":["Extending DimensionalData"]},"42":{"title":"Interfaces.jl interface testing","titles":["Extending DimensionalData"]},"43":{"title":"Getters","titles":[]},"44":{"title":"Predicates","titles":["Getters"]},"45":{"title":"Group By","titles":[]},"46":{"title":"Grouping functions","titles":["Group By"]},"47":{"title":"Grouping and reducing","titles":["Group By"]},"48":{"title":"Binning","titles":["Group By"]},"49":{"title":"Select by Dimension","titles":["Group By"]},"50":{"title":"Integrations","titles":[]},"51":{"title":"Rasters.jl","titles":["Integrations"]},"52":{"title":"YAXArrays.jl","titles":["Integrations"]},"53":{"title":"ClimateBase.jl","titles":["Integrations"]},"54":{"title":"ArviZ.jl","titles":["Integrations"]},"55":{"title":"JuMP.jl","titles":["Integrations"]},"56":{"title":"CryoGrid.jl","titles":["Integrations"]},"57":{"title":"DynamicGrids.jl","titles":["Integrations"]},"58":{"title":"AstroImages.jl","titles":["Integrations"]},"59":{"title":"TimeseriesTools.jl","titles":["Integrations"]},"60":{"title":"Modifying objects","titles":[]},"61":{"title":"modify","titles":["Modifying objects"]},"62":{"title":"reorder","titles":["Modifying objects"]},"63":{"title":"mergedims","titles":["Modifying objects"]},"64":{"title":"rebuild","titles":["Modifying objects"]},"65":{"title":"rebuild magic","titles":["Modifying objects","rebuild"]},"66":{"title":"set","titles":["Modifying objects"]},"67":{"title":"Plots.jl","titles":[]},"68":{"title":"Makie.jl","titles":[]},"69":{"title":"Test series plots","titles":["Makie.jl"]},"70":{"title":"default colormap","titles":["Makie.jl","Test series plots"]},"71":{"title":"A different colormap","titles":["Makie.jl","Test series plots"]},"72":{"title":"with markers","titles":["Makie.jl","Test series plots"]},"73":{"title":"Selectors","titles":[]},"74":{"title":"Lookups","titles":["Selectors"]},"75":{"title":"Lookup autodetection","titles":["Selectors"]},"76":{"title":"DimSelector","titles":["Selectors"]},"77":{"title":"DimStacks","titles":[]},"78":{"title":"NamedTuple-like indexing","titles":["DimStacks"]},"79":{"title":"Array-like indexing","titles":["DimStacks"]},"80":{"title":"Reducing functions","titles":["DimStacks"]},"81":{"title":"Performance","titles":["DimStacks"]},"82":{"title":"Tables and DataFrames","titles":[]},"83":{"title":"Example","titles":["Tables and DataFrames"]},"84":{"title":"Converting to DataFrame","titles":["Tables and DataFrames"]},"85":{"title":"Converting to CSV","titles":["Tables and DataFrames"]}},"dirtCount":0,"index":[["q",{"2":{"84":1}}],["quite",{"2":{"64":1}}],["quick",{"2":{"48":1}}],["quarters",{"2":{"21":1}}],["quantity",{"2":{"5":1}}],["quot",{"2":{"3":2,"6":2,"17":4,"28":2}}],["query",{"2":{"1":16,"3":6,"17":16,"43":1}}],["─────┼──────────────────────────────────────────────────────────────────────────",{"2":{"84":1}}],["──────┼───────────────────────────────────────────",{"2":{"84":1}}],["──────┼───────────────────────────────────────────────",{"2":{"84":1}}],["──────┼──────────────────────────────────",{"2":{"84":1}}],["⋯",{"2":{"84":6}}],["$st",{"2":{"81":2}}],["$da4",{"2":{"34":2}}],["▃",{"2":{"34":1}}],["▃▁▁▁▁▁▁▁▁▁▁▁▁██▆▁▁▁▁▁▁▁▁▁▁▁██▁▁▁▁▁▁▁▁▁▁▁▁▁██▅▁▁▁▁▁▁▁▁▁▁▁██",{"2":{"34":1}}],["█",{"2":{"34":2}}],["▂",{"2":{"34":4}}],["▅█▁▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▄▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂▁▂▁▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂▂",{"2":{"34":1}}],["▅█",{"2":{"34":2}}],["σ",{"2":{"34":4}}],["±",{"2":{"34":8}}],["┊",{"2":{"34":6}}],["~",{"2":{"32":2}}],["└",{"2":{"32":2}}],["└──────────────────────┘",{"2":{"17":4}}],["└─────────────────────────────────┘",{"2":{"30":1,"31":1}}],["└────────────────────────────────────────────────────────┘",{"2":{"23":1}}],["└───────────────────────────────────────────────────────────┘",{"2":{"17":1}}],["└────────────────────────────────────────────────────────────────┘",{"2":{"29":11,"30":1,"31":1,"32":2,"34":1,"61":3,"66":1}}],["└────────────────────────────────────────────────────────────────────┘",{"2":{"26":1}}],["└────────────────────────────────────────────────────────────────────────┘",{"2":{"21":1}}],["└─────────────────────────────────────────────────────────────────────────┘",{"2":{"19":1,"22":3}}],["└───────────────────────────────────────────────────────────────────────────┘",{"2":{"22":1}}],["└──────────────────────────────────────────────────────────────────────────────┘",{"2":{"0":3,"5":1,"13":3,"15":8,"31":2,"33":2,"43":1,"47":8,"48":11,"49":3,"62":2,"64":2,"66":5,"73":15,"74":1,"75":1,"76":5,"77":1,"78":8,"79":1,"80":25,"83":2,"84":1}}],["└──────────────────────────────────────────────────────────────────────────┘",{"2":{"4":1}}],["└───────────────────────────────────────────────────────────────────────┘",{"2":{"21":2}}],["└─────────────────────────────────────────────────────────────────────┘",{"2":{"17":3,"22":1}}],["└─────────────────────────────────────────────────────────────────┘",{"2":{"19":2}}],["└─────────────────────────────────────────────────────────────┘",{"2":{"5":1,"17":1}}],["└────────────────────────────────────────────────────────────┘",{"2":{"5":2}}],["└─────────────────────────────────────────────┘",{"2":{"19":1}}],["└─────────────────────────────┘",{"2":{"20":1}}],["└───────────────────────────┘",{"2":{"1":1,"3":1,"17":1}}],["┌",{"2":{"32":2}}],["├───────────────┴────────────────────────────────────────────────────────",{"2":{"77":1,"78":6,"80":24}}],["├────────────────┴───────────────────────────────────────────────────────",{"2":{"84":1}}],["├───────────────────┴────────────────────────────────────────────────────",{"2":{"83":1}}],["├────────────────────┴───────────────────────────────────────────────────",{"2":{"79":1}}],["├─────────────────────┴──────────────────────────────────────────────────",{"2":{"80":1}}],["├──────────────────────┴───────────────────────────────────",{"2":{"61":2}}],["├────────────────────────┴─────────────────────────────────",{"2":{"29":1}}],["├─────────────────────────┴────────────────────────────────",{"2":{"30":1,"32":2,"34":1}}],["├─────────────────────────┴─────────────────────────────────",{"2":{"19":2}}],["├─────────────────────────┴─────────────────────────────────────────",{"2":{"19":1,"22":3}}],["├─────────────────────────┴───────────────────────────────────────────",{"2":{"22":1}}],["├─────────────────────────┴──────────────────────────────────────────────",{"2":{"13":2,"31":1,"73":13,"75":1,"76":3}}],["├─────────────────────────┴──────────────────────────────────────────",{"2":{"4":1}}],["├─────────────────────────┴─────────────────────────────────────",{"2":{"17":3,"22":1}}],["├───────────────────────────┴────────────────────────────────────────────",{"2":{"33":2,"43":1,"76":1}}],["├─────────────────────────────┴────────────────────────────",{"2":{"29":1}}],["├─────────────────────────────┴──────────────────────────────────────────",{"2":{"13":1}}],["├───────────────────────────────┴",{"2":{"30":1,"31":1}}],["├───────────────────────────────┴──────────────────────────",{"2":{"29":2}}],["├───────────────────────────────┴──────────────────────────────",{"2":{"26":1}}],["├───────────────────────────────┴────────────────────────────────────────",{"2":{"15":4,"47":1,"48":3,"73":2}}],["├─────────────────────────────────┴──────────────────────────────────────",{"2":{"47":3,"78":1}}],["├───────────────────────────────────┴────────────────────────────────────",{"2":{"64":1,"83":1}}],["├───────────────────────────────────┴──────────────────────",{"2":{"29":1}}],["├────────────────────────────────────────────┴───────────────────────────",{"2":{"74":1}}],["├──────────────────────────────────────────────────┴─────────────────────",{"2":{"48":7}}],["├────────────────────────────────────────────────────────",{"2":{"61":1}}],["├───────────────────────────────────────────────────────────",{"2":{"21":1}}],["├──────────────────────────────────────────────────────────────────",{"2":{"47":1,"48":8,"49":1}}],["├──────────────────────────────────────────────────────────────────────",{"2":{"77":1,"78":6,"79":1,"80":25,"83":1,"84":1}}],["├────────────────────────────────────────────────────────────────────",{"2":{"47":7,"48":11,"49":2,"64":1}}],["├──────────────────────────────────────────────────────────────",{"2":{"21":1}}],["├─────────────────────────────────────────────────────────────",{"2":{"21":2}}],["├──────────────────────────────────────────────────────┴─────────────────",{"2":{"49":1}}],["├──────────────────────────────────────────────────────",{"2":{"29":5}}],["├───────────────────────────────────────────────────┴────────────────────",{"2":{"47":1,"48":1}}],["├───────────────────────────────────────────────────┴─────────────",{"2":{"21":1}}],["├────────────────────────────────────────────────",{"2":{"23":1}}],["├────────────────────────────────────────┴───────────────────────────────",{"2":{"15":1}}],["├───────────────────────────────────────",{"2":{"19":1}}],["├───────────────────────────────────────┴─────────────",{"2":{"17":1}}],["├───────────────────────────────────────┴───────────────",{"2":{"17":1}}],["├──────────────────────────────────────┴─────────────────────────────────",{"2":{"15":1}}],["├────────────────────────────────┴─────────────────────────",{"2":{"29":1}}],["├────────────────────────────────┴────────────────────────────────",{"2":{"21":1}}],["├────────────────────────────────┴───────────────────────────────────────",{"2":{"0":1,"15":2,"47":3}}],["├────────────────────────────┴───────────────────────────────────────────",{"2":{"0":1,"31":1,"49":2,"76":1,"78":1}}],["├──────────────────────────┴───────────────────────────────",{"2":{"29":5,"31":1,"66":1}}],["├──────────────────────────┴───────────────────────────────────────",{"2":{"21":1}}],["├──────────────────────────┴─────────────────────────────────────────────",{"2":{"0":1,"62":2,"64":1,"66":5}}],["├───────────────────────",{"2":{"20":1}}],["├───────────────────────┴────────────────────────────────────────────────",{"2":{"5":1}}],["├───────────────────────┴───────────────────────────────",{"2":{"5":1}}],["├───────────────────────┴──────────────────────────────",{"2":{"5":2}}],["├─────────────────────",{"2":{"1":1,"3":1,"17":1}}],["├────────────────",{"2":{"17":4}}],["├──────────────┴───────────────────────────────────────────",{"2":{"61":1}}],["├──────────────┴───────────────────────────────────",{"2":{"23":1}}],["╭────────────────╮",{"2":{"84":1}}],["╭───────────────────╮",{"2":{"83":1}}],["╭─────────────────────╮",{"2":{"80":1}}],["╭──────────────────────╮",{"2":{"17":4,"61":2}}],["╭────────────────────────╮",{"2":{"29":1}}],["╭─────────────────────────╮",{"2":{"4":1,"13":2,"17":3,"19":3,"22":5,"30":1,"31":1,"32":2,"34":1,"73":13,"75":1,"76":3}}],["╭───────────────────────────╮",{"2":{"1":1,"3":1,"17":1,"33":2,"43":1,"76":1}}],["╭───────────────────────────────╮",{"2":{"15":4,"26":1,"29":2,"30":1,"31":1,"47":1,"48":3,"73":2}}],["╭─────────────────────────────────╮",{"2":{"47":3,"78":1}}],["╭───────────────────────────────────╮",{"2":{"29":1,"64":1,"83":1}}],["╭────────────────────────────────────────────╮",{"2":{"74":1}}],["╭──────────────────────────────────────────────────────╮",{"2":{"49":1}}],["╭───────────────────────────────────────────────────╮",{"2":{"21":1,"47":1,"48":1}}],["╭──────────────────────────────────────────────────╮",{"2":{"48":7}}],["╭─────────────────────────────────────────────╮",{"2":{"19":1}}],["╭────────────────────────────────────────╮",{"2":{"15":1}}],["╭───────────────────────────────────────╮",{"2":{"17":2}}],["╭──────────────────────────────────────╮",{"2":{"15":1}}],["╭────────────────────────────────╮",{"2":{"0":1,"15":2,"21":1,"29":1,"47":3}}],["╭─────────────────────────────╮",{"2":{"13":1,"20":1,"29":1}}],["╭────────────────────────────╮",{"2":{"0":1,"31":1,"49":2,"76":1,"78":1}}],["╭──────────────────────────╮",{"2":{"0":1,"21":1,"29":5,"31":1,"62":2,"64":1,"66":6}}],["╭───────────────────────╮",{"2":{"5":4}}],["╭────────────────────╮",{"2":{"79":1}}],["╭───────────────╮",{"2":{"77":1,"78":6,"80":24}}],["╭──────────────╮",{"2":{"23":1,"61":1}}],["+",{"2":{"22":3,"80":2}}],["⋱",{"2":{"15":5,"26":1,"47":1,"49":2,"76":2,"83":1,"84":1}}],["⋮",{"2":{"15":10,"21":3,"26":1,"46":8,"47":9,"48":3,"49":3,"76":3,"79":1,"83":2,"84":24,"85":1}}],["|>",{"2":{"13":1}}],["𝐓",{"2":{"5":2}}],[">=",{"2":{"73":1}}],[">",{"2":{"5":3,"18":1,"48":2,"73":1}}],["94",{"2":{"84":1}}],["9447511416331498",{"2":{"85":1}}],["944751",{"2":{"84":2}}],["94412",{"2":{"31":1}}],["947312",{"2":{"83":1}}],["947741",{"2":{"29":1}}],["9436941638102098",{"2":{"79":1}}],["946655",{"2":{"76":1}}],["946824",{"2":{"43":1}}],["94196",{"2":{"76":1}}],["941133",{"2":{"19":1}}],["942925",{"2":{"75":1}}],["94018e",{"2":{"47":1}}],["948976",{"2":{"43":1}}],["948512",{"2":{"29":3}}],["945371",{"2":{"31":1}}],["949105",{"2":{"29":3}}],["936495",{"2":{"84":1}}],["938732432349465",{"2":{"79":1}}],["938732",{"2":{"78":1}}],["938771",{"2":{"76":1}}],["93358",{"2":{"78":1}}],["931705",{"2":{"76":1}}],["930699",{"2":{"76":1}}],["930599",{"2":{"49":1}}],["930332",{"2":{"19":1}}],["932968",{"2":{"43":1}}],["934609",{"2":{"31":1}}],["93479",{"2":{"13":1}}],["935096",{"2":{"29":1}}],["909847",{"2":{"84":1}}],["9003647810614493",{"2":{"79":1}}],["900394",{"2":{"26":1}}],["907202",{"2":{"62":2,"64":2,"66":6}}],["904604",{"2":{"31":1}}],["904961",{"2":{"31":2}}],["90251",{"2":{"29":3}}],["90309",{"2":{"26":1}}],["906705",{"2":{"43":1}}],["906838",{"2":{"26":1}}],["90645",{"2":{"26":1}}],["9063",{"2":{"19":2}}],["90u",{"2":{"5":1}}],["925267535912165",{"2":{"79":1,"81":2}}],["925873",{"2":{"29":3}}],["92",{"2":{"76":1}}],["921567",{"2":{"84":1}}],["921958",{"2":{"83":1,"84":2}}],["921012",{"2":{"43":1}}],["921145",{"2":{"43":1}}],["920736",{"2":{"31":1}}],["92721",{"2":{"26":1}}],["92977",{"2":{"76":1}}],["929995",{"2":{"26":1}}],["929592",{"2":{"15":2}}],["924417",{"2":{"15":3}}],["991119595116132e",{"2":{"80":1}}],["9919365440188083",{"2":{"79":2,"80":2}}],["994295",{"2":{"76":1}}],["994",{"2":{"76":4}}],["990294",{"2":{"76":1}}],["992316",{"2":{"31":1}}],["993498",{"2":{"29":1}}],["999193",{"2":{"47":1}}],["99903",{"2":{"47":1}}],["99999",{"2":{"47":1}}],["999983",{"2":{"47":1}}],["999708",{"2":{"47":1}}],["999815",{"2":{"47":1}}],["999816",{"2":{"29":1}}],["999846",{"2":{"47":1}}],["999678",{"2":{"29":1}}],["999",{"2":{"26":1}}],["9982064541308482",{"2":{"80":2}}],["998",{"2":{"26":1}}],["997672",{"2":{"29":3}}],["997",{"2":{"26":1}}],["99719",{"2":{"15":1}}],["996",{"2":{"26":1}}],["995",{"2":{"26":1}}],["995683",{"2":{"26":1}}],["995899",{"2":{"15":1}}],["99",{"2":{"15":5,"47":1,"49":2,"65":2,"73":1,"84":1}}],["983904",{"2":{"84":1}}],["98893",{"2":{"84":1}}],["985377",{"2":{"83":1,"84":1}}],["98534418543618",{"2":{"80":2}}],["985407",{"2":{"76":1}}],["986606",{"2":{"76":1}}],["987",{"2":{"76":1}}],["981865",{"2":{"47":1}}],["98193",{"2":{"26":1}}],["980256",{"2":{"33":1}}],["98985",{"2":{"43":1}}],["989571",{"2":{"29":3}}],["989952",{"2":{"26":1}}],["982762",{"2":{"26":1}}],["98",{"2":{"15":5,"47":1,"49":2,"76":1,"84":1}}],["9770663775826343",{"2":{"85":1}}],["977066",{"2":{"84":2}}],["973",{"2":{"76":1}}],["973586",{"2":{"76":1}}],["973622",{"2":{"75":1}}],["970459",{"2":{"31":1}}],["97999",{"2":{"15":1}}],["974596",{"2":{"15":3}}],["97",{"2":{"15":3,"47":2,"49":1,"84":1}}],["951145",{"2":{"84":1}}],["95213",{"2":{"76":1}}],["95217",{"2":{"26":1}}],["952489",{"2":{"76":1}}],["950007",{"2":{"76":1}}],["950143",{"2":{"43":1}}],["950645",{"2":{"31":1}}],["956616",{"2":{"84":1}}],["956031",{"2":{"31":1}}],["95636",{"2":{"13":1}}],["959434",{"2":{"19":1}}],["959028",{"2":{"15":3}}],["95",{"2":{"13":1,"84":1}}],["960726",{"2":{"84":1}}],["963657",{"2":{"83":1}}],["964227",{"2":{"78":1}}],["964964",{"2":{"76":1}}],["966",{"2":{"76":1}}],["966106",{"2":{"29":2}}],["9698812177371097",{"2":{"79":1,"80":2}}],["969881",{"2":{"78":1}}],["969079",{"2":{"73":3}}],["96951",{"2":{"15":1}}],["965831",{"2":{"30":2,"32":2}}],["967865",{"2":{"15":3}}],["96",{"2":{"5":2,"47":2,"49":1,"76":1,"84":1}}],["914911",{"2":{"83":1}}],["91495",{"2":{"26":1}}],["9130495399200352",{"2":{"79":1}}],["91305",{"2":{"78":1}}],["915251",{"2":{"75":1}}],["9155",{"2":{"26":1}}],["91666",{"2":{"76":1}}],["916216",{"2":{"47":1}}],["916702",{"2":{"31":1}}],["917143",{"2":{"76":1}}],["91732",{"2":{"31":1}}],["917457",{"2":{"31":1}}],["917672",{"2":{"29":1}}],["917543",{"2":{"29":3}}],["912065",{"2":{"29":3}}],["919763",{"2":{"13":1}}],["91",{"2":{"5":2,"13":1}}],["9",{"2":{"4":2,"13":2,"15":3,"19":2,"22":2,"43":7,"46":1,"48":18,"74":1,"76":6,"78":3,"83":2,"84":4,"85":2}}],["7×5",{"2":{"75":1}}],["7×3",{"2":{"31":1}}],["750622",{"2":{"76":1}}],["750947",{"2":{"76":1}}],["750906",{"2":{"31":1}}],["753744",{"2":{"76":1}}],["753597",{"2":{"76":1}}],["75275",{"2":{"48":4}}],["758149",{"2":{"75":1}}],["758865",{"2":{"31":1}}],["75847",{"2":{"26":1}}],["754468",{"2":{"30":1,"32":2}}],["75568",{"2":{"26":1}}],["70",{"2":{"75":3}}],["706417",{"2":{"47":1}}],["706267",{"2":{"30":1,"32":2}}],["708321",{"2":{"31":1}}],["704858",{"2":{"29":1}}],["7076921858340348",{"2":{"29":1}}],["707692",{"2":{"29":2}}],["702944",{"2":{"26":1}}],["70597",{"2":{"13":1}}],["738445",{"2":{"84":1}}],["734751",{"2":{"76":1}}],["735973",{"2":{"78":1}}],["73591",{"2":{"26":1}}],["735391",{"2":{"76":1}}],["73",{"2":{"48":1}}],["730",{"2":{"47":2}}],["73011",{"2":{"33":1}}],["736525",{"2":{"47":1}}],["73623",{"2":{"26":1}}],["736214",{"2":{"15":3}}],["739241",{"2":{"31":1}}],["7938317326707394",{"2":{"85":1}}],["793832",{"2":{"84":2}}],["793532",{"2":{"78":1}}],["798655984630017",{"2":{"85":1}}],["798656",{"2":{"84":2}}],["798",{"2":{"76":2}}],["795274",{"2":{"76":1}}],["791844",{"2":{"75":1}}],["792553",{"2":{"75":1}}],["792885",{"2":{"15":5}}],["794017",{"2":{"31":2}}],["794163",{"2":{"31":1}}],["790283",{"2":{"15":3}}],["729706",{"2":{"76":1}}],["728852",{"2":{"76":1}}],["728611",{"2":{"15":2}}],["72217",{"2":{"75":1}}],["727464",{"2":{"76":2}}],["727997",{"2":{"49":1}}],["727149",{"2":{"43":1}}],["727554",{"2":{"31":1}}],["721331",{"2":{"31":1}}],["724709",{"2":{"29":1}}],["723438",{"2":{"29":2}}],["725738",{"2":{"15":3}}],["72",{"2":{"13":1,"48":1}}],["773256",{"2":{"84":1}}],["775634",{"2":{"78":1}}],["770101",{"2":{"76":1}}],["770553",{"2":{"62":2,"64":2,"66":6}}],["777391",{"2":{"76":2}}],["772277",{"2":{"73":5}}],["778122",{"2":{"78":1}}],["778166",{"2":{"29":2}}],["778222",{"2":{"26":1}}],["774092",{"2":{"17":1,"19":1}}],["774731",{"2":{"13":1}}],["77",{"2":{"13":1}}],["74172",{"2":{"83":1,"84":1}}],["74191",{"2":{"29":1}}],["743407",{"2":{"83":1}}],["747615",{"2":{"76":1}}],["748884",{"2":{"76":1}}],["748041",{"2":{"73":8}}],["749553",{"2":{"78":1}}],["749731",{"2":{"75":1}}],["749267",{"2":{"47":1,"49":2}}],["749253",{"2":{"43":1}}],["745856",{"2":{"66":1}}],["745673",{"2":{"17":1,"19":2}}],["742852",{"2":{"49":1}}],["74204",{"2":{"15":2}}],["740523",{"2":{"29":1}}],["740735",{"2":{"29":1}}],["74",{"2":{"13":2}}],["7683418213117802",{"2":{"85":1}}],["768342",{"2":{"84":2}}],["768924169642427",{"2":{"85":1}}],["768924",{"2":{"84":2}}],["768488",{"2":{"73":3}}],["76448",{"2":{"78":1}}],["764613",{"2":{"29":3}}],["767151",{"2":{"76":1}}],["76547e",{"2":{"47":1}}],["762533",{"2":{"47":1}}],["762794",{"2":{"13":1}}],["760111",{"2":{"33":1}}],["760205",{"2":{"29":3}}],["761212",{"2":{"31":1}}],["76163",{"2":{"15":3}}],["769313",{"2":{"31":1}}],["76",{"2":{"13":2}}],["713814",{"2":{"84":1}}],["7140841681506571",{"2":{"79":1}}],["714084",{"2":{"78":1}}],["714286",{"2":{"30":1,"32":2}}],["717841",{"2":{"76":1}}],["717006",{"2":{"76":1}}],["712342",{"2":{"76":2}}],["712711",{"2":{"29":1}}],["715102",{"2":{"43":1}}],["711133",{"2":{"73":12}}],["711714",{"2":{"33":1}}],["71194",{"2":{"29":1}}],["719779",{"2":{"84":1}}],["719495",{"2":{"31":1}}],["719974",{"2":{"26":1}}],["710967",{"2":{"29":3}}],["71",{"2":{"13":2}}],["789667",{"2":{"84":1}}],["789637",{"2":{"49":2}}],["781497",{"2":{"78":1}}],["788252",{"2":{"76":1}}],["786147",{"2":{"31":1}}],["7802406914680406",{"2":{"79":1}}],["78028",{"2":{"26":1}}],["780196",{"2":{"29":1}}],["780132",{"2":{"29":2}}],["78",{"2":{"13":3}}],["7",{"2":{"4":4,"5":5,"13":1,"15":5,"29":102,"31":6,"43":9,"46":10,"47":1,"48":5,"74":1,"75":1,"78":3,"80":21,"83":1,"84":12,"85":2}}],["rows",{"2":{"84":4}}],["row",{"2":{"84":4}}],["rot180",{"2":{"80":2}}],["rotr90",{"2":{"80":2}}],["rotl90",{"2":{"80":2}}],["rotated",{"2":{"4":1,"80":1}}],["rotations",{"2":{"3":1}}],["runtime",{"2":{"34":1}}],["running",{"2":{"26":1,"48":1}}],["rule",{"2":{"23":2}}],["r",{"2":{"17":2,"84":1}}],["right",{"2":{"13":3,"66":2,"68":2}}],["rtol=nothing",{"2":{"5":1}}],["rainclouds",{"2":{"68":1}}],["raw",{"2":{"48":1}}],["rarely",{"2":{"35":1}}],["rasterization",{"2":{"51":1}}],["rasterize",{"2":{"5":1}}],["raster",{"2":{"36":1,"51":3}}],["rasterstack",{"2":{"36":1,"51":1}}],["rasters",{"0":{"51":1},"2":{"4":3,"22":1,"35":1,"36":1,"51":2,"52":1}}],["randn",{"2":{"23":2}}],["random",{"2":{"17":3}}],["rand",{"2":{"4":3,"13":3,"15":1,"17":9,"19":3,"21":1,"22":1,"26":1,"29":6,"30":1,"31":1,"33":1,"42":4,"43":1,"47":1,"62":1,"68":1,"70":1,"73":1,"75":1,"76":3,"78":3,"83":2}}],["ranges",{"2":{"5":1,"21":1,"32":1,"48":6,"73":3,"75":4}}],["range",{"2":{"4":2,"5":4,"17":2,"22":1,"34":2,"41":1,"46":2,"48":1,"51":1,"73":1,"75":1}}],["rather",{"2":{"3":1,"4":2,"5":1,"9":1,"21":2,"27":1,"60":1,"62":1}}],["red",{"2":{"71":1,"72":1}}],["reductions",{"2":{"17":1,"35":1}}],["reducing",{"0":{"47":1,"80":1},"2":{"17":1,"21":3}}],["reduce",{"2":{"3":1,"21":2,"33":1,"80":2}}],["reduced",{"2":{"3":1}}],["reducedims",{"2":{"3":1}}],["receive",{"2":{"40":1}}],["reconstruction",{"2":{"17":1,"40":1}}],["recommended",{"2":{"12":1}}],["rev",{"2":{"22":2}}],["reversal",{"2":{"22":1}}],["reverseordered",{"2":{"4":5,"7":3,"43":15,"44":14,"48":1,"62":5,"75":2,"76":2,"80":8}}],["reverse",{"2":{"4":1,"7":1,"22":4,"33":1,"43":1,"62":1,"80":1}}],["reversed",{"2":{"4":1}}],["reordering",{"2":{"22":1}}],["reorder",{"0":{"62":1},"2":{"22":8,"62":4,"68":1}}],["relationships",{"2":{"35":1}}],["related",{"2":{"27":1}}],["relying",{"2":{"21":1}}],["reliable",{"2":{"4":1}}],["reasons",{"2":{"51":1}}],["reason",{"2":{"27":1,"51":1}}],["readlines",{"2":{"85":1}}],["read",{"2":{"25":2}}],["reading",{"2":{"21":1}}],["real",{"2":{"4":1}}],["really",{"2":{"3":1,"65":1}}],["remove",{"2":{"23":4}}],["removed",{"2":{"5":1}}],["removing",{"2":{"18":1}}],["rebuilt",{"2":{"17":1,"22":1,"60":1}}],["rebuilding",{"2":{"22":1}}],["rebuild",{"0":{"40":1,"64":1,"65":1},"1":{"65":1},"2":{"4":2,"17":3,"18":2,"22":6,"25":54,"27":1,"36":1,"40":7,"42":40,"64":6,"65":2,"66":1}}],["restored",{"2":{"22":1}}],["reshaping",{"2":{"22":2}}],["reshape",{"2":{"14":1,"63":1}}],["resshape",{"2":{"22":1}}],["resolve",{"2":{"18":1,"32":1}}],["result",{"2":{"5":1,"18":1,"22":3,"26":1,"32":1,"82":1}}],["results",{"2":{"5":2,"21":2,"67":1}}],["requires",{"2":{"39":1,"48":1}}],["require",{"2":{"9":1}}],["required",{"2":{"0":1,"3":1,"11":1,"20":1,"22":4,"27":1}}],["repl",{"2":{"74":1}}],["replaces",{"2":{"3":1,"27":1}}],["replaced",{"2":{"3":1,"8":1}}],["replace",{"2":{"3":2,"22":1,"61":1}}],["represents",{"2":{"38":1,"77":1}}],["representing",{"2":{"4":1}}],["represent",{"2":{"4":1,"10":1}}],["refdim",{"2":{"25":1}}],["refdims=refdims",{"2":{"18":1}}],["refdims=",{"2":{"17":1}}],["refdims",{"2":{"17":9,"22":2,"25":21,"40":1,"42":12,"64":2}}],["refence",{"2":{"17":1}}],["reference",{"0":{"16":1},"1":{"17":1,"18":1,"19":1,"20":1},"2":{"3":2,"17":3,"25":1,"36":1}}],["refer",{"2":{"0":1,"9":1}}],["ref",{"2":{"3":1}}],["rewraps",{"2":{"3":1}}],["retrieved",{"2":{"28":1}}],["retrieves",{"2":{"5":1,"43":1}}],["retrieve",{"2":{"2":1,"5":1,"43":1}}],["returning",{"2":{"3":1,"11":1,"23":2,"80":1}}],["returns",{"2":{"2":1,"3":3,"5":1,"11":2,"17":3,"18":2,"19":1,"21":1,"25":2,"42":2,"43":1,"48":3,"79":1}}],["returned",{"2":{"1":1,"3":2,"4":1,"11":1,"17":1,"21":2,"22":4,"28":1,"44":1}}],["return",{"2":{"1":3,"3":3,"4":8,"5":2,"17":6,"18":7,"21":7,"22":7,"37":1,"38":2,"39":2,"43":1,"44":1,"46":1,"79":2,"81":1}}],["regular",{"2":{"0":5,"2":1,"4":7,"5":4,"8":4,"10":2,"13":4,"14":2,"15":19,"17":5,"19":2,"20":1,"21":2,"22":9,"23":1,"26":3,"31":2,"36":1,"39":1,"43":30,"44":28,"47":2,"48":1,"49":5,"62":2,"64":2,"66":5,"73":7,"74":3,"75":3,"76":6,"77":2,"78":15,"79":1,"80":49,"83":4,"84":2}}],["k",{"2":{"84":1}}],["kind",{"2":{"46":1}}],["kinds",{"2":{"17":4,"29":1}}],["knowing",{"2":{"31":1}}],["knows",{"2":{"15":1,"36":1}}],["know",{"2":{"14":1,"21":1,"64":1,"65":1}}],["known",{"2":{"4":5,"10":1,"31":1}}],["kw",{"2":{"3":5,"4":1,"5":1,"11":1,"17":10,"18":5,"22":3,"25":17,"40":2,"42":10,"64":2}}],["kernels",{"2":{"27":1}}],["kernelabstractions",{"2":{"27":1}}],["kernel",{"2":{"27":1}}],["keeping",{"2":{"3":1}}],["keep",{"2":{"3":1,"22":2,"24":1,"48":1}}],["key",{"2":{"23":3,"36":1,"82":1}}],["keys=",{"2":{"23":2}}],["keys=keys",{"2":{"23":2}}],["keys",{"2":{"0":1,"11":2,"18":1,"23":2,"25":4,"48":1,"78":2}}],["keywords",{"0":{"33":1,"39":1},"2":{"3":2,"4":2,"17":4,"19":2,"20":1,"21":5,"22":1,"23":1,"25":5,"30":1,"32":1,"33":1,"40":1,"41":1,"42":2,"64":4,"65":1}}],["keyword",{"2":{"0":1,"4":3,"5":1,"17":1,"18":1,"21":1,"22":2,"23":1,"39":1,"40":2,"65":1}}],["kept",{"2":{"0":1,"3":1}}],["┤",{"2":{"1":1,"3":1,"17":5,"19":1,"20":1,"21":4,"23":1,"29":5,"47":8,"48":19,"49":3,"61":1,"64":1,"77":1,"78":6,"79":1,"80":25,"83":1,"84":1}}],["u",{"2":{"84":1}}],["utility",{"0":{"22":1}}],["updating",{"2":{"40":1}}],["update",{"2":{"22":3}}],["updates",{"2":{"17":1,"25":6,"42":6}}],["updated",{"2":{"3":2,"22":4,"25":6,"42":6}}],["upperbound",{"2":{"8":1}}],["upper",{"2":{"5":1,"8":1}}],["unrolled",{"2":{"82":1}}],["unambiguous",{"2":{"43":1}}],["unaltered",{"2":{"4":1}}],["unaligned",{"2":{"4":4}}],["unclosed",{"2":{"25":1}}],["unmerged",{"2":{"22":1}}],["unmergedims",{"2":{"22":2}}],["unmatched",{"2":{"1":1,"17":1}}],["unknown",{"2":{"19":1,"75":1}}],["underneath",{"2":{"65":1}}],["underlying",{"2":{"1":1,"17":1,"23":1}}],["undefined",{"2":{"4":1,"17":2,"21":1,"41":1}}],["unless",{"2":{"4":4,"5":1,"32":1,"75":1,"82":1}}],["unlike",{"2":{"3":2,"11":1,"19":1,"66":1}}],["unordered",{"2":{"4":6,"7":3,"48":3,"66":2,"74":2,"75":2}}],["unitrange",{"2":{"21":2,"48":3,"73":2}}],["unit",{"2":{"11":2}}],["unitful",{"2":{"5":3}}],["units",{"2":{"2":1,"11":5}}],["unionall",{"2":{"3":1}}],["union",{"2":{"2":1,"3":1,"4":5,"5":1,"11":3,"21":2,"22":2,"24":1}}],["usual",{"2":{"14":1}}],["usually",{"2":{"0":1,"3":2,"17":1,"39":1,"46":1,"66":1,"73":1,"74":2,"81":1}}],["us",{"2":{"11":1,"28":1,"31":1,"66":1}}],["user",{"2":{"35":1}}],["uses",{"2":{"4":1,"8":1,"27":2,"28":1,"56":1,"59":1,"64":1}}],["useful",{"2":{"1":1,"3":3,"4":6,"19":1,"22":1,"43":1,"61":1,"64":1}}],["use",{"2":{"0":3,"3":1,"4":2,"5":3,"7":1,"11":1,"12":1,"15":1,"17":2,"18":3,"19":1,"22":3,"23":4,"24":3,"26":1,"30":1,"31":1,"32":1,"40":1,"44":1,"47":1,"48":5,"64":1,"73":1,"76":1,"82":1}}],["used",{"2":{"0":7,"2":1,"3":4,"4":7,"5":6,"6":1,"8":1,"9":1,"10":7,"18":2,"19":4,"21":9,"22":4,"23":1,"28":1,"31":2,"32":2,"33":1,"35":1,"40":3,"43":1,"46":1,"47":1,"57":1,"64":1,"68":1,"74":1,"75":3}}],["using",{"2":{"0":2,"1":4,"3":1,"4":5,"5":3,"11":2,"12":2,"13":1,"15":2,"17":10,"18":1,"19":2,"20":2,"21":1,"22":6,"23":3,"27":1,"28":1,"29":1,"30":1,"32":1,"33":1,"34":1,"40":2,"42":1,"43":3,"46":2,"47":1,"61":1,"62":1,"73":2,"74":1,"77":1,"81":1,"83":2,"84":2}}],["v",{"2":{"84":1}}],["visualise",{"2":{"58":1}}],["via",{"2":{"35":1}}],["views",{"2":{"23":2,"56":1}}],["view",{"2":{"3":1,"17":1,"18":2,"19":1,"32":1}}],["very",{"2":{"18":2,"52":1,"64":1,"81":1}}],["versions",{"2":{"40":2}}],["version",{"2":{"12":1,"18":1,"22":2,"40":1,"64":1,"65":1,"82":1}}],["vectors",{"2":{"3":1,"31":1,"73":3}}],["vector",{"2":{"0":1,"4":2,"5":6,"18":1,"21":11,"22":2,"31":2,"43":2,"46":8,"48":4,"73":5,"74":3,"79":2,"85":1}}],["var",{"2":{"33":1,"80":2}}],["variable",{"2":{"22":1,"60":1,"68":1}}],["vararg",{"2":{"1":4,"2":3,"3":6,"4":5,"17":10,"18":2,"20":1,"22":3,"25":1,"31":1}}],["valtype",{"2":{"3":1}}],["valid",{"2":{"3":1}}],["val",{"2":{"2":2,"3":1,"4":4,"11":1,"22":5,"28":2,"39":2,"43":3,"64":4}}],["val=",{"2":{"0":5}}],["value",{"2":{"0":1,"3":2,"4":2,"5":15,"8":1,"9":1,"10":1,"17":5,"18":3,"19":1,"21":7,"24":1,"28":1,"29":1,"30":1,"43":2,"73":4,"81":1}}],["values=autovalues",{"2":{"4":1}}],["values",{"2":{"0":1,"2":1,"3":4,"4":15,"5":17,"7":1,"9":2,"10":6,"14":1,"17":1,"18":3,"19":5,"21":8,"22":3,"23":5,"25":1,"38":1,"40":1,"46":1,"48":5,"60":1,"63":1,"64":1,"66":2,"67":1,"73":5,"74":5,"75":3,"76":1,"79":2}}],["`refdims`",{"2":{"42":2}}],["`dims`",{"2":{"42":2}}],["`da`",{"2":{"22":1}}],["`cuarray`",{"2":{"26":1}}],["`modify`",{"2":{"26":1}}],["`openinterval",{"2":{"5":1}}],["`",{"2":{"0":1,"22":2}}],["nanoseconds",{"2":{"81":1}}],["name=nothing",{"2":{"18":1}}],["name=noname",{"2":{"17":1}}],["name=",{"2":{"15":1,"17":1,"18":3,"22":1,"29":5,"64":1,"83":1}}],["names",{"0":{"30":1},"2":{"14":1,"20":1,"22":2,"23":4,"24":1,"28":2,"30":1,"43":1,"73":1,"74":1}}],["name2dim",{"2":{"3":3}}],["name",{"0":{"24":1},"2":{"2":1,"14":1,"17":10,"20":2,"22":4,"24":11,"25":4,"27":3,"28":2,"30":1,"40":1,"42":4,"64":2,"73":1,"77":1,"78":2,"82":2}}],["namedtuple",{"0":{"78":1},"2":{"11":3,"15":1,"18":12,"22":3,"25":2,"77":2,"78":1,"79":4,"81":1}}],["named",{"2":{"0":1,"10":2,"24":1,"28":1,"29":1,"32":1,"55":1,"71":1}}],["n=rand",{"2":{"78":1}}],["nt",{"2":{"65":2}}],["ntuple",{"2":{"1":3,"2":3,"17":5}}],["night",{"2":{"48":4}}],["nice",{"2":{"48":1}}],["ncdatasets",{"2":{"35":1}}],["ns",{"2":{"34":14,"81":2}}],["ndims",{"2":{"25":5,"42":3}}],["nvidia",{"2":{"22":1}}],["neighbor",{"2":{"76":1}}],["neighbour",{"2":{"19":1}}],["necessary",{"2":{"24":1}}],["necessarily",{"2":{"22":1}}],["netcdf",{"2":{"10":1,"35":1}}],["next",{"2":{"5":1}}],["needed",{"2":{"27":1,"64":1,"75":1}}],["needs",{"2":{"24":1,"25":1}}],["need",{"2":{"4":1,"12":1,"18":3,"21":1,"22":4,"27":3}}],["nearly",{"2":{"36":1}}],["nearsest",{"2":{"5":1}}],["nearest",{"2":{"5":3,"19":1,"76":1}}],["near",{"2":{"4":2,"5":7,"17":2,"19":2,"73":3,"76":2}}],["newdim",{"2":{"3":4}}],["newdims",{"2":{"3":4}}],["new",{"2":{"0":1,"3":5,"4":1,"17":2,"20":1,"22":13,"36":1,"40":1,"80":1}}],["nosampling",{"2":{"66":1}}],["nospan",{"2":{"66":1}}],["nov",{"2":{"48":4,"74":1}}],["now",{"2":{"46":1,"48":1,"55":1,"74":1,"79":1}}],["normalization",{"2":{"49":1}}],["normal",{"2":{"7":1,"24":1}}],["nometadata",{"2":{"4":3,"11":2,"17":1}}],["nolookup",{"2":{"4":11,"17":4,"22":1,"66":2,"74":9,"75":1}}],["no",{"2":{"2":1,"3":3,"4":2,"11":1,"14":1,"22":2,"34":1,"35":1,"66":1,"74":1,"75":1,"81":1}}],["noname",{"2":{"22":1,"24":5}}],["non",{"0":{"2":1},"2":{"17":2,"18":1}}],["notice",{"2":{"19":1,"21":1}}],["notably",{"2":{"18":2,"57":1}}],["note",{"2":{"5":1,"21":1,"22":1,"25":1,"48":2}}],["notes",{"2":{"4":1,"22":1}}],["nothing",{"2":{"1":1,"3":3,"4":1,"5":1,"8":2,"11":4,"17":1,"75":4}}],["not",{"2":{"0":1,"1":1,"3":4,"4":6,"5":8,"10":3,"11":4,"14":1,"15":1,"17":1,"19":2,"21":1,"22":7,"23":3,"24":2,"25":4,"27":1,"31":1,"32":2,"40":1,"41":1,"43":1,"48":3,"51":1,"62":1,"64":3,"66":1,"67":1,"73":4,"74":2,"75":1,"78":3,"79":1,"80":1,"82":1}}],["number",{"2":{"1":1,"3":1,"4":1,"17":1,"21":5,"25":2,"42":2,"64":1,"75":1}}],["n",{"2":{"1":1,"2":3,"3":1,"4":3,"17":3,"48":1,"62":5,"64":4,"66":6,"78":3,"84":1}}],["nbsp",{"2":{"0":15,"1":4,"2":5,"3":12,"4":23,"5":10,"6":1,"7":6,"8":5,"9":3,"10":6,"11":4,"17":14,"18":2,"19":3,"20":2,"21":9,"22":9,"23":7,"24":3,"25":6}}],["8219054655873324",{"2":{"79":1}}],["822008",{"2":{"76":1}}],["824659",{"2":{"76":1}}],["823123",{"2":{"76":1}}],["823656",{"2":{"17":1}}],["825204",{"2":{"75":1}}],["8288995877624121",{"2":{"85":1}}],["8289",{"2":{"84":2}}],["828161",{"2":{"83":1}}],["828515",{"2":{"49":2}}],["828395",{"2":{"31":1}}],["829714",{"2":{"43":1}}],["827852",{"2":{"33":1}}],["832538",{"2":{"76":1}}],["834418",{"2":{"76":1}}],["835674",{"2":{"76":1}}],["835288",{"2":{"26":1}}],["831617",{"2":{"43":1}}],["837335",{"2":{"31":1}}],["836107",{"2":{"31":2}}],["839618",{"2":{"31":1}}],["830187",{"2":{"29":1}}],["83056",{"2":{"26":1}}],["8146121812750928",{"2":{"85":1}}],["8136963000324107",{"2":{"85":1}}],["813696",{"2":{"84":2}}],["819605",{"2":{"83":1,"84":1}}],["819928",{"2":{"47":1}}],["811917",{"2":{"76":1}}],["815253",{"2":{"76":1}}],["815365",{"2":{"29":2}}],["810377",{"2":{"76":1}}],["8107",{"2":{"29":1}}],["81253",{"2":{"29":1}}],["81708",{"2":{"26":1}}],["818644",{"2":{"15":3}}],["884385",{"2":{"84":1}}],["887294",{"2":{"83":1}}],["887979",{"2":{"76":1}}],["882656",{"2":{"75":1}}],["882085",{"2":{"66":1}}],["883323",{"2":{"75":1}}],["883222",{"2":{"73":9}}],["885929",{"2":{"30":1,"32":2}}],["885914",{"2":{"29":3}}],["888721",{"2":{"83":1}}],["88841",{"2":{"30":1,"32":2}}],["88869",{"2":{"26":1}}],["881149",{"2":{"26":1}}],["880853",{"2":{"76":1}}],["880796",{"2":{"31":2}}],["88092",{"2":{"26":1}}],["88058",{"2":{"26":1}}],["88",{"2":{"13":1,"76":1}}],["894053",{"2":{"84":1}}],["890574",{"2":{"83":1}}],["891596",{"2":{"76":1}}],["899356",{"2":{"76":1}}],["899864",{"2":{"47":1,"49":1}}],["899632",{"2":{"43":1}}],["89862",{"2":{"31":1}}],["895608",{"2":{"29":2}}],["893537",{"2":{"19":1}}],["896624",{"2":{"76":1}}],["896257",{"2":{"75":1}}],["89618",{"2":{"15":2}}],["896315",{"2":{"15":3}}],["89",{"2":{"13":1}}],["849707",{"2":{"84":1}}],["849576",{"2":{"66":1}}],["8428656510212863",{"2":{"85":1}}],["842866",{"2":{"84":2}}],["842029",{"2":{"78":1}}],["842792",{"2":{"47":1}}],["847872",{"2":{"76":1}}],["847018",{"2":{"31":1}}],["84475",{"2":{"76":2}}],["844547",{"2":{"13":1}}],["848624",{"2":{"76":1}}],["846736",{"2":{"76":1}}],["846",{"2":{"32":2}}],["84",{"2":{"13":1,"76":1}}],["8719143923648308",{"2":{"85":1}}],["871914",{"2":{"84":2}}],["87656",{"2":{"78":1}}],["876112",{"2":{"43":1}}],["878565",{"2":{"76":1}}],["873218",{"2":{"76":1}}],["87255",{"2":{"73":3}}],["875108",{"2":{"49":1}}],["875221",{"2":{"15":3}}],["870348",{"2":{"75":1}}],["870276",{"2":{"31":2}}],["870485",{"2":{"19":1}}],["879774",{"2":{"31":1}}],["87436",{"2":{"26":1}}],["87",{"2":{"13":3,"47":1}}],["868917",{"2":{"84":1}}],["868966",{"2":{"43":1}}],["868587",{"2":{"84":1}}],["8612776980335002",{"2":{"85":1}}],["861278",{"2":{"84":2}}],["86112",{"2":{"84":1}}],["86174",{"2":{"26":1}}],["8632634208267141",{"2":{"79":2}}],["865713",{"2":{"76":1}}],["865233",{"2":{"31":2}}],["865298",{"2":{"29":2}}],["869012",{"2":{"73":3}}],["864128",{"2":{"43":1}}],["864765",{"2":{"31":1}}],["864856",{"2":{"19":1}}],["860933",{"2":{"29":2}}],["867547",{"2":{"17":1,"19":1}}],["86",{"2":{"13":1}}],["8560905731682101",{"2":{"85":1}}],["856091",{"2":{"84":2}}],["853553",{"2":{"31":1}}],["8542391508438596",{"2":{"79":1}}],["854239",{"2":{"78":1}}],["854076",{"2":{"29":2}}],["854739",{"2":{"26":1}}],["85",{"2":{"13":1,"84":1}}],["80023",{"2":{"78":1}}],["808889",{"2":{"76":1}}],["806495",{"2":{"76":1}}],["802776",{"2":{"73":4}}],["802122",{"2":{"31":1}}],["804846",{"2":{"62":2,"64":2,"66":6}}],["80455",{"2":{"26":1}}],["8030281996030815",{"2":{"79":1}}],["803446",{"2":{"62":2,"64":2,"66":6}}],["803293",{"2":{"31":1}}],["803192",{"2":{"13":1}}],["80",{"2":{"4":1,"13":1,"48":1}}],["8",{"2":{"0":1,"4":1,"5":2,"13":1,"15":1,"18":1,"31":4,"43":7,"46":1,"47":2,"48":11,"73":8,"74":2,"76":7,"78":3,"83":2,"84":12,"85":2}}],["6×10",{"2":{"78":1,"80":30}}],["6×6",{"2":{"76":3}}],["6×3",{"2":{"73":2}}],["6am",{"2":{"48":1}}],["648179",{"2":{"84":1}}],["64534",{"2":{"84":1}}],["645678",{"2":{"83":1}}],["645795",{"2":{"47":1,"49":2}}],["6445457662038467",{"2":{"79":2}}],["640974",{"2":{"78":1}}],["640311",{"2":{"43":1}}],["642187",{"2":{"76":1}}],["642908",{"2":{"26":1}}],["647225",{"2":{"75":1}}],["64",{"2":{"48":1}}],["634377",{"2":{"84":1}}],["634499",{"2":{"31":1}}],["636476",{"2":{"83":1}}],["631878",{"2":{"76":1}}],["63",{"2":{"47":1}}],["639499",{"2":{"47":1}}],["639212",{"2":{"43":1}}],["633956",{"2":{"43":1}}],["635963",{"2":{"43":1}}],["637077",{"2":{"17":2}}],["6730273352488979",{"2":{"85":1}}],["673027",{"2":{"84":2}}],["673966",{"2":{"31":1}}],["670607",{"2":{"83":1,"84":1}}],["6702922824659258",{"2":{"79":2}}],["674061",{"2":{"83":1}}],["674881",{"2":{"43":1}}],["675459",{"2":{"76":1}}],["675435",{"2":{"13":1}}],["677543",{"2":{"76":2}}],["679296",{"2":{"76":1}}],["679221",{"2":{"31":2}}],["679453",{"2":{"75":1}}],["679632",{"2":{"84":1}}],["6796",{"2":{"49":2}}],["678022",{"2":{"31":1}}],["622735",{"2":{"84":1}}],["620473",{"2":{"83":1}}],["620055",{"2":{"30":1,"32":2}}],["621527",{"2":{"76":1}}],["621662",{"2":{"75":1}}],["621603",{"2":{"73":4}}],["623124",{"2":{"76":1}}],["625435",{"2":{"31":1}}],["625296",{"2":{"29":3}}],["625257",{"2":{"29":3}}],["624685",{"2":{"13":1}}],["6150940338022266",{"2":{"85":1}}],["615094",{"2":{"84":2}}],["615764",{"2":{"31":1}}],["6146564273146751",{"2":{"85":1}}],["614656",{"2":{"84":2}}],["61781",{"2":{"76":1}}],["613895",{"2":{"76":1}}],["610173",{"2":{"76":1}}],["61025",{"2":{"26":1}}],["611961",{"2":{"29":1}}],["612779",{"2":{"15":3}}],["687921",{"2":{"75":1}}],["68781",{"2":{"43":1}}],["687223",{"2":{"15":3}}],["683795",{"2":{"75":1}}],["683712",{"2":{"47":1}}],["683091",{"2":{"31":1}}],["683696",{"2":{"31":1}}],["680987",{"2":{"75":1}}],["68072e",{"2":{"47":1}}],["680352",{"2":{"31":1}}],["680225",{"2":{"31":2}}],["684587",{"2":{"29":1}}],["686287",{"2":{"15":2}}],["699976",{"2":{"76":1}}],["694278906020718",{"2":{"85":1}}],["694279",{"2":{"84":2}}],["694066",{"2":{"83":1}}],["69461",{"2":{"62":2,"64":2,"66":6}}],["694796",{"2":{"47":1,"49":1}}],["691687",{"2":{"78":1}}],["691887",{"2":{"33":1}}],["691162",{"2":{"19":1}}],["690695",{"2":{"31":1}}],["69506",{"2":{"26":1}}],["692209",{"2":{"19":2}}],["692235",{"2":{"17":1}}],["69635",{"2":{"15":3}}],["69",{"2":{"13":1}}],["666938",{"2":{"84":1}}],["66622",{"2":{"26":1}}],["66996622586129",{"2":{"79":1}}],["669966",{"2":{"78":1}}],["669021",{"2":{"31":1}}],["668226",{"2":{"78":1}}],["668984",{"2":{"62":2,"64":2,"66":6}}],["661444",{"2":{"76":1}}],["662413",{"2":{"76":1}}],["662833",{"2":{"76":1}}],["660657",{"2":{"76":1}}],["667841",{"2":{"75":1}}],["664642",{"2":{"76":1}}],["664038",{"2":{"43":1}}],["6642",{"2":{"30":1,"32":2}}],["665742",{"2":{"26":1}}],["66",{"2":{"13":1}}],["656243",{"2":{"84":1}}],["650842",{"2":{"76":1}}],["657054",{"2":{"76":1}}],["657441",{"2":{"29":3}}],["655684",{"2":{"15":3}}],["651784",{"2":{"15":3}}],["652353",{"2":{"15":3}}],["65",{"2":{"13":5,"48":1}}],["608366",{"2":{"84":1}}],["600816",{"2":{"49":1}}],["602631",{"2":{"78":1}}],["602",{"2":{"76":1}}],["602315",{"2":{"43":1}}],["602923",{"2":{"29":1}}],["605324",{"2":{"31":1}}],["605217",{"2":{"29":1}}],["60111",{"2":{"15":2}}],["60",{"2":{"4":1,"5":1,"75":1,"79":1}}],["6",{"2":{"0":1,"4":2,"5":18,"13":1,"15":6,"18":1,"19":4,"22":4,"26":1,"43":7,"46":11,"47":6,"48":20,"73":14,"74":1,"76":3,"77":1,"78":12,"79":4,"80":19,"84":12,"85":2}}],["436605",{"2":{"83":1}}],["436168",{"2":{"76":1}}],["43471177733076",{"2":{"80":2}}],["434061",{"2":{"49":1}}],["439711995898844",{"2":{"79":1}}],["43915",{"2":{"76":1}}],["433769",{"2":{"78":1}}],["433955",{"2":{"33":1}}],["433527",{"2":{"29":1}}],["417756",{"2":{"76":1,"84":1}}],["412078",{"2":{"76":1}}],["415714",{"2":{"73":3}}],["41",{"2":{"48":1}}],["418968",{"2":{"43":1}}],["411529",{"2":{"30":1,"32":2}}],["410463",{"2":{"29":2}}],["41334",{"2":{"26":1}}],["462859",{"2":{"76":1}}],["462981",{"2":{"26":1}}],["460775",{"2":{"76":1}}],["460633",{"2":{"47":1,"49":2}}],["461631",{"2":{"62":2,"64":2,"66":6}}],["464482",{"2":{"43":1}}],["464554",{"2":{"26":1}}],["467484",{"2":{"31":1}}],["465631",{"2":{"30":1,"32":2}}],["46668",{"2":{"29":1}}],["469388",{"2":{"29":1}}],["468968",{"2":{"31":1}}],["468184",{"2":{"29":1}}],["468066",{"2":{"29":1}}],["449491",{"2":{"83":1,"84":2}}],["4492",{"2":{"26":1}}],["4408839264303761",{"2":{"79":2}}],["440884",{"2":{"78":1}}],["44818",{"2":{"76":1}}],["442111",{"2":{"75":1}}],["442542",{"2":{"47":1}}],["444708",{"2":{"31":1}}],["441181",{"2":{"75":1}}],["44119",{"2":{"29":2}}],["441735",{"2":{"30":1,"32":2}}],["44104",{"2":{"29":1}}],["443494",{"2":{"17":1,"19":1}}],["456688",{"2":{"84":1}}],["45655",{"2":{"83":1}}],["457841",{"2":{"83":1,"84":1}}],["457891",{"2":{"31":1}}],["450701",{"2":{"83":1,"84":2}}],["450109",{"2":{"62":2,"64":2,"66":6}}],["45983648216629247",{"2":{"80":1}}],["4526944925375208",{"2":{"79":1}}],["452694",{"2":{"78":1}}],["454047",{"2":{"76":1}}],["454886",{"2":{"29":2}}],["455255",{"2":{"76":1}}],["458427",{"2":{"76":1}}],["45804",{"2":{"26":1}}],["45152471334016764",{"2":{"79":1}}],["451525",{"2":{"78":1}}],["451425",{"2":{"31":1}}],["4518",{"2":{"29":2}}],["453973",{"2":{"15":3}}],["4×6",{"2":{"19":1}}],["4×5",{"2":{"13":1}}],["48952511607945026",{"2":{"85":1}}],["489525",{"2":{"84":2}}],["489762",{"2":{"15":1}}],["4802202427553709",{"2":{"79":10,"80":2}}],["48022",{"2":{"78":1}}],["484929",{"2":{"78":1}}],["4854948068259556",{"2":{"79":1}}],["485952",{"2":{"76":1}}],["485687",{"2":{"19":1}}],["48240020633837055",{"2":{"79":1}}],["482654",{"2":{"76":1}}],["48275",{"2":{"26":1}}],["488473",{"2":{"84":1}}],["488458",{"2":{"47":1}}],["48889263023704055",{"2":{"79":1}}],["48817",{"2":{"31":1}}],["487563",{"2":{"47":1}}],["487578",{"2":{"13":1}}],["487601",{"2":{"26":1}}],["48124",{"2":{"76":1}}],["481184",{"2":{"31":1}}],["48113",{"2":{"15":1}}],["48101",{"2":{"15":1}}],["48",{"2":{"13":1,"48":1}}],["4278264986513013",{"2":{"85":1}}],["427328",{"2":{"17":1,"19":1}}],["429822",{"2":{"84":1}}],["422318",{"2":{"76":1}}],["428951",{"2":{"43":1}}],["42833",{"2":{"15":1}}],["423798",{"2":{"43":1}}],["4231",{"2":{"31":1}}],["421525",{"2":{"76":1}}],["42151",{"2":{"26":1}}],["421692",{"2":{"31":1}}],["420756",{"2":{"19":1}}],["42",{"2":{"13":1}}],["474535",{"2":{"78":1}}],["476387",{"2":{"76":2}}],["476495",{"2":{"29":2}}],["471877",{"2":{"43":1}}],["475569",{"2":{"43":1}}],["479126",{"2":{"26":1}}],["47963",{"2":{"15":2}}],["47",{"2":{"13":1,"48":2}}],["495624",{"2":{"76":1}}],["497346",{"2":{"31":1}}],["49795",{"2":{"15":1}}],["49224",{"2":{"76":1}}],["492332",{"2":{"47":1}}],["492377",{"2":{"15":1}}],["492141",{"2":{"29":3}}],["493065",{"2":{"84":1}}],["493417",{"2":{"29":2}}],["493708",{"2":{"15":1}}],["49853441854361796",{"2":{"80":1}}],["498465",{"2":{"47":1}}],["498669",{"2":{"47":1}}],["498606",{"2":{"21":1}}],["498996",{"2":{"47":1}}],["498388",{"2":{"47":1,"48":1}}],["498895",{"2":{"47":1}}],["498832",{"2":{"47":1,"48":1}}],["498801",{"2":{"21":1}}],["498764",{"2":{"31":1}}],["498704",{"2":{"21":1}}],["498145",{"2":{"21":1}}],["499307",{"2":{"76":1}}],["49935",{"2":{"48":1}}],["499474",{"2":{"48":1}}],["499687",{"2":{"48":1}}],["499667",{"2":{"47":1}}],["499218",{"2":{"47":1}}],["499298",{"2":{"21":1}}],["499594",{"2":{"21":1}}],["499985",{"2":{"21":1}}],["49973",{"2":{"76":1}}],["499762",{"2":{"21":1}}],["499719",{"2":{"15":1}}],["49057852962217935",{"2":{"80":1}}],["49097",{"2":{"26":1}}],["490968",{"2":{"15":1}}],["49029",{"2":{"15":2}}],["496665",{"2":{"15":1}}],["496201",{"2":{"15":1}}],["496108",{"2":{"15":2}}],["491767",{"2":{"15":3}}],["49",{"2":{"13":2,"48":1}}],["405912",{"2":{"76":1}}],["40584",{"2":{"26":1}}],["403836",{"2":{"76":1}}],["406397",{"2":{"62":2,"64":2,"66":6}}],["40687",{"2":{"33":1}}],["409622",{"2":{"31":2}}],["40409",{"2":{"26":1}}],["40065",{"2":{"15":1}}],["40",{"2":{"4":1,"17":3,"48":1,"75":1}}],["4",{"2":{"0":5,"3":1,"4":5,"5":12,"13":6,"15":9,"17":6,"18":2,"19":2,"21":1,"22":14,"23":3,"26":2,"31":5,"33":1,"43":7,"46":1,"47":6,"48":8,"73":18,"74":1,"76":2,"78":1,"80":2,"81":3,"83":1,"84":12,"85":2}}],["09300753748828394",{"2":{"85":1}}],["0930075",{"2":{"84":2}}],["09016703141346892",{"2":{"80":1}}],["0905873",{"2":{"76":1}}],["0983553",{"2":{"76":1}}],["0980829",{"2":{"43":1}}],["09245174474290706",{"2":{"80":1}}],["092494",{"2":{"29":1}}],["0923954",{"2":{"76":1}}],["09558e",{"2":{"47":1}}],["095",{"2":{"34":1}}],["0959455",{"2":{"15":3}}],["0963009",{"2":{"78":1}}],["096",{"2":{"34":1}}],["0965083",{"2":{"29":3}}],["0967863",{"2":{"19":1}}],["0992684",{"2":{"31":1}}],["0999314",{"2":{"29":2}}],["0991336",{"2":{"19":2}}],["09764",{"2":{"15":2}}],["09",{"2":{"0":1,"15":5,"34":1,"49":1,"74":1}}],["08553143289483933",{"2":{"79":1}}],["0852624",{"2":{"78":1}}],["08512",{"2":{"15":2}}],["0821229",{"2":{"76":1}}],["0831822",{"2":{"76":1}}],["086",{"2":{"34":1}}],["0803513146650122",{"2":{"80":1}}],["0804518",{"2":{"26":1}}],["0802658",{"2":{"17":1}}],["08",{"2":{"0":1,"15":3,"49":1,"74":1,"76":1}}],["0768485",{"2":{"78":1}}],["0760101",{"2":{"76":1}}],["0760848",{"2":{"31":1}}],["07217595907727536",{"2":{"79":1}}],["072176",{"2":{"78":1}}],["07277",{"2":{"26":1}}],["0758114",{"2":{"78":1}}],["0787968",{"2":{"76":1}}],["0702987",{"2":{"62":2,"64":2,"66":6}}],["07151",{"2":{"33":1}}],["0778416",{"2":{"31":1}}],["0779205",{"2":{"29":1}}],["0740736",{"2":{"29":2}}],["07",{"2":{"0":1,"15":3,"49":1,"74":1}}],["0670357162417285e",{"2":{"80":1}}],["06317733925981239",{"2":{"79":2,"80":2}}],["0630398",{"2":{"76":1}}],["0661958",{"2":{"76":1}}],["0669452",{"2":{"29":1}}],["0653496",{"2":{"73":12}}],["061892",{"2":{"84":1}}],["0610019",{"2":{"33":1}}],["0613839",{"2":{"29":1}}],["06474",{"2":{"33":1}}],["0641884",{"2":{"31":1}}],["0649391",{"2":{"26":1}}],["06834164575276236",{"2":{"79":1}}],["0683416",{"2":{"78":1}}],["0684698",{"2":{"30":1,"32":2}}],["068913",{"2":{"15":3}}],["0609271",{"2":{"29":1}}],["062795",{"2":{"84":1}}],["0628947",{"2":{"76":1}}],["062593",{"2":{"43":1}}],["0621546",{"2":{"29":3}}],["0622255",{"2":{"29":2}}],["0697249",{"2":{"29":3}}],["06",{"2":{"0":1,"15":3,"49":1,"74":1}}],["053158",{"2":{"84":1}}],["051776",{"2":{"84":1}}],["054083",{"2":{"76":1}}],["0540645",{"2":{"31":3}}],["0506805",{"2":{"76":1}}],["0502944",{"2":{"15":3}}],["0574938",{"2":{"76":1}}],["05t03",{"2":{"49":4}}],["0559616",{"2":{"31":1}}],["0558987",{"2":{"29":1}}],["0557598",{"2":{"26":1}}],["0599431",{"2":{"26":1}}],["05",{"2":{"0":1,"15":3,"49":1,"73":1,"74":1}}],["0445446",{"2":{"84":1}}],["0446036",{"2":{"47":1}}],["0417586",{"2":{"76":2}}],["0416986",{"2":{"15":3}}],["0426808",{"2":{"76":1}}],["0429074",{"2":{"75":1}}],["0425477",{"2":{"29":2}}],["0474302",{"2":{"31":2}}],["04599641808658339",{"2":{"85":1}}],["0459964",{"2":{"84":2}}],["0450386",{"2":{"30":1,"32":2}}],["0458864",{"2":{"29":1}}],["0463176",{"2":{"30":2,"32":2}}],["04060837507113502",{"2":{"79":10}}],["0406084",{"2":{"78":1}}],["0403793",{"2":{"47":1,"49":2}}],["0400372",{"2":{"29":2}}],["04046",{"2":{"15":2}}],["04",{"2":{"0":1,"15":5,"49":1,"74":1,"76":3}}],["03613547354359734",{"2":{"80":1}}],["0315018",{"2":{"76":1}}],["0387029",{"2":{"76":1}}],["0300922",{"2":{"76":1}}],["0303789",{"2":{"19":1}}],["037",{"2":{"81":1}}],["0372362",{"2":{"43":1}}],["0375522",{"2":{"31":1}}],["0375769",{"2":{"29":1}}],["0325131",{"2":{"83":1}}],["0323182",{"2":{"31":1}}],["0320967",{"2":{"19":1}}],["0347024",{"2":{"29":1}}],["03",{"2":{"0":1,"15":5,"47":1,"49":2,"74":1}}],["023646798570656102",{"2":{"85":1}}],["0236468",{"2":{"84":2}}],["0239356",{"2":{"29":2}}],["022593",{"2":{"84":2}}],["027",{"2":{"81":1}}],["0275306",{"2":{"31":1}}],["0299112",{"2":{"78":1}}],["02976",{"2":{"15":1}}],["021",{"2":{"76":1}}],["0205228",{"2":{"31":1}}],["0282382",{"2":{"13":1}}],["02",{"2":{"0":2,"15":5,"47":1,"49":2,"74":1}}],["0",{"2":{"0":60,"1":6,"3":8,"4":28,"5":8,"13":20,"15":178,"17":92,"18":16,"19":81,"20":240,"21":19,"22":176,"26":69,"29":546,"30":28,"31":148,"32":50,"33":12,"34":25,"43":175,"44":42,"46":2,"47":63,"48":20,"49":53,"61":105,"62":50,"64":48,"66":141,"73":147,"74":7,"75":35,"76":243,"77":16,"78":133,"79":89,"80":155,"81":12,"83":48,"84":150,"85":36}}],["00816974",{"2":{"84":1}}],["00832284",{"2":{"43":1}}],["005163666306917225",{"2":{"85":1}}],["00516367",{"2":{"84":2}}],["00508449",{"2":{"43":1}}],["0019198597596568057",{"2":{"85":1}}],["00191986",{"2":{"84":2}}],["00110588",{"2":{"83":1}}],["006378200703587189",{"2":{"79":1,"80":2}}],["00686195",{"2":{"76":1}}],["007",{"2":{"76":3}}],["00337686",{"2":{"30":1,"32":2}}],["00",{"2":{"0":42,"15":140,"34":10,"46":4,"47":10,"49":37,"74":32}}],["015759978623873905",{"2":{"80":2}}],["01576",{"2":{"78":1}}],["0171909",{"2":{"78":1}}],["013144",{"2":{"78":1}}],["013967",{"2":{"49":2}}],["0164892",{"2":{"76":1}}],["0141696",{"2":{"78":1}}],["0149561",{"2":{"76":1}}],["014",{"2":{"76":1}}],["0143204",{"2":{"76":2}}],["0140644",{"2":{"29":3}}],["0184746",{"2":{"49":1}}],["011",{"2":{"48":2}}],["01t03",{"2":{"49":2}}],["01t02",{"2":{"49":1}}],["01t01",{"2":{"47":1,"49":2}}],["01t00",{"2":{"0":21,"15":70,"46":1,"47":2,"49":7,"74":16}}],["0192911",{"2":{"31":1}}],["0196808",{"2":{"31":1}}],["0197492",{"2":{"26":1}}],["012300334322905893",{"2":{"85":1}}],["0123003",{"2":{"84":2}}],["0120967",{"2":{"83":1}}],["0127924",{"2":{"29":3}}],["01282",{"2":{"15":1}}],["010277581356302745",{"2":{"80":2}}],["0102776",{"2":{"78":1}}],["010",{"2":{"22":2}}],["01",{"2":{"0":5,"15":14,"46":1,"47":6,"49":21,"74":3}}],["↗",{"2":{"0":1,"1":1,"3":1,"13":1,"15":6,"17":1,"20":1,"21":1,"22":1,"28":1,"31":1,"33":2,"83":3}}],["→",{"2":{"0":4,"1":3,"3":2,"4":2,"5":8,"13":4,"15":11,"17":13,"18":1,"19":12,"20":1,"21":3,"22":12,"23":2,"26":2,"28":2,"29":11,"30":1,"31":7,"32":2,"33":2,"34":1,"43":7,"44":11,"47":3,"48":8,"49":5,"61":3,"62":4,"64":4,"66":11,"73":26,"75":2,"76":10,"77":2,"78":8,"80":24,"83":4,"84":1}}],["↓",{"2":{"0":5,"1":4,"3":3,"4":2,"5":8,"13":5,"15":14,"17":16,"18":1,"19":12,"20":1,"21":5,"22":12,"23":2,"26":2,"28":2,"29":11,"30":2,"31":8,"32":2,"33":2,"34":1,"43":12,"44":15,"47":10,"48":19,"49":6,"61":3,"62":4,"64":4,"66":11,"73":28,"74":1,"75":2,"76":10,"77":2,"78":9,"79":1,"80":25,"83":4,"84":1}}],["┐",{"2":{"0":3,"4":1,"5":4,"13":3,"15":8,"17":5,"19":3,"21":3,"22":5,"23":1,"26":1,"29":11,"30":2,"31":4,"32":2,"33":2,"34":1,"43":1,"47":8,"48":11,"49":3,"61":3,"62":2,"64":2,"66":6,"73":15,"74":1,"75":1,"76":5,"77":1,"78":8,"79":1,"80":25,"83":2,"84":1}}],["│",{"2":{"0":6,"1":2,"3":2,"4":2,"5":8,"13":6,"15":16,"17":20,"19":8,"20":2,"21":6,"22":10,"23":2,"26":2,"29":22,"30":4,"31":8,"32":4,"33":4,"34":2,"43":2,"47":16,"48":22,"49":6,"61":6,"62":4,"64":4,"66":12,"73":30,"74":2,"75":2,"76":10,"77":2,"78":16,"79":2,"80":50,"83":4,"84":74}}],["5201836703588896",{"2":{"79":1}}],["520184",{"2":{"78":1}}],["5203602669427675",{"2":{"79":1}}],["52036",{"2":{"78":1}}],["52735",{"2":{"78":1}}],["528009",{"2":{"76":1}}],["528669",{"2":{"29":1}}],["522989",{"2":{"47":1}}],["526688",{"2":{"31":1}}],["526295",{"2":{"29":2}}],["521021",{"2":{"31":2}}],["521762",{"2":{"29":1}}],["580091",{"2":{"83":1}}],["58054",{"2":{"15":2}}],["581131",{"2":{"83":1,"84":2}}],["581748",{"2":{"47":1,"49":1}}],["584048",{"2":{"76":1}}],["585756",{"2":{"43":1}}],["585057",{"2":{"29":1}}],["589895",{"2":{"31":1}}],["587556",{"2":{"29":3}}],["588506",{"2":{"29":2}}],["535124",{"2":{"84":1}}],["537046",{"2":{"78":1}}],["537469",{"2":{"49":1}}],["539197",{"2":{"76":1}}],["539076",{"2":{"19":1}}],["531012",{"2":{"76":1}}],["536911",{"2":{"73":6}}],["53",{"2":{"47":1}}],["530653",{"2":{"43":1}}],["533041",{"2":{"76":1}}],["533",{"2":{"34":1}}],["534655",{"2":{"29":1}}],["534915",{"2":{"29":2}}],["5×1",{"2":{"73":1}}],["5×10",{"2":{"29":13}}],["5×5",{"2":{"30":1,"32":2}}],["5×4",{"2":{"4":1}}],["5663088629322468",{"2":{"79":2}}],["566574",{"2":{"43":1}}],["566557",{"2":{"15":3}}],["564657",{"2":{"76":1}}],["564589",{"2":{"15":3}}],["56",{"2":{"48":1}}],["561611",{"2":{"47":1}}],["563623",{"2":{"31":1}}],["567383",{"2":{"29":1}}],["568763",{"2":{"76":1}}],["568302",{"2":{"15":3}}],["568131",{"2":{"15":3}}],["516313",{"2":{"83":1}}],["51621",{"2":{"83":1}}],["516268",{"2":{"76":1}}],["517175",{"2":{"83":1}}],["5176046469253345",{"2":{"79":1}}],["517605",{"2":{"78":1}}],["5128894732327488",{"2":{"79":1}}],["512083",{"2":{"17":1,"19":1}}],["515445",{"2":{"78":1}}],["515061",{"2":{"15":3}}],["518483",{"2":{"78":1}}],["514714",{"2":{"29":1}}],["511078",{"2":{"29":1}}],["511086",{"2":{"15":3}}],["51",{"2":{"13":1}}],["5434869639181522",{"2":{"79":2}}],["543616",{"2":{"29":1}}],["545522",{"2":{"76":1}}],["545129",{"2":{"29":3}}],["54822",{"2":{"26":1}}],["54853",{"2":{"15":2}}],["54483",{"2":{"15":2}}],["54",{"2":{"13":1}}],["541806",{"2":{"13":1}}],["5501481631111826",{"2":{"85":1}}],["550148",{"2":{"84":2}}],["5514523568721104",{"2":{"79":2}}],["55114",{"2":{"15":2}}],["552153",{"2":{"76":1}}],["559878",{"2":{"47":1}}],["55745",{"2":{"33":1}}],["5573",{"2":{"31":1}}],["553558",{"2":{"29":3}}],["55351",{"2":{"15":1}}],["554791",{"2":{"29":3}}],["555456",{"2":{"15":3}}],["55",{"2":{"13":1}}],["597843",{"2":{"84":1}}],["59705",{"2":{"26":1}}],["599789",{"2":{"84":1}}],["599558",{"2":{"13":1}}],["590188929977547",{"2":{"80":2}}],["590953",{"2":{"76":1}}],["5962",{"2":{"33":1}}],["59",{"2":{"13":1}}],["574619",{"2":{"76":1}}],["574678",{"2":{"76":1}}],["578329",{"2":{"76":1}}],["578253",{"2":{"76":1}}],["578989",{"2":{"33":1}}],["575727",{"2":{"76":1}}],["575595",{"2":{"75":1}}],["575698",{"2":{"31":2}}],["571281",{"2":{"29":1}}],["571602",{"2":{"29":1}}],["570254",{"2":{"29":1}}],["57019",{"2":{"26":1}}],["57",{"2":{"5":1,"48":1}}],["5040228055200978",{"2":{"85":1}}],["504023",{"2":{"84":2}}],["5081446040814137e",{"2":{"80":1}}],["506221",{"2":{"75":1}}],["5055",{"2":{"48":4}}],["505946",{"2":{"15":1}}],["502391",{"2":{"47":1}}],["5074",{"2":{"33":1}}],["503183",{"2":{"76":1}}],["503561",{"2":{"47":1}}],["503967",{"2":{"29":1}}],["503823",{"2":{"29":1}}],["503719",{"2":{"15":1}}],["501732",{"2":{"47":1}}],["501369",{"2":{"47":1}}],["501379",{"2":{"21":1}}],["501643",{"2":{"21":1}}],["501105",{"2":{"21":1}}],["501068",{"2":{"15":1}}],["500769",{"2":{"49":2}}],["500757",{"2":{"47":1,"48":2}}],["500333",{"2":{"48":1}}],["500405",{"2":{"47":1}}],["50047",{"2":{"21":1}}],["500627",{"2":{"47":1}}],["500642",{"2":{"30":1,"32":2}}],["500644",{"2":{"21":1}}],["500277",{"2":{"47":1}}],["500913",{"2":{"47":1}}],["500157",{"2":{"29":3}}],["500533",{"2":{"21":1}}],["500032",{"2":{"48":1}}],["500093",{"2":{"47":1}}],["500083",{"2":{"21":1}}],["500064",{"2":{"21":1}}],["500874",{"2":{"21":1}}],["5008",{"2":{"15":2}}],["50",{"2":{"5":3,"17":9,"75":1}}],["5u",{"2":{"5":1}}],["5",{"2":{"0":1,"4":3,"5":21,"13":5,"15":6,"17":2,"18":1,"19":1,"22":7,"23":1,"26":1,"29":10,"30":2,"31":6,"33":1,"43":9,"46":1,"47":2,"48":5,"61":3,"73":7,"74":2,"75":1,"77":3,"78":11,"79":1,"80":35,"84":12,"85":2}}],["331147",{"2":{"76":1}}],["33985840915074383",{"2":{"73":1}}],["339858",{"2":{"73":12}}],["339888",{"2":{"31":1}}],["338844",{"2":{"62":2,"64":2,"66":6}}],["336376",{"2":{"83":1}}],["336",{"2":{"48":1}}],["33",{"2":{"48":2}}],["337",{"2":{"48":1}}],["337182",{"2":{"31":1}}],["337576",{"2":{"29":1}}],["330777",{"2":{"31":2}}],["334152",{"2":{"17":1,"19":1}}],["371583",{"2":{"76":1}}],["376",{"2":{"48":3}}],["370194",{"2":{"78":1}}],["370454",{"2":{"76":1}}],["370",{"2":{"48":2}}],["375166",{"2":{"43":1}}],["375182",{"2":{"31":1}}],["37963",{"2":{"26":1}}],["3793",{"2":{"15":2}}],["374026",{"2":{"26":1}}],["3a",{"2":{"18":1}}],["319496",{"2":{"76":1}}],["312",{"2":{"48":1}}],["31",{"2":{"47":1}}],["313361",{"2":{"76":1}}],["313",{"2":{"48":1}}],["313711",{"2":{"47":1}}],["313279",{"2":{"47":1}}],["315591",{"2":{"43":1}}],["31572",{"2":{"33":1}}],["314535",{"2":{"43":1}}],["31468",{"2":{"33":1}}],["3162",{"2":{"31":1}}],["311448",{"2":{"17":1}}],["31065",{"2":{"15":3}}],["3×2",{"2":{"73":1}}],["3×14",{"2":{"62":2,"64":2,"66":6}}],["3×5",{"2":{"23":2,"61":10}}],["3×5×12",{"2":{"0":1}}],["3×4×1",{"2":{"33":1}}],["3×4×5",{"2":{"33":1}}],["3×4",{"2":{"22":5}}],["3×3",{"2":{"17":3,"19":1,"34":1,"73":3}}],["30391",{"2":{"76":1}}],["301659",{"2":{"75":1}}],["30t22",{"2":{"49":1}}],["30t23",{"2":{"46":1,"47":2,"49":2}}],["30×17520",{"2":{"48":3}}],["305",{"2":{"48":1}}],["309301",{"2":{"43":1}}],["30923",{"2":{"26":1}}],["307616",{"2":{"84":1}}],["307",{"2":{"34":1}}],["306208",{"2":{"31":1}}],["30405878501189054",{"2":{"80":1}}],["304266",{"2":{"76":1}}],["30427",{"2":{"26":1}}],["3047",{"2":{"74":1}}],["304688",{"2":{"26":1}}],["3002782566445145",{"2":{"80":1}}],["300285",{"2":{"76":1}}],["300304",{"2":{"76":2}}],["300",{"2":{"22":1}}],["300768",{"2":{"13":1}}],["30",{"2":{"17":1,"18":2,"19":4,"22":9,"46":18,"47":2,"66":2,"75":1,"76":1}}],["369225",{"2":{"78":1}}],["369",{"2":{"48":3}}],["368",{"2":{"48":3}}],["361536",{"2":{"76":1}}],["361",{"2":{"48":3}}],["362",{"2":{"47":1}}],["363442",{"2":{"84":1}}],["363373",{"2":{"84":1}}],["363918",{"2":{"76":1}}],["363",{"2":{"47":2}}],["365",{"2":{"47":2}}],["365341",{"2":{"31":1}}],["366873",{"2":{"76":1}}],["366",{"2":{"47":3}}],["364097",{"2":{"84":2}}],["364",{"2":{"46":18,"47":3}}],["364488",{"2":{"15":3}}],["360",{"2":{"4":2,"48":1}}],["3434655288098666",{"2":{"85":1}}],["343493",{"2":{"29":1}}],["34882573131206984",{"2":{"79":1}}],["348826",{"2":{"78":1}}],["341133",{"2":{"83":1}}],["341976",{"2":{"73":4}}],["341835",{"2":{"31":1}}],["340557",{"2":{"62":2,"64":2,"66":6}}],["34589",{"2":{"76":1}}],["345",{"2":{"48":1}}],["345501",{"2":{"26":1}}],["344",{"2":{"48":1}}],["344408",{"2":{"29":3}}],["346013",{"2":{"47":1}}],["34",{"2":{"13":1}}],["359194",{"2":{"84":1}}],["359421",{"2":{"83":1}}],["35100608350331053",{"2":{"85":1}}],["351006",{"2":{"84":2}}],["351413",{"2":{"31":2}}],["358513",{"2":{"76":1}}],["358535",{"2":{"76":1}}],["358625",{"2":{"31":1}}],["357367",{"2":{"75":1}}],["353968",{"2":{"83":1}}],["353",{"2":{"48":1}}],["353691",{"2":{"31":1}}],["354046",{"2":{"31":1}}],["354868",{"2":{"19":1}}],["352592",{"2":{"62":2,"64":2,"66":6}}],["352",{"2":{"48":1}}],["352138",{"2":{"31":1}}],["352614",{"2":{"26":1}}],["350024",{"2":{"84":1}}],["350422",{"2":{"30":1,"32":2}}],["350104",{"2":{"29":2}}],["350546",{"2":{"19":1}}],["35",{"2":{"13":1,"17":1}}],["3266527246823143",{"2":{"79":1}}],["32669",{"2":{"26":1}}],["3258728635315493",{"2":{"79":2,"81":2}}],["328",{"2":{"48":1}}],["32806",{"2":{"29":1}}],["321",{"2":{"48":1}}],["320",{"2":{"48":1}}],["320667",{"2":{"31":1}}],["322005",{"2":{"43":1}}],["322115",{"2":{"31":1}}],["329",{"2":{"34":1,"48":1}}],["329515",{"2":{"30":1,"32":2}}],["32",{"2":{"13":2,"48":2,"80":1}}],["38167574879167476",{"2":{"85":1}}],["3863063388395396",{"2":{"79":1}}],["386306",{"2":{"78":1}}],["386433",{"2":{"29":3}}],["38714",{"2":{"49":2}}],["38795",{"2":{"15":2}}],["388768",{"2":{"76":1}}],["388907",{"2":{"33":1}}],["388243",{"2":{"13":1}}],["380161",{"2":{"31":1}}],["389839",{"2":{"29":1}}],["383632",{"2":{"13":1}}],["399",{"2":{"76":1}}],["399781",{"2":{"76":1}}],["397386",{"2":{"76":1}}],["395053",{"2":{"76":1}}],["395594",{"2":{"33":1}}],["391307",{"2":{"76":1}}],["391155",{"2":{"29":3}}],["394576",{"2":{"76":1}}],["394703",{"2":{"31":1}}],["396585",{"2":{"75":1}}],["392334",{"2":{"76":1}}],["392377",{"2":{"31":1}}],["392848",{"2":{"29":3}}],["390081",{"2":{"26":1}}],["390033",{"2":{"15":3}}],["39",{"2":{"2":2,"3":1,"4":2,"19":1,"23":4,"24":1,"31":2,"32":1,"34":1,"35":1,"52":1,"64":1,"65":1,"66":1,"67":6,"75":1,"76":1}}],["3",{"2":{"0":4,"1":3,"3":1,"4":7,"5":8,"13":9,"15":17,"17":3,"18":1,"19":12,"20":2,"21":6,"22":11,"23":6,"25":2,"26":2,"28":2,"30":2,"31":10,"33":6,"34":12,"43":7,"46":1,"47":7,"48":23,"49":3,"61":3,"62":5,"64":4,"66":10,"73":3,"74":2,"76":1,"78":1,"80":1,"83":3,"84":8,"85":2}}],["145293",{"2":{"76":1}}],["144422",{"2":{"76":1}}],["143×23",{"2":{"76":1}}],["143704",{"2":{"30":2,"32":2}}],["14203",{"2":{"76":1}}],["14",{"2":{"76":2,"78":1}}],["140817",{"2":{"76":1}}],["140",{"2":{"43":6,"66":6}}],["147478",{"2":{"29":2}}],["175544",{"2":{"84":1}}],["17520",{"2":{"46":8,"49":1}}],["173013",{"2":{"84":1}}],["173513",{"2":{"31":1}}],["17715541586710937",{"2":{"79":1}}],["177423",{"2":{"26":1}}],["170",{"2":{"43":6}}],["17",{"2":{"34":1,"46":1,"48":2}}],["176766",{"2":{"83":1}}],["17673",{"2":{"26":1}}],["176024",{"2":{"83":1}}],["17666e",{"2":{"47":1}}],["176197",{"2":{"29":1}}],["17645",{"2":{"26":1}}],["182707",{"2":{"84":1}}],["186811",{"2":{"84":1}}],["18969721875656995",{"2":{"80":1}}],["188976",{"2":{"76":1}}],["18",{"2":{"46":1,"76":6}}],["180397",{"2":{"76":1}}],["18035",{"2":{"26":1}}],["180",{"2":{"43":7}}],["180894",{"2":{"31":1}}],["184309",{"2":{"31":2}}],["183103",{"2":{"62":2,"64":2,"66":6}}],["183637",{"2":{"26":1}}],["183555",{"2":{"19":1}}],["1a",{"2":{"18":1}}],["132989",{"2":{"84":1}}],["132894",{"2":{"29":2}}],["1381833125394196",{"2":{"80":2}}],["138819",{"2":{"62":2,"64":2,"66":6}}],["13525245310587153",{"2":{"79":1}}],["13589",{"2":{"15":2}}],["133475",{"2":{"76":1}}],["133195",{"2":{"31":1}}],["130252",{"2":{"78":1}}],["130",{"2":{"43":6,"66":2}}],["13035",{"2":{"33":1}}],["139067",{"2":{"31":1}}],["137131",{"2":{"30":1,"32":2}}],["137619",{"2":{"29":2}}],["134246",{"2":{"29":2}}],["134208",{"2":{"15":2}}],["134186",{"2":{"26":1}}],["136551",{"2":{"19":1}}],["131798",{"2":{"19":1}}],["13",{"2":{"13":1,"34":2,"74":2,"76":1}}],["16484",{"2":{"83":1}}],["164724",{"2":{"15":3}}],["168617",{"2":{"76":2}}],["168291",{"2":{"29":2}}],["166425",{"2":{"76":1}}],["16545e",{"2":{"47":1}}],["160352",{"2":{"84":1}}],["160403",{"2":{"76":1}}],["160",{"2":{"43":6}}],["161393",{"2":{"31":1}}],["167104",{"2":{"31":2}}],["167745",{"2":{"29":3}}],["162553",{"2":{"31":1}}],["162919",{"2":{"26":1}}],["16×16×3",{"2":{"20":1}}],["16",{"2":{"13":1,"20":2,"46":1,"48":4,"76":3}}],["1u",{"2":{"5":2}}],["1985699519321249",{"2":{"85":1}}],["19857",{"2":{"84":2}}],["194849",{"2":{"83":1,"84":2}}],["194465",{"2":{"29":2}}],["193109",{"2":{"78":1}}],["193179",{"2":{"76":1}}],["195938",{"2":{"84":1}}],["195897",{"2":{"76":1}}],["195774",{"2":{"31":1}}],["197423",{"2":{"76":1}}],["196478",{"2":{"75":1}}],["191934",{"2":{"83":1,"84":2}}],["19122366809754",{"2":{"79":1}}],["191494",{"2":{"73":9}}],["191×20×30",{"2":{"21":1}}],["191×20×31",{"2":{"21":2}}],["191×20×32",{"2":{"21":1}}],["191×20×28",{"2":{"21":1}}],["190482",{"2":{"83":1}}],["19009332850891253",{"2":{"80":1}}],["190225",{"2":{"43":1}}],["190",{"2":{"43":7}}],["199484",{"2":{"83":1}}],["1999",{"2":{"26":1}}],["19995",{"2":{"15":2}}],["1998",{"2":{"26":1}}],["192183",{"2":{"15":3}}],["19",{"2":{"5":5,"34":1,"46":1,"47":1,"76":3}}],["1×3",{"2":{"73":2}}],["1×2",{"2":{"5":3}}],["1×12",{"2":{"0":1}}],["153753",{"2":{"84":1}}],["153219",{"2":{"43":1}}],["15945803739833375",{"2":{"85":1}}],["159458",{"2":{"84":2}}],["15905863317294833",{"2":{"79":3}}],["15952e",{"2":{"47":1}}],["156538",{"2":{"73":3}}],["152765",{"2":{"30":1,"32":2}}],["15055904027841316",{"2":{"79":1}}],["150559",{"2":{"78":1}}],["150126",{"2":{"31":1}}],["150155",{"2":{"19":1}}],["150",{"2":{"17":3,"43":6}}],["15",{"2":{"5":3,"13":4,"46":1}}],["11925244363082943",{"2":{"85":1}}],["11996",{"2":{"31":2}}],["114915",{"2":{"84":1}}],["11115487324489237",{"2":{"79":1}}],["111155",{"2":{"78":1}}],["11773734015093373",{"2":{"79":1}}],["117737",{"2":{"78":1}}],["11787",{"2":{"76":1}}],["11×17520",{"2":{"48":1}}],["11311",{"2":{"78":1}}],["113",{"2":{"13":1}}],["1151003460971078e",{"2":{"80":1}}],["115",{"2":{"13":2}}],["118632",{"2":{"15":2}}],["118",{"2":{"13":2}}],["110425",{"2":{"84":1}}],["110998",{"2":{"31":1}}],["110",{"2":{"13":2,"34":1,"43":7}}],["112054",{"2":{"49":2}}],["112836",{"2":{"29":1}}],["112",{"2":{"13":1,"34":1}}],["11",{"2":{"0":1,"4":1,"13":2,"15":8,"19":2,"21":6,"43":1,"47":6,"74":1,"76":3}}],["12452",{"2":{"75":1}}],["1227",{"2":{"47":1}}],["12764",{"2":{"84":1}}],["12713970284423626",{"2":{"79":1,"81":2}}],["12714",{"2":{"78":1}}],["127489",{"2":{"29":1}}],["12731",{"2":{"15":2}}],["12×2",{"2":{"21":1}}],["12×100×25",{"2":{"15":2}}],["128827",{"2":{"83":1}}],["128932",{"2":{"43":1}}],["128",{"2":{"13":1}}],["125477",{"2":{"84":1}}],["125287",{"2":{"19":1}}],["125",{"2":{"13":2}}],["12668",{"2":{"75":1}}],["126",{"2":{"13":2}}],["121746",{"2":{"84":1}}],["121186",{"2":{"29":1}}],["121",{"2":{"13":2}}],["1208",{"2":{"47":1}}],["120",{"2":{"13":2,"43":6,"66":2}}],["123",{"2":{"13":2,"17":1}}],["12",{"2":{"0":9,"4":1,"15":21,"17":3,"18":1,"21":10,"22":1,"46":28,"47":15,"48":8,"49":3,"74":7,"76":5}}],["1",{"2":{"0":13,"1":8,"3":14,"4":26,"5":12,"13":14,"15":60,"17":32,"18":3,"19":21,"20":241,"21":19,"22":16,"23":5,"25":2,"26":52,"28":10,"29":101,"30":1,"31":4,"32":1,"33":6,"34":12,"43":44,"44":28,"46":73,"47":48,"48":91,"49":30,"62":9,"64":12,"65":2,"66":18,"67":1,"73":98,"74":7,"76":51,"77":7,"78":24,"79":1,"80":80,"81":1,"83":14,"84":42,"85":10}}],["105273",{"2":{"49":2}}],["105",{"2":{"34":1}}],["10×10",{"2":{"83":1,"84":27}}],["10×10×26",{"2":{"83":3}}],["10×1",{"2":{"80":30}}],["10×11",{"2":{"43":1}}],["10×6",{"2":{"77":3,"78":18,"80":12}}],["10×5",{"2":{"31":1}}],["10×7×5",{"2":{"31":1}}],["104763",{"2":{"83":1}}],["104261",{"2":{"78":1}}],["10454",{"2":{"76":1}}],["10447",{"2":{"15":2}}],["104",{"2":{"13":1}}],["10748",{"2":{"47":1}}],["107475",{"2":{"31":1}}],["1076",{"2":{"26":1}}],["107",{"2":{"13":1}}],["106224",{"2":{"29":1}}],["106",{"2":{"13":1}}],["101231",{"2":{"73":5}}],["101×34",{"2":{"49":2}}],["101×384",{"2":{"48":2}}],["101×8030",{"2":{"48":1}}],["101×8760",{"2":{"48":1}}],["101×2856",{"2":{"48":1}}],["101×2928",{"2":{"48":3}}],["101×240",{"2":{"48":1}}],["101×0",{"2":{"48":1}}],["101×4416",{"2":{"48":5}}],["101×4320",{"2":{"48":2}}],["101×4392",{"2":{"48":2}}],["101×4368",{"2":{"48":3}}],["101×4344",{"2":{"48":2}}],["101×1",{"2":{"49":5}}],["101×1464",{"2":{"47":1}}],["101×1440",{"2":{"47":1}}],["101×1488",{"2":{"47":2}}],["101×1368",{"2":{"47":1}}],["101×17520",{"2":{"47":1}}],["101",{"2":{"13":2}}],["108592",{"2":{"15":3}}],["108",{"2":{"13":4}}],["102405",{"2":{"13":1}}],["10u",{"2":{"5":1}}],["100×28",{"2":{"84":1}}],["100×25×12",{"2":{"15":3}}],["1000×2000",{"2":{"26":1}}],["1000",{"2":{"26":3,"34":2}}],["10000",{"2":{"25":1,"34":2}}],["100u",{"2":{"5":2}}],["100",{"2":{"0":1,"3":1,"4":3,"15":13,"17":10,"22":8,"43":26,"44":14,"49":1,"68":1,"70":1,"74":2,"84":1}}],["10",{"2":{"0":7,"1":9,"3":6,"4":5,"5":19,"13":6,"15":8,"17":15,"18":5,"19":4,"21":2,"22":34,"29":10,"31":1,"42":9,"43":47,"44":28,"47":2,"64":2,"66":10,"67":1,"68":2,"70":2,"74":7,"75":5,"76":14,"77":7,"78":21,"79":1,"80":61,"83":10,"84":34,"85":10}}],["227082",{"2":{"84":1}}],["227865",{"2":{"76":1}}],["226699",{"2":{"76":1}}],["229792",{"2":{"76":1}}],["229418",{"2":{"75":1}}],["228415",{"2":{"84":1}}],["228081",{"2":{"76":1}}],["228248",{"2":{"75":1}}],["228964",{"2":{"29":3}}],["225583",{"2":{"33":1}}],["225865",{"2":{"31":1}}],["221163",{"2":{"31":1}}],["222482",{"2":{"29":2}}],["224375",{"2":{"26":1}}],["22",{"2":{"19":2,"46":1,"47":2,"84":1}}],["2a",{"2":{"18":1}}],["271591",{"2":{"84":1}}],["27181",{"2":{"15":3}}],["270915",{"2":{"84":1}}],["27",{"2":{"80":3}}],["276742",{"2":{"76":1}}],["27206",{"2":{"76":1}}],["278077",{"2":{"78":1}}],["27802",{"2":{"15":2}}],["27863",{"2":{"29":1}}],["243195",{"2":{"76":1}}],["243803",{"2":{"43":1}}],["248873",{"2":{"76":1}}],["24524306337289326",{"2":{"85":1}}],["245671",{"2":{"83":1}}],["245638",{"2":{"76":1}}],["245",{"2":{"73":2}}],["24575",{"2":{"26":1}}],["2402",{"2":{"47":1}}],["2415",{"2":{"47":1}}],["2412",{"2":{"47":1}}],["241056",{"2":{"31":1}}],["24625",{"2":{"76":1}}],["246886",{"2":{"75":1}}],["2463",{"2":{"47":1}}],["246162",{"2":{"31":1}}],["246796",{"2":{"15":3}}],["247586",{"2":{"78":1}}],["247976",{"2":{"76":1}}],["247032",{"2":{"47":1,"49":2}}],["247198",{"2":{"29":1}}],["24737",{"2":{"29":2}}],["247683",{"2":{"13":1}}],["24",{"2":{"13":1,"15":3,"21":1,"46":1,"47":2,"48":2}}],["294893",{"2":{"84":1}}],["294486",{"2":{"83":1}}],["296092",{"2":{"84":1}}],["296639",{"2":{"31":1}}],["291555",{"2":{"83":1}}],["291577",{"2":{"33":1}}],["29205",{"2":{"76":1}}],["293126",{"2":{"43":1}}],["290734",{"2":{"31":2}}],["299799",{"2":{"29":1}}],["295319",{"2":{"29":3}}],["295548",{"2":{"15":5}}],["298179",{"2":{"29":3}}],["298383",{"2":{"26":1}}],["297023",{"2":{"19":1}}],["29",{"2":{"13":1,"47":2,"76":2,"80":2}}],["28346307460586856",{"2":{"80":1}}],["2868262581079416",{"2":{"79":1}}],["286",{"2":{"76":1}}],["28035",{"2":{"62":2,"64":2,"66":6}}],["2855663183499576",{"2":{"79":1}}],["2858",{"2":{"33":1}}],["285965",{"2":{"26":1}}],["28438",{"2":{"33":1}}],["284399",{"2":{"30":1,"32":2}}],["28405",{"2":{"26":1}}],["28708",{"2":{"15":3}}],["28",{"2":{"13":1,"47":1,"76":2}}],["2601",{"2":{"85":1}}],["2600×5",{"2":{"84":1}}],["2600×4",{"2":{"84":2}}],["2600",{"2":{"84":3}}],["26069",{"2":{"29":3}}],["266342",{"2":{"83":1}}],["266013",{"2":{"76":1}}],["26×11",{"2":{"76":1}}],["263531",{"2":{"76":1}}],["269905",{"2":{"78":1}}],["269685",{"2":{"31":1}}],["26917",{"2":{"26":1}}],["268319",{"2":{"15":3}}],["26",{"2":{"13":2}}],["216905",{"2":{"76":1}}],["216524",{"2":{"13":1}}],["21316",{"2":{"62":2,"64":2,"66":6}}],["213826",{"2":{"31":1}}],["214909",{"2":{"47":1,"49":1}}],["215458",{"2":{"31":1}}],["215049",{"2":{"26":1}}],["219583",{"2":{"30":1,"32":2}}],["21149",{"2":{"29":1}}],["2115",{"2":{"15":2}}],["218579",{"2":{"19":1}}],["21714",{"2":{"15":3}}],["21",{"2":{"5":4,"13":1,"19":2,"46":1,"47":1,"74":1}}],["256817",{"2":{"84":1}}],["2599",{"2":{"84":3}}],["2598",{"2":{"84":3}}],["2597",{"2":{"84":3}}],["2596",{"2":{"84":3}}],["2595",{"2":{"84":3}}],["259597",{"2":{"76":1}}],["2594",{"2":{"84":3}}],["2571287355813575",{"2":{"79":1,"81":2}}],["257129",{"2":{"78":1}}],["257822",{"2":{"30":1,"32":2}}],["2585",{"2":{"84":3}}],["258764",{"2":{"76":1}}],["25825",{"2":{"48":4}}],["255579",{"2":{"76":1}}],["255916",{"2":{"31":1}}],["253984",{"2":{"29":1}}],["253849",{"2":{"17":2,"19":1}}],["25243",{"2":{"29":1}}],["2504949184379115",{"2":{"79":2}}],["250913",{"2":{"29":1}}],["250752",{"2":{"15":5}}],["25",{"2":{"5":2,"13":1,"15":10,"48":2,"73":2}}],["236866",{"2":{"84":1}}],["23502",{"2":{"76":1}}],["23546",{"2":{"15":3}}],["233997",{"2":{"84":1}}],["233685",{"2":{"76":1}}],["233778",{"2":{"43":1}}],["231283",{"2":{"49":2}}],["2379",{"2":{"47":1}}],["23788",{"2":{"26":1}}],["232",{"2":{"34":1}}],["230047",{"2":{"31":1}}],["239878",{"2":{"29":1}}],["234458",{"2":{"31":1}}],["2344",{"2":{"15":3}}],["23",{"2":{"5":1,"13":1,"15":3,"46":2,"47":2}}],["20636222545147498",{"2":{"85":1}}],["206362",{"2":{"84":2}}],["206406",{"2":{"31":1}}],["203",{"2":{"76":2}}],["203703",{"2":{"15":2}}],["201129",{"2":{"75":1}}],["201",{"2":{"73":1}}],["201734",{"2":{"15":3}}],["20758428874582302",{"2":{"85":1}}],["207584",{"2":{"84":2}}],["207735",{"2":{"76":1}}],["20779",{"2":{"26":1}}],["207882",{"2":{"62":2,"64":2,"66":6}}],["208365",{"2":{"31":1}}],["208384",{"2":{"29":1}}],["205929",{"2":{"29":1}}],["204879",{"2":{"84":1}}],["204084",{"2":{"78":1}}],["20412",{"2":{"29":1}}],["204559",{"2":{"29":1}}],["204551",{"2":{"15":5}}],["202035",{"2":{"49":2}}],["202743",{"2":{"29":2}}],["2026",{"2":{"15":2}}],["2021",{"2":{"0":25}}],["2005",{"2":{"74":1}}],["20051",{"2":{"30":1,"32":2}}],["2003",{"2":{"21":1}}],["2001",{"2":{"17":4,"46":28,"47":17,"49":3}}],["2000",{"2":{"15":72,"21":1,"26":3,"46":32,"47":21,"49":16,"74":18}}],["200",{"2":{"5":1,"17":9,"43":26,"44":14}}],["20",{"2":{"4":4,"5":18,"17":3,"21":2,"22":12,"46":1,"66":2,"75":1,"76":8,"79":1}}],["2×3",{"2":{"73":3}}],["2×3×2",{"2":{"1":1,"17":1}}],["2×2",{"2":{"19":2,"73":1}}],["2×10×3",{"2":{"13":2}}],["2×4",{"2":{"5":1,"17":4}}],["2×4×2",{"2":{"3":1}}],["2",{"2":{"0":10,"1":4,"3":3,"4":3,"5":14,"8":3,"13":6,"15":13,"17":16,"18":1,"19":10,"21":9,"22":8,"23":4,"25":2,"26":5,"28":2,"29":12,"30":1,"31":8,"32":2,"33":5,"34":3,"43":8,"46":2,"47":17,"48":24,"49":6,"61":2,"62":4,"64":6,"65":3,"66":11,"73":62,"74":2,"75":1,"76":21,"78":2,"79":2,"80":5,"83":2,"84":8,"85":2}}],["==",{"2":{"22":1,"31":1,"49":1}}],["=>",{"2":{"1":10,"2":10,"3":15,"4":22,"11":6,"17":29,"21":4,"22":29,"24":2,"47":7,"48":18,"49":2,"62":1,"64":6,"66":7,"73":1,"84":1}}],["=",{"2":{"0":15,"1":4,"3":4,"4":10,"5":11,"13":7,"15":5,"17":7,"18":9,"19":4,"20":1,"21":7,"22":13,"23":2,"25":1,"26":3,"29":3,"30":1,"31":2,"33":1,"34":1,"43":7,"46":3,"47":2,"48":1,"49":2,"61":3,"62":1,"64":3,"65":8,"68":1,"70":1,"73":2,"74":7,"75":1,"76":3,"77":2,"78":4,"79":84,"80":37,"81":8,"83":4}}],["few",{"2":{"64":2}}],["feb",{"2":{"48":6,"74":1}}],["fact",{"2":{"77":1}}],["facing",{"2":{"35":1}}],["facilitate",{"2":{"11":2,"74":1}}],["favours",{"2":{"68":1}}],["favour",{"2":{"22":1}}],["fails",{"2":{"15":1}}],["fail",{"2":{"14":1}}],["fale",{"2":{"44":1}}],["fallback",{"2":{"11":1}}],["falls",{"2":{"5":2,"73":1}}],["fall",{"2":{"5":2}}],["falses",{"2":{"61":1}}],["false",{"2":{"1":1,"3":5,"11":1,"14":1,"17":1,"21":2,"22":1,"44":27}}],["far",{"2":{"4":1}}],["fast",{"2":{"4":1,"74":1,"81":1}}],["fri",{"2":{"74":2}}],["friendly",{"2":{"27":1}}],["frequency",{"2":{"34":2}}],["freely",{"2":{"19":1}}],["freeunits",{"2":{"5":1}}],["free",{"2":{"3":1,"31":1}}],["fraction",{"2":{"21":1}}],["from",{"2":{"0":3,"1":1,"2":1,"3":3,"4":10,"5":3,"8":1,"15":1,"17":3,"18":3,"19":1,"20":1,"21":6,"22":1,"23":5,"25":13,"28":1,"31":1,"36":1,"37":1,"38":1,"41":1,"42":10,"43":7,"51":1,"64":1,"73":1,"74":2,"75":1,"76":2,"81":1,"84":1}}],["further",{"2":{"40":1,"48":1}}],["future",{"2":{"4":1,"5":1,"22":1,"25":1,"72":1}}],["full",{"2":{"3":1,"4":3}}],["functionality",{"2":{"52":1}}],["functional",{"2":{"27":1}}],["functions",{"0":{"46":1,"80":1},"2":{"17":1,"21":2,"27":1,"33":1,"46":2,"64":1,"67":1,"68":1,"80":2}}],["function",{"2":{"1":4,"2":5,"3":13,"4":10,"5":2,"11":1,"17":11,"21":18,"22":10,"23":7,"25":4,"40":1,"45":2,"46":2,"47":2,"48":4,"49":1,"73":1,"74":1}}],["foo",{"2":{"64":3}}],["follow",{"2":{"46":1,"67":1}}],["following",{"2":{"12":1}}],["four",{"2":{"21":2}}],["found",{"2":{"3":1,"7":1,"22":3,"32":2,"78":1}}],["forms",{"2":{"27":1}}],["formats",{"2":{"10":1}}],["format",{"0":{"41":1},"2":{"2":2,"8":1,"11":1,"36":1,"41":2}}],["forward",{"2":{"4":1,"7":1,"17":2}}],["forwardordered",{"2":{"0":6,"3":1,"4":6,"5":8,"7":3,"13":6,"15":18,"17":8,"19":6,"21":4,"22":10,"23":1,"26":2,"43":15,"44":14,"47":9,"48":7,"49":5,"62":1,"64":4,"66":9,"73":28,"74":3,"75":6,"76":8,"77":2,"78":15,"79":1,"80":41,"83":6,"84":2}}],["for",{"2":{"0":12,"1":3,"2":2,"3":7,"4":40,"5":19,"7":2,"8":3,"10":1,"11":4,"14":1,"15":1,"17":17,"18":10,"19":5,"20":3,"21":12,"22":8,"23":4,"24":3,"25":5,"27":1,"28":1,"29":2,"30":1,"31":1,"39":1,"40":5,"42":6,"43":3,"45":1,"48":4,"51":3,"53":1,"54":1,"56":1,"57":2,"59":1,"61":1,"68":1,"72":1,"73":1,"74":1,"75":6,"77":2,"78":1,"79":2,"82":1,"84":3}}],["flexible",{"2":{"40":1}}],["float32",{"2":{"26":4}}],["float64",{"2":{"0":3,"1":1,"3":1,"4":1,"5":1,"13":1,"15":7,"17":9,"19":7,"20":1,"21":3,"22":13,"23":2,"26":2,"29":12,"30":2,"31":4,"32":2,"33":2,"34":1,"43":18,"44":14,"47":9,"48":18,"49":5,"62":4,"64":4,"66":11,"73":30,"74":1,"75":1,"76":12,"77":6,"78":39,"79":9,"80":141,"83":3,"84":36}}],["flags",{"2":{"3":1}}],["final",{"2":{"48":1}}],["find",{"2":{"74":1}}],["findfirst",{"2":{"7":1}}],["finds",{"2":{"7":1}}],["fix",{"2":{"22":1}}],["fixed",{"2":{"8":1}}],["field",{"2":{"11":1,"17":1,"22":5,"40":1,"66":1}}],["fields",{"2":{"2":1,"3":1,"4":1,"6":1,"22":5,"25":1,"27":2,"40":3,"41":1}}],["firstindex",{"2":{"33":1}}],["first",{"2":{"3":3,"12":1,"13":1,"18":8,"23":1,"32":1,"43":2,"46":1,"48":1,"73":2}}],["filter",{"2":{"43":1,"44":1,"73":1}}],["filters",{"2":{"5":1}}],["fill",{"2":{"17":4,"22":2,"29":4,"41":1,"74":1}}],["filled",{"2":{"2":1,"10":1}}],["file",{"2":{"0":1,"11":2,"51":1}}],["f",{"2":{"1":5,"3":10,"4":2,"5":1,"13":1,"17":5,"19":3,"21":11,"22":11,"70":1,"73":1,"84":1}}],["gc",{"2":{"34":6}}],["global",{"0":{"23":1},"1":{"24":1,"25":1},"2":{"23":2}}],["globally",{"2":{"14":1}}],["gpus",{"0":{"26":1},"1":{"27":1},"2":{"24":1,"26":1,"57":1}}],["gpu",{"0":{"27":1},"2":{"22":2,"26":4,"27":7,"61":1}}],["gribdatasets",{"2":{"35":1}}],["grid",{"2":{"4":1}}],["gridded",{"2":{"4":1}}],["groupmeans",{"2":{"21":2}}],["grouped",{"2":{"21":1,"49":1}}],["groups",{"2":{"21":12,"47":2,"48":4}}],["groupings",{"2":{"46":1}}],["groupingfunction",{"2":{"21":2}}],["grouping",{"0":{"46":1,"47":1},"2":{"21":9,"45":4,"48":2,"49":1}}],["groupby",{"2":{"21":13,"45":1,"47":13,"48":21,"49":4}}],["group",{"0":{"21":1,"45":1},"1":{"46":1,"47":1,"48":1,"49":1},"2":{"21":9,"46":1,"47":3,"48":13,"49":2}}],["goals",{"0":{"27":1},"2":{"27":1}}],["good",{"2":{"18":1}}],["got",{"2":{"15":1}}],["gis",{"2":{"51":2}}],["giving",{"2":{"5":1,"82":1}}],["given",{"2":{"22":1,"82":1}}],["give",{"2":{"3":1,"4":1,"5":1,"17":1,"29":1,"78":1}}],["gives",{"2":{"0":1,"18":2,"66":1}}],["github",{"2":{"4":1,"66":1}}],["guide",{"2":{"45":1}}],["guarantee",{"2":{"11":1}}],["guaranteed",{"2":{"3":1,"17":1}}],["guessed",{"2":{"2":1,"8":2}}],["guess",{"2":{"0":1,"46":1}}],["gt",{"2":{"1":2,"3":3,"5":1,"17":2,"21":1,"22":2}}],["g",{"2":{"0":1,"3":1,"4":2,"5":1,"13":1,"17":1,"21":1,"36":1,"61":1,"65":1,"70":1,"84":1}}],["geotiff",{"2":{"10":1}}],["geospatial",{"2":{"4":3,"51":1}}],["gets",{"2":{"73":2}}],["getting",{"2":{"17":1,"48":1}}],["getters",{"0":{"43":1},"1":{"44":1}}],["getter",{"2":{"4":1}}],["get",{"2":{"1":3,"2":1,"3":1,"11":3,"17":4,"20":1,"25":1,"30":1,"43":7,"73":2,"74":1,"79":1}}],["getindex",{"2":{"0":1,"3":2,"18":3,"19":1,"25":2,"32":1,"42":2}}],["generator",{"2":{"23":4}}],["generators",{"0":{"19":1},"2":{"35":1}}],["generates",{"2":{"21":7}}],["generate",{"2":{"3":1,"21":2,"25":1}}],["generated",{"2":{"3":1,"20":1,"40":1}}],["general",{"2":{"11":1}}],["generally",{"2":{"0":1}}],["generic",{"2":{"0":1,"4":1,"65":1}}],["p",{"2":{"84":1}}],["pythons",{"2":{"35":1}}],["permafrost",{"2":{"56":1}}],["permutation",{"2":{"80":1}}],["permuting",{"2":{"22":2}}],["permuteddimsarray",{"2":{"80":2}}],["permutedims",{"2":{"33":1,"80":3}}],["permuted",{"2":{"22":1}}],["permute",{"2":{"14":1,"22":1,"68":1}}],["periods",{"2":{"21":3}}],["perform",{"2":{"33":1}}],["performed",{"2":{"4":1}}],["performance",{"0":{"34":1,"81":1},"2":{"4":3,"18":1,"51":1}}],["pkg",{"2":{"12":2}}],["pkg>",{"2":{"12":2}}],["put",{"2":{"11":1}}],["pixels",{"2":{"5":1}}],["powerful",{"2":{"55":1,"61":1}}],["polygon",{"2":{"51":1}}],["positions",{"0":{"10":1}}],["position",{"2":{"4":1,"9":1,"10":6}}],["possible",{"2":{"4":2,"5":1,"7":1,"22":1,"26":1,"33":1,"66":1,"67":1}}],["point",{"2":{"0":1,"4":2,"5":1,"9":1,"19":1,"74":1}}],["points",{"2":{"0":6,"4":7,"5":12,"8":2,"9":4,"13":4,"15":18,"17":5,"19":5,"21":4,"22":9,"23":1,"26":2,"43":32,"44":28,"47":9,"48":4,"49":5,"62":2,"64":2,"66":4,"73":9,"74":1,"75":4,"76":10,"77":2,"78":15,"79":1,"80":49,"83":4,"84":2}}],["planned",{"2":{"72":1}}],["plasma",{"2":{"71":2}}],["places",{"2":{"68":2}}],["place",{"2":{"27":1,"60":1}}],["placed",{"2":{"22":1}}],["please",{"2":{"4":1}}],["plus",{"2":{"4":1}}],["plots",{"0":{"67":1,"69":1},"1":{"70":1,"71":1,"72":1},"2":{"0":1,"3":1,"11":1,"17":2,"67":2,"68":1,"72":1}}],["plotted",{"2":{"0":1,"4":1,"7":1,"9":1,"10":1}}],["plotting",{"2":{"0":1}}],["plot",{"2":{"0":3,"2":2,"67":2,"68":2}}],["printing",{"2":{"74":1}}],["principles",{"2":{"46":1}}],["prior",{"2":{"22":1}}],["primarily",{"2":{"3":1}}],["primitives",{"2":{"32":2}}],["primitive",{"0":{"3":1}}],["process",{"2":{"57":1,"65":1}}],["providing",{"2":{"51":1}}],["provides",{"2":{"43":1,"45":1,"58":1,"82":1}}],["provide",{"2":{"4":2}}],["provided",{"2":{"4":5,"5":3,"8":1,"23":2,"74":1}}],["projected",{"2":{"36":1,"51":1}}],["prod",{"2":{"33":1,"80":2}}],["probably",{"2":{"24":1,"46":1}}],["problems",{"2":{"4":1}}],["property",{"2":{"24":1}}],["properties",{"2":{"2":2,"15":1,"22":1,"41":1,"74":1,"75":2}}],["programmatically",{"2":{"17":1}}],["predicates",{"0":{"44":1},"2":{"44":1}}],["predefined",{"2":{"28":1}}],["prefereble",{"2":{"21":1}}],["preserved",{"2":{"22":1}}],["present",{"2":{"5":1,"19":1,"35":1}}],["pressed",{"2":{"12":1}}],["previously",{"2":{"22":1}}],["previous",{"2":{"3":1,"5":1}}],["precedence",{"2":{"0":1}}],["paaarnet",{"2":{"25":3,"42":3}}],["padding",{"2":{"48":1}}],["pad",{"2":{"21":5}}],["past",{"2":{"17":1}}],["pass",{"2":{"11":1,"18":1,"22":3,"25":2,"41":1,"48":1,"66":1}}],["passing",{"2":{"3":2,"4":1,"15":1,"21":1,"22":1}}],["passed",{"2":{"0":1,"2":1,"3":5,"5":3,"19":1,"22":6,"23":1,"25":1,"27":1,"40":1,"73":2}}],["partly",{"2":{"76":1}}],["part",{"2":{"25":1,"66":1}}],["parentheses",{"2":{"22":1}}],["parent",{"2":{"14":1,"17":1,"22":5,"23":4,"25":13,"26":2,"27":1,"34":2,"41":1,"42":9,"61":5,"81":1}}],["parameters",{"2":{"3":1}}],["parameter",{"2":{"0":1,"11":1}}],["pair",{"2":{"11":1,"21":1,"22":4}}],["pairs",{"2":{"11":1,"21":1,"22":8}}],["packages",{"2":{"35":2,"36":1,"46":1,"67":1,"82":1}}],["package",{"2":{"4":1,"12":1,"13":1,"21":1,"52":1,"54":1,"55":1}}],["d=rand",{"2":{"77":1}}],["dynamicgrids",{"0":{"57":1},"2":{"27":1,"57":2}}],["dropdims",{"2":{"33":1,"80":1}}],["dropped",{"2":{"25":2,"42":2}}],["drop=true",{"2":{"23":3}}],["dd",{"2":{"5":3,"22":3,"28":1,"39":2,"46":1,"51":1,"53":1,"65":2,"66":1,"68":1,"82":1}}],["da4",{"2":{"34":1}}],["da5",{"2":{"33":2}}],["das",{"2":{"25":1}}],["daily",{"2":{"21":1}}],["dayofyear",{"2":{"46":2,"48":3}}],["dayofweek",{"2":{"46":1}}],["day",{"2":{"21":3,"46":2,"48":4}}],["days",{"2":{"4":1,"48":1}}],["da3",{"2":{"18":2}}],["da2",{"2":{"18":2,"22":7,"31":5}}],["da1",{"2":{"18":2,"22":7,"30":2,"31":1,"32":2}}],["da",{"2":{"4":2,"22":10,"29":2,"31":2}}],["dataframe",{"0":{"84":1},"2":{"84":8}}],["dataframes",{"0":{"82":1},"1":{"83":1,"84":1,"85":1},"2":{"5":1,"82":1,"83":1}}],["data2",{"2":{"83":1,"84":2,"85":1}}],["data2=rand",{"2":{"83":1}}],["data1",{"2":{"83":2,"84":2,"85":1}}],["dataset",{"2":{"36":2,"54":1}}],["datasets",{"0":{"18":1},"2":{"4":1,"52":1}}],["dataapi",{"2":{"21":1}}],["data=autovalues",{"2":{"4":1}}],["data",{"2":{"0":2,"1":1,"2":1,"4":17,"11":1,"13":2,"15":8,"17":5,"18":6,"20":1,"21":2,"22":6,"23":2,"25":3,"26":2,"27":2,"28":1,"35":1,"40":2,"48":1,"51":2,"52":1,"53":1,"56":1,"57":1,"59":1,"61":1,"64":3,"82":1,"83":2,"84":2,"85":1}}],["date",{"2":{"4":2,"74":1}}],["datetime",{"2":{"0":13,"5":1,"15":28,"17":4,"21":2,"46":5,"47":3,"49":11,"74":10,"75":1}}],["dates",{"2":{"0":15,"4":2,"15":36,"17":1,"21":1,"46":4,"47":4,"49":12,"74":9,"83":1}}],["d",{"0":{"14":1},"1":{"15":1},"2":{"3":2,"4":2,"13":1,"14":2,"15":6,"19":1,"22":12,"64":2,"70":1,"75":3,"77":1,"78":6,"79":23,"80":28,"81":2,"84":2}}],["dsl",{"2":{"55":1}}],["dst",{"2":{"23":6}}],["ds",{"2":{"3":1,"4":2,"22":2,"23":2}}],["docs",{"2":{"42":2}}],["documented",{"2":{"23":1}}],["doing",{"2":{"19":1,"23":1,"48":1,"64":1,"76":1}}],["dot",{"2":{"14":1}}],["dotview",{"2":{"3":1}}],["do",{"2":{"4":2,"11":1,"12":1,"21":1,"22":3,"33":1,"48":1,"62":1,"66":2}}],["doesn",{"2":{"19":1,"31":1,"32":1,"65":1}}],["does",{"2":{"4":1,"14":1,"22":1,"40":1,"46":1,"48":1,"78":1,"80":1,"82":1}}],["done",{"2":{"17":1,"22":1,"82":1}}],["don",{"2":{"2":1,"4":1,"23":4,"31":1,"64":1,"66":1}}],["direct",{"2":{"35":1}}],["directly",{"2":{"19":1,"34":1,"35":1,"48":1,"81":1,"85":1}}],["difficult",{"2":{"27":1}}],["different",{"0":{"71":1},"2":{"3":1,"5":3,"10":1,"11":1,"22":1,"43":1}}],["divide",{"2":{"21":1}}],["di",{"2":{"19":2}}],["dicts",{"2":{"27":1,"60":1}}],["dict",{"2":{"4":4,"11":3,"17":1,"21":3,"22":1,"29":5,"47":7,"48":11,"49":2,"64":2}}],["dictates",{"2":{"2":1}}],["discrete",{"2":{"48":1}}],["discarded",{"2":{"5":1,"17":1}}],["distinguishing",{"2":{"43":1}}],["distance",{"2":{"4":2,"5":1}}],["diskarray",{"2":{"52":1}}],["diskarrays",{"0":{"35":1},"2":{"21":1,"35":2}}],["disk",{"2":{"35":1}}],["dispatch",{"2":{"0":1,"11":1}}],["dimmatrix",{"2":{"68":1}}],["dimvector",{"2":{"23":1}}],["dimgroupbyarray",{"2":{"21":6,"47":1,"48":8,"49":1}}],["dimname",{"2":{"21":1}}],["dimnum",{"2":{"1":4,"17":4,"39":1}}],["dimcolumn",{"2":{"20":1}}],["dimtype",{"2":{"21":1}}],["dimtable",{"2":{"20":4,"84":4}}],["dimtuple",{"2":{"18":1,"43":4}}],["dimpoints",{"2":{"19":4}}],["dimindices",{"2":{"19":9,"31":2,"38":1,"76":1}}],["dimz",{"2":{"5":2,"18":4}}],["dimselector",{"0":{"76":1}}],["dimselectors",{"2":{"19":7,"76":3}}],["dimsmatch",{"2":{"3":2}}],["dimstoreduce",{"2":{"3":1}}],["dimstackinterface",{"2":{"25":2,"42":6}}],["dimstacks",{"0":{"77":1},"1":{"78":1,"79":1,"80":1,"81":1},"2":{"14":1}}],["dimstack",{"2":{"2":1,"14":1,"18":19,"22":1,"23":2,"42":7,"43":1,"61":2,"77":3,"78":11,"79":2,"80":25,"82":1,"83":2,"84":2,"85":2}}],["dims2indices",{"2":{"2":1}}],["dims=",{"2":{"15":4,"22":3,"23":1}}],["dims=ti",{"2":{"0":1,"18":2,"21":1,"23":1,"33":1}}],["dims=z",{"2":{"0":1}}],["dims=y",{"2":{"0":1,"22":1,"80":11}}],["dims=x",{"2":{"0":1}}],["dims",{"0":{"14":1,"33":1,"37":1,"39":1},"1":{"15":1,"38":1,"39":1},"2":{"0":4,"1":11,"2":8,"3":13,"4":18,"5":6,"11":2,"13":3,"14":4,"15":10,"17":42,"18":3,"19":14,"20":1,"21":9,"22":33,"23":13,"25":26,"26":1,"28":1,"29":11,"30":3,"31":5,"32":4,"33":4,"34":1,"36":1,"37":1,"38":1,"39":5,"40":2,"41":2,"42":17,"43":24,"44":29,"47":9,"48":19,"49":6,"61":5,"62":2,"64":4,"66":6,"73":15,"74":1,"75":1,"76":5,"77":5,"78":30,"79":5,"80":114,"83":4,"84":27}}],["dimarrays",{"0":{"29":1},"1":{"30":1,"31":1,"32":1,"33":1,"34":1},"2":{"29":1}}],["dimarrayinterface",{"2":{"25":2,"42":6}}],["dimarray",{"0":{"30":1},"2":{"0":4,"1":5,"2":1,"3":2,"4":6,"5":11,"13":7,"14":2,"15":11,"17":37,"18":11,"19":6,"20":2,"21":10,"22":10,"23":1,"26":2,"27":1,"29":17,"30":4,"31":4,"32":2,"33":2,"34":1,"42":4,"43":7,"47":13,"48":39,"49":8,"56":1,"59":1,"61":3,"62":2,"64":2,"66":6,"73":16,"74":4,"75":2,"76":5,"77":1,"78":3,"83":1,"84":1}}],["dim",{"2":{"0":11,"1":2,"2":4,"3":9,"4":12,"11":2,"17":7,"20":3,"22":16,"28":3,"30":1,"33":1,"38":1,"83":1}}],["dimensionmismatch",{"2":{"15":1,"78":1}}],["dimensionality",{"2":{"23":1}}],["dimensional",{"0":{"14":1,"31":1},"1":{"15":1},"2":{"0":1,"3":1,"18":1,"22":1,"25":2,"38":1,"45":1,"79":1}}],["dimensionaldata",{"0":{"36":1},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1},"2":{"0":22,"1":9,"2":5,"3":20,"4":35,"5":21,"6":1,"7":6,"8":5,"9":3,"10":6,"11":4,"12":3,"13":1,"15":1,"17":20,"18":3,"19":3,"20":4,"21":10,"22":20,"23":5,"24":3,"25":8,"26":2,"27":3,"28":3,"29":1,"32":6,"35":1,"36":1,"37":1,"40":1,"41":2,"42":10,"43":3,"45":1,"46":2,"51":1,"52":1,"60":1,"61":1,"62":1,"64":1,"68":1,"73":2,"74":1,"77":1,"82":1,"83":1}}],["dimension",{"0":{"15":1,"19":1,"30":1,"38":1,"49":1},"2":{"0":21,"1":27,"2":11,"3":32,"4":24,"5":3,"10":2,"11":2,"14":2,"15":3,"17":75,"18":3,"19":9,"20":7,"21":2,"22":33,"23":9,"25":4,"28":3,"29":2,"31":3,"32":1,"33":3,"38":1,"39":5,"40":1,"41":2,"42":2,"43":6,"45":1,"47":1,"49":2,"62":1,"63":1,"64":4,"66":1,"73":2,"74":2,"75":1,"77":1,"79":1,"80":1,"82":2,"84":2}}],["dimensions",{"0":{"0":1,"28":1},"1":{"1":1,"2":1,"3":1},"2":{"0":30,"1":13,"2":7,"3":32,"4":39,"5":11,"6":1,"7":6,"8":5,"9":3,"10":8,"11":5,"14":2,"15":1,"17":25,"18":3,"19":5,"20":1,"21":3,"22":24,"23":9,"25":6,"28":7,"29":1,"31":4,"32":4,"34":1,"37":2,"38":1,"42":4,"43":3,"44":2,"49":2,"63":2,"64":1,"68":1,"73":1,"75":1,"77":1,"78":1,"79":1,"82":2,"83":1,"84":2}}],["during",{"2":{"0":1,"35":1,"57":1}}],["declarative",{"2":{"62":1}}],["dec",{"2":{"48":4,"74":1}}],["december",{"2":{"21":2}}],["demo",{"2":{"46":1}}],["developers",{"2":{"40":1,"52":1}}],["development",{"2":{"35":1,"67":1}}],["devicebuffer",{"2":{"26":1}}],["dest",{"2":{"22":4}}],["descriptive",{"2":{"21":1}}],["designed",{"2":{"35":1,"36":1}}],["design",{"2":{"18":2}}],["deprecated",{"2":{"22":1,"67":1}}],["depreciated",{"2":{"5":1}}],["dependencies",{"2":{"51":1}}],["dependency",{"2":{"35":1}}],["dependent",{"2":{"0":1}}],["dependentdim",{"2":{"0":4}}],["depending",{"2":{"1":1,"17":1}}],["detect",{"2":{"4":2,"17":4,"41":1}}],["detected",{"2":{"4":4,"41":1,"74":2,"75":5}}],["determine",{"2":{"7":1,"74":1}}],["determined",{"2":{"4":1}}],["determines",{"2":{"3":1,"19":1}}],["details",{"2":{"0":1,"25":2,"28":1}}],["definition",{"2":{"25":2,"42":2}}],["defining",{"2":{"4":2}}],["defines",{"2":{"4":1,"8":1,"19":1,"22":1,"25":2,"42":3,"43":1,"55":1}}],["defined",{"2":{"3":1,"4":1,"18":1,"22":3,"28":1,"40":1,"47":1}}],["define",{"2":{"0":1,"3":1,"4":1,"9":1,"15":1,"21":1,"29":1,"43":1,"47":1,"75":1,"76":1,"83":1}}],["default",{"0":{"70":1},"2":{"0":1,"1":3,"3":11,"4":7,"10":1,"17":4,"19":2,"21":5,"24":1,"67":1,"68":1}}],["w",{"2":{"84":1}}],["would",{"2":{"14":1,"19":2,"43":1,"48":1}}],["works",{"2":{"4":1,"14":2,"22":1,"32":2,"48":2,"57":1,"78":2}}],["work",{"2":{"2":1,"4":4,"5":1,"10":2,"11":1,"14":2,"17":1,"18":1,"21":1,"22":1,"23":1,"27":3,"28":1,"32":3,"40":2,"46":1,"52":1,"65":1,"67":1,"68":2,"74":1,"80":1}}],["working",{"2":{"1":1,"18":2}}],["word",{"2":{"0":1}}],["want",{"2":{"12":1,"23":4,"25":2,"43":1,"48":2,"62":1,"66":2}}],["way",{"2":{"4":1,"15":1,"22":1,"40":1,"64":1,"66":1}}],["warning",{"2":{"3":1,"32":2,"64":1}}],["warn",{"2":{"3":1}}],["whose",{"2":{"22":3}}],["whole",{"2":{"5":2}}],["what",{"2":{"22":1,"43":2,"46":1,"48":1,"62":1,"64":1,"66":1}}],["whatever",{"2":{"19":1,"43":1}}],["which",{"2":{"3":1,"4":1,"14":1,"21":1,"22":4,"23":1,"33":1,"43":1,"51":1,"71":1,"73":3,"76":1}}],["whichever",{"2":{"3":1}}],["while",{"2":{"3":1,"11":1,"18":2,"19":1}}],["wherever",{"2":{"23":1,"48":1}}],["where",{"2":{"3":4,"4":9,"5":7,"7":1,"8":2,"9":1,"10":2,"11":1,"18":1,"22":4,"33":1,"43":1,"48":1,"61":1,"64":1,"73":4,"75":1}}],["whether",{"2":{"1":1,"17":1}}],["whenever",{"2":{"27":1}}],["when",{"2":{"0":5,"2":1,"4":6,"5":2,"11":1,"18":2,"19":1,"21":3,"22":1,"23":3,"24":1,"27":1,"31":1,"32":1,"38":1,"41":1,"48":1,"74":1,"75":1,"78":1}}],["write",{"2":{"85":2}}],["written",{"2":{"22":1}}],["writing",{"2":{"3":1,"22":1}}],["wraps",{"2":{"38":1}}],["wrapping",{"2":{"3":1,"4":1,"43":5,"52":1,"74":4}}],["wrapper",{"2":{"4":4,"11":1,"21":1,"22":2,"23":4,"24":2,"28":1,"48":1,"64":1}}],["wrappers",{"2":{"0":2,"4":1,"5":1,"11":2,"24":1,"29":2,"31":1,"61":1}}],["wrapped",{"2":{"3":2,"21":1,"22":1,"28":1,"65":1}}],["wrap",{"2":{"0":2,"21":3,"28":3,"74":1}}],["weds",{"2":{"74":2}}],["were",{"2":{"32":2}}],["well",{"2":{"20":1,"31":1,"73":2}}],["weeks",{"2":{"4":1}}],["week",{"2":{"4":1}}],["we",{"2":{"0":1,"4":3,"5":1,"14":3,"15":1,"18":1,"19":2,"21":2,"22":2,"23":8,"28":1,"29":2,"30":1,"31":2,"42":2,"43":1,"46":1,"47":3,"48":13,"49":2,"52":1,"62":2,"73":3,"74":6,"75":1,"76":4,"78":2,"79":3,"84":2,"85":1}}],["winter",{"2":{"48":1}}],["wish",{"2":{"5":1}}],["wider",{"2":{"41":1}}],["wide",{"2":{"4":1,"51":1,"82":1}}],["widely",{"2":{"1":1}}],["within",{"2":{"5":1,"19":1,"73":2}}],["without",{"2":{"3":1,"4":2,"11":1,"18":1,"22":2,"31":1,"40":1,"61":1,"65":1,"74":1,"79":1}}],["with",{"0":{"14":1,"30":1,"72":1},"1":{"15":1},"2":{"0":3,"1":5,"2":2,"3":10,"4":13,"5":10,"7":1,"8":1,"10":8,"11":1,"12":1,"14":5,"15":3,"17":12,"18":8,"19":7,"20":1,"21":7,"22":14,"23":6,"25":3,"26":1,"27":1,"28":5,"29":1,"30":1,"31":3,"32":2,"33":1,"34":3,"35":1,"38":1,"40":2,"42":2,"43":1,"44":1,"45":3,"47":8,"48":11,"49":3,"52":2,"53":1,"61":2,"63":1,"64":5,"65":1,"67":2,"68":1,"73":10,"74":1,"75":2,"76":3,"78":5,"79":2,"80":1,"81":1,"82":1,"84":1}}],["will",{"2":{"0":7,"1":1,"2":2,"3":7,"4":13,"5":9,"7":2,"8":2,"10":3,"11":2,"17":10,"18":7,"20":1,"21":5,"22":15,"23":1,"31":2,"39":2,"40":2,"43":1,"45":1,"46":2,"64":1,"65":1,"67":1,"68":3,"73":1,"74":2,"80":1,"84":2}}],["btime",{"2":{"81":2}}],["blue",{"2":{"71":1,"72":1}}],["block",{"2":{"25":1}}],["blocks",{"2":{"25":1,"48":2}}],["blockwidth",{"2":{"25":4}}],["b=rand",{"2":{"77":1}}],["b=falses",{"2":{"61":1}}],["b=1",{"2":{"13":1,"30":1}}],["building",{"2":{"35":1}}],["but",{"2":{"0":1,"1":2,"3":9,"4":4,"5":1,"8":1,"11":1,"15":1,"17":2,"18":3,"19":3,"21":6,"22":1,"25":2,"26":1,"31":2,"32":1,"35":2,"36":1,"43":1,"46":1,"48":1,"49":1,"51":1,"55":1,"62":1,"63":1,"64":2,"65":1,"66":1,"68":1,"73":1,"74":2,"75":1,"76":1}}],["bin",{"2":{"48":4}}],["binning",{"0":{"48":1},"2":{"21":2}}],["bins",{"2":{"21":15,"45":1,"48":5}}],["bitmatrix",{"2":{"61":2}}],["bit",{"2":{"13":1}}],["bar",{"2":{"64":3}}],["bayesian",{"2":{"54":1}}],["band",{"2":{"20":2}}],["backend",{"2":{"27":1}}],["back",{"2":{"5":1,"11":1}}],["basic",{"2":{"32":1}}],["basics",{"0":{"13":1}}],["basically",{"2":{"3":1,"21":1,"64":1}}],["base",{"2":{"3":2,"5":1,"14":2,"17":10,"18":3,"21":1,"22":1,"23":7,"25":4,"27":1,"32":1,"42":2,"74":2,"80":1}}],["basetypeof",{"2":{"3":5}}],["basedims",{"2":{"3":2}}],["based",{"2":{"2":1,"25":1,"35":1,"64":1}}],["brackets",{"2":{"64":1}}],["break",{"2":{"48":1}}],["breaking",{"2":{"4":1,"25":1,"65":1}}],["broken",{"2":{"66":1}}],["brought",{"2":{"28":1}}],["brodcasting",{"2":{"14":1,"23":2}}],["broadcast",{"0":{"14":1},"1":{"15":1},"2":{"14":7,"15":7,"21":3,"22":11,"23":4,"26":1,"35":1,"80":2}}],["broadcasts",{"0":{"14":1},"1":{"15":1},"2":{"14":2,"23":5,"27":1,"80":1}}],["broadcasting",{"2":{"3":1,"14":1,"22":2,"23":5,"47":1}}],["box",{"2":{"25":1,"67":1}}],["bonus",{"2":{"14":1}}],["boundaries",{"2":{"5":1}}],["bounds",{"2":{"4":9,"8":6,"43":8,"74":1,"75":2}}],["both",{"2":{"3":1,"4":1,"35":2,"52":1,"63":1,"78":1}}],["bool",{"2":{"1":3,"3":5,"4":2,"5":1,"17":11,"21":1,"23":2,"61":7,"73":2}}],["bytes",{"2":{"34":2,"81":2}}],["by",{"0":{"21":1,"45":1,"49":1},"1":{"46":1,"47":1,"48":1,"49":1},"2":{"0":1,"1":2,"3":13,"4":8,"5":4,"9":1,"15":2,"17":2,"19":1,"21":8,"22":2,"28":1,"30":1,"34":2,"35":1,"40":2,"47":2,"48":2,"49":3,"68":1,"71":1,"73":4}}],["b",{"2":{"0":7,"3":4,"4":2,"5":11,"13":3,"17":9,"18":3,"19":1,"22":4,"28":2,"30":3,"32":2,"49":3,"61":2,"62":2,"64":5,"65":3,"66":3,"67":1,"68":1,"70":2,"71":1,"73":27,"75":3,"76":3,"77":1,"78":4,"79":23,"80":40,"81":2,"84":2}}],["best",{"2":{"66":1}}],["benchmarktools",{"2":{"34":3,"81":1}}],["benchmark",{"2":{"34":3}}],["before",{"2":{"23":9}}],["become",{"2":{"84":1}}],["becomes",{"2":{"20":2}}],["because",{"2":{"14":1,"21":2}}],["behaves",{"2":{"19":2,"36":1}}],["behaviour",{"2":{"4":4,"5":1,"6":1,"18":2,"21":1,"22":1,"41":1,"67":1,"74":1,"77":1}}],["behaviours",{"2":{"4":1,"52":1,"65":1}}],["begin+1",{"2":{"32":1}}],["beginendsteprange",{"2":{"10":2}}],["beginendrange",{"2":{"10":2}}],["begin",{"0":{"32":1},"2":{"10":4,"32":2}}],["better",{"2":{"5":1}}],["between",{"2":{"0":1,"4":5,"5":21,"10":1,"11":1,"17":1,"18":2}}],["been",{"2":{"2":1,"3":1,"18":1,"22":1}}],["be",{"2":{"0":5,"1":5,"2":4,"3":11,"4":33,"5":17,"6":1,"7":2,"8":3,"10":4,"11":3,"12":1,"14":1,"15":1,"17":10,"18":4,"19":3,"21":8,"22":16,"23":2,"24":1,"25":3,"27":4,"28":3,"31":3,"32":1,"33":1,"36":1,"38":1,"40":1,"41":1,"46":1,"48":1,"60":1,"61":2,"62":1,"64":1,"66":1,"73":2,"74":3,"75":2,"78":1,"80":1}}],["ecosystem",{"2":{"82":1}}],["edges",{"2":{"48":1}}],["edge",{"2":{"21":1}}],["equally",{"2":{"21":1}}],["equivalent",{"2":{"18":1,"19":1,"23":2}}],["estimate",{"2":{"34":4}}],["essentially",{"2":{"19":1,"21":1}}],["especially",{"2":{"19":1,"23":1,"68":1}}],["effects",{"2":{"17":2}}],["enforce",{"2":{"77":1}}],["entries",{"2":{"64":2}}],["entry",{"2":{"21":3,"47":7,"48":11,"49":2}}],["engine",{"2":{"57":1}}],["ensure",{"2":{"23":4}}],["enables",{"2":{"35":1}}],["enable",{"2":{"8":1}}],["end",{"0":{"32":1},"2":{"5":4,"9":1,"10":6,"21":3,"22":1,"32":3,"43":1}}],["evaluations",{"2":{"34":2}}],["evaluated",{"2":{"5":1}}],["everything",{"2":{"36":1,"60":1,"64":1}}],["everywhere",{"2":{"28":1}}],["every",{"2":{"4":1,"5":1,"8":1,"22":2}}],["even",{"2":{"4":1,"14":2,"19":1,"32":1,"65":1,"74":1,"80":1}}],["error",{"2":{"3":2,"5":2,"15":1,"31":2,"64":1,"78":1}}],["errors",{"2":{"2":1,"3":1}}],["empty",{"2":{"3":1,"17":2,"25":2,"42":2,"75":1}}],["eltype",{"2":{"23":2,"61":2,"77":4,"78":22,"79":4,"80":88,"83":2,"84":26}}],["else",{"2":{"2":1,"21":1,"60":1,"64":1}}],["element",{"2":{"0":1,"2":1,"13":1,"15":3,"17":2,"21":2,"30":1,"31":2,"32":1,"43":2,"46":8,"47":7,"48":13,"49":1,"73":3,"74":3,"78":1,"79":2,"80":1,"85":1}}],["either",{"2":{"1":1,"2":1,"3":1,"4":2,"11":1,"17":2,"19":1,"21":4,"23":4}}],["early",{"2":{"25":2}}],["easiest",{"2":{"40":1}}],["easier",{"2":{"24":1,"39":1}}],["easily",{"2":{"0":1,"4":1,"36":2,"64":1}}],["eachindex",{"2":{"38":2}}],["eachslice",{"2":{"15":2,"23":4,"33":1,"49":1}}],["eachother",{"2":{"14":1}}],["each",{"2":{"0":1,"3":2,"4":5,"5":2,"8":1,"15":1,"18":1,"19":2,"20":1,"21":1,"22":1,"43":2,"47":1,"67":1,"74":1,"79":1,"81":1,"84":3}}],["exception",{"2":{"23":2}}],["except",{"2":{"14":1,"27":1}}],["exact",{"2":{"4":1,"9":1,"19":2,"21":1}}],["exactly",{"2":{"4":1,"5":1,"48":1,"73":1}}],["examples",{"2":{"0":2,"22":1,"23":1,"36":2}}],["example",{"0":{"15":1,"83":1},"2":{"0":5,"1":4,"3":2,"4":5,"5":7,"15":1,"17":12,"18":2,"19":2,"20":1,"21":2,"22":5,"23":3,"27":1,"40":1,"43":1}}],["extrema",{"2":{"33":1,"80":2}}],["extra",{"2":{"0":1,"75":1}}],["extent",{"2":{"43":9}}],["extents",{"2":{"43":2}}],["extensible",{"2":{"36":1,"40":1}}],["extension",{"2":{"14":1,"55":1}}],["extends",{"2":{"51":1,"53":1}}],["extend",{"2":{"18":1}}],["extended",{"2":{"4":1,"25":2,"36":2}}],["extending",{"0":{"36":1},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1},"2":{"4":3,"22":1,"37":1}}],["exploratory",{"2":{"54":1}}],["explicit",{"2":{"4":1,"8":1,"42":1}}],["explicitly",{"2":{"4":2,"8":1,"21":1,"22":2,"23":4}}],["expected",{"2":{"23":1}}],["expression",{"2":{"22":1}}],["exported",{"0":{"1":1,"2":1}}],["existing",{"2":{"5":1,"22":1,"25":1,"45":1}}],["exists",{"2":{"3":1,"51":1}}],["exist",{"2":{"2":1,"60":1}}],["e",{"2":{"0":1,"3":1,"4":2,"5":2,"13":1,"17":1,"19":1,"21":1,"36":1,"49":1,"61":1,"65":1,"70":1,"71":1,"75":3,"78":2,"84":1}}],["etc",{"2":{"0":2,"3":1,"18":1,"22":2}}],["l",{"2":{"43":2,"62":2,"64":2,"66":3,"74":9,"84":1}}],["lj",{"2":{"35":1}}],["lick",{"2":{"73":1}}],["line",{"2":{"67":1}}],["linearmap",{"2":{"4":1}}],["list",{"2":{"21":1,"71":1}}],["listed",{"2":{"8":1,"44":1,"64":1}}],["little",{"2":{"5":1,"13":1}}],["lies",{"2":{"18":2}}],["lie",{"2":{"5":1}}],["likely",{"2":{"4":1,"25":2}}],["like",{"0":{"78":1,"79":1},"2":{"0":1,"3":2,"4":5,"5":2,"17":1,"18":1,"19":4,"21":2,"22":3,"24":1,"28":1,"31":3,"33":1,"38":1,"41":1,"43":2,"48":3,"51":1,"62":1,"63":1,"64":1,"66":1,"73":6,"75":1,"76":2,"77":1,"78":1,"80":1}}],["legend",{"2":{"67":1}}],["less",{"2":{"48":1}}],["let",{"2":{"34":1}}],["letting",{"2":{"28":1}}],["lets",{"2":{"11":1,"24":1,"41":1,"46":2,"47":1,"48":1}}],["left",{"2":{"13":3,"25":1}}],["leans",{"2":{"26":1}}],["leave",{"2":{"17":1}}],["leaves",{"2":{"3":1}}],["leap",{"2":{"4":1}}],["least",{"2":{"3":1,"25":4}}],["level",{"2":{"3":2}}],["length=365",{"2":{"46":1}}],["lengths",{"2":{"3":1,"15":1,"78":1}}],["length",{"2":{"0":1,"3":6,"4":5,"8":1,"17":4,"21":4,"23":2,"25":3,"38":1,"42":2,"82":1}}],["lazily",{"2":{"82":1}}],["lazy",{"2":{"20":1,"35":1}}],["largest",{"2":{"80":1,"82":1}}],["large",{"2":{"52":1}}],["larger",{"2":{"15":1}}],["language",{"2":{"26":1}}],["lastindex",{"2":{"33":1}}],["last",{"2":{"21":2,"32":1,"43":1}}],["layermetadata",{"2":{"25":1,"64":1}}],["layerdims",{"2":{"25":5,"42":2,"64":1}}],["layernames=nothing",{"2":{"20":1}}],["layered",{"2":{"18":2}}],["layer",{"2":{"18":5,"23":2,"27":2,"31":1,"79":1,"80":1,"82":2,"84":1}}],["layersfrom=",{"2":{"84":2}}],["layersfrom=nothing",{"2":{"18":1,"20":1}}],["layersfrom",{"2":{"20":1}}],["layers",{"2":{"18":9,"20":1,"22":1,"23":5,"61":2,"77":4,"78":9,"79":2,"80":28,"81":2,"82":2,"83":1,"84":1}}],["layout",{"2":{"0":1}}],["later",{"2":{"21":1}}],["latitude",{"2":{"0":1}}],["lat",{"2":{"0":1}}],["labelled",{"2":{"67":1}}],["labelling",{"2":{"17":1}}],["labels=x",{"2":{"48":2}}],["labels",{"2":{"11":1,"21":21,"68":1}}],["label",{"2":{"0":3,"2":5,"28":1}}],["lt",{"2":{"0":12,"1":2,"3":4,"5":1,"17":2,"39":3,"57":1,"58":1,"79":1}}],["lot",{"2":{"48":1,"72":1}}],["log",{"2":{"34":1}}],["losing",{"2":{"21":1,"61":1}}],["looping",{"2":{"82":1}}],["loop",{"2":{"82":1}}],["look",{"2":{"46":1}}],["lookuparray",{"2":{"66":1}}],["lookupdim",{"2":{"22":1}}],["lookupcomponent",{"2":{"22":1}}],["lookuptrait",{"2":{"6":1,"7":1,"8":1,"9":1,"10":1,"22":1}}],["lookups",{"0":{"4":1,"74":1},"1":{"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1},"2":{"2":3,"3":2,"4":34,"5":11,"6":1,"7":6,"8":5,"9":3,"10":6,"11":4,"17":1,"19":2,"22":3,"23":1,"28":2,"29":1,"38":1,"43":1,"51":1,"62":1,"73":1,"74":4,"75":1,"76":1}}],["lookup",{"0":{"6":1,"23":1,"75":1},"1":{"7":1,"8":1,"9":1,"10":1,"24":1,"25":1},"2":{"0":4,"1":1,"2":13,"3":2,"4":52,"5":4,"6":2,"7":6,"9":1,"10":4,"17":9,"19":2,"21":2,"22":14,"23":5,"36":3,"38":1,"41":3,"43":18,"44":8,"48":2,"63":1,"64":1,"66":1,"73":2,"74":10,"75":4,"77":1}}],["loosely",{"2":{"6":1}}],["location",{"2":{"9":1}}],["located",{"2":{"5":1}}],["locus",{"2":{"0":1,"4":13,"5":3,"9":2,"10":5,"43":6}}],["lowerbound",{"2":{"8":1}}],["lower",{"2":{"5":1,"8":1}}],["low",{"2":{"3":1}}],["long",{"2":{"39":1,"40":1,"81":1}}],["longitudes",{"2":{"4":1}}],["longitude",{"2":{"0":1}}],["longer",{"2":{"0":1,"3":1,"4":1}}],["lon",{"2":{"0":1}}],["loading",{"2":{"0":1}}],["load",{"2":{"0":1,"4":1,"46":1,"51":1,"58":1}}],["csv",{"0":{"85":1},"2":{"82":1,"85":5}}],["c=rand",{"2":{"77":1}}],["cryogridoutput",{"2":{"56":1}}],["cryogrid",{"0":{"56":1},"2":{"56":2}}],["crs",{"2":{"51":1}}],["create",{"2":{"4":2,"10":2,"13":1,"17":4,"21":1,"22":1,"23":2,"26":1,"46":2,"66":1,"73":1,"74":5}}],["created",{"2":{"0":1}}],["creating",{"2":{"0":1,"29":1}}],["climate",{"2":{"53":1}}],["climatebase",{"0":{"53":1},"2":{"53":1}}],["cloud",{"2":{"35":1}}],["closest",{"2":{"73":1}}],["close",{"2":{"25":3,"73":1}}],["closely",{"2":{"23":4,"52":1}}],["closed",{"2":{"5":3,"48":35}}],["closedinterval",{"2":{"5":1}}],["clashes",{"2":{"0":1,"5":1}}],["cycling",{"2":{"4":1}}],["cyclical",{"2":{"74":1}}],["cyclicbins",{"2":{"21":4}}],["cyclic",{"2":{"4":5,"21":1,"74":5}}],["cycle=month",{"2":{"74":1}}],["cycle=24",{"2":{"48":1}}],["cycle=12",{"2":{"48":3}}],["cycles",{"2":{"21":1,"74":1}}],["cycled",{"2":{"4":3}}],["cycle",{"2":{"4":9,"21":5}}],["cua2",{"2":{"26":2}}],["cua",{"2":{"26":2}}],["cuarray",{"2":{"22":1,"26":2,"61":1}}],["cuda",{"0":{"26":1},"1":{"27":1},"2":{"26":2,"27":1}}],["currently",{"2":{"14":1}}],["current",{"2":{"4":1,"17":1,"23":1}}],["curresponding",{"2":{"4":2}}],["customise",{"2":{"65":1}}],["custom=dd",{"2":{"22":1}}],["custom=10",{"2":{"22":1}}],["custom",{"2":{"0":4,"3":1,"20":2,"21":1,"22":9,"27":1,"36":2,"49":1}}],["center",{"2":{"5":5,"9":2,"10":4,"43":7,"66":1,"75":1}}],["central",{"2":{"0":1}}],["cellular",{"2":{"57":1}}],["cells",{"2":{"9":1,"10":1,"73":1}}],["cell",{"2":{"3":1,"5":1}}],["choosing",{"2":{"73":1}}],["choose",{"2":{"40":1,"67":1}}],["chosen",{"2":{"2":1,"19":1,"21":1}}],["child",{"2":{"23":1}}],["chunked",{"2":{"35":1}}],["chunk",{"2":{"21":1}}],["channel",{"2":{"13":1}}],["channel=",{"2":{"13":1}}],["changing",{"2":{"4":1,"22":1,"65":1}}],["changes",{"2":{"25":1}}],["change",{"2":{"3":1,"4":4,"22":5,"66":1}}],["changed",{"2":{"3":1}}],["char",{"2":{"0":1,"3":1,"4":1,"13":1,"19":2,"62":2,"64":2,"66":3,"75":1,"83":2,"84":3}}],["checking",{"2":{"23":1}}],["checks",{"2":{"14":2,"23":4}}],["checked",{"2":{"14":1}}],["check=true",{"2":{"3":1}}],["check",{"2":{"1":2,"3":1,"4":1,"5":1,"12":1,"17":2,"22":1,"23":11,"64":1}}],["cost",{"2":{"34":1}}],["costly",{"2":{"23":1}}],["cover",{"2":{"45":1}}],["cov",{"2":{"33":1}}],["core",{"2":{"64":1}}],["cor",{"2":{"33":1}}],["correctly",{"2":{"42":2}}],["correct",{"2":{"4":2,"5":1,"10":1,"27":1}}],["corresponding",{"2":{"4":1}}],["correspond",{"2":{"3":1,"10":3}}],["coordinate",{"2":{"36":1}}],["coordinatetransformations",{"2":{"4":2}}],["coordination",{"2":{"35":1}}],["coords",{"2":{"22":2}}],["copy",{"2":{"22":1,"23":7}}],["code",{"2":{"18":2,"25":2,"26":1}}],["coded",{"2":{"6":1}}],["could",{"2":{"5":1,"15":1,"48":1}}],["counted",{"2":{"5":1}}],["colours",{"2":{"71":1}}],["color=",{"2":{"71":2,"72":1}}],["color",{"2":{"71":1}}],["colormap",{"0":{"70":1,"71":1},"2":{"71":2}}],["colormap=",{"2":{"68":1}}],["colon",{"2":{"2":2,"3":1,"18":1}}],["collected",{"2":{"82":1}}],["collection",{"2":{"77":1}}],["collect",{"2":{"61":1}}],["column",{"2":{"20":2,"84":3}}],["columns",{"2":{"1":1,"8":1,"17":1,"20":3,"82":2,"84":3}}],["command",{"2":{"12":1}}],["commands",{"2":{"12":1}}],["commondatamodel",{"2":{"35":1}}],["commondims",{"2":{"3":5}}],["commonly",{"2":{"4":1}}],["common",{"2":{"0":2,"4":1,"15":1,"21":1,"46":1,"51":1,"64":1}}],["compile",{"2":{"81":1}}],["compilation",{"2":{"81":1}}],["components",{"2":{"25":4,"42":4}}],["completely",{"2":{"23":4}}],["complicated",{"2":{"5":1,"13":1}}],["compatible",{"2":{"20":1}}],["compatibility",{"0":{"35":1},"2":{"14":1}}],["comparing",{"2":{"3":1,"23":1}}],["comparisons",{"2":{"3":2}}],["compare",{"2":{"3":6}}],["compared",{"2":{"3":1,"23":1}}],["comparedims",{"2":{"3":5}}],["combines",{"2":{"5":1,"43":1}}],["combined",{"2":{"4":1,"19":1,"22":1,"31":1,"63":1}}],["combinedims",{"2":{"3":1}}],["combine",{"2":{"3":1,"20":1}}],["combinations",{"2":{"19":2}}],["combination",{"2":{"1":1,"17":1,"35":2}}],["confusing",{"2":{"40":1}}],["confused",{"2":{"5":1}}],["consistency",{"2":{"77":1}}],["consistent",{"2":{"43":1}}],["consecutive",{"2":{"31":2}}],["constraint",{"2":{"31":1}}],["constructing",{"0":{"30":1},"2":{"41":1}}],["constructionbase",{"2":{"22":1,"40":2,"65":2}}],["construction",{"2":{"4":1,"10":1}}],["construct",{"2":{"20":1}}],["constructors",{"2":{"17":1,"41":2}}],["constructor",{"2":{"4":1,"18":1,"26":1,"64":1}}],["constructed",{"2":{"0":1,"3":1,"4":1,"18":1,"25":2,"37":1}}],["const",{"2":{"5":1,"22":1,"46":1}}],["concatenate",{"2":{"23":4}}],["concrete",{"2":{"0":1,"1":2,"3":3,"4":2,"17":3,"18":1}}],["converging",{"2":{"52":1}}],["conversion",{"2":{"11":1}}],["conversions",{"2":{"10":1}}],["converting",{"0":{"84":1,"85":1}}],["convertible",{"2":{"27":1}}],["converts",{"2":{"2":1,"27":1}}],["convert",{"2":{"2":1,"3":1,"4":1,"27":1,"74":1}}],["converted",{"2":{"0":1,"3":1,"4":1,"20":1,"27":1}}],["controlled",{"2":{"71":1}}],["control",{"2":{"22":1,"23":1}}],["contents",{"2":{"11":1}}],["contexts",{"2":{"4":3}}],["context",{"2":{"3":1,"4":1,"17":1,"25":1}}],["contained",{"2":{"4":1,"5":1,"19":1,"60":1}}],["contain",{"2":{"2":1,"3":1,"5":2,"22":2}}],["contains",{"2":{"1":1,"4":2,"5":10,"17":1,"19":2,"21":1,"22":1,"73":2,"76":1}}],["containing",{"2":{"1":1,"3":1,"17":2}}],["cairomakie",{"2":{"68":1}}],["caveats",{"2":{"64":1}}],["cartesianindex",{"2":{"31":2}}],["cartesianindices",{"2":{"19":4,"31":1,"76":1}}],["category",{"2":{"83":5,"84":10,"85":1}}],["categorises",{"2":{"11":1}}],["categories",{"2":{"4":3,"74":1}}],["categorical",{"2":{"0":2,"3":2,"4":8,"5":3,"13":2,"17":3,"19":2,"48":4,"62":2,"64":2,"66":4,"68":1,"73":15,"74":5,"75":3,"83":2}}],["cat",{"2":{"23":2,"33":1}}],["cases",{"2":{"23":1,"36":1,"38":1}}],["case",{"2":{"22":1,"66":1}}],["calculate",{"2":{"21":1}}],["call",{"2":{"25":1,"48":1}}],["calling",{"2":{"22":1,"39":1,"41":1}}],["callable",{"2":{"21":1}}],["called",{"2":{"3":2,"27":1,"41":1}}],["captions",{"2":{"17":1}}],["capable",{"2":{"4":1}}],["caution",{"2":{"5":1}}],["cant",{"2":{"74":1}}],["cannot",{"2":{"7":1}}],["can",{"2":{"0":2,"1":4,"2":3,"3":7,"4":18,"5":7,"10":3,"11":2,"12":1,"14":2,"15":3,"17":9,"18":2,"19":4,"20":1,"21":9,"22":8,"23":2,"28":5,"29":1,"30":1,"31":4,"32":2,"33":2,"36":1,"40":1,"42":2,"43":1,"44":1,"46":3,"47":2,"48":7,"49":2,"60":1,"61":1,"64":2,"65":1,"71":1,"73":7,"74":1,"75":2,"76":4,"78":3,"80":1,"81":1,"84":2,"85":1}}],["c",{"2":{"0":6,"3":2,"4":2,"13":2,"17":9,"19":3,"22":3,"49":2,"62":2,"64":2,"66":3,"67":1,"68":1,"70":1,"73":33,"75":3,"76":2,"77":1,"78":8,"79":23,"80":28,"81":2,"83":3,"84":2}}],["zarr",{"2":{"35":1}}],["zip",{"2":{"35":1}}],["zero",{"2":{"25":2,"73":1,"79":1}}],["zeros",{"2":{"0":1,"17":6,"22":1,"29":4,"42":2}}],["z=dd",{"2":{"22":1}}],["z=",{"2":{"22":1}}],["zdim",{"2":{"0":4}}],["z",{"2":{"0":8,"1":9,"3":4,"17":9,"22":9,"23":3,"28":3,"31":13,"42":2,"66":2,"68":1,"83":4,"84":22,"85":9}}],["yaxarray",{"2":{"36":1,"52":1}}],["yaxarrays",{"0":{"52":1},"2":{"35":1,"52":1}}],["y=near",{"2":{"79":1}}],["y=not",{"2":{"73":1}}],["y=4",{"2":{"79":1,"81":1}}],["y=where",{"2":{"73":1}}],["y=at",{"2":{"73":2}}],["y=begin+1",{"2":{"32":1}}],["y=end",{"2":{"32":1}}],["y=dimarray",{"2":{"23":1}}],["y=>isodd",{"2":{"21":2}}],["yet",{"2":{"10":1,"25":2}}],["yearday",{"2":{"46":1}}],["yearmonthday",{"2":{"46":1}}],["yearmonth",{"2":{"46":1}}],["year",{"2":{"4":4,"21":1,"46":1}}],["years",{"2":{"4":3}}],["your",{"2":{"5":1,"13":1,"22":1,"40":2}}],["yourdimarray",{"2":{"40":1}}],["yourdim",{"2":{"0":1}}],["you",{"2":{"4":2,"5":1,"12":4,"15":2,"20":1,"22":5,"23":5,"25":2,"28":1,"32":1,"33":1,"40":1,"43":2,"46":1,"48":1,"60":1,"64":4,"66":4,"74":1,"78":1}}],["ydim",{"2":{"0":7}}],["y",{"2":{"0":16,"1":12,"3":8,"4":9,"5":15,"15":13,"17":26,"18":2,"19":13,"20":2,"21":4,"22":11,"23":6,"26":2,"28":3,"29":24,"31":7,"32":2,"33":3,"34":3,"42":3,"43":31,"44":22,"61":8,"62":3,"64":2,"66":10,"68":2,"70":1,"73":16,"75":3,"76":8,"77":10,"78":34,"79":4,"80":92,"83":10,"84":32,"85":1}}],["xy",{"2":{"84":2}}],["xarray",{"2":{"35":1}}],["xz",{"2":{"31":1}}],["x2",{"2":{"23":2}}],["x1",{"2":{"23":2}}],["x=not",{"2":{"73":1}}],["x=near",{"2":{"73":2}}],["x=where",{"2":{"73":1}}],["x=touches",{"2":{"73":1}}],["x=interval",{"2":{"73":1}}],["x=openinterval",{"2":{"73":1}}],["x=1",{"2":{"73":2,"79":1,"81":1}}],["x=contains",{"2":{"73":2}}],["x=at",{"2":{"73":3,"79":2}}],["x=all",{"2":{"5":1}}],["x=>",{"2":{"49":1}}],["x=>bins",{"2":{"48":2}}],["x=begin",{"2":{"32":1}}],["x=begin+1",{"2":{"32":1}}],["x=dimarray",{"2":{"23":1}}],["xs",{"2":{"2":1,"3":2,"4":6,"11":1,"17":2,"20":1}}],["xdim",{"2":{"0":7}}],["x3c",{"2":{"0":10,"4":12,"5":9,"7":6,"8":4,"9":3,"10":6,"11":2,"17":3,"18":1,"19":3,"20":2,"21":3,"24":2,"25":2,"34":2}}],["x",{"2":{"0":17,"1":27,"2":9,"3":22,"4":28,"5":32,"11":6,"15":13,"17":65,"18":3,"19":17,"20":5,"21":2,"22":27,"23":7,"26":2,"28":6,"29":24,"31":18,"32":2,"33":3,"34":3,"40":1,"42":4,"43":29,"44":23,"46":3,"47":3,"48":14,"49":3,"61":8,"62":4,"64":5,"66":8,"67":1,"68":3,"70":1,"73":25,"74":7,"75":3,"76":8,"77":10,"78":25,"80":96,"83":10,"84":32,"85":1}}],["ideal",{"2":{"48":1}}],["identity",{"2":{"21":2,"48":2}}],["identical",{"2":{"4":2,"11":1,"77":1}}],["io",{"2":{"25":11}}],["images",{"2":{"58":1}}],["immutable",{"2":{"22":1,"27":1,"40":1,"66":1}}],["improving",{"2":{"66":1}}],["imperative",{"2":{"62":1}}],["imply",{"2":{"22":1}}],["implements",{"2":{"42":4,"82":1}}],["implemented",{"2":{"39":1,"42":2}}],["implement",{"2":{"18":1,"40":1,"82":1}}],["implementation",{"2":{"4":2,"18":1,"42":4,"56":1}}],["implementations",{"2":{"0":1}}],["important",{"2":{"4":3}}],["ignoring",{"2":{"17":1}}],["ignores",{"2":{"68":1}}],["ignore",{"2":{"3":2,"28":1,"40":1}}],["ignored",{"2":{"3":1,"23":2}}],["irregular",{"2":{"4":3,"5":6,"8":5,"17":1,"19":2,"21":4,"22":2,"47":7,"48":6,"73":6,"74":3,"75":1,"76":4}}],["i",{"2":{"2":2,"3":3,"13":1,"19":1,"38":1,"39":1,"49":1,"70":1,"71":1,"84":1}}],["if",{"2":{"0":1,"1":2,"2":3,"3":5,"4":8,"5":6,"11":2,"12":1,"17":2,"18":1,"19":2,"21":1,"22":7,"23":7,"38":1,"40":1,"43":1,"60":1,"64":2,"66":1,"68":1,"76":1,"79":2,"80":1}}],["isend",{"2":{"44":5}}],["isexplicit",{"2":{"44":5}}],["ispoints",{"2":{"44":6}}],["isintervals",{"2":{"44":6}}],["isreverse",{"2":{"44":5}}],["isregular",{"2":{"43":2,"44":5}}],["isforward",{"2":{"44":5}}],["isordered",{"2":{"44":6}}],["iscenter",{"2":{"44":5}}],["iscyclic",{"2":{"44":6}}],["iscategorical",{"2":{"44":7}}],["isstart",{"2":{"44":5}}],["issampled",{"2":{"44":7}}],["issue",{"2":{"4":1,"66":1}}],["isbits",{"2":{"24":1,"27":1}}],["isa",{"2":{"18":1}}],["isapprox",{"2":{"5":1}}],["is",{"2":{"0":7,"1":3,"2":4,"3":14,"4":31,"5":9,"6":1,"7":3,"8":2,"10":1,"11":2,"12":1,"14":2,"17":7,"18":3,"19":6,"21":12,"22":11,"23":5,"24":3,"25":5,"26":3,"27":2,"28":1,"32":2,"33":1,"35":3,"36":2,"39":2,"40":5,"42":3,"43":6,"48":3,"49":1,"51":4,"52":3,"54":2,"55":1,"57":1,"58":1,"61":1,"62":1,"63":1,"64":3,"65":1,"66":3,"67":2,"71":1,"72":1,"73":7,"74":2,"75":5,"77":2,"81":2,"82":1,"84":1}}],["its",{"2":{"17":1,"21":2,"22":3,"27":1,"36":1,"52":1,"55":1,"66":1}}],["iterates",{"2":{"23":2}}],["iterate",{"2":{"19":1}}],["iterator",{"2":{"18":2}}],["iteration",{"2":{"18":2,"35":1}}],["iter",{"2":{"13":1}}],["iter=1",{"2":{"13":1}}],["it",{"2":{"0":1,"2":1,"3":2,"4":11,"5":3,"7":1,"11":1,"12":3,"17":1,"18":2,"19":1,"21":3,"22":7,"23":1,"24":2,"25":1,"28":2,"29":1,"31":1,"32":1,"33":1,"34":1,"35":1,"38":1,"39":1,"40":1,"42":2,"43":1,"46":1,"48":2,"51":1,"52":1,"55":1,"62":1,"64":1,"66":2,"68":1,"73":3,"74":1,"78":2}}],["inverts",{"2":{"78":1}}],["invalid",{"2":{"31":1}}],["inferno",{"2":{"68":1}}],["information",{"2":{"4":3,"17":1,"43":1}}],["inner",{"2":{"22":1,"23":1,"25":1,"61":2}}],["inbuilt",{"2":{"22":1}}],["initially",{"2":{"18":2}}],["inaccurate",{"2":{"8":1}}],["including",{"2":{"7":1,"35":1,"73":1}}],["included",{"2":{"3":1,"5":1,"11":1,"48":1}}],["include",{"2":{"2":1,"3":1,"5":1,"25":1,"73":1,"74":1}}],["installed",{"2":{"12":1}}],["install",{"2":{"12":1}}],["installation",{"0":{"12":1}}],["instead",{"2":{"5":2,"7":1,"11":1,"21":1,"32":1,"68":1,"76":1}}],["inside",{"2":{"5":1,"32":1,"73":1}}],["inserted",{"2":{"0":1}}],["inputs",{"2":{"39":1,"41":1}}],["input",{"2":{"3":1,"5":1,"8":1,"71":1}}],["inds",{"2":{"31":2}}],["individual",{"2":{"19":1}}],["indicate",{"2":{"5":1,"10":1,"33":1}}],["indicates",{"2":{"4":2,"7":3,"9":1,"10":1,"11":1}}],["indicating",{"2":{"4":5}}],["indices",{"2":{"2":2,"5":7,"17":1,"19":3,"22":2,"28":1,"73":3,"74":1,"76":1}}],["independent",{"2":{"0":1,"4":1}}],["independentdim",{"2":{"0":5}}],["indexes",{"2":{"73":1}}],["indexed",{"2":{"4":2,"18":2}}],["indexing",{"0":{"31":1,"32":1,"78":1,"79":1},"2":{"0":2,"4":4,"17":3,"18":2,"19":1,"30":1,"31":4,"32":3,"34":1,"51":1,"73":7,"79":1,"81":3}}],["index",{"2":{"0":2,"3":3,"4":5,"5":8,"6":1,"7":4,"8":4,"9":2,"10":5,"17":6,"18":2,"19":4,"20":2,"22":5,"28":1,"31":2,"32":1,"73":3,"76":1,"79":1}}],["inherits",{"2":{"52":1}}],["inherit",{"2":{"0":1,"1":1,"17":1}}],["int8",{"2":{"13":5}}],["intselectors",{"2":{"5":1}}],["intselector",{"2":{"5":4}}],["intentionally",{"2":{"35":1}}],["intended",{"2":{"5":1}}],["integrate",{"2":{"35":1}}],["integrations",{"0":{"50":1},"1":{"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1}}],["integration",{"0":{"27":1}}],["integers",{"2":{"46":1,"48":1}}],["integer",{"2":{"3":1,"17":4,"21":7,"39":1}}],["inteface",{"2":{"25":2}}],["interoperability",{"2":{"82":1}}],["interpolate",{"2":{"19":1}}],["interpolation",{"2":{"19":3,"76":1}}],["interact",{"2":{"5":1}}],["intermediate",{"2":{"5":1}}],["interfaces",{"0":{"42":1},"2":{"25":2,"42":5}}],["interface",{"0":{"20":1,"25":1,"42":1},"2":{"3":1,"25":4,"35":1,"36":1,"65":1,"82":2,"85":1}}],["internally",{"2":{"64":1}}],["internal",{"0":{"25":1},"2":{"3":1,"22":1}}],["intervalbounds",{"2":{"43":4,"73":1}}],["interval",{"2":{"0":1,"4":5,"5":12,"8":1,"9":2,"10":4,"19":1,"21":2,"43":2,"48":9,"73":3,"74":1,"75":1}}],["intervalsets",{"2":{"5":2,"21":1,"48":6,"73":2,"75":1}}],["intervals",{"2":{"0":1,"4":13,"5":10,"8":3,"9":4,"10":1,"19":1,"21":4,"43":1,"48":7,"66":2,"73":14,"74":6,"75":2}}],["int",{"2":{"1":5,"2":2,"5":1,"17":5,"18":2,"20":1,"21":4,"28":1,"32":2,"33":1,"39":1,"48":1,"73":4}}],["int64",{"2":{"0":2,"4":2,"5":11,"13":4,"15":11,"17":2,"19":2,"21":3,"22":2,"23":1,"29":2,"31":6,"43":17,"44":14,"46":12,"47":11,"48":5,"66":2,"74":3,"75":1,"76":3,"83":4,"84":8}}],["into",{"2":{"0":3,"4":3,"19":2,"20":1,"21":1,"22":1,"26":1,"27":1,"28":2,"48":4,"56":1,"63":1,"68":1,"81":1}}],["in",{"2":{"0":7,"1":3,"2":2,"3":12,"4":12,"5":10,"7":3,"8":2,"9":1,"10":2,"11":2,"14":1,"17":5,"18":6,"19":5,"21":6,"22":24,"23":11,"24":1,"25":11,"27":1,"28":1,"31":2,"32":4,"33":1,"35":2,"36":2,"38":1,"40":2,"41":2,"42":10,"43":2,"48":4,"60":1,"64":5,"65":1,"66":2,"67":1,"68":2,"72":1,"73":6,"74":3,"77":1,"80":2,"81":1,"82":1}}],["hundreds",{"2":{"82":1}}],["humidity",{"2":{"23":6}}],["histogram",{"2":{"34":2}}],["hierarchy",{"2":{"0":1}}],["heatmap",{"2":{"68":1}}],["her",{"2":{"48":1}}],["here",{"2":{"18":1,"19":1,"22":1,"23":1,"29":1,"30":1,"48":2,"64":1,"68":1,"74":3}}],["helper",{"2":{"48":1}}],["help",{"2":{"25":2}}],["h",{"2":{"13":1,"70":1,"84":1}}],["having",{"2":{"23":1}}],["have",{"2":{"0":1,"4":3,"8":2,"11":1,"12":1,"17":1,"18":2,"20":1,"21":2,"22":3,"23":1,"31":1,"35":1,"36":1,"37":1,"38":1,"40":1,"48":1,"66":1,"68":1,"77":1,"84":1}}],["hard",{"2":{"6":1}}],["haskey",{"2":{"11":2}}],["hasselection",{"2":{"4":2}}],["hasn",{"2":{"2":1}}],["has",{"2":{"1":1,"3":2,"4":1,"11":1,"17":3,"18":1,"22":2,"23":2,"27":1,"34":1,"38":1,"40":2,"41":1,"43":1,"75":1}}],["hasdim",{"2":{"1":6,"17":6}}],["hold",{"2":{"21":1,"38":1,"74":1,"75":1}}],["holds",{"2":{"4":4,"18":1,"74":1}}],["holding",{"2":{"1":1,"2":1,"8":1,"17":9,"19":1,"21":2,"63":1,"76":1}}],["however",{"2":{"5":1,"22":1}}],["how",{"2":{"4":2,"7":2,"23":1,"28":1,"46":1,"62":1}}],["hours",{"2":{"21":4,"48":2}}],["hour",{"2":{"0":1,"21":1,"46":4,"47":1,"48":2,"49":3}}],["slower",{"2":{"81":1}}],["slowly",{"2":{"52":1}}],["slightly",{"2":{"48":1}}],["slicing",{"2":{"3":1}}],["sliced",{"2":{"18":1,"22":1}}],["slicedims",{"2":{"3":2,"17":1}}],["slices",{"2":{"17":1,"23":4}}],["slice",{"2":{"3":1,"17":1,"22":1}}],["synchronisation",{"2":{"57":1}}],["symmetry",{"2":{"28":1}}],["symbol",{"2":{"1":1,"2":1,"3":4,"4":7,"11":1,"13":1,"17":11,"18":6,"20":1,"21":3,"22":2,"23":1,"24":3,"39":2,"41":1,"43":1,"47":7,"48":15,"49":2,"64":2,"73":15,"75":2,"78":2,"82":1}}],["symbols",{"2":{"0":1,"1":1,"2":1,"3":1,"4":5,"11":1,"17":3,"22":1,"27":1,"30":1,"33":1}}],["system",{"2":{"27":1,"36":1}}],["src",{"2":{"23":4,"32":2}}],["smaller",{"2":{"30":1}}],["small",{"2":{"23":1}}],["scalar",{"2":{"79":1}}],["scalars",{"2":{"15":6,"79":1}}],["scaled",{"2":{"15":6}}],["scale",{"2":{"15":1}}],["scaling",{"0":{"15":1}}],["scope",{"2":{"0":1,"4":1,"28":1}}],["sat",{"2":{"74":2}}],["save",{"2":{"51":1}}],["saving",{"2":{"11":2}}],["samples",{"2":{"9":1,"34":2}}],["sampled",{"2":{"0":6,"4":16,"5":8,"9":1,"13":4,"15":18,"17":5,"19":4,"21":4,"22":10,"23":1,"26":2,"36":1,"43":24,"44":28,"47":9,"48":7,"49":5,"62":2,"64":2,"66":8,"73":13,"74":7,"75":3,"76":10,"77":2,"78":15,"79":1,"80":49,"83":4,"84":2}}],["sampling=dd",{"2":{"5":2}}],["sampling=intervals",{"2":{"4":2,"74":3}}],["sampling=points",{"2":{"4":2}}],["sampling",{"0":{"9":1},"2":{"0":1,"2":1,"3":1,"4":15,"5":1,"8":1,"9":6,"19":1,"22":1,"43":5,"64":1,"75":1}}],["same",{"2":{"0":2,"3":3,"4":1,"5":2,"11":1,"15":1,"17":4,"19":2,"21":1,"22":2,"23":1,"29":1,"31":1,"34":1,"38":2,"40":1,"43":1,"46":1,"67":1,"77":1,"82":1}}],["sharing",{"2":{"18":1}}],["share",{"2":{"18":1,"77":1}}],["shift",{"2":{"4":2}}],["shiftlocus",{"2":{"4":1}}],["show",{"2":{"25":9,"74":1}}],["shows",{"2":{"17":1}}],["shown",{"2":{"2":1}}],["should",{"2":{"2":1,"5":1,"12":1,"17":1,"22":1,"25":2,"38":1,"39":1,"40":1,"74":1,"84":1}}],["shortcuts",{"2":{"29":1}}],["shorthand",{"2":{"17":1,"74":1}}],["short",{"2":{"0":1}}],["swapping",{"2":{"22":1}}],["swap",{"2":{"3":1}}],["swapdims",{"2":{"3":3}}],["specialisations",{"2":{"21":1}}],["specify",{"2":{"10":5,"21":3,"22":3,"28":1,"33":1,"48":1,"66":1,"74":1,"84":1}}],["specifying",{"2":{"4":1,"9":1,"74":1}}],["specifies",{"2":{"7":1,"24":1,"31":1,"43":1}}],["specified",{"2":{"2":1,"3":1,"4":1,"17":1,"75":1}}],["specifically",{"2":{"23":1}}],["specific",{"2":{"4":5,"6":1,"8":1,"9":1,"28":1,"62":1}}],["space",{"2":{"22":2}}],["spaced",{"2":{"21":1}}],["spacing",{"2":{"4":2}}],["span=irregular",{"2":{"74":1}}],["span=regular",{"2":{"4":1,"74":1}}],["span=autospan",{"2":{"4":2}}],["span",{"0":{"8":1},"2":{"4":15,"8":7,"43":5,"64":1,"75":1}}],["spatial",{"2":{"0":1,"35":1,"51":1,"52":1,"57":2,"84":1}}],["signature",{"2":{"40":1}}],["sits",{"2":{"31":1}}],["sizes",{"2":{"48":1}}],["size",{"2":{"2":1,"3":1,"4":5,"8":1,"15":1,"21":1,"22":2,"23":6,"25":5,"33":2,"42":3,"49":2,"61":2,"77":4,"78":22,"79":3,"80":88,"82":1,"83":2,"84":26}}],["singleton",{"2":{"22":1}}],["single",{"2":{"1":8,"3":2,"4":1,"5":5,"9":1,"15":1,"17":8,"18":1,"21":1,"22":3,"32":1,"40":1,"43":1,"63":1,"73":1,"79":1,"81":1}}],["simultaneously",{"2":{"63":1}}],["simulations",{"2":{"57":1}}],["simulation",{"2":{"57":1}}],["simulataneously",{"2":{"18":1}}],["similar",{"2":{"0":1,"4":1,"7":1,"9":1,"19":1,"49":1,"61":1}}],["simpler",{"2":{"46":1}}],["simple",{"2":{"45":1}}],["simply",{"2":{"0":1,"4":1,"5":1,"11":1,"17":1,"22":1,"25":1,"43":1,"76":1}}],["simplicity",{"2":{"0":1}}],["st2",{"2":{"78":2}}],["st",{"2":{"61":4,"77":1,"78":8,"79":4,"80":35,"83":1,"84":2,"85":1}}],["storage",{"2":{"51":1}}],["stored",{"2":{"17":1,"77":1}}],["std",{"2":{"33":1,"80":2}}],["style",{"2":{"27":1}}],["still",{"2":{"11":1,"26":1,"32":1,"66":1}}],["standard",{"2":{"82":1}}],["standards",{"2":{"10":1}}],["stage",{"2":{"25":2}}],["stack",{"2":{"18":2,"22":2,"23":8,"25":4,"42":2,"61":1,"80":1,"81":1,"82":2}}],["stacks",{"2":{"18":1,"23":5,"81":1,"84":1,"85":1}}],["statistics",{"2":{"15":1,"18":2,"46":1,"80":1}}],["status",{"2":{"12":2}}],["starts",{"2":{"61":1}}],["start=6",{"2":{"48":4}}],["start=1",{"2":{"48":1}}],["start=12",{"2":{"48":1}}],["start=january",{"2":{"48":1}}],["start=0",{"2":{"21":1}}],["start=dates",{"2":{"21":2}}],["starting",{"2":{"8":1,"48":2}}],["start",{"2":{"0":2,"4":6,"5":3,"9":1,"10":4,"13":1,"21":9,"43":1,"48":4,"73":5,"74":7}}],["strongly",{"2":{"22":1}}],["stripped",{"2":{"27":1}}],["strickt",{"2":{"23":1}}],["strict=true",{"2":{"23":4}}],["strict=false",{"2":{"22":1}}],["strictness",{"0":{"23":1},"1":{"24":1,"25":1}}],["strict",{"2":{"14":2,"22":1,"23":8}}],["strings",{"2":{"5":1}}],["string",{"2":{"2":4,"3":1,"4":1,"17":1,"25":1,"48":2,"64":2,"74":3,"75":1,"85":1}}],["string=string",{"2":{"0":1}}],["struct",{"2":{"3":1,"22":1,"60":2}}],["step=12",{"2":{"48":1}}],["step=2",{"2":{"48":1}}],["step=3",{"2":{"48":2}}],["step=hour",{"2":{"46":1}}],["step=autostep",{"2":{"8":1}}],["steps",{"2":{"21":1}}],["step",{"2":{"3":1,"4":1,"8":2,"21":7,"22":1,"75":1}}],["s",{"2":{"0":1,"1":4,"2":1,"3":4,"5":16,"17":5,"18":3,"20":1,"21":1,"22":5,"24":1,"25":1,"34":1,"35":1,"52":1,"73":2,"84":1}}],["series",{"0":{"69":1},"1":{"70":1,"71":1,"72":1},"2":{"59":1,"70":1,"71":2,"72":1}}],["sep",{"2":{"48":6,"74":2}}],["separate",{"2":{"2":1,"51":1}}],["sequential",{"2":{"21":1}}],["seamlessly",{"2":{"27":1}}],["sea",{"2":{"23":4}}],["seasons",{"2":{"21":4,"48":5}}],["searched",{"2":{"7":1}}],["searchsortedfirst",{"2":{"7":1}}],["searchsorted",{"2":{"7":1}}],["sections",{"2":{"21":1}}],["second",{"2":{"0":1,"2":1,"4":4,"11":1,"17":2,"22":1}}],["sense",{"2":{"5":1,"51":1,"64":1}}],["seed",{"2":{"17":1}}],["see",{"2":{"3":1,"15":1,"18":1,"42":2,"46":1,"48":1}}],["selections",{"2":{"5":1}}],["selectindices",{"2":{"2":1}}],["selects",{"2":{"5":2,"73":1}}],["select",{"0":{"49":1},"2":{"5":6,"23":2,"49":1,"73":2,"74":1,"76":1}}],["selected",{"2":{"5":4,"21":4,"73":2}}],["selectors=near",{"2":{"19":1,"76":1}}],["selectorss",{"2":{"4":2}}],["selectors",{"0":{"5":1,"73":1},"1":{"74":1,"75":1,"76":1},"2":{"2":1,"4":12,"5":8,"8":1,"17":1,"18":1,"19":6,"32":1,"74":2,"75":1,"76":3,"79":1}}],["selector",{"2":{"0":1,"2":2,"4":3,"5":13,"28":1,"40":1,"64":1,"73":2,"78":1}}],["setproperties",{"2":{"22":1,"65":1}}],["settings",{"0":{"23":1},"1":{"24":1,"25":1}}],["setting",{"2":{"22":1,"23":1}}],["setindex",{"2":{"18":1,"32":1}}],["setdims",{"2":{"3":3}}],["set",{"0":{"66":1},"2":{"0":1,"4":6,"8":1,"11":2,"15":1,"17":13,"22":22,"23":2,"64":1,"66":11,"73":2,"75":3}}],["sounds",{"2":{"39":1}}],["sources",{"2":{"4":1,"22":7,"51":1}}],["source",{"2":{"0":15,"1":5,"2":5,"3":12,"4":23,"5":10,"6":1,"7":6,"8":5,"9":3,"10":6,"11":4,"17":16,"18":2,"19":3,"20":2,"21":9,"22":12,"23":9,"24":3,"25":6}}],["solution",{"2":{"21":1}}],["so",{"2":{"4":2,"5":1,"14":1,"22":2,"31":1,"43":1,"48":1,"65":1,"74":1,"82":1,"84":1}}],["sorted",{"2":{"5":1,"21":2}}],["sortdims",{"2":{"3":1}}],["sort",{"2":{"3":3}}],["sometimes",{"2":{"48":1,"66":1}}],["something",{"2":{"13":1,"21":1}}],["somewhere",{"2":{"18":2,"64":1}}],["some",{"2":{"0":1,"4":1,"15":1,"17":1,"18":1,"21":1,"23":1,"28":1,"38":1,"40":1,"46":2,"77":1,"81":1,"83":1}}],["sun",{"2":{"74":2}}],["surface",{"2":{"23":4}}],["sure",{"2":{"19":2}}],["surprising",{"2":{"18":2}}],["summer",{"2":{"48":1}}],["summary",{"2":{"42":2}}],["sum",{"2":{"18":1,"21":1,"33":3,"47":1,"80":5}}],["succinct",{"2":{"18":2}}],["such",{"2":{"0":2,"2":1,"4":1,"5":1,"10":1,"21":2}}],["supporting",{"2":{"85":1}}],["support",{"2":{"67":1}}],["supplied",{"2":{"5":1}}],["supertypes",{"2":{"3":1}}],["supertype=dimension",{"2":{"0":1}}],["supertype",{"2":{"0":8,"4":5,"5":3,"6":1,"7":1,"10":1,"11":1,"17":2,"18":1,"20":1,"24":1}}],["submodule",{"2":{"28":1}}],["subset",{"2":{"23":2,"78":1}}],["subsetting",{"2":{"5":1}}],["subtypes",{"2":{"25":1}}],["subtype",{"2":{"17":1}}],["sub",{"2":{"0":2}}],["tell",{"2":{"62":1}}],["text",{"2":{"25":2}}],["testable",{"2":{"42":1}}],["testing",{"0":{"42":1},"2":{"42":2}}],["test",{"0":{"69":1},"1":{"70":1,"71":1,"72":1},"2":{"25":4,"42":4}}],["tested",{"2":{"25":2}}],["testname",{"2":{"22":1}}],["temporal",{"2":{"57":1}}],["tempo",{"2":{"46":9,"47":1}}],["temp",{"2":{"23":4}}],["term",{"2":{"6":1,"43":1}}],["terms",{"2":{"4":1}}],["tue",{"2":{"74":2}}],["turn",{"2":{"23":2}}],["turned",{"2":{"14":1}}],["tuples",{"2":{"3":4,"4":1,"19":1,"21":2,"31":2,"41":1,"43":1,"46":1,"63":1}}],["tuple",{"2":{"1":22,"2":8,"3":34,"4":32,"8":2,"11":5,"17":42,"18":3,"19":8,"21":2,"22":10,"23":1,"25":5,"31":3,"37":1,"41":1,"42":2,"43":6,"46":4,"47":3,"73":1,"78":1,"80":4,"84":2}}],["twice",{"2":{"5":1}}],["two",{"2":{"3":1,"4":2,"5":4,"17":4,"18":2,"20":1,"27":1,"48":1,"73":1,"77":1}}],["tries",{"2":{"66":1}}],["trivially",{"2":{"49":1}}],["trial",{"2":{"34":2}}],["try",{"2":{"22":1}}],["treated",{"2":{"21":1}}],["treat",{"2":{"20":1}}],["track",{"2":{"17":1}}],["tracking",{"2":{"4":1,"8":1,"11":1}}],["trait",{"2":{"6":1,"22":2}}],["traits",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1},"2":{"3":1,"4":1,"6":2,"7":1,"22":1,"74":1}}],["transforming",{"2":{"21":1,"22":1}}],["transform",{"2":{"4":1,"46":1,"64":1}}],["transformation",{"2":{"4":3}}],["transformations",{"2":{"3":1,"4":1,"17":1}}],["transformed",{"2":{"4":4}}],["transpose",{"2":{"0":1,"33":2,"80":1}}],["transect",{"2":{"0":1}}],["true",{"2":{"1":4,"3":3,"17":4,"18":1,"21":2,"22":2,"31":1,"42":89,"44":21}}],["typ",{"2":{"0":2}}],["typeof",{"2":{"22":1,"26":1,"74":2}}],["typed",{"2":{"22":1}}],["typemax",{"2":{"4":1}}],["typemin",{"2":{"4":1}}],["type",{"2":{"0":16,"1":6,"2":3,"3":15,"4":16,"5":10,"6":1,"7":6,"8":6,"9":3,"10":6,"11":5,"17":9,"18":3,"19":3,"20":4,"21":3,"22":4,"24":4,"25":2,"27":1,"31":1,"39":2,"41":1,"43":1,"64":1,"66":1,"85":1}}],["types",{"2":{"0":6,"1":5,"2":1,"3":8,"4":7,"5":1,"6":1,"10":1,"11":2,"17":7,"20":1,"22":3,"28":2,"32":1,"33":2,"36":2,"46":1,"51":1,"55":1,"75":2}}],["tabular",{"2":{"82":1}}],["table",{"2":{"20":1,"84":1}}],["tabletraits",{"0":{"20":1},"2":{"20":1}}],["tables",{"0":{"20":1,"82":1},"1":{"83":1,"84":1,"85":1},"2":{"0":1,"17":1,"20":4,"82":2,"85":1}}],["taking",{"2":{"48":1}}],["taken",{"2":{"19":1}}],["take",{"2":{"0":1,"4":2,"5":1,"18":1,"21":2,"47":1,"71":1,"73":3,"81":1,"84":1}}],["target",{"2":{"19":2}}],["t",{"2":{"0":1,"2":2,"3":2,"4":10,"11":1,"15":3,"19":1,"23":4,"31":2,"32":1,"64":1,"65":1,"66":1,"75":1,"76":1,"84":1}}],["title",{"2":{"25":5}}],["ti=>",{"2":{"49":1}}],["ti=>cyclicbins",{"2":{"48":4}}],["ti=>bins",{"2":{"48":8}}],["ti=>yearday",{"2":{"47":2}}],["ti=>yearmonth",{"2":{"47":2}}],["ti=>yearmonthday",{"2":{"47":2}}],["ti=>hour",{"2":{"47":2}}],["ti=>dayofyear",{"2":{"47":2}}],["ti=>month",{"2":{"21":6,"47":3}}],["ti=2",{"2":{"19":1}}],["ti=all",{"2":{"5":1}}],["time=1",{"2":{"13":1}}],["timeseriestools",{"0":{"59":1},"2":{"59":1}}],["times",{"2":{"0":1,"47":1,"77":1}}],["timedime",{"2":{"0":1}}],["timedim",{"2":{"0":4,"3":1}}],["time",{"0":{"15":1},"2":{"0":4,"4":1,"13":1,"18":1,"21":1,"23":1,"25":1,"34":6,"47":1,"59":1,"81":1}}],["ti",{"2":{"0":14,"1":1,"3":3,"5":3,"15":14,"17":5,"19":1,"20":2,"21":6,"22":5,"23":3,"28":1,"33":3,"47":10,"48":23,"49":5,"68":1}}],["though",{"2":{"81":1}}],["those",{"2":{"5":1,"23":2,"28":1,"64":1}}],["thur",{"2":{"74":2}}],["think",{"2":{"66":1}}],["thing",{"2":{"66":2}}],["things",{"2":{"25":2,"26":1,"60":1,"61":1,"64":2,"75":1}}],["this",{"2":{"0":1,"2":3,"3":6,"4":13,"5":6,"7":1,"8":1,"10":2,"11":2,"12":1,"14":1,"18":4,"19":2,"20":2,"21":6,"22":8,"23":6,"24":1,"25":3,"26":1,"27":2,"28":1,"31":1,"32":1,"33":1,"35":1,"38":1,"39":1,"41":1,"42":1,"43":1,"45":1,"48":5,"57":1,"61":2,"64":1,"66":1,"67":1,"73":1,"75":2,"77":1,"80":1,"81":1}}],["through",{"2":{"17":1,"55":1}}],["throws",{"2":{"5":1}}],["throw",{"2":{"3":1,"31":1}}],["throwing",{"2":{"3":1}}],["thrown",{"2":{"2":1,"3":1,"5":1,"64":1}}],["three",{"2":{"4":2,"18":2,"21":1,"48":1}}],["than",{"2":{"3":1,"4":2,"5":2,"9":1,"21":2,"27":1,"39":1,"40":1,"48":1,"60":1,"62":1,"73":1,"81":1}}],["that",{"2":{"0":3,"1":2,"2":2,"3":1,"4":13,"5":15,"7":4,"8":3,"9":2,"10":1,"11":1,"12":1,"14":4,"17":8,"18":4,"19":4,"21":4,"22":7,"23":12,"27":2,"28":1,"29":1,"32":1,"36":1,"37":1,"38":1,"39":1,"40":3,"43":2,"46":2,"64":1,"74":2,"75":1,"77":1,"82":1,"84":1}}],["then",{"2":{"22":1,"73":1,"75":1}}],["their",{"2":{"3":2,"18":2,"22":3,"43":1,"51":1}}],["there",{"2":{"2":2,"4":2,"14":1,"17":4,"22":1,"29":1,"40":1,"43":1,"48":1,"66":1,"74":1,"81":1}}],["these",{"2":{"0":3,"1":1,"3":2,"4":4,"6":2,"7":1,"8":1,"9":1,"10":1,"17":2,"18":1,"19":2,"20":1,"21":2,"22":1,"23":3,"28":1,"31":1,"36":1,"39":1,"40":3,"44":1,"64":1,"74":2,"76":1}}],["they",{"2":{"0":1,"2":1,"3":2,"4":3,"5":2,"10":2,"11":1,"17":1,"19":2,"22":2,"23":1,"25":2,"27":1,"28":2,"31":1,"35":1,"60":1,"64":1,"67":1,"74":1,"75":3,"82":1}}],["them",{"2":{"0":1,"4":1,"5":3,"11":1,"23":1,"27":1,"31":1,"43":1,"47":1,"48":1,"73":1,"74":1}}],["the",{"0":{"15":1},"2":{"0":20,"1":13,"2":8,"3":43,"4":85,"5":45,"6":3,"7":9,"8":7,"9":7,"10":9,"11":6,"12":3,"13":1,"14":3,"15":8,"17":49,"18":24,"19":16,"20":4,"21":48,"22":56,"23":22,"24":4,"25":9,"26":9,"27":5,"28":6,"29":1,"30":1,"31":6,"32":4,"33":3,"34":2,"35":1,"36":1,"38":7,"39":3,"40":6,"41":4,"42":4,"43":11,"44":1,"46":5,"47":4,"48":10,"51":1,"52":1,"56":1,"60":3,"61":4,"62":1,"63":1,"64":7,"65":4,"66":9,"67":4,"68":5,"71":2,"73":11,"74":9,"75":6,"76":1,"77":3,"78":2,"79":1,"80":5,"82":10,"84":3,"85":1}}],["tolerance",{"2":{"73":1}}],["todo",{"2":{"49":1,"66":1}}],["top",{"2":{"25":1,"31":1}}],["tools",{"2":{"35":1,"51":2,"58":1}}],["too",{"2":{"23":1,"27":1,"55":1,"64":1}}],["total",{"2":{"21":1}}],["together",{"2":{"14":1}}],["touched",{"2":{"73":1}}],["touches",{"2":{"5":7,"73":2}}],["touch",{"2":{"5":2}}],["touching",{"2":{"5":1}}],["tosort",{"2":{"3":4}}],["to",{"0":{"84":1,"85":1},"2":{"0":8,"1":5,"2":4,"3":18,"4":35,"5":18,"6":1,"8":1,"9":2,"10":12,"11":5,"12":3,"14":4,"15":4,"17":19,"18":8,"19":5,"20":1,"21":16,"22":32,"23":21,"24":2,"25":6,"26":2,"27":10,"28":5,"31":1,"32":2,"33":3,"35":3,"36":4,"38":1,"39":1,"40":3,"41":1,"42":2,"43":1,"44":1,"46":2,"48":7,"49":2,"51":1,"57":1,"58":1,"60":1,"61":5,"62":2,"64":3,"66":6,"67":2,"73":3,"74":4,"75":3,"77":1,"78":1,"80":1,"81":2,"82":2,"85":1}}],["jan",{"2":{"48":4,"74":1}}],["january",{"2":{"21":2,"48":1}}],["jarring",{"2":{"18":2}}],["jump",{"0":{"55":1},"2":{"55":1}}],["jul",{"2":{"48":6,"74":1}}],["juliaprint",{"2":{"25":2}}],["juliaposition",{"2":{"10":1}}],["juliapoints",{"2":{"9":1}}],["juliahours",{"2":{"21":1}}],["juliahasselection",{"2":{"4":1}}],["juliahasdim",{"2":{"1":1,"17":1}}],["juliaranges",{"2":{"21":1}}],["juliareorder",{"2":{"22":1}}],["juliarebuild",{"2":{"22":1,"25":1,"40":1}}],["juliarefdims",{"2":{"17":1,"25":1}}],["juliaregular",{"2":{"8":1}}],["juliareverseordered",{"2":{"7":1}}],["juliareducedims",{"2":{"3":1}}],["juliagroupby",{"2":{"21":1}}],["juliamakie",{"2":{"68":1,"71":2,"72":1}}],["juliamap",{"2":{"18":1}}],["juliamodify",{"2":{"22":1}}],["juliamonths",{"2":{"21":1}}],["juliamergedims",{"2":{"22":3}}],["juliamergedlookup",{"2":{"4":1}}],["juliametadata",{"2":{"11":1,"17":1}}],["juliamean",{"2":{"0":4,"18":1}}],["juliafunction",{"2":{"18":1}}],["juliaforwardordered",{"2":{"7":1}}],["juliaformat",{"2":{"2":1,"41":1}}],["juliaend",{"2":{"10":1}}],["juliaexplicit",{"2":{"8":1}}],["juliairregular",{"2":{"8":1}}],["juliaintervals",{"2":{"9":1,"21":1}}],["juliaintselector",{"2":{"5":1}}],["juliaindependentdim",{"2":{"0":1}}],["juliawhere",{"2":{"5":1}}],["juliaordered",{"2":{"7":1}}],["juliaorder",{"2":{"4":1,"7":1}}],["juliaotherdims",{"2":{"1":1,"17":1}}],["juliab",{"2":{"70":1}}],["juliablockwidth",{"2":{"25":1}}],["juliabroadcast",{"2":{"22":2}}],["juliabins",{"2":{"21":1}}],["juliabegin",{"2":{"10":1}}],["juliabetween",{"2":{"5":1}}],["juliabounds",{"2":{"4":1}}],["juliabase",{"2":{"17":4,"23":5}}],["juliabasedims",{"2":{"3":1}}],["juliabasetypeof",{"2":{"3":1}}],["julianame",{"2":{"17":1,"24":1}}],["julianame2dim",{"2":{"3":1}}],["julianoname",{"2":{"24":1}}],["julianometadata",{"2":{"11":1}}],["julianolookup",{"2":{"4":1}}],["julianear",{"2":{"5":1}}],["juliatouches",{"2":{"5":1}}],["juliatransformed",{"2":{"4":1}}],["juliatimedim",{"2":{"0":2}}],["juliaunmergedims",{"2":{"22":2}}],["juliaunits",{"2":{"11":1}}],["juliaunordered",{"2":{"7":1}}],["juliaunaligned",{"2":{"4":1}}],["juliausing",{"2":{"0":3,"3":2,"4":6,"5":7,"13":1,"15":1,"22":3,"26":1,"28":1,"43":1,"46":1,"68":1,"73":1,"74":1,"80":1,"83":1,"85":1}}],["juliacat",{"2":{"23":1}}],["juliacategorical",{"2":{"4":1}}],["juliacenter",{"2":{"10":1}}],["juliacopy",{"2":{"23":2}}],["juliacontains",{"2":{"5":1}}],["juliacombinedims",{"2":{"3":1}}],["juliacomparedims",{"2":{"3":1}}],["juliacommondims",{"2":{"3":1}}],["juliacyclicbins",{"2":{"21":1}}],["juliacyclic",{"2":{"4":1}}],["juliaa",{"2":{"22":1}}],["juliaall",{"2":{"5":1}}],["juliaaligned",{"2":{"4":1}}],["juliaat",{"2":{"5":1}}],["juliaarrayselector",{"2":{"5":1}}],["juliaautoposition",{"2":{"10":1}}],["juliaautospan",{"2":{"8":1}}],["juliaautoorder",{"2":{"7":1}}],["juliaautovalues",{"2":{"4":1}}],["juliaautolookup",{"2":{"4":1}}],["juliaabstractname",{"2":{"24":1}}],["juliaabstractdimtable",{"2":{"20":1}}],["juliaabstractdimstack",{"2":{"18":1}}],["juliaabstractdimarray",{"2":{"17":1}}],["juliaabstractbasicdimarray",{"2":{"17":1}}],["juliaabstractmetadata",{"2":{"11":1}}],["juliaabstractcategorical",{"2":{"4":1}}],["juliaabstractcyclic",{"2":{"4":1}}],["juliaabstractsampled",{"2":{"4":1}}],["juliaanondim",{"2":{"0":1}}],["julias",{"2":{"35":1}}],["juliashow",{"2":{"25":2}}],["juliashiftlocus",{"2":{"4":1}}],["juliastrict",{"2":{"23":4}}],["juliastart",{"2":{"10":1}}],["juliaspan",{"2":{"4":1,"8":1}}],["juliasampling",{"2":{"4":1,"9":1}}],["juliasampled",{"2":{"4":1}}],["juliaset",{"2":{"22":1}}],["juliasetdims",{"2":{"3":1}}],["juliaseasons",{"2":{"21":1}}],["juliaselector",{"2":{"5":1}}],["juliaselectindices",{"2":{"2":1}}],["juliasortdims",{"2":{"3":1}}],["juliaslicedims",{"2":{"3":1}}],["juliaswapdims",{"2":{"3":1}}],["julialocus",{"2":{"4":1}}],["julialookuptrait",{"2":{"6":1}}],["julialookups",{"2":{"4":1}}],["julialookup",{"2":{"2":1,"4":1}}],["julialabel",{"2":{"2":1}}],["julia>",{"2":{"1":12,"3":4,"12":1,"17":24,"18":8,"19":4,"20":2,"21":2,"22":4,"23":4,"28":1,"29":1,"34":1,"42":1,"43":1,"61":1,"62":2,"73":2,"74":1,"77":1,"81":1}}],["julia",{"2":{"0":1,"14":2,"21":1,"22":2,"25":2,"26":1,"27":1,"32":1,"33":1,"35":2,"54":1,"56":1,"82":1}}],["juliajulia>",{"2":{"0":1,"1":4,"3":1,"12":3,"13":4,"15":10,"17":9,"18":1,"19":2,"20":1,"21":4,"22":6,"23":1,"26":2,"28":4,"29":14,"30":2,"31":7,"32":2,"33":2,"34":3,"42":4,"43":50,"44":73,"46":9,"47":8,"48":13,"49":4,"61":8,"62":2,"64":6,"65":2,"66":6,"73":17,"74":11,"75":1,"76":5,"77":2,"78":9,"79":4,"80":34,"81":2,"83":3,"84":5}}],["juliaz",{"2":{"0":1}}],["juliazdim",{"2":{"0":2}}],["juliayearday",{"2":{"46":1}}],["juliay",{"2":{"0":1}}],["juliaydim",{"2":{"0":2}}],["juliaval",{"2":{"0":4,"4":1}}],["juliadimgroupbyarray",{"2":{"21":1}}],["juliadimtable",{"2":{"20":1}}],["juliadimpoints",{"2":{"19":1}}],["juliadimindices",{"2":{"19":1}}],["juliadimarray",{"2":{"17":1}}],["juliadimnum",{"2":{"1":1,"17":1}}],["juliadimselectors",{"2":{"19":1}}],["juliadimstack",{"2":{"18":1}}],["juliadimsmatch",{"2":{"3":1}}],["juliadims2indices",{"2":{"2":1}}],["juliadims",{"2":{"1":2,"17":2}}],["juliadim",{"2":{"0":1}}],["juliadimension",{"2":{"0":1}}],["juliadimensions",{"2":{"0":1}}],["juliadependentdim",{"2":{"0":1}}],["juliaxdim",{"2":{"0":2}}],["juliax",{"2":{"0":3}}],["jun",{"2":{"48":6,"74":1}}],["just",{"2":{"5":2,"14":1,"23":1,"38":1,"40":1,"43":1,"48":3,"65":1,"66":1,"78":1}}],["j",{"2":{"3":2,"13":3,"70":1,"84":1}}],["jl",{"0":{"20":2,"35":1,"42":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"67":1,"68":1},"1":{"69":1,"70":1,"71":1,"72":1},"2":{"0":2,"4":5,"5":2,"20":2,"21":1,"22":2,"25":6,"26":1,"27":7,"28":1,"32":6,"35":10,"36":1,"37":1,"38":2,"40":3,"42":1,"43":2,"45":1,"51":3,"52":4,"53":1,"54":1,"55":1,"56":1,"57":2,"58":1,"59":1,"60":1,"64":1,"65":2,"67":4,"68":1,"72":1,"82":5,"85":2}}],["omitted",{"2":{"84":4}}],["o=rand",{"2":{"78":1}}],["oct",{"2":{"48":4,"74":1}}],["own",{"2":{"46":1,"49":1,"55":1}}],["objs",{"2":{"39":1}}],["obj",{"2":{"37":1,"39":2,"40":2}}],["object",{"2":{"0":1,"1":9,"2":1,"3":7,"4":7,"6":1,"10":1,"11":2,"17":12,"19":1,"20":1,"22":11,"25":1,"28":2,"32":2,"40":1,"43":3,"62":1,"64":1,"66":1}}],["objects",{"0":{"60":1},"1":{"61":1,"62":1,"63":1,"64":1,"65":1,"66":1},"2":{"0":1,"2":2,"3":1,"4":1,"5":2,"7":1,"11":1,"17":1,"18":3,"21":1,"22":4,"27":1,"28":1,"31":1,"37":1,"38":1,"39":1,"40":3,"43":1,"49":3,"60":1,"65":2,"66":1,"80":1}}],["our",{"2":{"31":2,"43":1,"46":1,"48":6}}],["outer",{"2":{"41":1,"61":1,"74":1,"75":3}}],["outcome",{"2":{"18":2}}],["out",{"2":{"4":1,"20":1,"28":1,"51":1,"67":1}}],["outputs",{"2":{"57":1}}],["output",{"2":{"0":4,"3":2,"4":5,"5":7,"15":1,"22":2,"48":1,"49":1,"56":1}}],["old",{"2":{"22":6}}],["optimization",{"2":{"55":1}}],["optimised",{"2":{"7":1}}],["options",{"2":{"22":5,"42":2}}],["optional",{"2":{"17":1,"25":4,"42":2}}],["operation",{"2":{"21":1,"33":1}}],["operations",{"2":{"0":1,"17":1,"21":1,"23":1,"27":1}}],["open",{"2":{"5":1,"48":35,"73":1}}],["openinterval",{"2":{"5":1}}],["o",{"2":{"4":1,"78":2,"84":1}}],["overheads",{"2":{"81":1}}],["overlapping",{"2":{"21":1}}],["over",{"2":{"0":1,"4":4,"9":1,"14":2,"15":1,"18":3,"19":2,"21":2,"22":6,"23":2,"47":1,"74":1,"80":1}}],["others",{"2":{"22":2,"77":1}}],["otherwise",{"2":{"4":1,"21":1,"22":1,"23":1,"36":1}}],["otherdims",{"2":{"1":3,"17":3,"19":1,"43":8,"44":13}}],["other",{"2":{"0":2,"3":2,"4":2,"5":2,"15":1,"21":1,"22":3,"23":2,"27":1,"29":1,"36":1,"44":1,"46":1,"49":1,"68":1,"74":1,"75":2,"78":1,"82":1,"85":1}}],["orange",{"2":{"71":1,"72":1}}],["organised",{"2":{"28":1}}],["organises",{"2":{"0":1}}],["originates",{"2":{"21":1}}],["original",{"2":{"3":3,"22":7}}],["origin",{"2":{"11":1}}],["ordering",{"2":{"4":1}}],["order=unordered",{"2":{"4":1,"74":1}}],["order=autoorder",{"2":{"4":2}}],["order=forwardordered",{"2":{"3":1,"74":2}}],["ordered",{"2":{"1":1,"4":1,"7":4,"17":3,"74":2}}],["order",{"0":{"7":1},"2":{"1":1,"2":1,"3":12,"4":23,"5":1,"7":9,"15":1,"17":1,"19":7,"22":17,"23":4,"31":4,"43":6,"64":3,"68":1,"75":2}}],["or",{"2":{"0":5,"1":20,"2":7,"3":20,"4":33,"5":7,"7":1,"8":5,"9":3,"10":3,"11":6,"12":1,"13":2,"15":2,"17":31,"18":7,"19":6,"20":4,"21":16,"22":15,"23":5,"25":4,"27":1,"28":1,"31":1,"32":2,"33":2,"36":3,"38":1,"39":1,"41":1,"42":2,"43":10,"44":1,"45":1,"48":1,"60":1,"61":1,"64":1,"71":1,"73":4,"74":3,"75":3,"76":2,"77":1,"78":2,"82":2,"85":1}}],["off",{"2":{"23":1}}],["offsetarrays",{"2":{"38":2}}],["offset",{"2":{"5":1}}],["often",{"2":{"21":1,"22":1,"27":1,"51":1,"74":1}}],["of",{"2":{"0":5,"1":13,"2":6,"3":17,"4":45,"5":13,"6":5,"7":3,"8":1,"9":2,"10":7,"11":5,"14":2,"15":2,"17":34,"18":10,"19":16,"20":3,"21":40,"22":29,"23":10,"24":1,"25":16,"26":2,"27":1,"28":2,"29":2,"31":8,"32":1,"35":3,"36":1,"37":1,"38":1,"39":1,"40":2,"41":4,"42":10,"43":10,"46":2,"47":2,"48":5,"51":2,"53":1,"54":1,"56":1,"60":1,"61":1,"63":2,"64":4,"66":2,"67":1,"71":1,"73":2,"74":4,"75":3,"76":2,"77":5,"78":2,"79":1,"80":3,"82":4,"84":1}}],["oneto",{"2":{"23":2,"74":2}}],["one",{"2":{"3":1,"4":3,"9":1,"14":1,"18":2,"22":1,"23":3,"26":1,"27":1,"40":2,"64":2,"73":1,"77":1,"79":1,"84":3}}],["ones",{"2":{"1":4,"3":3,"4":1,"17":10,"20":1,"22":4,"29":4,"34":1}}],["only",{"2":{"2":1,"4":1,"5":1,"17":3,"19":4,"22":4,"40":2,"48":1,"60":1,"64":1,"77":1,"78":1,"80":1,"84":1}}],["on",{"2":{"0":6,"1":1,"2":3,"3":1,"4":2,"5":1,"10":1,"11":1,"14":2,"17":3,"18":2,"21":3,"22":3,"23":2,"24":1,"25":3,"26":3,"27":2,"31":1,"35":1,"41":1,"42":2,"48":1,"57":1,"64":1,"65":1,"67":2,"78":2}}],["away",{"2":{"64":1}}],["aware",{"2":{"14":1,"51":1}}],["a1",{"2":{"64":4}}],["aimed",{"2":{"52":1}}],["aggregate",{"2":{"48":1}}],["again",{"2":{"18":1,"31":1}}],["a=rand",{"2":{"77":1}}],["a=falses",{"2":{"61":1}}],["a=3",{"2":{"30":1}}],["a=1",{"2":{"13":1}}],["aug",{"2":{"48":6,"74":1}}],["auxiliary",{"2":{"27":1,"57":1}}],["autodetection",{"0":{"75":1}}],["automata",{"2":{"57":1}}],["automated",{"2":{"22":1}}],["automatic",{"2":{"0":1,"4":1,"10":1}}],["automatically",{"2":{"0":1,"4":3,"7":1,"27":1,"40":1,"74":2,"75":1}}],["autoposition",{"2":{"10":2}}],["autospan",{"2":{"8":2,"74":1}}],["autovalues",{"2":{"4":1,"74":1}}],["autolookup",{"2":{"4":3}}],["autoorder",{"2":{"4":3,"7":2,"74":1}}],["auto",{"2":{"2":1}}],["amazing",{"2":{"26":1}}],["amp",{"0":{"26":1},"1":{"27":1}}],["ambiguity",{"2":{"2":1,"11":1,"14":1,"22":1,"66":1}}],["apr",{"2":{"48":6,"74":2}}],["appearance",{"2":{"22":1}}],["applicable",{"2":{"22":1}}],["applications",{"2":{"64":1}}],["application",{"2":{"21":1,"35":1}}],["applied",{"2":{"4":1,"18":1,"21":2,"22":1,"61":1,"80":1}}],["applying",{"2":{"21":2}}],["apply",{"2":{"18":3,"49":1}}],["api",{"0":{"16":1},"1":{"17":1,"18":1,"19":1,"20":1}}],["after",{"2":{"15":1,"17":1,"21":3,"25":3,"48":1}}],["affine",{"2":{"4":1}}],["affect",{"2":{"0":1}}],["adherence",{"2":{"35":1}}],["adjoint",{"2":{"33":1,"80":1}}],["adjacent",{"2":{"5":1}}],["adapt",{"2":{"27":3}}],["additional",{"2":{"25":2,"74":1}}],["additionally",{"2":{"12":1}}],["adding",{"2":{"4":3,"25":2}}],["add",{"2":{"12":2,"25":1,"29":1,"74":1}}],["added",{"2":{"3":1,"14":1,"25":3,"36":1,"42":2}}],["available",{"2":{"4":1,"11":2}}],["avoids",{"2":{"18":1,"21":1}}],["avoid",{"2":{"0":1,"5":1,"14":1,"18":1,"25":1}}],["actual",{"2":{"27":1}}],["actually",{"2":{"2":1,"4":1}}],["active",{"2":{"23":2}}],["acepted",{"2":{"17":4}}],["accessed",{"2":{"78":1}}],["accessors",{"2":{"65":1}}],["accessing",{"2":{"34":1}}],["access",{"2":{"28":1,"29":1}}],["accepted",{"2":{"25":2,"42":2,"64":1}}],["accept",{"2":{"17":1,"18":1,"39":1,"41":1,"64":1}}],["acceptable",{"2":{"8":1}}],["accepts",{"2":{"4":1,"5":1,"55":1}}],["accurate",{"2":{"8":1}}],["account",{"2":{"4":2}}],["atol=0",{"2":{"73":1}}],["atol=nothing",{"2":{"5":1}}],["atol",{"2":{"5":1,"19":6,"64":1}}],["attach",{"2":{"4":1}}],["attached",{"2":{"3":1,"38":1}}],["attempting",{"2":{"23":2}}],["attempt",{"2":{"0":1}}],["at",{"2":{"0":1,"3":2,"4":6,"5":11,"9":3,"17":1,"18":3,"19":4,"21":2,"22":1,"25":5,"43":1,"46":1,"48":1,"51":1,"52":1,"73":2,"74":2,"76":2,"77":1}}],["astroimage",{"2":{"58":1}}],["astroimages",{"0":{"58":1},"2":{"58":1}}],["astronomical",{"2":{"58":1}}],["assumes",{"2":{"64":1}}],["assert",{"2":{"49":1}}],["associate",{"2":{"28":2}}],["assignment",{"2":{"15":1,"22":1}}],["assigned",{"2":{"4":9,"60":1,"75":1}}],["ascending",{"2":{"5":1}}],["as",{"2":{"0":6,"1":1,"2":3,"3":5,"4":8,"5":4,"8":1,"10":3,"14":2,"17":7,"18":6,"19":4,"20":5,"21":5,"22":8,"23":4,"25":2,"26":2,"27":2,"28":1,"33":1,"34":1,"36":1,"38":1,"39":2,"40":4,"64":3,"67":3,"68":1,"71":1,"73":4,"74":1,"75":5}}],["above",{"2":{"44":1,"47":2}}],["about",{"2":{"0":1,"4":3,"11":1,"26":1,"65":1}}],["abstracdimarray",{"2":{"32":1}}],["abstractname",{"2":{"24":3}}],["abstraction",{"2":{"22":1}}],["abstractdimarry",{"2":{"45":1}}],["abstractdimarrays",{"2":{"3":1,"22":4,"24":1,"25":2,"32":1}}],["abstractdimarray",{"2":{"0":1,"3":2,"4":1,"11":2,"14":1,"17":7,"18":5,"19":1,"20":4,"21":7,"22":17,"23":7,"25":6,"27":2,"33":1,"36":1,"40":3,"41":2,"51":1,"52":1,"55":1,"57":2,"58":1,"61":1,"64":2,"67":1,"68":1,"77":1,"80":1,"82":1}}],["abstractdimtable",{"2":{"20":2}}],["abstractdimstack",{"2":{"18":4,"20":3,"21":5,"22":10,"23":7,"25":5,"36":1,"41":1,"51":1,"54":1,"61":1,"64":2,"77":1,"80":2,"82":1}}],["abstractrng",{"2":{"17":2}}],["abstractrange",{"2":{"4":4,"21":2,"74":1,"75":1}}],["abstractbasicarray",{"2":{"17":1}}],["abstractbasicdimarray",{"2":{"17":2,"22":1}}],["abstractmetadata",{"2":{"11":3,"22":1}}],["abstractmatrix",{"2":{"8":1}}],["abstractsample",{"2":{"51":1}}],["abstractsampled",{"2":{"4":6,"36":1,"74":1}}],["abstractstring",{"2":{"4":1}}],["abstractcolumns",{"2":{"20":1}}],["abstractcategorical",{"2":{"4":4,"36":1}}],["abstractcyclic",{"2":{"4":2}}],["abstractarray",{"2":{"2":3,"3":2,"4":4,"5":1,"17":4,"18":2,"19":3,"21":4,"22":4,"23":2,"29":1,"35":1,"38":1,"48":2,"74":1,"75":1,"77":1}}],["abstractvector",{"2":{"0":1,"4":4,"17":8}}],["abstract",{"2":{"0":7,"1":2,"3":4,"4":4,"5":3,"6":1,"10":1,"11":1,"17":4,"18":2,"20":1,"22":1,"24":1}}],["abs",{"2":{"13":1}}],["absent",{"2":{"3":1}}],["axis",{"2":{"0":6,"2":1,"3":2,"4":9,"10":3,"17":4,"19":1,"22":1,"38":1,"48":1,"67":1,"68":2,"73":2,"74":2}}],["axes",{"0":{"38":1},"2":{"0":1,"1":1,"4":1,"17":1,"23":3,"31":2,"33":1,"38":2,"64":1,"68":2}}],["alpha",{"2":{"13":1}}],["alpha=",{"2":{"13":1}}],["align",{"2":{"10":1}}],["aligned",{"2":{"4":6,"76":1}}],["although",{"2":{"4":1,"17":1,"67":1}}],["alone",{"2":{"4":2}}],["along",{"0":{"15":1},"2":{"0":1,"21":1,"33":1,"43":1,"74":1}}],["algorithms",{"2":{"3":1,"64":1}}],["always",{"2":{"1":1,"3":1,"9":1,"11":2,"17":1,"18":2,"22":2,"23":4,"25":2,"40":1,"44":1,"51":1,"64":1}}],["already",{"2":{"0":1,"27":1}}],["also",{"2":{"0":3,"3":3,"5":2,"10":1,"11":1,"15":1,"18":1,"21":1,"22":3,"28":1,"31":1,"32":1,"33":1,"38":1,"39":1,"40":1,"47":1,"48":3,"49":2,"51":1,"66":1,"68":2,"73":4,"74":1,"76":1,"79":1,"85":1}}],["allocate",{"2":{"82":1}}],["allocations",{"2":{"81":2}}],["allocation",{"2":{"22":1}}],["allocs",{"2":{"34":2}}],["allows",{"2":{"10":1,"21":1,"22":1}}],["allowing",{"2":{"4":1}}],["allow",{"2":{"4":1,"10":1,"11":1,"57":1}}],["all",{"2":{"0":5,"2":1,"3":3,"4":5,"5":6,"6":1,"11":1,"17":3,"18":5,"19":3,"22":11,"23":8,"24":1,"25":2,"27":1,"32":1,"40":2,"42":2,"43":1,"44":3,"48":1,"51":1,"57":2,"60":1,"61":3,"73":1,"77":2,"78":1,"79":1,"80":1,"81":1,"82":1}}],["arviz",{"0":{"54":1},"2":{"36":1,"54":2}}],["archgdal",{"2":{"35":1}}],["around",{"2":{"21":3}}],["arbitrary",{"0":{"30":1},"2":{"19":1,"21":2,"30":1,"48":1}}],["arg",{"2":{"25":3,"42":3,"64":1}}],["args",{"2":{"3":1,"22":3,"25":12,"40":1,"42":12}}],["argumenterror",{"2":{"31":1}}],["argument",{"2":{"2":1,"3":2,"4":4,"11":2,"15":1,"17":2,"18":1,"22":4,"39":1,"40":3,"71":1}}],["arguments",{"2":{"0":1,"1":4,"3":4,"4":8,"8":1,"17":6,"18":1,"21":1,"22":5,"25":2,"27":1,"40":1,"42":2,"64":2}}],["arrays",{"0":{"17":1},"2":{"5":1,"15":1,"17":5,"18":1,"21":1,"22":2,"23":1,"24":1,"25":2,"60":1,"61":3,"75":3,"76":1,"84":1,"85":1}}],["arrayselectors",{"2":{"5":1}}],["arrayselector",{"2":{"5":4}}],["array",{"0":{"18":1,"79":1},"2":{"0":3,"1":1,"2":2,"3":4,"4":16,"5":1,"9":1,"10":1,"11":1,"13":1,"14":1,"15":1,"17":6,"18":3,"19":3,"20":1,"21":1,"22":8,"23":4,"24":2,"25":2,"26":1,"27":3,"32":1,"33":1,"34":1,"36":2,"38":3,"41":2,"42":2,"47":1,"48":1,"55":1,"61":4,"64":4,"73":2,"74":1,"75":2,"76":1,"81":1,"82":1}}],["aren",{"2":{"76":1}}],["areound",{"2":{"22":1}}],["area",{"2":{"5":3}}],["are",{"2":{"0":7,"1":1,"2":2,"3":17,"4":15,"5":11,"7":1,"8":2,"9":2,"11":1,"14":2,"15":1,"17":9,"18":3,"19":4,"20":2,"21":1,"22":15,"23":5,"25":13,"27":2,"28":4,"29":2,"31":1,"35":2,"36":5,"40":2,"42":10,"43":1,"46":1,"48":1,"51":2,"57":2,"60":2,"64":3,"68":1,"74":2,"75":9,"76":1,"79":2,"80":1,"81":1,"82":3}}],["analysis",{"2":{"48":1,"53":1,"54":1}}],["analagous",{"2":{"14":1}}],["answer",{"2":{"35":1}}],["ansi",{"2":{"25":1}}],["anomalies",{"2":{"21":1}}],["another",{"2":{"4":1,"17":1,"18":1,"19":2,"23":1,"30":1,"45":1,"52":1,"64":1,"73":1,"76":1,"78":1,"79":2}}],["anonymous",{"2":{"0":1}}],["anondim",{"2":{"0":2}}],["annual",{"2":{"4":1}}],["anything",{"2":{"2":1,"22":1}}],["any",{"2":{"0":1,"1":5,"2":1,"3":4,"4":5,"5":5,"11":2,"17":5,"21":8,"22":1,"23":1,"25":2,"27":1,"28":2,"29":10,"39":3,"40":1,"43":2,"47":7,"48":11,"49":3,"55":1,"74":1,"77":1,"80":1,"85":1}}],["an",{"2":{"0":2,"1":8,"2":1,"3":5,"4":9,"5":5,"6":1,"7":1,"8":1,"9":1,"10":3,"11":2,"14":1,"17":21,"18":1,"19":6,"20":3,"21":6,"22":8,"23":2,"24":1,"25":6,"27":1,"28":1,"31":1,"32":2,"33":1,"38":1,"40":1,"41":2,"43":6,"47":1,"48":3,"49":1,"54":2,"71":1,"73":2,"74":2,"75":1,"77":2,"82":1}}],["and",{"0":{"14":1,"47":1,"82":1},"1":{"15":1,"83":1,"84":1,"85":1},"2":{"0":9,"2":7,"3":8,"4":27,"5":10,"7":2,"8":3,"10":2,"11":4,"13":1,"14":3,"15":4,"17":17,"18":13,"19":2,"20":3,"21":4,"22":10,"23":11,"24":1,"25":12,"26":1,"27":4,"28":2,"29":2,"30":2,"31":1,"32":3,"35":5,"36":1,"38":2,"39":1,"40":3,"41":3,"42":6,"43":2,"44":2,"48":4,"49":1,"51":7,"52":2,"57":2,"58":1,"60":1,"61":2,"64":2,"65":1,"66":1,"67":3,"68":4,"73":3,"74":3,"75":8,"76":1,"77":1,"78":1,"80":1,"81":2,"82":5,"84":3,"85":1}}],["a",{"0":{"71":1},"2":{"0":30,"1":30,"2":11,"3":32,"4":50,"5":38,"6":1,"7":2,"8":4,"9":1,"10":6,"11":8,"13":6,"14":3,"15":7,"17":68,"18":32,"19":16,"20":5,"21":43,"22":46,"23":12,"24":2,"25":13,"26":5,"27":1,"28":4,"29":7,"30":3,"32":2,"36":2,"37":1,"38":2,"40":1,"41":2,"42":4,"43":64,"44":73,"45":2,"46":1,"47":8,"48":14,"49":4,"51":5,"52":1,"54":1,"55":2,"56":1,"57":1,"60":1,"61":10,"62":9,"63":2,"64":13,"65":4,"66":14,"67":2,"68":6,"70":1,"71":3,"72":2,"73":59,"74":14,"75":6,"76":5,"77":5,"78":14,"79":27,"80":41,"81":5,"83":5,"84":33,"85":9}}],["m=rand",{"2":{"78":1}}],["my",{"2":{"64":3}}],["mydimstack",{"2":{"18":2}}],["mutable",{"2":{"60":1}}],["much",{"2":{"26":1,"64":1,"67":1}}],["multiplying",{"2":{"23":2}}],["multiplication",{"2":{"23":5}}],["multiple",{"2":{"4":1,"18":3,"21":1,"44":1,"63":1}}],["multipications",{"2":{"23":1}}],["multi",{"0":{"18":1},"2":{"38":1}}],["must",{"2":{"4":3,"5":3,"17":2,"18":2,"22":2,"25":2,"27":2,"37":1,"38":3,"40":1,"41":1,"60":1,"77":1}}],["mixing",{"2":{"31":1}}],["mix",{"2":{"31":1,"80":1}}],["mixed",{"2":{"18":2,"19":2,"36":1}}],["mime",{"2":{"25":5}}],["mid",{"2":{"5":1}}],["min",{"2":{"34":4}}],["minus",{"2":{"4":1}}],["minimum",{"2":{"3":1,"33":1,"47":1,"80":2}}],["missingval",{"2":{"22":1,"51":1}}],["missing",{"2":{"3":1,"22":1,"41":1,"51":1}}],["msg",{"2":{"3":1}}],["measures",{"2":{"81":1}}],["means",{"2":{"3":1,"5":1,"7":1,"10":1,"14":1,"15":1,"20":1,"22":1,"27":1,"28":1,"38":1,"44":2,"73":1}}],["mean",{"2":{"3":1,"4":1,"9":1,"14":1,"15":2,"17":1,"18":4,"21":10,"33":1,"34":4,"47":3,"48":3,"49":1,"80":3}}],["meaning",{"2":{"2":1,"4":1,"19":1}}],["merging",{"2":{"78":1}}],["merges",{"2":{"63":1}}],["merge",{"2":{"31":1,"78":5,"84":1}}],["merged",{"2":{"22":3}}],["mergedims=",{"2":{"84":1}}],["mergedims=nothing",{"2":{"20":3}}],["mergedims",{"0":{"63":1},"2":{"20":1,"22":5,"63":1}}],["mergedlookup",{"2":{"4":3,"22":3,"31":1}}],["median",{"2":{"33":1,"34":4,"47":1}}],["memory",{"2":{"34":2}}],["mem",{"2":{"26":1}}],["messy",{"2":{"21":1}}],["mesages",{"2":{"3":1}}],["metadata=dict",{"2":{"29":5,"64":1}}],["metadata=metadata",{"2":{"18":1}}],["metadata=nometadata",{"2":{"4":3,"17":1,"18":1}}],["metadata",{"0":{"11":1},"2":{"3":1,"4":16,"11":16,"17":11,"21":3,"22":4,"25":9,"27":1,"29":5,"40":1,"42":8,"47":7,"48":11,"49":2,"60":1,"64":5}}],["method",{"2":{"1":4,"3":3,"4":4,"9":1,"11":2,"17":7,"19":1,"22":2,"25":3,"40":1,"42":2}}],["methods",{"0":{"1":1,"2":1,"3":1,"21":1,"22":1},"2":{"0":2,"1":1,"3":3,"4":3,"7":1,"17":1,"18":5,"21":1,"23":3,"25":2,"28":1,"33":1,"36":1,"40":1,"43":1,"44":1,"49":1,"53":1}}],["m",{"2":{"0":1,"4":3,"62":2,"64":2,"66":3,"78":2,"84":1}}],["mon",{"2":{"74":2}}],["monthabbr",{"2":{"74":2}}],["months",{"2":{"21":5,"48":4,"74":1}}],["monthly",{"2":{"21":2}}],["month",{"2":{"0":6,"15":19,"17":1,"21":4,"46":1,"47":2,"48":13,"74":5}}],["moving",{"2":{"61":1,"67":1}}],["moved",{"2":{"27":2}}],["move",{"2":{"26":1}}],["moves",{"2":{"17":1}}],["mod",{"2":{"61":2}}],["models",{"2":{"54":1,"57":1}}],["model",{"2":{"27":1,"56":1}}],["modification",{"2":{"27":1}}],["modified",{"2":{"5":1}}],["modifying",{"0":{"60":1},"1":{"61":1,"62":1,"63":1,"64":1,"65":1,"66":1}}],["modify",{"0":{"61":1},"2":{"6":1,"22":6,"26":1,"60":1,"61":6}}],["module",{"2":{"0":3,"4":2}}],["mostly",{"2":{"17":1,"22":2,"67":1,"68":1}}],["most",{"2":{"4":1,"18":4,"22":1,"23":1,"25":1,"26":1,"35":1,"36":1,"64":1,"74":1,"75":1}}],["more",{"2":{"0":2,"4":4,"13":1,"17":1,"20":1,"25":1,"40":2,"52":1,"61":1,"65":1,"72":1,"73":1}}],["magic",{"0":{"65":1}}],["made",{"2":{"51":1}}],["masking",{"2":{"51":1}}],["mar",{"2":{"48":6,"74":1}}],["markersize=15",{"2":{"72":1}}],["markers",{"0":{"72":1},"2":{"10":1}}],["max",{"2":{"34":4}}],["maximum",{"2":{"5":1,"25":1,"33":1,"47":1,"80":3}}],["manipulation",{"2":{"51":1}}],["mandatory",{"2":{"25":4,"42":2}}],["many",{"2":{"18":4,"25":2,"33":1,"81":1}}],["manually",{"2":{"4":5,"21":1,"40":1,"74":2,"75":1,"81":1}}],["mapped",{"2":{"51":1}}],["mapslices",{"2":{"33":1}}],["mapreduce",{"2":{"33":1}}],["map",{"2":{"18":5,"21":4,"23":1}}],["maintains",{"2":{"17":1}}],["main",{"2":{"17":1,"25":4}}],["makie",{"0":{"68":1},"1":{"69":1,"70":1,"71":1,"72":1},"2":{"67":2,"68":3,"70":1,"72":1}}],["making",{"2":{"0":1}}],["makes",{"2":{"24":1,"43":1}}],["make",{"2":{"4":1,"5":1,"19":2,"28":1,"64":1,"74":1}}],["math",{"2":{"32":1}}],["matmul",{"2":{"23":4}}],["matrix",{"2":{"8":1,"23":6,"29":3,"61":3,"80":1}}],["matter",{"2":{"3":1,"19":1}}],["match",{"2":{"1":3,"2":2,"3":3,"4":1,"5":1,"14":1,"17":3,"21":1,"22":4,"23":9,"78":1,"80":1,"82":1}}],["matches",{"2":{"1":1,"5":1,"17":1,"21":1,"25":4,"42":4,"64":1}}],["matching",{"2":{"0":2,"1":1,"3":1,"4":3,"17":1,"18":2,"21":2,"22":1,"39":2,"73":1,"76":1}}],["macro",{"2":{"0":2,"3":1,"14":1,"15":1,"22":4}}],["may",{"2":{"0":2,"3":1,"4":5,"5":4,"6":1,"8":1,"11":2,"18":2,"23":1,"25":1,"48":6,"64":2,"66":1,"74":3}}],["mdash",{"2":{"0":15,"1":4,"2":5,"3":12,"4":23,"5":10,"6":1,"7":6,"8":5,"9":3,"10":6,"11":4,"17":14,"18":2,"19":3,"20":2,"21":9,"22":9,"23":7,"24":3,"25":6}}]],"serializationVersion":2}';export{e as default}; diff --git a/previews/PR801/assets/chunks/VPLocalSearchBox.DV7xqjdA.js b/previews/PR801/assets/chunks/VPLocalSearchBox.DV7xqjdA.js new file mode 100644 index 000000000..283329490 --- /dev/null +++ b/previews/PR801/assets/chunks/VPLocalSearchBox.DV7xqjdA.js @@ -0,0 +1,7 @@ +var Nt=Object.defineProperty;var Ft=(a,e,t)=>e in a?Nt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,p as se,h as pe,aj as Xe,ak as Rt,al as Ct,q as je,am as Mt,d as At,D as ye,an as et,ao as Lt,ap as Dt,s as zt,aq as Pt,v as Ce,P as ue,O as we,ar as jt,as as Vt,W as $t,R as Bt,$ as Wt,o as q,b as Kt,j as S,a0 as Jt,k as D,at as Ut,au as qt,av as Gt,c as Y,n as tt,e as xe,C as st,F as nt,a as de,t as he,aw as Ht,ax as it,ay as Qt,a8 as Yt,ae as Zt,az as Xt,_ as es}from"./framework.D3Ia4FEQ.js";import{u as ts,c as ss}from"./theme.DdfSediW.js";const ns={root:()=>Ot(()=>import("./@localSearchIndexroot.CRm6DHrn.js"),[])};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var vt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ie=vt.join(","),mt=typeof Element>"u",ie=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ke=!mt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Ne=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},is=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},gt=function(e,t,s){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ie));return t&&ie.call(e,Ie)&&n.unshift(e),n=n.filter(s),n},bt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ie.call(i,Ie);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var v=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),p=!Ne(v,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(v&&p){var b=a(v===!0?i.children:v.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},yt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||is(e))&&!yt(e)?0:e.tabIndex},rs=function(e,t){var s=ne(e);return s<0&&t&&!yt(e)?0:s},as=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},wt=function(e){return e.tagName==="INPUT"},os=function(e){return wt(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},cs=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(ie.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=ke(e);if(l&&!l.shadowRoot&&n(l)===!0)return rt(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(fs(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return rt(e);return!1},vs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},gs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=rs(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(as).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},bs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:Ve.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ms}):s=gt(e,t.includeContainer,Ve.bind(null,t)),gs(s)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:Fe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(e,t.includeContainer,Fe.bind(null,t)),s},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,Ie)===!1?!1:Ve(t,e)},ws=vt.concat("iframe").join(","),Me=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,ws)===!1?!1:Fe(t,e)};/*! +* focus-trap 7.6.0 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function xs(a,e,t){return(e=_s(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function at(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ot(a){for(var e=1;e0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Es=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Is=function(e){return ve(e)&&!e.shiftKey},ks=function(e){return ve(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ut=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},fe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?g-1:0),E=1;E=0)d=s.activeElement;else{var u=i.tabbableGroups[0],g=u&&u.firstTabbableNode;d=g||h("fallbackFocus")}if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},p=function(){if(i.containerGroups=i.containers.map(function(d){var u=bs(d,r.tabbableOptions),g=ys(d,r.tabbableOptions),_=u.length>0?u[0]:void 0,E=u.length>0?u[u.length-1]:void 0,N=g.find(function(f){return re(f)}),F=g.slice().reverse().find(function(f){return re(f)}),m=!!u.find(function(f){return ne(f)>0});return{container:d,tabbableNodes:u,focusableNodes:g,posTabIndexesFound:m,firstTabbableNode:_,lastTabbableNode:E,firstDomTabbableNode:N,lastDomTabbableNode:F,nextTabbableNode:function(T){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=u.indexOf(T);return C<0?A?g.slice(g.indexOf(T)+1).find(function(M){return re(M)}):g.slice(0,g.indexOf(T)).reverse().find(function(M){return re(M)}):u[C+(A?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},b=function(d){var u=d.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?b(u.shadowRoot):u},y=function(d){if(d!==!1&&d!==b(document)){if(!d||!d.focus){y(v());return}d.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=d,Es(d)&&d.select()}},x=function(d){var u=h("setReturnFocus",d);return u||(u===!1?!1:d)},w=function(d){var u=d.target,g=d.event,_=d.isBackward,E=_===void 0?!1:_;u=u||Se(g),p();var N=null;if(i.tabbableGroups.length>0){var F=c(u,g),m=F>=0?i.containerGroups[F]:void 0;if(F<0)E?N=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:N=i.tabbableGroups[0].firstTabbableNode;else if(E){var f=ut(i.tabbableGroups,function(L){var j=L.firstTabbableNode;return u===j});if(f<0&&(m.container===u||Me(u,r.tabbableOptions)&&!re(u,r.tabbableOptions)&&!m.nextTabbableNode(u,!1))&&(f=F),f>=0){var T=f===0?i.tabbableGroups.length-1:f-1,A=i.tabbableGroups[T];N=ne(u)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else ve(g)||(N=m.nextTabbableNode(u,!1))}else{var C=ut(i.tabbableGroups,function(L){var j=L.lastTabbableNode;return u===j});if(C<0&&(m.container===u||Me(u,r.tabbableOptions)&&!re(u,r.tabbableOptions)&&!m.nextTabbableNode(u))&&(C=F),C>=0){var M=C===i.tabbableGroups.length-1?0:C+1,I=i.tabbableGroups[M];N=ne(u)>=0?I.firstTabbableNode:I.firstDomTabbableNode}else ve(g)||(N=m.nextTabbableNode(u))}}else N=h("fallbackFocus");return N},O=function(d){var u=Se(d);if(!(c(u,d)>=0)){if(fe(r.clickOutsideDeactivates,d)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}fe(r.allowOutsideClick,d)||d.preventDefault()}},R=function(d){var u=Se(d),g=c(u,d)>=0;if(g||u instanceof Document)g&&(i.mostRecentlyFocusedNode=u);else{d.stopImmediatePropagation();var _,E=!0;if(i.mostRecentlyFocusedNode)if(ne(i.mostRecentlyFocusedNode)>0){var N=c(i.mostRecentlyFocusedNode),F=i.containerGroups[N].tabbableNodes;if(F.length>0){var m=F.findIndex(function(f){return f===i.mostRecentlyFocusedNode});m>=0&&(r.isKeyForward(i.recentNavEvent)?m+1=0&&(_=F[m-1],E=!1))}}else i.containerGroups.some(function(f){return f.tabbableNodes.some(function(T){return ne(T)>0})})||(E=!1);else E=!1;E&&(_=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(_||i.mostRecentlyFocusedNode||v())}i.recentNavEvent=void 0},K=function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var g=w({event:d,isBackward:u});g&&(ve(d)&&d.preventDefault(),y(g))},G=function(d){(r.isKeyForward(d)||r.isKeyBackward(d))&&K(d,r.isKeyBackward(d))},W=function(d){Ts(d)&&fe(r.escapeDeactivates,d)!==!1&&(d.preventDefault(),o.deactivate())},V=function(d){var u=Se(d);c(u,d)>=0||fe(r.clickOutsideDeactivates,d)||fe(r.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},$=function(){if(i.active)return lt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ct(function(){y(v())}):y(v()),s.addEventListener("focusin",R,!0),s.addEventListener("mousedown",O,{capture:!0,passive:!1}),s.addEventListener("touchstart",O,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",G,{capture:!0,passive:!1}),s.addEventListener("keydown",W),o},me=function(){if(i.active)return s.removeEventListener("focusin",R,!0),s.removeEventListener("mousedown",O,!0),s.removeEventListener("touchstart",O,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",G,!0),s.removeEventListener("keydown",W),o},P=function(d){var u=d.some(function(g){var _=Array.from(g.removedNodes);return _.some(function(E){return E===i.mostRecentlyFocusedNode})});u&&y(v())},H=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(P):void 0,J=function(){H&&(H.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){H.observe(d,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var u=l(d,"onActivate"),g=l(d,"onPostActivate"),_=l(d,"checkCanFocusTrap");_||p(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,u==null||u();var E=function(){_&&p(),$(),J(),g==null||g()};return _?(_(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(d){if(!i.active)return this;var u=ot({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,me(),i.active=!1,i.paused=!1,J(),lt.deactivateTrap(n,o);var g=l(u,"onDeactivate"),_=l(u,"onPostDeactivate"),E=l(u,"checkCanReturnFocus"),N=l(u,"returnFocus","returnFocusOnDeactivate");g==null||g();var F=function(){ct(function(){N&&y(x(i.nodeFocusedBeforeActivation)),_==null||_()})};return N&&E?(E(x(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(d){if(i.paused||!i.active)return this;var u=l(d,"onPause"),g=l(d,"onPostPause");return i.paused=!0,u==null||u(),me(),J(),g==null||g(),this},unpause:function(d){if(!i.paused||!i.active)return this;var u=l(d,"onUnpause"),g=l(d,"onPostUnpause");return i.paused=!1,u==null||u(),p(),$(),J(),g==null||g(),this},updateContainerElements:function(d){var u=[].concat(d).filter(Boolean);return i.containers=u.map(function(g){return typeof g=="string"?s.querySelector(g):g}),i.active&&p(),J(),this}},o.updateContainerElements(e),o};function Os(a,e={}){let t;const{immediate:s,...n}=e,r=se(!1),i=se(!1),o=p=>t&&t.activate(p),l=p=>t&&t.deactivate(p),c=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)},v=pe(()=>{const p=Xe(a);return(Array.isArray(p)?p:[p]).map(b=>{const y=Xe(b);return typeof y=="string"?y:Rt(y)}).filter(Ct)});return je(v,p=>{p.length&&(t=Fs(p,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Mt(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class oe{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const l=()=>{--i<=0&&n(o)};i||l(),r.forEach(c=>{oe.matches(c,this.exclude)?l():this.onIframeReady(c,h=>{t(c)&&(o++,s(h)),l()},l)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new oe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,l)=>{o.val===s&&(r=l,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],l=[],c,h,v=()=>({prevNode:h,node:c}=this.getIteratorNode(i),c);for(;v();)this.iframes&&this.forEachIframe(t,p=>this.checkIframeFilter(c,h,p,o),p=>{this.createInstanceOnIframe(p).forEachNode(e,b=>l.push(b),n)}),l.push(c);l.forEach(p=>{s(p)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,l):l()})}}let Rs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new oe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,l=parseInt(e.start,10)-o;return l=l>i?i:l,n=l+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||n-l<0||l>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(l,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return oe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!n(i.node))return!1;const c=t-i.start,h=(s>i.end?i.end:s)-i.start,v=e.value.substr(0,i.start),p=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,h),e.value=v+p,e.nodes.forEach((b,y)=>{y>=o&&(e.nodes[y].start>0&&y!==o&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[i]!=="";){if(!s(c[i],l))continue;let h=c.index;if(i!==0)for(let v=1;v{let l;for(;(l=e.exec(o.value))!==null&&l[i]!=="";){let c=l.index;if(i!==0)for(let v=1;vs(l[i],v),(v,p)=>{e.lastIndex=p,n(v)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,l)=>{let{start:c,end:h,valid:v}=this.checkWhitespaceRanges(o,i,r.value);v&&this.wrapRangeInMappedTextNode(r,c,h,p=>t(p,o,r.value.substring(c,h),l),p=>{s(p,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let h=new RegExp(this.createRegExp(c),`gm${o}`),v=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(p,b)=>this.opt.filter(b,c,s,v),p=>{v++,s++,this.opt.each(p)},()=>{v===0&&this.opt.noMatch(c),r[i-1]===c?this.opt.done(s):l(r[r.indexOf(c)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):l(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,l)=>this.opt.filter(r,i,o,l),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=oe.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Cs(a){const e=new Rs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Te(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{c(s.next(h))}catch(v){i(v)}}function l(h){try{c(s.throw(h))}catch(v){i(v)}}function c(h){h.done?r(h.value):n(h.value).then(o,l)}c((s=s.apply(a,[])).next())})}const Ms="ENTRIES",xt="KEYS",St="VALUES",z="";class Ae{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=ae(this._path);if(ae(t)===z)return{done:!1,value:this.result()};const s=e.get(ae(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=ae(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>ae(e)).filter(e=>e!==z).join("")}value(){return ae(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case xt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const ae=a=>a[a.length-1],As=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const l=r*i;e:for(const c of a.keys())if(c===z){const h=n[l-1];h<=t&&s.set(o,[a.get(c),h])}else{let h=r;for(let v=0;vt)continue e}_t(a.get(c),e,t,s,n,h,i,o+c)}};class Z{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Oe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Ke(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new Z(o,e)}}return new Z(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ls(this._tree,e)}entries(){return new Ae(this,Ms)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return As(this._tree,e,t)}get(e){const t=$e(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=$e(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Ae(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,Le(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=Le(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=Le(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Ae(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new Z;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return Z.from(Object.entries(e))}}const Oe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Oe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Oe(void 0,"",t)},$e=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return $e(a.get(t),e.slice(t.length))},Le=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Oe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)Et(s);else if(t.size===1){const[n,r]=t.entries().next().value;Tt(s,n,r)}}},Et=a=>{if(a.length===0)return;const[e,t]=Ke(a);if(e.delete(t),e.size===0)Et(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Tt(a.slice(0,-1),s,n)}},Tt=(a,e,t)=>{if(a.length===0)return;const[s,n]=Ke(a);s.set(n+e,t),s.delete(n)},Ke=a=>a[a.length-1],Je="or",It="and",Ds="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?Pe:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},ze),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},dt),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},$s),e.autoSuggestOptions||{})}),this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=We,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const l=this.addDocumentId(o);this.saveStoredFields(l,e);for(const c of r){const h=t(e,c);if(h==null)continue;const v=s(h.toString(),c),p=this._fieldIds[c],b=new Set(v).size;this.addFieldLength(l,p,this._documentCount-1,b);for(const y of v){const x=n(y,c);if(Array.isArray(x))for(const w of x)this.addTerm(p,l,w);else x&&this.addTerm(p,l,x)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:l},c,h)=>(o.push(c),(h+1)%s===0?{chunk:[],promise:l.then(()=>new Promise(v=>setTimeout(v,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const l=this._idToShortId.get(o);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const c of r){const h=n(e,c);if(h==null)continue;const v=t(h.toString(),c),p=this._fieldIds[c],b=new Set(v).size;this.removeFieldLength(l,p,this._documentCount,b);for(const y of v){const x=s(y,c);if(Array.isArray(x))for(const w of x)this.removeTerm(p,l,w);else x&&this.removeTerm(p,l,x)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(o),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=We,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Te(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||Be.batchSize,r=e.batchWait||Be.batchWait;let i=1;for(const[o,l]of this._index){for(const[c,h]of l)for(const[v]of h)this._documentIds.has(v)||(h.size<=1?l.delete(c):h.delete(v));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(c=>setTimeout(c,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||Pe.minDirtCount,s=s||Pe.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:l}]of s){const c=o.length||1,h={id:this._documentIds.get(r),score:i*c,terms:Object.keys(l),queryTerms:o,match:l};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(ft),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),l=s.get(o);l!=null?(l.score+=r,l.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:l}]of s)n.push({suggestion:r,terms:o,score:i/l});return n.sort(ft),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Te(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(ze.hasOwnProperty(e))return De(ze,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=_e(n),l._fieldLength=_e(r),l._storedFields=_e(i);for(const[c,h]of l._documentIds)l._idToShortId.set(h,c);for(const[c,h]of s){const v=new Map;for(const p of Object.keys(h)){let b=h[p];o===1&&(b=b.ds),v.set(parseInt(p,10),_e(b))}l._index.set(c,v)}return l}static loadJSAsync(e,t){return Te(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=yield Ee(n),l._fieldLength=yield Ee(r),l._storedFields=yield Ee(i);for(const[h,v]of l._documentIds)l._idToShortId.set(v,h);let c=0;for(const[h,v]of s){const p=new Map;for(const b of Object.keys(v)){let y=v[b];o===1&&(y=y.ds),p.set(parseInt(b,10),yield Ee(y))}++c%1e3===0&&(yield kt(0)),l._index.set(h,p)}return l})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new le(t);return c._documentCount=s,c._nextId=n,c._idToShortId=new Map,c._fieldIds=r,c._avgFieldLength=i,c._dirtCount=o||0,c._index=new Z,c}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const p=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),b=e.queries.map(y=>this.executeQuery(y,p));return this.combineResults(b,p.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:l}=i,v=o(e).flatMap(p=>l(p)).filter(p=>!!p).map(Vs(i)).map(p=>this.executeQuerySpec(p,i));return this.combineResults(v,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((x,w)=>Object.assign(Object.assign({},x),{[w]:De(s.boost,w)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=s,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},dt.weights),i),v=this._index.get(e.term),p=this.termResults(e.term,e.term,1,e.termBoost,v,n,r,l);let b,y;if(e.prefix&&(b=this._index.atPrefix(e.term)),e.fuzzy){const x=e.fuzzy===!0?.2:e.fuzzy,w=x<1?Math.min(o,Math.round(e.term.length*x)):x;w&&(y=this._index.fuzzyGet(e.term,w))}if(b)for(const[x,w]of b){const O=x.length-e.term.length;if(!O)continue;y==null||y.delete(x);const R=h*x.length/(x.length+.3*O);this.termResults(e.term,x,R,e.termBoost,w,n,r,l,p)}if(y)for(const x of y.keys()){const[w,O]=y.get(x);if(!O)continue;const R=c*x.length/(x.length+O);this.termResults(e.term,x,R,e.termBoost,w,n,r,l,p)}return p}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Je){if(e.length===0)return new Map;const s=t.toLowerCase(),n=zs[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,l,c=new Map){if(r==null)return c;for(const h of Object.keys(i)){const v=i[h],p=this._fieldIds[h],b=r.get(p);if(b==null)continue;let y=b.size;const x=this._avgFieldLength[p];for(const w of b.keys()){if(!this._documentIds.has(w)){this.removeTerm(p,w,t),y-=1;continue}const O=o?o(this._documentIds.get(w),t,this._storedFields.get(w)):1;if(!O)continue;const R=b.get(w),K=this._fieldLength.get(w)[p],G=js(R,y,this._documentCount,K,x,l),W=s*n*v*O*G,V=c.get(w);if(V){V.score+=W,Bs(V.terms,e);const $=De(V.match,t);$?$.push(h):V.match[t]=[h]}else c.set(w,{score:W,terms:[e],match:{[t]:[h]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,pt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,pt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,zs={[Je]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ht(s.terms,r)}}return a},[It]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ht(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[Ds]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},Ps={k:1.2,b:.7,d:.5},js=(a,e,t,s,n,r)=>{const{k:i,b:o,d:l}=r;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(i+1)/(a+i*(1-o+o*s/n)))},Vs=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0,i=typeof a.boostTerm=="function"?a.boostTerm(e,t,s):1;return{term:e,fuzzy:n,prefix:r,termBoost:i}},ze={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ws),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},dt={combineWith:Je,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Ps},$s={combineWith:It,prefix:(a,e,t)=>e===t.length-1},Be={batchSize:1e3,batchWait:10},We={minDirtFactor:.1,minDirtCount:20},Pe=Object.assign(Object.assign({},Be),We),Bs=(a,e)=>{a.includes(e)||a.push(e)},ht=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},ft=({score:a},{score:e})=>e-a,pt=()=>new Map,_e=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ee=a=>Te(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield kt(0));return e}),kt=a=>new Promise(e=>setTimeout(e,a)),Ws=/[\n\r\p{Z}\p{P}]+/u;class Ks{constructor(e=10){Re(this,"max");Re(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const Js=["aria-owns"],Us={class:"shell"},qs=["title"],Gs={class:"search-actions before"},Hs=["title"],Qs=["placeholder"],Ys={class:"search-actions"},Zs=["title"],Xs=["disabled","title"],en=["id","role","aria-labelledby"],tn=["aria-selected"],sn=["href","aria-label","onMouseenter","onFocusin"],nn={class:"titles"},rn=["innerHTML"],an={class:"title main"},on=["innerHTML"],ln={key:0,class:"excerpt-wrapper"},cn={key:0,class:"excerpt",inert:""},un=["innerHTML"],dn={key:0,class:"no-results"},hn={class:"search-keyboard-shortcuts"},fn=["aria-label"],pn=["aria-label"],vn=["aria-label"],mn=["aria-label"],gn=At({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var N,F;const t=e,s=ye(),n=ye(),r=ye(ns),i=ts(),{activate:o}=Os(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=et(async()=>{var m,f,T,A,C,M,I,L,j;return it(le.loadJSON((T=await((f=(m=r.value)[l.value])==null?void 0:f.call(m)))==null?void 0:T.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((A=c.value.search)==null?void 0:A.provider)==="local"&&((M=(C=c.value.search.options)==null?void 0:C.miniSearch)==null?void 0:M.searchOptions)},...((I=c.value.search)==null?void 0:I.provider)==="local"&&((j=(L=c.value.search.options)==null?void 0:L.miniSearch)==null?void 0:j.options)}))}),p=pe(()=>{var m,f;return((m=c.value.search)==null?void 0:m.provider)==="local"&&((f=c.value.search.options)==null?void 0:f.disableQueryPersistence)===!0}).value?se(""):Lt("vitepress:local-search-filter",""),b=Dt("vitepress:local-search-detailed-list",((N=c.value.search)==null?void 0:N.provider)==="local"&&((F=c.value.search.options)==null?void 0:F.detailedView)===!0),y=pe(()=>{var m,f,T;return((m=c.value.search)==null?void 0:m.provider)==="local"&&(((f=c.value.search.options)==null?void 0:f.disableDetailedView)===!0||((T=c.value.search.options)==null?void 0:T.detailedView)===!1)}),x=pe(()=>{var f,T,A,C,M,I,L;const m=((f=c.value.search)==null?void 0:f.options)??c.value.algolia;return((M=(C=(A=(T=m==null?void 0:m.locales)==null?void 0:T[l.value])==null?void 0:A.translations)==null?void 0:C.button)==null?void 0:M.buttonText)||((L=(I=m==null?void 0:m.translations)==null?void 0:I.button)==null?void 0:L.buttonText)||"Search"});zt(()=>{y.value&&(b.value=!1)});const w=ye([]),O=se(!1);je(p,()=>{O.value=!1});const R=et(async()=>{if(n.value)return it(new Cs(n.value))},null),K=new Ks(16);Pt(()=>[h.value,p.value,b.value],async([m,f,T],A,C)=>{var ge,Ue,qe,Ge;(A==null?void 0:A[0])!==m&&K.clear();let M=!1;if(C(()=>{M=!0}),!m)return;w.value=m.search(f).slice(0,16),O.value=!0;const I=T?await Promise.all(w.value.map(B=>G(B.id))):[];if(M)return;for(const{id:B,mod:X}of I){const ee=B.slice(0,B.indexOf("#"));let Q=K.get(ee);if(Q)continue;Q=new Map,K.set(ee,Q);const U=X.default??X;if(U!=null&&U.render||U!=null&&U.setup){const te=Qt(U);te.config.warnHandler=()=>{},te.provide(Yt,i),Object.defineProperties(te.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");te.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ce=>{var Ze;const be=(Ze=ce.querySelector("a"))==null?void 0:Ze.getAttribute("href"),Qe=(be==null?void 0:be.startsWith("#"))&&be.slice(1);if(!Qe)return;let Ye="";for(;(ce=ce.nextElementSibling)&&!/^h[1-6]$/i.test(ce.tagName);)Ye+=ce.outerHTML;Q.set(Qe,Ye)}),te.unmount()}if(M)return}const L=new Set;if(w.value=w.value.map(B=>{const[X,ee]=B.id.split("#"),Q=K.get(X),U=(Q==null?void 0:Q.get(ee))??"";for(const te in B.match)L.add(te);return{...B,text:U}}),await ue(),M)return;await new Promise(B=>{var X;(X=R.value)==null||X.unmark({done:()=>{var ee;(ee=R.value)==null||ee.markRegExp(E(L),{done:B})}})});const j=((ge=s.value)==null?void 0:ge.querySelectorAll(".result .excerpt"))??[];for(const B of j)(Ue=B.querySelector('mark[data-markjs="true"]'))==null||Ue.scrollIntoView({block:"center"});(Ge=(qe=n.value)==null?void 0:qe.firstElementChild)==null||Ge.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function G(m){const f=Zt(m.slice(0,m.indexOf("#")));try{if(!f)throw new Error(`Cannot find file for id: ${m}`);return{id:m,mod:await import(f)}}catch(T){return console.error(T),{id:m,mod:{}}}}const W=se(),V=pe(()=>{var m;return((m=p.value)==null?void 0:m.length)<=0});function $(m=!0){var f,T;(f=W.value)==null||f.focus(),m&&((T=W.value)==null||T.select())}Ce(()=>{$()});function me(m){m.pointerType==="mouse"&&$()}const P=se(-1),H=se(!1);je(w,m=>{P.value=m.length?0:-1,J()});function J(){ue(()=>{const m=document.querySelector(".result.selected");m==null||m.scrollIntoView({block:"nearest"})})}we("ArrowUp",m=>{m.preventDefault(),P.value--,P.value<0&&(P.value=w.value.length-1),H.value=!0,J()}),we("ArrowDown",m=>{m.preventDefault(),P.value++,P.value>=w.value.length&&(P.value=0),H.value=!0,J()});const k=jt();we("Enter",m=>{if(m.isComposing||m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const f=w.value[P.value];if(m.target instanceof HTMLInputElement&&!f){m.preventDefault();return}f&&(k.go(f.id),t("close"))}),we("Escape",()=>{t("close")});const u=ss({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Ce(()=>{window.history.pushState(null,"",null)}),Vt("popstate",m=>{m.preventDefault(),t("close")});const g=$t(Bt?document.body:null);Ce(()=>{ue(()=>{g.value=!0,ue().then(()=>o())})}),Wt(()=>{g.value=!1});function _(){p.value="",ue().then(()=>$(!1))}function E(m){return new RegExp([...m].sort((f,T)=>T.length-f.length).map(f=>`(${Xt(f)})`).join("|"),"gi")}return(m,f)=>{var T,A,C,M;return q(),Kt(Ht,{to:"body"},[S("div",{ref_key:"el",ref:s,role:"button","aria-owns":(T=w.value)!=null&&T.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[S("div",{class:"backdrop",onClick:f[0]||(f[0]=I=>m.$emit("close"))}),S("div",Us,[S("form",{class:"search-bar",onPointerup:f[4]||(f[4]=I=>me(I)),onSubmit:f[5]||(f[5]=Jt(()=>{},["prevent"]))},[S("label",{title:x.value,id:"localsearch-label",for:"localsearch-input"},f[8]||(f[8]=[S("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,qs),S("div",Gs,[S("button",{class:"back-button",title:D(u)("modal.backButtonTitle"),onClick:f[1]||(f[1]=I=>m.$emit("close"))},f[9]||(f[9]=[S("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,Hs)]),Ut(S("input",{ref_key:"searchInput",ref:W,"onUpdate:modelValue":f[2]||(f[2]=I=>Gt(p)?p.value=I:null),placeholder:x.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,Qs),[[qt,D(p)]]),S("div",Ys,[y.value?xe("",!0):(q(),Y("button",{key:0,class:tt(["toggle-layout-button",{"detailed-list":D(b)}]),type:"button",title:D(u)("modal.displayDetails"),onClick:f[3]||(f[3]=I=>P.value>-1&&(b.value=!D(b)))},f[10]||(f[10]=[S("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,Zs)),S("button",{class:"clear-button",type:"reset",disabled:V.value,title:D(u)("modal.resetButtonTitle"),onClick:_},f[11]||(f[11]=[S("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,Xs)])],32),S("ul",{ref_key:"resultsEl",ref:n,id:(A=w.value)!=null&&A.length?"localsearch-list":void 0,role:(C=w.value)!=null&&C.length?"listbox":void 0,"aria-labelledby":(M=w.value)!=null&&M.length?"localsearch-label":void 0,class:"results",onMousemove:f[7]||(f[7]=I=>H.value=!1)},[(q(!0),Y(nt,null,st(w.value,(I,L)=>(q(),Y("li",{key:I.id,role:"option","aria-selected":P.value===L?"true":"false"},[S("a",{href:I.id,class:tt(["result",{selected:P.value===L}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:j=>!H.value&&(P.value=L),onFocusin:j=>P.value=L,onClick:f[6]||(f[6]=j=>m.$emit("close"))},[S("div",null,[S("div",nn,[f[13]||(f[13]=S("span",{class:"title-icon"},"#",-1)),(q(!0),Y(nt,null,st(I.titles,(j,ge)=>(q(),Y("span",{key:ge,class:"title"},[S("span",{class:"text",innerHTML:j},null,8,rn),f[12]||(f[12]=S("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),S("span",an,[S("span",{class:"text",innerHTML:I.title},null,8,on)])]),D(b)?(q(),Y("div",ln,[I.text?(q(),Y("div",cn,[S("div",{class:"vp-doc",innerHTML:I.text},null,8,un)])):xe("",!0),f[14]||(f[14]=S("div",{class:"excerpt-gradient-bottom"},null,-1)),f[15]||(f[15]=S("div",{class:"excerpt-gradient-top"},null,-1))])):xe("",!0)])],42,sn)],8,tn))),128)),D(p)&&!w.value.length&&O.value?(q(),Y("li",dn,[de(he(D(u)("modal.noResultsText"))+' "',1),S("strong",null,he(D(p)),1),f[16]||(f[16]=de('" '))])):xe("",!0)],40,en),S("div",hn,[S("span",null,[S("kbd",{"aria-label":D(u)("modal.footer.navigateUpKeyAriaLabel")},f[17]||(f[17]=[S("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,fn),S("kbd",{"aria-label":D(u)("modal.footer.navigateDownKeyAriaLabel")},f[18]||(f[18]=[S("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,pn),de(" "+he(D(u)("modal.footer.navigateText")),1)]),S("span",null,[S("kbd",{"aria-label":D(u)("modal.footer.selectKeyAriaLabel")},f[19]||(f[19]=[S("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,vn),de(" "+he(D(u)("modal.footer.selectText")),1)]),S("span",null,[S("kbd",{"aria-label":D(u)("modal.footer.closeKeyAriaLabel")},"esc",8,mn),de(" "+he(D(u)("modal.footer.closeText")),1)])])])],8,Js)])}}}),_n=es(gn,[["__scopeId","data-v-5b749456"]]);export{_n as default}; diff --git a/previews/PR801/assets/chunks/framework.D3Ia4FEQ.js b/previews/PR801/assets/chunks/framework.D3Ia4FEQ.js new file mode 100644 index 000000000..2ccba8584 --- /dev/null +++ b/previews/PR801/assets/chunks/framework.D3Ia4FEQ.js @@ -0,0 +1,18 @@ +/** +* @vue/shared v3.5.5 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Dr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Tt=[],Ue=()=>{},Xo=()=>!1,Qt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hr=e=>e.startsWith("onUpdate:"),fe=Object.assign,$r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zo=Object.prototype.hasOwnProperty,J=(e,t)=>zo.call(e,t),K=Array.isArray,Ct=e=>Fn(e)==="[object Map]",ui=e=>Fn(e)==="[object Set]",q=e=>typeof e=="function",se=e=>typeof e=="string",rt=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",di=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),hi=Object.prototype.toString,Fn=e=>hi.call(e),Jo=e=>Fn(e).slice(8,-1),pi=e=>Fn(e)==="[object Object]",jr=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Dr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Qo=/-(\w)/g,Ne=Dn(e=>e.replace(Qo,(t,n)=>n?n.toUpperCase():"")),Zo=/\B([A-Z])/g,st=Dn(e=>e.replace(Zo,"-$1").toLowerCase()),Hn=Dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),bn=Dn(e=>e?`on${Hn(e)}`:""),tt=(e,t)=>!Object.is(e,t),wn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},wr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},el=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let ps;const mi=()=>ps||(ps=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vr(e){if(K(e)){const t={};for(let n=0;n{if(n){const r=n.split(nl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ur(e){let t="";if(se(e))t=e;else if(K(e))for(let n=0;n!!(e&&e.__v_isRef===!0),ll=e=>se(e)?e:e==null?"":K(e)||ne(e)&&(e.toString===hi||!q(e.toString))?vi(e)?ll(e.value):JSON.stringify(e,_i,2):String(e),_i=(e,t)=>vi(t)?_i(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Zn(r,i)+" =>"]=s,n),{})}:ui(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Zn(n))}:rt(t)?Zn(t):ne(t)&&!K(t)&&!pi(t)?String(t):t,Zn=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.5 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let be;class cl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;$t;){let t=$t;for($t=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Si(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xi(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Wr(r),fl(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Er(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&Ti(t.dep.computed)||t.dep.version!==t.version)return!0;return!!e._dirty}function Ti(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Wt))return;e.globalVersion=Wt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!Er(e)){e.flags&=-3;return}const n=Z,r=Le;Z=e,Le=!0;try{Si(e);const s=e.fn(e._value);(t.version===0||tt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Z=n,Le=r,xi(e),e.flags&=-3}}function Wr(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)Wr(s)}}function fl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Le=!0;const Ci=[];function it(){Ci.push(Le),Le=!1}function ot(){const e=Ci.pop();Le=e===void 0?!0:e}function gs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Z;Z=void 0;try{t()}finally{Z=n}}}let Wt=0;class ul{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $n{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!Z||!Le||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new ul(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Z.flags&4&&Ai(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=r)}return n}trigger(t){this.version++,Wt++,this.notify(t)}notify(t){Br();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{kr()}}}function Ai(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ai(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const An=new WeakMap,ht=Symbol(""),Sr=Symbol(""),Kt=Symbol("");function ve(e,t,n){if(Le&&Z){let r=An.get(e);r||An.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=new $n),s.track()}}function Ge(e,t,n,r,s,i){const o=An.get(e);if(!o){Wt++;return}const l=c=>{c&&c.trigger()};if(Br(),t==="clear")o.forEach(l);else{const c=K(e),f=c&&jr(n);if(c&&n==="length"){const a=Number(r);o.forEach((d,g)=>{(g==="length"||g===Kt||!rt(g)&&g>=a)&&l(d)})}else switch(n!==void 0&&l(o.get(n)),f&&l(o.get(Kt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(ht)),Ct(e)&&l(o.get(Sr)));break;case"delete":c||(l(o.get(ht)),Ct(e)&&l(o.get(Sr)));break;case"set":Ct(e)&&l(o.get(ht));break}}kr()}function dl(e,t){var n;return(n=An.get(e))==null?void 0:n.get(t)}function bt(e){const t=z(e);return t===e?t:(ve(t,"iterate",Kt),Pe(e)?t:t.map(me))}function jn(e){return ve(e=z(e),"iterate",Kt),e}const hl={__proto__:null,[Symbol.iterator](){return tr(this,Symbol.iterator,me)},concat(...e){return bt(this).concat(...e.map(t=>K(t)?bt(t):t))},entries(){return tr(this,"entries",e=>(e[1]=me(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(me),arguments)},find(e,t){return We(this,"find",e,t,me,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,me,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return nr(this,"includes",e)},indexOf(...e){return nr(this,"indexOf",e)},join(e){return bt(this).join(e)},lastIndexOf(...e){return nr(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return ms(this,"reduce",e,t)},reduceRight(e,...t){return ms(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return bt(this).toReversed()},toSorted(e){return bt(this).toSorted(e)},toSpliced(...e){return bt(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return tr(this,"values",me)}};function tr(e,t,n){const r=jn(e),s=r[t]();return r!==e&&!Pe(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const pl=Array.prototype;function We(e,t,n,r,s,i){const o=jn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==pl[t]){const d=c.apply(e,i);return l?me(d):d}let f=n;o!==e&&(l?f=function(d,g){return n.call(this,me(d),g,e)}:n.length>2&&(f=function(d,g){return n.call(this,d,g,e)}));const a=c.call(o,f,r);return l&&s?s(a):a}function ms(e,t,n,r){const s=jn(e);let i=n;return s!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,me(l),c,e)}),s[t](i,...r)}function nr(e,t,n){const r=z(e);ve(r,"iterate",Kt);const s=r[t](...n);return(s===-1||s===!1)&&Yr(n[0])?(n[0]=z(n[0]),r[t](...n)):s}function Ft(e,t,n=[]){it(),Br();const r=z(e)[t].apply(e,n);return kr(),ot(),r}const gl=Dr("__proto__,__v_isRef,__isVue"),Ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function ml(e){rt(e)||(e=String(e));const t=z(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Oi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Ol:Li:i?Ii:Pi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=K(t);if(!s){let c;if(o&&(c=hl[n]))return c;if(n==="hasOwnProperty")return ml}const l=Reflect.get(t,n,ae(t)?t:r);return(rt(n)?Ri.has(n):gl(n))||(s||ve(t,"get",n),i)?l:ae(l)?o&&jr(n)?l:l.value:ne(l)?s?Bn(l):Un(l):l}}class Mi extends Oi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(r)&&!vt(r)&&(i=z(i),r=z(r)),!K(t)&&ae(i)&&!ae(r))return c?!1:(i.value=r,!0)}const o=K(t)&&jr(n)?Number(n)e,Vn=e=>Reflect.getPrototypeOf(e);function ln(e,t,n=!1,r=!1){e=e.__v_raw;const s=z(e),i=z(t);n||(tt(t,i)&&ve(s,"get",t),ve(s,"get",i));const{has:o}=Vn(s),l=r?Kr:n?Xr:me;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function cn(e,t=!1){const n=this.__v_raw,r=z(n),s=z(e);return t||(tt(e,s)&&ve(r,"has",e),ve(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function an(e,t=!1){return e=e.__v_raw,!t&&ve(z(e),"iterate",ht),Reflect.get(e,"size",e)}function ys(e,t=!1){!t&&!Pe(e)&&!vt(e)&&(e=z(e));const n=z(this);return Vn(n).has.call(n,e)||(n.add(e),Ge(n,"add",e,e)),this}function vs(e,t,n=!1){!n&&!Pe(t)&&!vt(t)&&(t=z(t));const r=z(this),{has:s,get:i}=Vn(r);let o=s.call(r,e);o||(e=z(e),o=s.call(r,e));const l=i.call(r,e);return r.set(e,t),o?tt(t,l)&&Ge(r,"set",e,t):Ge(r,"add",e,t),this}function _s(e){const t=z(this),{has:n,get:r}=Vn(t);let s=n.call(t,e);s||(e=z(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Ge(t,"delete",e,void 0),i}function bs(){const e=z(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function fn(e,t){return function(r,s){const i=this,o=i.__v_raw,l=z(o),c=t?Kr:e?Xr:me;return!e&&ve(l,"iterate",ht),o.forEach((f,a)=>r.call(s,c(f),c(a),i))}}function un(e,t,n){return function(...r){const s=this.__v_raw,i=z(s),o=Ct(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=s[e](...r),a=n?Kr:t?Xr:me;return!t&&ve(i,"iterate",c?Sr:ht),{next(){const{value:d,done:g}=f.next();return g?{value:d,done:g}:{value:l?[a(d[0]),a(d[1])]:a(d),done:g}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wl(){const e={get(i){return ln(this,i)},get size(){return an(this)},has:cn,add:ys,set:vs,delete:_s,clear:bs,forEach:fn(!1,!1)},t={get(i){return ln(this,i,!1,!0)},get size(){return an(this)},has:cn,add(i){return ys.call(this,i,!0)},set(i,o){return vs.call(this,i,o,!0)},delete:_s,clear:bs,forEach:fn(!1,!0)},n={get(i){return ln(this,i,!0)},get size(){return an(this,!0)},has(i){return cn.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:fn(!0,!1)},r={get(i){return ln(this,i,!0,!0)},get size(){return an(this,!0)},has(i){return cn.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=un(i,!1,!1),n[i]=un(i,!0,!1),t[i]=un(i,!1,!0),r[i]=un(i,!0,!0)}),[e,n,t,r]}const[El,Sl,xl,Tl]=wl();function qr(e,t){const n=t?e?Tl:xl:e?Sl:El;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(J(n,s)&&s in r?n:r,s,i)}const Cl={get:qr(!1,!1)},Al={get:qr(!1,!0)},Rl={get:qr(!0,!1)};const Pi=new WeakMap,Ii=new WeakMap,Li=new WeakMap,Ol=new WeakMap;function Ml(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ml(Jo(e))}function Un(e){return vt(e)?e:Gr(e,!1,vl,Cl,Pi)}function Il(e){return Gr(e,!1,bl,Al,Ii)}function Bn(e){return Gr(e,!0,_l,Rl,Li)}function Gr(e,t,n,r,s){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Pl(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function pt(e){return vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Yr(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function En(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&gi(e,"__v_skip",!0),e}const me=e=>ne(e)?Un(e):e,Xr=e=>ne(e)?Bn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function oe(e){return Ni(e,!1)}function zr(e){return Ni(e,!0)}function Ni(e,t){return ae(e)?e:new Ll(e,t)}class Ll{constructor(t,n){this.dep=new $n,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:z(t),this._value=n?t:me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Pe(t)||vt(t);t=r?t:z(t),tt(t,n)&&(this._rawValue=t,this._value=r?t:me(t),this.dep.trigger())}}function Fi(e){return ae(e)?e.value:e}const Nl={get:(e,t,n)=>t==="__v_raw"?e:Fi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Di(e){return pt(e)?e:new Proxy(e,Nl)}class Fl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new $n,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Dl(e){return new Fl(e)}class Hl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return dl(z(this._object),this._key)}}class $l{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function jl(e,t,n){return ae(e)?e:q(e)?new $l(e):ne(e)&&arguments.length>1?Vl(e,t,n):oe(e)}function Vl(e,t,n){const r=e[t];return ae(r)?r:new Hl(e,t,n)}class Ul{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $n(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Wt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){this.flags|=16,Z!==this&&this.dep.notify()}get value(){const t=this.dep.track();return Ti(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Bl(e,t,n=!1){let r,s;return q(e)?r=e:(r=e.get,s=e.set),new Ul(r,s,n)}const dn={},Rn=new WeakMap;let ut;function kl(e,t=!1,n=ut){if(n){let r=Rn.get(n);r||Rn.set(n,r=[]),r.push(e)}}function Wl(e,t,n=ee){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:c}=n,f=m=>s?m:Pe(m)||s===!1||s===0?qe(m,1):qe(m);let a,d,g,v,b=!1,E=!1;if(ae(e)?(d=()=>e.value,b=Pe(e)):pt(e)?(d=()=>f(e),b=!0):K(e)?(E=!0,b=e.some(m=>pt(m)||Pe(m)),d=()=>e.map(m=>{if(ae(m))return m.value;if(pt(m))return f(m);if(q(m))return c?c(m,2):m()})):q(e)?t?d=c?()=>c(e,2):e:d=()=>{if(g){it();try{g()}finally{ot()}}const m=ut;ut=a;try{return c?c(e,3,[v]):e(v)}finally{ut=m}}:d=Ue,t&&s){const m=d,M=s===!0?1/0:s;d=()=>qe(m(),M)}const U=bi(),N=()=>{a.stop(),U&&$r(U.effects,a)};if(i)if(t){const m=t;t=(...M)=>{m(...M),N()}}else{const m=d;d=()=>{m(),N()}}let B=E?new Array(e.length).fill(dn):dn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(s||b||(E?M.some((F,H)=>tt(F,B[H])):tt(M,B))){g&&g();const F=ut;ut=a;try{const H=[M,B===dn?void 0:E&&B[0]===dn?[]:B,v];c?c(t,3,H):t(...H),B=M}finally{ut=F}}}else a.run()};return l&&l(p),a=new wi(d),a.scheduler=o?()=>o(p,!1):p,v=m=>kl(m,!1,a),g=a.onStop=()=>{const m=Rn.get(a);if(m){if(c)c(m,4);else for(const M of m)M();Rn.delete(a)}},t?r?p(!0):B=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function qe(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ae(e))qe(e.value,t,n);else if(K(e))for(let r=0;r{qe(r,t,n)});else if(pi(e)){for(const r in e)qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qe(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.5 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Zt(e,t,n,r){try{return r?e(...r):e()}catch(s){en(s,t,n)}}function Fe(e,t,n,r){if(q(e)){const s=Zt(e,t,n,r);return s&&di(s)&&s.catch(i=>{en(i,t,n)}),s}if(K(e)){const s=[];for(let i=0;i>>1,s=we[r],i=Gt(s);i=Gt(n)?we.push(e):we.splice(ql(t),0,e),e.flags|=1,$i()}}function $i(){!qt&&!xr&&(xr=!0,Jr=Hi.then(ji))}function Gl(e){K(e)?Rt.push(...e):Qe&&e.id===-1?Qe.splice(Et+1,0,e):e.flags&1||(Rt.push(e),e.flags|=1),$i()}function ws(e,t,n=qt?je+1:0){for(;nGt(n)-Gt(r));if(Rt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Et=0;Ete.id==null?e.flags&2?-1:1/0:e.id;function ji(e){xr=!1,qt=!0;try{for(je=0;je{r._d&&Fs(-1);const i=Mn(t);let o;try{o=e(...s)}finally{Mn(i),r._d&&Fs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Pf(e,t){if(de===null)return e;const n=Xn(de),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,jt=e=>e&&(e.disabled||e.disabled===""),Xl=e=>e&&(e.defer||e.defer===""),Es=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ss=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Tr=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},zl={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,l,c,f){const{mc:a,pc:d,pbc:g,o:{insert:v,querySelector:b,createText:E,createComment:U}}=f,N=jt(t.props);let{shapeFlag:B,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=E(""),F=t.anchor=E("");v(M,n,r),v(F,n,r);const H=(R,_)=>{B&16&&(s&&s.isCE&&(s.ce._teleportTarget=R),a(p,R,_,s,i,o,l,c))},j=()=>{const R=t.target=Tr(t.props,b),_=ki(R,t,E,v);R&&(o!=="svg"&&Es(R)?o="svg":o!=="mathml"&&Ss(R)&&(o="mathml"),N||(H(R,_),Sn(t)))};N&&(H(n,F),Sn(t)),Xl(t.props)?Se(j,i):j()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,F=t.target=e.target,H=t.targetAnchor=e.targetAnchor,j=jt(e.props),R=j?n:F,_=j?M:H;if(o==="svg"||Es(F)?o="svg":(o==="mathml"||Ss(F))&&(o="mathml"),m?(g(e.dynamicChildren,m,R,s,i,o,l),ss(e,t,!0)):c||d(e,t,R,_,s,i,o,l,!1),N)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hn(t,n,M,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=Tr(t.props,b);L&&hn(t,L,null,f,0)}else j&&hn(t,F,H,f,1);Sn(t)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:d,props:g}=e;if(d&&(s(f),s(a)),i&&s(c),o&16){const v=i||!jt(g);for(let b=0;b{e.isMounted=!0}),zi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Wi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Ki=e=>{const t=e.subTree;return t.component?Ki(t.component):t},Zl={name:"BaseTransition",props:Wi,setup(e,{slots:t}){const n=Yn(),r=Ql();return()=>{const s=t.default&&Yi(t.default(),!0);if(!s||!s.length)return;const i=qi(s),o=z(e),{mode:l}=o;if(r.isLeaving)return rr(i);const c=xs(i);if(!c)return rr(i);let f=Cr(c,o,r,n,g=>f=g);c.type!==ye&&Yt(c,f);const a=n.subTree,d=a&&xs(a);if(d&&d.type!==ye&&!dt(c,d)&&Ki(n).type!==ye){const g=Cr(d,o,r,n);if(Yt(d,g),l==="out-in"&&c.type!==ye)return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},rr(i);l==="in-out"&&c.type!==ye&&(g.delayLeave=(v,b,E)=>{const U=Gi(r,d);U[String(d.key)]=d,v[Ze]=()=>{b(),v[Ze]=void 0,delete f.delayedLeave},f.delayedLeave=E})}return i}}};function qi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const ec=Zl;function Gi(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Cr(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:g,onLeave:v,onAfterLeave:b,onLeaveCancelled:E,onBeforeAppear:U,onAppear:N,onAfterAppear:B,onAppearCancelled:p}=t,m=String(e.key),M=Gi(n,e),F=(R,_)=>{R&&Fe(R,r,9,_)},H=(R,_)=>{const L=_[1];F(R,_),K(R)?R.every(x=>x.length<=1)&&L():R.length<=1&&L()},j={mode:o,persisted:l,beforeEnter(R){let _=c;if(!n.isMounted)if(i)_=U||c;else return;R[Ze]&&R[Ze](!0);const L=M[m];L&&dt(e,L)&&L.el[Ze]&&L.el[Ze](),F(_,[R])},enter(R){let _=f,L=a,x=d;if(!n.isMounted)if(i)_=N||f,L=B||a,x=p||d;else return;let W=!1;const re=R[pn]=ce=>{W||(W=!0,ce?F(x,[R]):F(L,[R]),j.delayedLeave&&j.delayedLeave(),R[pn]=void 0)};_?H(_,[R,re]):re()},leave(R,_){const L=String(e.key);if(R[pn]&&R[pn](!0),n.isUnmounting)return _();F(g,[R]);let x=!1;const W=R[Ze]=re=>{x||(x=!0,_(),re?F(E,[R]):F(b,[R]),R[Ze]=void 0,M[L]===e&&delete M[L])};M[L]=e,v?H(v,[R,W]):W()},clone(R){const _=Cr(R,t,n,r,s);return s&&s(_),_}};return j}function rr(e){if(tn(e))return e=nt(e),e.children=null,e}function xs(e){if(!tn(e))return Bi(e.type)&&e.children?qi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Yt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yi(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;iPn(b,t&&(K(t)?t[E]:t),n,r,s));return}if(gt(r)&&!s)return;const i=r.shapeFlag&4?Xn(r.component):r.el,o=s?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ee?l.refs={}:l.refs,d=l.setupState,g=z(d),v=d===ee?()=>!1:b=>J(g,b);if(f!=null&&f!==c&&(se(f)?(a[f]=null,v(f)&&(d[f]=null)):ae(f)&&(f.value=null)),q(c))Zt(c,l,12,[o,a]);else{const b=se(c),E=ae(c);if(b||E){const U=()=>{if(e.f){const N=b?v(c)?d[c]:a[c]:c.value;s?K(N)&&$r(N,i):K(N)?N.includes(i)||N.push(i):b?(a[c]=[i],v(c)&&(d[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else b?(a[c]=o,v(c)&&(d[c]=o)):E&&(c.value=o,e.k&&(a[e.k]=o))};o?(U.id=-1,Se(U,n)):U()}}}let Ts=!1;const wt=()=>{Ts||(console.error("Hydration completed but contains mismatches."),Ts=!0)},tc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",nc=e=>e.namespaceURI.includes("MathML"),gn=e=>{if(e.nodeType===1){if(tc(e))return"svg";if(nc(e))return"mathml"}},xt=e=>e.nodeType===8;function rc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),On(),m._vnode=p;return}d(m.firstChild,p,null,null,null),On(),m._vnode=p},d=(p,m,M,F,H,j=!1)=>{j=j||!!m.dynamicChildren;const R=xt(p)&&p.data==="[",_=()=>E(p,m,M,F,H,R),{type:L,ref:x,shapeFlag:W,patchFlag:re}=m;let ce=p.nodeType;m.el=p,re===-2&&(j=!1,m.dynamicChildren=null);let V=null;switch(L){case mt:ce!==3?m.children===""?(c(m.el=s(""),o(p),p),V=p):V=_():(p.data!==m.children&&(wt(),p.data=m.children),V=i(p));break;case ye:B(p)?(V=i(p),N(m.el=p.content.firstChild,p,M)):ce!==8||R?V=_():V=i(p);break;case Ut:if(R&&(p=i(p),ce=p.nodeType),ce===1||ce===3){V=p;const Y=!m.children.length;for(let $=0;${j=j||!!m.dynamicChildren;const{type:R,props:_,patchFlag:L,shapeFlag:x,dirs:W,transition:re}=m,ce=R==="input"||R==="option";if(ce||L!==-1){W&&Ve(m,null,M,"created");let V=!1;if(B(p)){V=ho(F,re)&&M&&M.vnode.props&&M.vnode.props.appear;const $=p.content.firstChild;V&&re.beforeEnter($),N($,p,M),m.el=p=$}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let $=v(p.firstChild,m,p,M,F,H,j);for(;$;){mn(p,1)||wt();const he=$;$=$.nextSibling,l(he)}}else if(x&8){let $=m.children;$[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&($=$.slice(1)),p.textContent!==$&&(mn(p,0)||wt(),p.textContent=m.children)}if(_){if(ce||!j||L&48){const $=p.tagName.includes("-");for(const he in _)(ce&&(he.endsWith("value")||he==="indeterminate")||Qt(he)&&!At(he)||he[0]==="."||$)&&r(p,he,null,_[he],void 0,M)}else if(_.onClick)r(p,"onClick",null,_.onClick,void 0,M);else if(L&4&&pt(_.style))for(const $ in _.style)_.style[$]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Oe(Y,M,m),W&&Ve(m,null,M,"beforeMount"),((Y=_&&_.onVnodeMounted)||W||V)&&vo(()=>{Y&&Oe(Y,M,m),V&&re.enter(p),W&&Ve(m,null,M,"mounted")},F)}return p.nextSibling},v=(p,m,M,F,H,j,R)=>{R=R||!!m.dynamicChildren;const _=m.children,L=_.length;for(let x=0;x{const{slotScopeIds:R}=m;R&&(H=H?H.concat(R):R);const _=o(p),L=v(i(p),m,_,M,F,H,j);return L&&xt(L)&&L.data==="]"?i(m.anchor=L):(wt(),c(m.anchor=f("]"),_,L),L)},E=(p,m,M,F,H,j)=>{if(mn(p.parentElement,1)||wt(),m.el=null,j){const L=U(p);for(;;){const x=i(p);if(x&&x!==L)l(x);else break}}const R=i(p),_=o(p);return l(p),n(null,m,_,R,M,F,gn(_),H),R},U=(p,m="[",M="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===m&&F++,p.data===M)){if(F===0)return i(p);F--}return p},N=(p,m,M)=>{const F=m.parentNode;F&&F.replaceChild(p,m);let H=M;for(;H;)H.vnode.el===m&&(H.vnode.el=H.subTree.el=p),H=H.parent},B=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const Cs="data-allow-mismatch",sc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function mn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Cs);)e=e.parentElement;const n=e&&e.getAttribute(Cs);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(sc[t])}}function ic(e,t){if(xt(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1)t(r);else if(xt(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Lf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,d=0;const g=()=>(d++,f=null,v()),v=()=>{let b;return f||(b=f=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((U,N)=>{c(E,()=>U(g()),()=>N(E),d+1)});throw E}).then(E=>b!==f&&f?f:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Zr({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(b,E,U){const N=i?()=>{const B=i(U,p=>ic(b,p));B&&(E.bum||(E.bum=[])).push(B)}:U;a?N():v().then(()=>!E.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const b=ue;if(es(b),a)return()=>sr(a,b);const E=p=>{f=null,en(p,b,13,!r)};if(l&&b.suspense||rn)return v().then(p=>()=>sr(p,b)).catch(p=>(E(p),()=>r?le(r,{error:p}):null));const U=oe(!1),N=oe(),B=oe(!!s);return s&&setTimeout(()=>{B.value=!1},s),o!=null&&setTimeout(()=>{if(!U.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),N.value=p}},o),v().then(()=>{U.value=!0,b.parent&&tn(b.parent.vnode)&&b.parent.update()}).catch(p=>{E(p),N.value=p}),()=>{if(U.value&&a)return sr(a,b);if(N.value&&r)return le(r,{error:N.value});if(n&&!B.value)return le(n)}}})}function sr(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=le(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const tn=e=>e.type.__isKeepAlive;function oc(e,t){Xi(e,"a",t)}function lc(e,t){Xi(e,"da",t)}function Xi(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Wn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)tn(s.parent.vnode)&&cc(r,t,n,s),s=s.parent}}function cc(e,t,n,r){const s=Wn(t,e,r,!0);Kn(()=>{$r(r[t],s)},n)}function Wn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=nn(n),c=Fe(t,n,e,o);return l(),ot(),c});return r?s.unshift(i):s.push(i),i}}const Ye=e=>(t,n=ue)=>{(!rn||e==="sp")&&Wn(e,(...r)=>t(...r),n)},ac=Ye("bm"),It=Ye("m"),fc=Ye("bu"),uc=Ye("u"),zi=Ye("bum"),Kn=Ye("um"),dc=Ye("sp"),hc=Ye("rtg"),pc=Ye("rtc");function gc(e,t=ue){Wn("ec",e,t)}const ts="components";function Nf(e,t){return Qi(ts,e,!0,t)||e}const Ji=Symbol.for("v-ndc");function Ff(e){return se(e)?Qi(ts,e,!1)||e:e||Ji}function Qi(e,t,n=!0,r=!1){const s=de||ue;if(s){const i=s.type;if(e===ts){const l=ea(i,!1);if(l&&(l===t||l===Ne(t)||l===Hn(Ne(t))))return i}const o=As(s[e]||i[e],t)||As(s.appContext[e],t);return!o&&r?i:o}}function As(e,t){return e&&(e[t]||e[Ne(t)]||e[Hn(Ne(t))])}function Df(e,t,n,r){let s;const i=n,o=K(e);if(o||se(e)){const l=o&&pt(e);let c=!1;l&&(c=!Pe(e),e=jn(e)),s=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,f=l.length;cLn(t)?!(t.type===ye||t.type===Ee&&!Zi(t.children)):!0)?e:null}function $f(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:bn(r)]=e[r];return n}const Ar=e=>e?So(e)?Xn(e):Ar(e.parent):null,Vt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ar(e.parent),$root:e=>Ar(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ns(e),$forceUpdate:e=>e.f||(e.f=()=>{Qr(e.update)}),$nextTick:e=>e.n||(e.n=kn.bind(e.proxy)),$watch:e=>Hc.bind(e)}),ir=(e,t)=>e!==ee&&!e.__isScriptSetup&&J(e,t),mc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(ir(r,t))return o[t]=1,r[t];if(s!==ee&&J(s,t))return o[t]=2,s[t];if((f=e.propsOptions[0])&&J(f,t))return o[t]=3,i[t];if(n!==ee&&J(n,t))return o[t]=4,n[t];Rr&&(o[t]=0)}}const a=Vt[t];let d,g;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==ee&&J(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,J(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return ir(s,t)?(s[t]=n,!0):r!==ee&&J(r,t)?(r[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&J(e,o)||ir(t,o)||(l=i[0])&&J(l,o)||J(r,o)||J(Vt,o)||J(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function jf(){return yc().slots}function yc(){const e=Yn();return e.setupContext||(e.setupContext=To(e))}function Rs(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rr=!0;function vc(e){const t=ns(e),n=e.proxy,r=e.ctx;Rr=!1,t.beforeCreate&&Os(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:d,mounted:g,beforeUpdate:v,updated:b,activated:E,deactivated:U,beforeDestroy:N,beforeUnmount:B,destroyed:p,unmounted:m,render:M,renderTracked:F,renderTriggered:H,errorCaptured:j,serverPrefetch:R,expose:_,inheritAttrs:L,components:x,directives:W,filters:re}=t;if(f&&_c(f,r,null),o)for(const Y in o){const $=o[Y];q($)&&(r[Y]=$.bind(n))}if(s){const Y=s.call(n,n);ne(Y)&&(e.data=Un(Y))}if(Rr=!0,i)for(const Y in i){const $=i[Y],he=q($)?$.bind(n,n):q($.get)?$.get.bind(n,n):Ue,sn=!q($)&&q($.set)?$.set.bind(n):Ue,lt=ie({get:he,set:sn});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:He=>lt.value=He})}if(l)for(const Y in l)eo(l[Y],r,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach($=>{Tc($,Y[$])})}a&&Os(a,e,"c");function V(Y,$){K($)?$.forEach(he=>Y(he.bind(n))):$&&Y($.bind(n))}if(V(ac,d),V(It,g),V(fc,v),V(uc,b),V(oc,E),V(lc,U),V(gc,j),V(pc,F),V(hc,H),V(zi,B),V(Kn,m),V(dc,R),K(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach($=>{Object.defineProperty(Y,$,{get:()=>n[$],set:he=>n[$]=he})})}else e.exposed||(e.exposed={});M&&e.render===Ue&&(e.render=M),L!=null&&(e.inheritAttrs=L),x&&(e.components=x),W&&(e.directives=W),R&&es(e)}function _c(e,t,n=Ue){K(e)&&(e=Or(e));for(const r in e){const s=e[r];let i;ne(s)?"default"in s?i=Mt(s.from||r,s.default,!0):i=Mt(s.from||r):i=Mt(s),ae(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Os(e,t,n){Fe(K(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function eo(e,t,n,r){let s=r.includes(".")?go(n,r):()=>n[r];if(se(e)){const i=t[e];q(i)&&Be(s,i)}else if(q(e))Be(s,e.bind(n));else if(ne(e))if(K(e))e.forEach(i=>eo(i,t,n,r));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Be(s,i,e)}}function ns(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(f=>In(c,f,o,!0)),In(c,t,o)),ne(t)&&i.set(t,c),c}function In(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&In(e,i,n,!0),s&&s.forEach(o=>In(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=bc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const bc={data:Ms,props:Ps,emits:Ps,methods:Ht,computed:Ht,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:Ht,directives:Ht,watch:Ec,provide:Ms,inject:wc};function Ms(e,t){return t?e?function(){return fe(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function wc(e,t){return Ht(Or(e),Or(t))}function Or(e){if(K(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(r&&r.proxy):t}}const no={},ro=()=>Object.create(no),so=e=>Object.getPrototypeOf(e)===no;function Cc(e,t,n,r=!1){const s={},i=ro();e.propsDefaults=Object.create(null),io(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Il(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Ac(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=z(s),[c]=e.propsOptions;let f=!1;if((r||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[g,v]=oo(d,t,!0);fe(o,g),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&r.set(e,Tt),Tt;if(K(i))for(let a=0;ae[0]==="_"||e==="$stable",rs=e=>K(e)?e.map(Me):[Me(e)],Oc=(e,t,n)=>{if(t._n)return t;const r=Yl((...s)=>rs(t(...s)),n);return r._c=!1,r},co=(e,t,n)=>{const r=e._ctx;for(const s in e){if(lo(s))continue;const i=e[s];if(q(i))t[s]=Oc(s,i,r);else if(i!=null){const o=rs(i);t[s]=()=>o}}},ao=(e,t)=>{const n=rs(t);e.slots.default=()=>n},fo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Mc=(e,t,n)=>{const r=e.slots=ro();if(e.vnode.shapeFlag&32){const s=t._;s?(fo(r,t,n),n&&gi(r,"_",s,!0)):co(t,r)}else t&&ao(e,t)},Pc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ee;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:fo(s,t,n):(i=!t.$stable,co(t,s)),o=t}else t&&(ao(e,t),o={default:1});if(i)for(const l in s)!lo(l)&&o[l]==null&&delete s[l]},Se=vo;function Ic(e){return uo(e)}function Lc(e){return uo(e,rc)}function uo(e,t){const n=mi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:d,nextSibling:g,setScopeId:v=Ue,insertStaticContent:b}=e,E=(u,h,y,T=null,w=null,S=null,P=void 0,O=null,A=!!h.dynamicChildren)=>{if(u===h)return;u&&!dt(u,h)&&(T=on(u),He(u,w,S,!0),u=null),h.patchFlag===-2&&(A=!1,h.dynamicChildren=null);const{type:C,ref:k,shapeFlag:I}=h;switch(C){case mt:U(u,h,y,T);break;case ye:N(u,h,y,T);break;case Ut:u==null&&B(h,y,T,P);break;case Ee:x(u,h,y,T,w,S,P,O,A);break;default:I&1?M(u,h,y,T,w,S,P,O,A):I&6?W(u,h,y,T,w,S,P,O,A):(I&64||I&128)&&C.process(u,h,y,T,w,S,P,O,A,_t)}k!=null&&w&&Pn(k,u&&u.ref,S,h||u,!h)},U=(u,h,y,T)=>{if(u==null)r(h.el=l(h.children),y,T);else{const w=h.el=u.el;h.children!==u.children&&f(w,h.children)}},N=(u,h,y,T)=>{u==null?r(h.el=c(h.children||""),y,T):h.el=u.el},B=(u,h,y,T)=>{[u.el,u.anchor]=b(u.children,h,y,T,u.el,u.anchor)},p=({el:u,anchor:h},y,T)=>{let w;for(;u&&u!==h;)w=g(u),r(u,y,T),u=w;r(h,y,T)},m=({el:u,anchor:h})=>{let y;for(;u&&u!==h;)y=g(u),s(u),u=y;s(h)},M=(u,h,y,T,w,S,P,O,A)=>{h.type==="svg"?P="svg":h.type==="math"&&(P="mathml"),u==null?F(h,y,T,w,S,P,O,A):R(u,h,w,S,P,O,A)},F=(u,h,y,T,w,S,P,O)=>{let A,C;const{props:k,shapeFlag:I,transition:D,dirs:G}=u;if(A=u.el=o(u.type,S,k&&k.is,k),I&8?a(A,u.children):I&16&&j(u.children,A,null,T,w,or(u,S),P,O),G&&Ve(u,null,T,"created"),H(A,u,u.scopeId,P,T),k){for(const te in k)te!=="value"&&!At(te)&&i(A,te,null,k[te],S,T);"value"in k&&i(A,"value",null,k.value,S),(C=k.onVnodeBeforeMount)&&Oe(C,T,u)}G&&Ve(u,null,T,"beforeMount");const X=ho(w,D);X&&D.beforeEnter(A),r(A,h,y),((C=k&&k.onVnodeMounted)||X||G)&&Se(()=>{C&&Oe(C,T,u),X&&D.enter(A),G&&Ve(u,null,T,"mounted")},w)},H=(u,h,y,T,w)=>{if(y&&v(u,y),T)for(let S=0;S{for(let C=A;C{const O=h.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=h;A|=u.patchFlag&16;const I=u.props||ee,D=h.props||ee;let G;if(y&&ct(y,!1),(G=D.onVnodeBeforeUpdate)&&Oe(G,y,h,u),k&&Ve(h,u,y,"beforeUpdate"),y&&ct(y,!0),(I.innerHTML&&D.innerHTML==null||I.textContent&&D.textContent==null)&&a(O,""),C?_(u.dynamicChildren,C,O,y,T,or(h,w),S):P||$(u,h,O,null,y,T,or(h,w),S,!1),A>0){if(A&16)L(O,I,D,y,w);else if(A&2&&I.class!==D.class&&i(O,"class",null,D.class,w),A&4&&i(O,"style",I.style,D.style,w),A&8){const X=h.dynamicProps;for(let te=0;te{G&&Oe(G,y,h,u),k&&Ve(h,u,y,"updated")},T)},_=(u,h,y,T,w,S,P)=>{for(let O=0;O{if(h!==y){if(h!==ee)for(const S in h)!At(S)&&!(S in y)&&i(u,S,h[S],null,w,T);for(const S in y){if(At(S))continue;const P=y[S],O=h[S];P!==O&&S!=="value"&&i(u,S,O,P,w,T)}"value"in y&&i(u,"value",h.value,y.value,w)}},x=(u,h,y,T,w,S,P,O,A)=>{const C=h.el=u?u.el:l(""),k=h.anchor=u?u.anchor:l("");let{patchFlag:I,dynamicChildren:D,slotScopeIds:G}=h;G&&(O=O?O.concat(G):G),u==null?(r(C,y,T),r(k,y,T),j(h.children||[],y,k,w,S,P,O,A)):I>0&&I&64&&D&&u.dynamicChildren?(_(u.dynamicChildren,D,y,w,S,P,O),(h.key!=null||w&&h===w.subTree)&&ss(u,h,!0)):$(u,h,y,k,w,S,P,O,A)},W=(u,h,y,T,w,S,P,O,A)=>{h.slotScopeIds=O,u==null?h.shapeFlag&512?w.ctx.activate(h,y,T,P,A):re(h,y,T,w,S,P,A):ce(u,h,A)},re=(u,h,y,T,w,S,P)=>{const O=u.component=zc(u,T,w);if(tn(u)&&(O.ctx.renderer=_t),Jc(O,!1,P),O.asyncDep){if(w&&w.registerDep(O,V,P),!u.el){const A=O.subTree=le(ye);N(null,A,h,y)}}else V(O,u,h,y,w,S,P)},ce=(u,h,y)=>{const T=h.component=u.component;if(Bc(u,h,y))if(T.asyncDep&&!T.asyncResolved){Y(T,h,y);return}else T.next=h,T.update();else h.el=u.el,T.vnode=h},V=(u,h,y,T,w,S,P)=>{const O=()=>{if(u.isMounted){let{next:I,bu:D,u:G,parent:X,vnode:te}=u;{const Te=po(u);if(Te){I&&(I.el=te.el,Y(u,I,P)),Te.asyncDep.then(()=>{u.isUnmounted||O()});return}}let Q=I,xe;ct(u,!1),I?(I.el=te.el,Y(u,I,P)):I=te,D&&wn(D),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Oe(xe,X,I,te),ct(u,!0);const pe=lr(u),Ie=u.subTree;u.subTree=pe,E(Ie,pe,d(Ie.el),on(Ie),u,w,S),I.el=pe.el,Q===null&&kc(u,pe.el),G&&Se(G,w),(xe=I.props&&I.props.onVnodeUpdated)&&Se(()=>Oe(xe,X,I,te),w)}else{let I;const{el:D,props:G}=h,{bm:X,m:te,parent:Q,root:xe,type:pe}=u,Ie=gt(h);if(ct(u,!1),X&&wn(X),!Ie&&(I=G&&G.onVnodeBeforeMount)&&Oe(I,Q,h),ct(u,!0),D&&Qn){const Te=()=>{u.subTree=lr(u),Qn(D,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(D,u,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=u.subTree=lr(u);E(null,Te,y,T,u,w,S),h.el=Te.el}if(te&&Se(te,w),!Ie&&(I=G&&G.onVnodeMounted)){const Te=h;Se(()=>Oe(I,Q,Te),w)}(h.shapeFlag&256||Q&>(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&Se(u.a,w),u.isMounted=!0,h=y=T=null}};u.scope.on();const A=u.effect=new wi(O);u.scope.off();const C=u.update=A.run.bind(A),k=u.job=A.runIfDirty.bind(A);k.i=u,k.id=u.uid,A.scheduler=()=>Qr(k),ct(u,!0),C()},Y=(u,h,y)=>{h.component=u;const T=u.vnode.props;u.vnode=h,u.next=null,Ac(u,h.props,T,y),Pc(u,h.children,y),it(),ws(u),ot()},$=(u,h,y,T,w,S,P,O,A=!1)=>{const C=u&&u.children,k=u?u.shapeFlag:0,I=h.children,{patchFlag:D,shapeFlag:G}=h;if(D>0){if(D&128){sn(C,I,y,T,w,S,P,O,A);return}else if(D&256){he(C,I,y,T,w,S,P,O,A);return}}G&8?(k&16&&Lt(C,w,S),I!==C&&a(y,I)):k&16?G&16?sn(C,I,y,T,w,S,P,O,A):Lt(C,w,S,!0):(k&8&&a(y,""),G&16&&j(I,y,T,w,S,P,O,A))},he=(u,h,y,T,w,S,P,O,A)=>{u=u||Tt,h=h||Tt;const C=u.length,k=h.length,I=Math.min(C,k);let D;for(D=0;Dk?Lt(u,w,S,!0,!1,I):j(h,y,T,w,S,P,O,A,I)},sn=(u,h,y,T,w,S,P,O,A)=>{let C=0;const k=h.length;let I=u.length-1,D=k-1;for(;C<=I&&C<=D;){const G=u[C],X=h[C]=A?et(h[C]):Me(h[C]);if(dt(G,X))E(G,X,y,null,w,S,P,O,A);else break;C++}for(;C<=I&&C<=D;){const G=u[I],X=h[D]=A?et(h[D]):Me(h[D]);if(dt(G,X))E(G,X,y,null,w,S,P,O,A);else break;I--,D--}if(C>I){if(C<=D){const G=D+1,X=GD)for(;C<=I;)He(u[C],w,S,!0),C++;else{const G=C,X=C,te=new Map;for(C=X;C<=D;C++){const Ce=h[C]=A?et(h[C]):Me(h[C]);Ce.key!=null&&te.set(Ce.key,C)}let Q,xe=0;const pe=D-X+1;let Ie=!1,Te=0;const Nt=new Array(pe);for(C=0;C=pe){He(Ce,w,S,!0);continue}let $e;if(Ce.key!=null)$e=te.get(Ce.key);else for(Q=X;Q<=D;Q++)if(Nt[Q-X]===0&&dt(Ce,h[Q])){$e=Q;break}$e===void 0?He(Ce,w,S,!0):(Nt[$e-X]=C+1,$e>=Te?Te=$e:Ie=!0,E(Ce,h[$e],y,null,w,S,P,O,A),xe++)}const ds=Ie?Nc(Nt):Tt;for(Q=ds.length-1,C=pe-1;C>=0;C--){const Ce=X+C,$e=h[Ce],hs=Ce+1{const{el:S,type:P,transition:O,children:A,shapeFlag:C}=u;if(C&6){lt(u.component.subTree,h,y,T);return}if(C&128){u.suspense.move(h,y,T);return}if(C&64){P.move(u,h,y,_t);return}if(P===Ee){r(S,h,y);for(let I=0;IO.enter(S),w);else{const{leave:I,delayLeave:D,afterLeave:G}=O,X=()=>r(S,h,y),te=()=>{I(S,()=>{X(),G&&G()})};D?D(S,X,te):te()}else r(S,h,y)},He=(u,h,y,T=!1,w=!1)=>{const{type:S,props:P,ref:O,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:I,dirs:D,cacheIndex:G}=u;if(I===-2&&(w=!1),O!=null&&Pn(O,null,y,u,!0),G!=null&&(h.renderCache[G]=void 0),k&256){h.ctx.deactivate(u);return}const X=k&1&&D,te=!gt(u);let Q;if(te&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,h,u),k&6)Yo(u.component,y,T);else{if(k&128){u.suspense.unmount(y,T);return}X&&Ve(u,null,h,"beforeUnmount"),k&64?u.type.remove(u,h,y,_t,T):C&&!C.hasOnce&&(S!==Ee||I>0&&I&64)?Lt(C,h,y,!1,!0):(S===Ee&&I&384||!w&&k&16)&&Lt(A,h,y),T&&fs(u)}(te&&(Q=P&&P.onVnodeUnmounted)||X)&&Se(()=>{Q&&Oe(Q,h,u),X&&Ve(u,null,h,"unmounted")},y)},fs=u=>{const{type:h,el:y,anchor:T,transition:w}=u;if(h===Ee){Go(y,T);return}if(h===Ut){m(u);return}const S=()=>{s(y),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:O}=w,A=()=>P(y,S);O?O(u.el,S,A):A()}else S()},Go=(u,h)=>{let y;for(;u!==h;)y=g(u),s(u),u=y;s(h)},Yo=(u,h,y)=>{const{bum:T,scope:w,job:S,subTree:P,um:O,m:A,a:C}=u;Ls(A),Ls(C),T&&wn(T),w.stop(),S&&(S.flags|=8,He(P,u,h,y)),O&&Se(O,h),Se(()=>{u.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Lt=(u,h,y,T=!1,w=!1,S=0)=>{for(let P=S;P{if(u.shapeFlag&6)return on(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const h=g(u.anchor||u.el),y=h&&h[Ui];return y?g(y):h};let zn=!1;const us=(u,h,y)=>{u==null?h._vnode&&He(h._vnode,null,null,!0):E(h._vnode||null,u,h,null,null,null,y),h._vnode=u,zn||(zn=!0,ws(),On(),zn=!1)},_t={p:E,um:He,m:lt,r:fs,mt:re,mc:j,pc:$,pbc:_,n:on,o:e};let Jn,Qn;return t&&([Jn,Qn]=t(_t)),{render:us,hydrate:Jn,createApp:xc(us,Jn)}}function or({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ho(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ss(e,t,n=!1){const r=e.children,s=t.children;if(K(r)&&K(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function po(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:po(t)}function Ls(e){if(e)for(let t=0;tMt(Fc);function is(e,t){return qn(e,null,t)}function Vf(e,t){return qn(e,null,{flush:"post"})}function Be(e,t,n){return qn(e,t,n)}function qn(e,t,n=ee){const{immediate:r,deep:s,flush:i,once:o}=n,l=fe({},n);let c;if(rn)if(i==="sync"){const g=Dc();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!t||r)l.once=!0;else return{stop:Ue,resume:Ue,pause:Ue};const f=ue;l.call=(g,v,b)=>Fe(g,f,v,b);let a=!1;i==="post"?l.scheduler=g=>{Se(g,f&&f.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(g,v)=>{v?g():Qr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const d=Wl(e,t,l);return c&&c.push(d),d}function Hc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?go(r,e):()=>r[e]:e.bind(r,r);let i;q(t)?i=t:(i=t.handler,n=t);const o=nn(this),l=qn(s,i.bind(r),n);return o(),l}function go(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${st(t)}Modifiers`];function jc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ee;let s=n;const i=t.startsWith("update:"),o=i&&$c(r,t.slice(7));o&&(o.trim&&(s=n.map(a=>se(a)?a.trim():a)),o.number&&(s=n.map(wr)));let l,c=r[l=bn(t)]||r[l=bn(Ne(t))];!c&&i&&(c=r[l=bn(st(t))]),c&&Fe(c,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(f,e,6,s)}}function mo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=mo(f,t,!0);a&&(l=!0,fe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&r.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):fe(o,i),ne(e)&&r.set(e,o),o)}function Gn(e,t){return!e||!Qt(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,st(t))||J(e,t))}function lr(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:d,data:g,setupState:v,ctx:b,inheritAttrs:E}=e,U=Mn(e);let N,B;try{if(n.shapeFlag&4){const m=s||r,M=m;N=Me(f.call(M,m,a,d,v,g,b)),B=l}else{const m=t;N=Me(m.length>1?m(d,{attrs:l,slots:o,emit:c}):m(d,null)),B=t.props?l:Vc(l)}}catch(m){Bt.length=0,en(m,e,1),N=le(ye)}let p=N;if(B&&E!==!1){const m=Object.keys(B),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some(Hr)&&(B=Uc(B,i)),p=nt(p,B,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Yt(p,n.transition),N=p,Mn(U),N}const Vc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qt(n))&&((t||(t={}))[n]=e[n]);return t},Uc=(e,t)=>{const n={};for(const r in e)(!Hr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Bc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ns(r,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;de.__isSuspense;function vo(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Gl(e)}const Ee=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Ut=Symbol.for("v-stc"),Bt=[];let Ae=null;function Pr(e=!1){Bt.push(Ae=e?null:[])}function Wc(){Bt.pop(),Ae=Bt[Bt.length-1]||null}let Xt=1;function Fs(e){Xt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function _o(e){return e.dynamicChildren=Xt>0?Ae||Tt:null,Wc(),Xt>0&&Ae&&Ae.push(e),e}function Uf(e,t,n,r,s,i){return _o(wo(e,t,n,r,s,i,!0))}function Ir(e,t,n,r,s){return _o(le(e,t,n,r,s,!0))}function Ln(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const bo=({key:e})=>e??null,xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function wo(e,t=null,n=null,r=0,s=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bo(t),ref:t&&xn(t),scopeId:Vi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:de};return l?(os(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Xt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=Kc;function Kc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Ji)&&(e=ye),Ln(e)){const l=nt(e,t,!0);return n&&os(l,n),Xt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(ta(e)&&(e=e.__vccOpts),t){t=qc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Ur(l)),ne(c)&&(Yr(c)&&!K(c)&&(c=fe({},c)),t.style=Vr(c))}const o=se(e)?1:yo(e)?128:Bi(e)?64:ne(e)?4:q(e)?2:0;return wo(e,t,n,r,s,o,i,!0)}function qc(e){return e?Yr(e)||so(e)?fe({},e):e:null}function nt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Gc(s||{},t):s,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&bo(f),ref:t&&t.ref?n&&i?K(i)?i.concat(xn(t)):[i,xn(t)]:xn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Yt(a,c.clone(a)),a}function Eo(e=" ",t=0){return le(mt,null,e,t)}function Bf(e,t){const n=le(Ut,null,e);return n.staticCount=t,n}function kf(e="",t=!1){return t?(Pr(),Ir(ye,null,e)):le(ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(ye):K(e)?le(Ee,null,e.slice()):typeof e=="object"?et(e):le(mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function os(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),os(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!so(t)?t._ctx=de:s===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:de},n=32):(t=String(t),r&64?(n=16,t=[Eo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gc(...e){const t={};for(let n=0;nue||de;let Nn,Lr;{const e=mi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Nn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Lr=t("__VUE_SSR_SETTERS__",n=>rn=n)}const nn=e=>{const t=ue;return Nn(e),e.scope.on(),()=>{e.scope.off(),Nn(t)}},Ds=()=>{ue&&ue.scope.off(),Nn(null)};function So(e){return e.vnode.shapeFlag&4}let rn=!1;function Jc(e,t=!1,n=!1){t&&Lr(t);const{props:r,children:s}=e.vnode,i=So(e);Cc(e,r,i,t),Mc(e,s,n);const o=i?Qc(e,t):void 0;return t&&Lr(!1),o}function Qc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,mc);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?To(e):null,i=nn(e);it();const o=Zt(r,e,0,[e.props,s]);if(ot(),i(),di(o)){if(gt(e)||es(e),o.then(Ds,Ds),t)return o.then(l=>{Hs(e,l,t)}).catch(l=>{en(l,e,0)});e.asyncDep=o}else Hs(e,o,t)}else xo(e,t)}function Hs(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Di(t)),xo(e,n)}let $s;function xo(e,t,n){const r=e.type;if(!e.render){if(!t&&$s&&!r.render){const s=r.template||ns(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,f=fe(fe({isCustomElement:i,delimiters:l},o),c);r.render=$s(s,f)}}e.render=r.render||Ue}{const s=nn(e);it();try{vc(e)}finally{ot(),s()}}}const Zc={get(e,t){return ve(e,"get",""),e[t]}};function To(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Zc),slots:e.slots,emit:e.emit,expose:t}}function Xn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Di(En(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vt)return Vt[n](e)},has(t,n){return n in t||n in Vt}})):e.proxy}function ea(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function ta(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>Bl(e,t,rn);function Nr(e,t,n){const r=arguments.length;return r===2?ne(t)&&!K(t)?Ln(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ln(n)&&(n=[n]),le(e,t,n))}const na="3.5.5";/** +* @vue/runtime-dom v3.5.5 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Fr;const js=typeof window<"u"&&window.trustedTypes;if(js)try{Fr=js.createPolicy("vue",{createHTML:e=>e})}catch{}const Co=Fr?e=>Fr.createHTML(e):e=>e,ra="http://www.w3.org/2000/svg",sa="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Vs=Ke&&Ke.createElement("template"),ia={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ke.createElementNS(ra,e):t==="mathml"?Ke.createElementNS(sa,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Vs.innerHTML=Co(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Vs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ze="transition",Dt="animation",zt=Symbol("_vtc"),Ao={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},oa=fe({},Wi,Ao),la=e=>(e.displayName="Transition",e.props=oa,e),Wf=la((e,{slots:t})=>Nr(ec,ca(e),t)),at=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Us=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function ca(e){const t={};for(const x in e)x in Ao||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,b=aa(s),E=b&&b[0],U=b&&b[1],{onBeforeEnter:N,onEnter:B,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:F=N,onAppear:H=B,onAppearCancelled:j=p}=t,R=(x,W,re)=>{ft(x,W?a:l),ft(x,W?f:o),re&&re()},_=(x,W)=>{x._isLeaving=!1,ft(x,d),ft(x,v),ft(x,g),W&&W()},L=x=>(W,re)=>{const ce=x?H:B,V=()=>R(W,x,re);at(ce,[W,V]),Bs(()=>{ft(W,x?c:i),Je(W,x?a:l),Us(ce)||ks(W,r,E,V)})};return fe(t,{onBeforeEnter(x){at(N,[x]),Je(x,i),Je(x,o)},onBeforeAppear(x){at(F,[x]),Je(x,c),Je(x,f)},onEnter:L(!1),onAppear:L(!0),onLeave(x,W){x._isLeaving=!0;const re=()=>_(x,W);Je(x,d),Je(x,g),da(),Bs(()=>{x._isLeaving&&(ft(x,d),Je(x,v),Us(m)||ks(x,r,U,re))}),at(m,[x,re])},onEnterCancelled(x){R(x,!1),at(p,[x])},onAppearCancelled(x){R(x,!0),at(j,[x])},onLeaveCancelled(x){_(x),at(M,[x])}})}function aa(e){if(e==null)return null;if(ne(e))return[cr(e.enter),cr(e.leave)];{const t=cr(e);return[t,t]}}function cr(e){return el(e)}function Je(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zt]||(e[zt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zt];n&&(n.delete(t),n.size||(e[zt]=void 0))}function Bs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let fa=0;function ks(e,t,n,r){const s=e._endId=++fa,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ua(e,t);if(!o)return r();const f=o+"end";let a=0;const d=()=>{e.removeEventListener(f,g),i()},g=v=>{v.target===e&&++a>=c&&d()};setTimeout(()=>{a(n[b]||"").split(", "),s=r(`${ze}Delay`),i=r(`${ze}Duration`),o=Ws(s,i),l=r(`${Dt}Delay`),c=r(`${Dt}Duration`),f=Ws(l,c);let a=null,d=0,g=0;t===ze?o>0&&(a=ze,d=o,g=i.length):t===Dt?f>0&&(a=Dt,d=f,g=c.length):(d=Math.max(o,f),a=d>0?o>f?ze:Dt:null,g=a?a===ze?i.length:c.length:0);const v=a===ze&&/\b(transform|all)(,|$)/.test(r(`${ze}Property`).toString());return{type:a,timeout:d,propCount:g,hasTransform:v}}function Ws(e,t){for(;e.lengthKs(n)+Ks(e[r])))}function Ks(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function da(){return document.body.offsetHeight}function ha(e,t,n){const r=e[zt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qs=Symbol("_vod"),pa=Symbol("_vsh"),ga=Symbol(""),ma=/(^|;)\s*display\s*:/;function ya(e,t,n){const r=e.style,s=se(n);let i=!1;if(n&&!s){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Tn(r,l,"")}else for(const o in t)n[o]==null&&Tn(r,o,"");for(const o in n)o==="display"&&(i=!0),Tn(r,o,n[o])}else if(s){if(t!==n){const o=r[ga];o&&(n+=";"+o),r.cssText=n,i=ma.test(n)}}else t&&e.removeAttribute("style");qs in e&&(e[qs]=i?r.display:"",e[pa]&&(r.display="none"))}const Gs=/\s*!important$/;function Tn(e,t,n){if(K(n))n.forEach(r=>Tn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=va(e,t);Gs.test(n)?e.setProperty(st(r),n.replace(Gs,""),"important"):e[r]=n}}const Ys=["Webkit","Moz","ms"],ar={};function va(e,t){const n=ar[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return ar[t]=r;r=Hn(r);for(let s=0;sfr||(Sa.then(()=>fr=0),fr=Date.now());function Ta(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Fe(Ca(r,n.value),t,5,[r])};return n.value=e,n.attached=xa(),n}function Ca(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Zs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Aa=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?ha(e,r,o):t==="style"?ya(e,n,r):Qt(t)?Hr(t)||wa(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ra(e,t,r,o))?(_a(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&zs(e,t,r,o,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),zs(e,t,r,o))};function Ra(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zs(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Zs(t)&&se(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!se(n)))}const ei=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>wn(t,n):t};function Oa(e){e.target.composing=!0}function ti(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ur=Symbol("_assign"),Kf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[ur]=ei(s);const i=r||s.props&&s.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=wr(l)),e[ur](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",Oa),St(e,"compositionend",ti),St(e,"change",ti))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[ur]=ei(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?wr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Ma=["ctrl","shift","alt","meta"],Pa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ma.some(n=>e[`${n}Key`]&&!t.includes(n))},qf=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=st(s.key);if(t.some(o=>o===i||Ia[o]===i))return e(s)})},Ro=fe({patchProp:Aa},ia);let kt,ni=!1;function La(){return kt||(kt=Ic(Ro))}function Na(){return kt=ni?kt:Lc(Ro),ni=!0,kt}const Yf=(...e)=>{const t=La().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Mo(r);if(!s)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Oo(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},Xf=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Mo(r);if(s)return n(s,!0,Oo(s))},t};function Oo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Mo(e){return se(e)?document.querySelector(e):e}const zf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Fa=window.__VP_SITE_DATA__;function ls(e){return bi()?(al(e),!0):!1}function ke(e){return typeof e=="function"?e():Fi(e)}const Po=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Jf=e=>e!=null,Da=Object.prototype.toString,Ha=e=>Da.call(e)==="[object Object]",Jt=()=>{},ri=$a();function $a(){var e,t;return Po&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ja(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const Io=e=>e();function Va(e,t={}){let n,r,s=Jt;const i=l=>{clearTimeout(l),s(),s=Jt};return l=>{const c=ke(e),f=ke(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((a,d)=>{s=t.rejectOnCancel?d:a,f&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,a(l())},f)),n=setTimeout(()=>{r&&i(r),r=null,a(l())},c)})}}function Ua(e=Io){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:Bn(t),pause:n,resume:r,eventFilter:s}}function Ba(e){return Yn()}function Lo(...e){if(e.length!==1)return jl(...e);const t=e[0];return typeof t=="function"?Bn(Dl(()=>({get:t,set:Jt}))):oe(t)}function No(e,t,n={}){const{eventFilter:r=Io,...s}=n;return Be(e,ja(r,t),s)}function ka(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Ua(r);return{stop:No(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:c}}function cs(e,t=!0,n){Ba()?It(e,n):t?e():kn(e)}function Qf(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...i}=n;return No(e,t,{...i,eventFilter:Va(r,{maxWait:s})})}function Zf(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Jt}=r,c=oe(!s),f=o?zr(t):oe(t);let a=0;return is(async d=>{if(!c.value)return;a++;const g=a;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const b=await e(E=>{d(()=>{i&&(i.value=!1),v||E()})});g===a&&(f.value=b)}catch(b){l(b)}finally{i&&g===a&&(i.value=!1),v=!0}}),s?ie(()=>(c.value=!0,f.value)):f}function Fo(e){var t;const n=ke(e);return(t=n==null?void 0:n.$el)!=null?t:n}const De=Po?window:void 0;function Pt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=De):[t,n,r,s]=e,!t)return Jt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,d,g,v)=>(a.addEventListener(d,g,v),()=>a.removeEventListener(d,g,v)),c=Be(()=>[Fo(t),ke(s)],([a,d])=>{if(o(),!a)return;const g=Ha(d)?{...d}:d;i.push(...n.flatMap(v=>r.map(b=>l(a,v,b,g))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return ls(f),f}function Wa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function eu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=De,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,c=Wa(t);return Pt(s,i,a=>{a.repeat&&ke(l)||c(a)&&n(a)},o)}function Ka(){const e=oe(!1),t=Yn();return t&&It(()=>{e.value=!0},t),e}function qa(e){const t=Ka();return ie(()=>(t.value,!!e()))}function Do(e,t={}){const{window:n=De}=t,r=qa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const i=oe(!1),o=f=>{i.value=f.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},c=is(()=>{r.value&&(l(),s=n.matchMedia(ke(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),i.value=s.matches)});return ls(()=>{c(),l(),s=void 0}),i}const yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vn="__vueuse_ssr_handlers__",Ga=Ya();function Ya(){return vn in yn||(yn[vn]=yn[vn]||{}),yn[vn]}function Ho(e,t){return Ga[e]||t}function Xa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const za={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},si="vueuse-storage";function as(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:d=De,eventFilter:g,onError:v=_=>{console.error(_)},initOnMounted:b}=r,E=(a?zr:oe)(typeof t=="function"?t():t);if(!n)try{n=Ho("getDefaultStorage",()=>{var _;return(_=De)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return E;const U=ke(t),N=Xa(U),B=(s=r.serializer)!=null?s:za[N],{pause:p,resume:m}=ka(E,()=>F(E.value),{flush:i,deep:o,eventFilter:g});d&&l&&cs(()=>{n instanceof Storage?Pt(d,"storage",j):Pt(d,si,R),b&&j()}),b||j();function M(_,L){if(d){const x={key:e,oldValue:_,newValue:L,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(si,{detail:x}))}}function F(_){try{const L=n.getItem(e);if(_==null)M(L,null),n.removeItem(e);else{const x=B.write(_);L!==x&&(n.setItem(e,x),M(L,x))}}catch(L){v(L)}}function H(_){const L=_?_.newValue:n.getItem(e);if(L==null)return c&&U!=null&&n.setItem(e,B.write(U)),U;if(!_&&f){const x=B.read(L);return typeof f=="function"?f(x,U):N==="object"&&!Array.isArray(x)?{...U,...x}:x}else return typeof L!="string"?L:B.read(L)}function j(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){E.value=U;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==B.write(E.value)&&(E.value=H(_))}catch(L){v(L)}finally{_?kn(m):m()}}}}function R(_){j(_.detail)}return E}function $o(e){return Do("(prefers-color-scheme: dark)",e)}const Ja="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Qa(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=De,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},g=$o({window:s}),v=ie(()=>g.value?"dark":"light"),b=c||(o==null?Lo(r):as(o,r,i,{window:s,listenToStorageChanges:l})),E=ie(()=>b.value==="auto"?v.value:b.value),U=Ho("updateHTMLAttrs",(m,M,F)=>{const H=typeof m=="string"?s==null?void 0:s.document.querySelector(m):Fo(m);if(!H)return;const j=new Set,R=new Set;let _=null;if(M==="class"){const x=F.split(/\s/g);Object.values(d).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{x.includes(W)?j.add(W):R.add(W)})}else _={key:M,value:F};if(j.size===0&&R.size===0&&_===null)return;let L;a&&(L=s.document.createElement("style"),L.appendChild(document.createTextNode(Ja)),s.document.head.appendChild(L));for(const x of j)H.classList.add(x);for(const x of R)H.classList.remove(x);_&&H.setAttribute(_.key,_.value),a&&(s.getComputedStyle(L).opacity,document.head.removeChild(L))});function N(m){var M;U(t,n,(M=d[m])!=null?M:m)}function B(m){e.onChanged?e.onChanged(m,N):N(m)}Be(E,B,{flush:"post",immediate:!0}),cs(()=>B(E.value));const p=ie({get(){return f?b.value:E.value},set(m){b.value=m}});try{return Object.assign(p,{store:b,system:v,state:E})}catch{return p}}function Za(e={}){const{valueDark:t="dark",valueLight:n="",window:r=De}=e,s=Qa({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>s.system?s.system.value:$o({window:r}).value?"dark":"light");return ie({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?s.value="auto":s.value=c}})}function dr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function tu(e,t,n={}){const{window:r=De}=n;return as(e,t,r==null?void 0:r.localStorage,n)}function jo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const hr=new WeakMap;function nu(e,t=!1){const n=oe(t);let r=null,s="";Be(Lo(e),l=>{const c=dr(ke(l));if(c){const f=c;if(hr.get(f)||hr.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(s=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=dr(ke(e));!l||n.value||(ri&&(r=Pt(l,"touchmove",c=>{ef(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=dr(ke(e));!l||!n.value||(ri&&(r==null||r()),l.style.overflow=s,hr.delete(l),n.value=!1)};return ls(o),ie({get(){return n.value},set(l){l?i():o()}})}function ru(e,t,n={}){const{window:r=De}=n;return as(e,t,r==null?void 0:r.sessionStorage,n)}function su(e={}){const{window:t=De,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),i=ie({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function iu(e={}){const{window:t=De,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=oe(n),c=oe(r),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),cs(f),Pt("resize",f,{passive:!0}),s){const a=Do("(orientation: portrait)");Be(a,()=>f())}return{width:l,height:c}}const pr={BASE_URL:"/DimensionalData.jl/previews/PR801/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var gr={};const Vo=/^(?:[a-z]+:|\/\/)/i,tf="vitepress-theme-appearance",nf=/#.*$/,rf=/[?#].*$/,sf=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Uo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function of(e,t,n=!1){if(t===void 0)return!1;if(e=ii(`/${e}`),n)return new RegExp(t).test(e);if(ii(t)!==e)return!1;const r=t.match(nf);return r?(ge?location.hash:"")===r[0]:!0}function ii(e){return decodeURI(e).replace(rf,"").replace(sf,"$1")}function lf(e){return Vo.test(e)}function cf(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!lf(n)&&of(t,`/${n}/`,!0))||"root"}function af(e,t){var r,s,i,o,l,c,f;const n=cf(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:ko(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function Bo(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ff(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ff(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function uf(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([i,o])=>i===n&&o[s[0]]===s[1])}function ko(e,t){return[...e.filter(n=>!uf(t,n)),...t]}const df=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,hf=/^[a-z]:/i;function oi(e){const t=hf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(df,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const mr=new Set;function pf(e){if(mr.size===0){const n=typeof process=="object"&&(gr==null?void 0:gr.VITE_EXTRA_EXTENSIONS)||(pr==null?void 0:pr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>mr.add(r))}const t=e.split(".").pop();return t==null||!mr.has(t.toLowerCase())}function ou(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const gf=Symbol(),yt=zr(Fa);function lu(e){const t=ie(()=>af(yt.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?Za({storageKey:tf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Be(()=>e.data,()=>{s.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Bo(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:r,hash:ie(()=>s.value)}}function mf(){const e=Mt(gf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function yf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function li(e){return Vo.test(e)||!e.startsWith("/")?e:yf(yt.value.base,e)}function vf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/DimensionalData.jl/previews/PR801/";t=oi(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${oi(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Cn=[];function cu(e){Cn.push(e),Kn(()=>{Cn=Cn.filter(t=>t!==e)})}function _f(){let e=yt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=ci(e,n);else if(Array.isArray(e))for(const r of e){const s=ci(r,n);if(s){t=s;break}}return t}function ci(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const bf=Symbol(),Wo="http://a.com",wf=()=>({path:"/",component:null,data:Uo});function au(e,t){const n=Un(wf()),r={route:n,go:s};async function s(l=ge?location.href:"/"){var c,f;l=yr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(ge&&l!==yr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=r.onAfterRouteChanged)==null?void 0:f.call(r,l)))}let i=null;async function o(l,c=0,f=!1){var g;if(await((g=r.onBeforePageLoad)==null?void 0:g.call(r,l))===!1)return;const a=new URL(l,Wo),d=i=a.pathname;try{let v=await e(d);if(!v)throw new Error(`Page not found: ${d}`);if(i===d){i=null;const{default:b,__pageData:E}=v;if(!b)throw new Error(`Invalid route component: ${b}`);n.path=ge?d:li(d),n.component=En(b),n.data=En(E),ge&&kn(()=>{let U=yt.value.base+E.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!U.endsWith("/")&&(U+=".html"),U!==a.pathname&&(a.pathname=U,l=U+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let N=null;try{N=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(B){console.warn(B)}if(N){ai(N,a.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!f)try{const b=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await b.json(),await o(l,c,!0);return}catch{}if(i===d){i=null,n.path=ge?d:li(d),n.component=t?En(t):null;const b=ge?d.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Uo,relativePath:b}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:d,pathname:g,hash:v,search:b}=new URL(f,c.baseURI),E=new URL(location.href);d===E.origin&&pf(g)&&(l.preventDefault(),g===E.pathname&&b===E.search?(v!==E.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:E.href,newURL:a}))),v?ai(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(yr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Ef(){const e=Mt(bf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ko(){return Ef().route}function ai(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(r).paddingTop,10),o=window.scrollY+r.getBoundingClientRect().top-_f()+i;requestAnimationFrame(s)}}function yr(e){const t=new URL(e,Wo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),yt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const vr=()=>Cn.forEach(e=>e()),fu=Zr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ko(),{site:n}=mf();return()=>Nr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Nr(t.component,{onVnodeMounted:vr,onVnodeUpdated:vr,onVnodeUnmounted:vr}):"404 Page Not Found"])}}),Sf="modulepreload",xf=function(e){return"/DimensionalData.jl/previews/PR801/"+e},fi={},uu=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=xf(c),c in fi)return;fi[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Sf,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((g,v)=>{d.addEventListener("load",g),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return s.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},du=Zr({setup(e,{slots:t}){const n=oe(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function hu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const i=r.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[s];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function pu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,i=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),Tf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Tf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function gu(e,t){let n=!0,r=[];const s=i=>{if(n){n=!1,i.forEach(l=>{const c=_r(l);for(const f of document.head.children)if(f.isEqualNode(c)){r.push(f);return}});return}const o=i.map(_r);r.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete r[c])}),o.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...o].filter(Boolean)};is(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=Bo(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==a&&d.setAttribute("content",a):_r(["meta",{name:"description",content:a}]),s(ko(o.head,Af(c)))})}function _r([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Cf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Af(e){return e.filter(t=>!Cf(t))}const br=new Set,qo=()=>document.createElement("link"),Rf=e=>{const t=qo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Of=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let _n;const Mf=ge&&(_n=qo())&&_n.relList&&_n.relList.supports&&_n.relList.supports("prefetch")?Rf:Of;function mu(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!br.has(c)){br.add(c);const f=vf(c);f&&Mf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):br.add(l))})})};It(r);const s=Ko();Be(()=>s.path,r),Kn(()=>{n&&n.disconnect()})}export{zi as $,_f as A,Nf as B,Df as C,zr as D,cu as E,Ee as F,le as G,Ff as H,Vo as I,Ko as J,Gc as K,Mt as L,iu as M,Vr as N,eu as O,kn as P,su as Q,ge as R,Bn as S,Wf as T,Lf as U,uu as V,nu as W,Tc as X,$f as Y,Gf as Z,zf as _,Eo as a,qf as a0,jf as a1,Un as a2,jl as a3,Bf as a4,gu as a5,bf as a6,lu as a7,gf as a8,fu as a9,du as aa,yt as ab,Xf as ac,au as ad,vf as ae,mu as af,pu as ag,hu as ah,Nr as ai,ke as aj,Fo as ak,Jf as al,ls as am,Zf as an,ru as ao,tu as ap,Qf as aq,Ef as ar,Pt as as,Pf as at,Kf as au,ae as av,If as aw,En as ax,Yf as ay,ou as az,Ir as b,Uf as c,Zr as d,kf as e,pf as f,li as g,ie as h,lf as i,wo as j,Fi as k,of as l,Do as m,Ur as n,Pr as o,oe as p,Be as q,Hf as r,is as s,ll as t,mf as u,It as v,Yl as w,Kn as x,Vf as y,uc as z}; diff --git a/previews/PR801/assets/chunks/theme.DdfSediW.js b/previews/PR801/assets/chunks/theme.DdfSediW.js new file mode 100644 index 000000000..f9df8d0d3 --- /dev/null +++ b/previews/PR801/assets/chunks/theme.DdfSediW.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.DV7xqjdA.js","assets/chunks/framework.D3Ia4FEQ.js"])))=>i.map(i=>d[i]); +import{d as m,o as a,c as u,r as c,n as I,a as F,t as w,b as g,w as f,e as h,T as de,_ as $,u as Ue,i as Re,f as je,g as ve,h as y,j as p,k as r,l as z,m as re,p as T,q as H,s as Z,v as G,x as pe,y as fe,z as Ge,A as ze,B as K,F as M,C as A,D as Se,E as x,G as k,H as D,I as Ve,J as ee,K as j,L as q,M as Ke,N as Le,O as ie,P as Te,Q as Ne,R as te,S as We,U as qe,V as Je,W as we,X as he,Y as Ye,Z as Xe,$ as Qe,a0 as Ze,a1 as Ie,a2 as xe,a3 as et}from"./framework.D3Ia4FEQ.js";const tt=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),u("span",{class:I(["VPBadge",e.type])},[c(e.$slots,"default",{},()=>[F(w(e.text),1)])],2))}}),nt={key:0,class:"VPBackdrop"},ot=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),g(de,{name:"fade"},{default:f(()=>[e.show?(a(),u("div",nt)):h("",!0)]),_:1}))}}),st=$(ot,[["__scopeId","data-v-b06cdb19"]]),L=Ue;function at(s,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(s,e):(s(),(o=!0)&&setTimeout(()=>o=!1,e))}}function le(s){return/^\//.test(s)?s:`/${s}`}function me(s){const{pathname:e,search:t,hash:o,protocol:n}=new URL(s,"http://a.com");if(Re(s)||s.startsWith("#")||!n.startsWith("http")||!je(e))return s;const{site:i}=L(),l=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${o}`);return ve(l)}function Y({correspondingLink:s=!1}={}){const{site:e,localeIndex:t,page:o,theme:n,hash:i}=L(),l=y(()=>{var d,_;return{label:(d=e.value.locales[t.value])==null?void 0:d.label,link:((_=e.value.locales[t.value])==null?void 0:_.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([d,_])=>l.value.label===_.label?[]:{text:_.label,link:rt(_.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&s,o.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:l}}function rt(s,e,t,o){return e?s.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,o?".html":"")):s}const it={class:"NotFound"},lt={class:"code"},ct={class:"title"},ut={class:"quote"},dt={class:"action"},vt=["href","aria-label"],pt=m({__name:"NotFound",setup(s){const{theme:e}=L(),{currentLang:t}=Y();return(o,n)=>{var i,l,v,d,_;return a(),u("div",it,[p("p",lt,w(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),p("h1",ct,w(((l=r(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),n[0]||(n[0]=p("div",{class:"divider"},null,-1)),p("blockquote",ut,w(((v=r(e).notFound)==null?void 0:v.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),p("div",dt,[p("a",{class:"link",href:r(ve)(r(t).link),"aria-label":((d=r(e).notFound)==null?void 0:d.linkLabel)??"go to home"},w(((_=r(e).notFound)==null?void 0:_.linkText)??"Take me home"),9,vt)])])}}}),ft=$(pt,[["__scopeId","data-v-951cab6c"]]);function Me(s,e){if(Array.isArray(s))return X(s);if(s==null)return[];e=le(e);const t=Object.keys(s).sort((n,i)=>i.split("/").length-n.split("/").length).find(n=>e.startsWith(le(n))),o=t?s[t]:[];return Array.isArray(o)?X(o):X(o.items,o.base)}function ht(s){const e=[];let t=0;for(const o in s){const n=s[o];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function mt(s){const e=[];function t(o){for(const n of o)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(s),e}function ce(s,e){return Array.isArray(e)?e.some(t=>ce(s,t)):z(s,e.link)?!0:e.items?ce(s,e.items):!1}function X(s,e){return[...s].map(t=>{const o={...t},n=o.base||e;return n&&o.link&&(o.link=n+o.link),o.items&&(o.items=X(o.items,n)),o})}function U(){const{frontmatter:s,page:e,theme:t}=L(),o=re("(min-width: 960px)"),n=T(!1),i=y(()=>{const C=t.value.sidebar,N=e.value.relativePath;return C?Me(C,N):[]}),l=T(i.value);H(i,(C,N)=>{JSON.stringify(C)!==JSON.stringify(N)&&(l.value=i.value)});const v=y(()=>s.value.sidebar!==!1&&l.value.length>0&&s.value.layout!=="home"),d=y(()=>_?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),_=y(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),V=y(()=>v.value&&o.value),b=y(()=>v.value?ht(l.value):[]);function P(){n.value=!0}function S(){n.value=!1}function E(){n.value?S():P()}return{isOpen:n,sidebar:l,sidebarGroups:b,hasSidebar:v,hasAside:_,leftAside:d,isSidebarEnabled:V,open:P,close:S,toggle:E}}function _t(s,e){let t;Z(()=>{t=s.value?document.activeElement:void 0}),G(()=>{window.addEventListener("keyup",o)}),pe(()=>{window.removeEventListener("keyup",o)});function o(n){n.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}function bt(s){const{page:e,hash:t}=L(),o=T(!1),n=y(()=>s.value.collapsed!=null),i=y(()=>!!s.value.link),l=T(!1),v=()=>{l.value=z(e.value.relativePath,s.value.link)};H([e,s,t],v),G(v);const d=y(()=>l.value?!0:s.value.items?ce(e.value.relativePath,s.value.items):!1),_=y(()=>!!(s.value.items&&s.value.items.length));Z(()=>{o.value=!!(n.value&&s.value.collapsed)}),fe(()=>{(l.value||d.value)&&(o.value=!1)});function V(){n.value&&(o.value=!o.value)}return{collapsed:o,collapsible:n,isLink:i,isActiveLink:l,hasActiveLink:d,hasChildren:_,toggle:V}}function kt(){const{hasSidebar:s}=U(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const ue=[];function Ee(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function _e(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{element:t,title:gt(t),link:"#"+t.id,level:o}});return $t(e,s)}function gt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function $t(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(l=>l.level>=o&&l.level<=n),ue.length=0;for(const{element:l,link:v}of s)ue.push({element:l,link:v});const i=[];e:for(let l=0;l=0;d--){const _=s[d];if(_.level{requestAnimationFrame(i),window.addEventListener("scroll",o)}),Ge(()=>{l(location.hash)}),pe(()=>{window.removeEventListener("scroll",o)});function i(){if(!t.value)return;const v=window.scrollY,d=window.innerHeight,_=document.body.offsetHeight,V=Math.abs(v+d-_)<1,b=ue.map(({element:S,link:E})=>({link:E,top:Pt(S)})).filter(({top:S})=>!Number.isNaN(S)).sort((S,E)=>S.top-E.top);if(!b.length){l(null);return}if(v<1){l(null);return}if(V){l(b[b.length-1].link);return}let P=null;for(const{link:S,top:E}of b){if(E>v+ze()+4)break;P=S}l(P)}function l(v){n&&n.classList.remove("active"),v==null?n=null:n=s.value.querySelector(`a[href="${decodeURIComponent(v)}"]`);const d=n;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function Pt(s){let e=0;for(;s!==document.body;){if(s===null)return NaN;e+=s.offsetTop,s=s.offsetParent}return e}const St=["href","title"],Vt=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(s){function e({target:t}){const o=t.href.split("#")[1],n=document.getElementById(decodeURIComponent(o));n==null||n.focus({preventScroll:!0})}return(t,o)=>{const n=K("VPDocOutlineItem",!0);return a(),u("ul",{class:I(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),u(M,null,A(t.headers,({children:i,link:l,title:v})=>(a(),u("li",null,[p("a",{class:"outline-link",href:l,onClick:e,title:v},w(v),9,St),i!=null&&i.length?(a(),g(n,{key:0,headers:i},null,8,["headers"])):h("",!0)]))),256))],2)}}}),Ce=$(Vt,[["__scopeId","data-v-3f927ebe"]]),Lt={class:"content"},Tt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Nt=m({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=L(),o=Se([]);x(()=>{o.value=_e(e.value.outline??t.value.outline)});const n=T(),i=T();return yt(n,i),(l,v)=>(a(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:I(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:n},[p("div",Lt,[p("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),p("div",Tt,w(r(Ee)(r(t))),1),k(Ce,{headers:o.value,root:!0},null,8,["headers"])])],2))}}),wt=$(Nt,[["__scopeId","data-v-b38bf2ff"]]),It={class:"VPDocAsideCarbonAds"},Mt=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,o)=>(a(),u("div",It,[k(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Et={class:"VPDocAside"},Ct=m({__name:"VPDocAside",setup(s){const{theme:e}=L();return(t,o)=>(a(),u("div",Et,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),k(wt),c(t.$slots,"aside-outline-after",{},void 0,!0),o[0]||(o[0]=p("div",{class:"spacer"},null,-1)),c(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),g(Mt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):h("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}}),At=$(Ct,[["__scopeId","data-v-6d7b3c46"]]);function Bt(){const{theme:s,page:e}=L();return y(()=>{const{text:t="Edit this page",pattern:o=""}=s.value.editLink||{};let n;return typeof o=="function"?n=o(e.value):n=o.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Ht(){const{page:s,theme:e,frontmatter:t}=L();return y(()=>{var _,V,b,P,S,E,C,N;const o=Me(e.value.sidebar,s.value.relativePath),n=mt(o),i=Dt(n,B=>B.link.replace(/[?#].*$/,"")),l=i.findIndex(B=>z(s.value.relativePath,B.link)),v=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((V=e.value.docFooter)==null?void 0:V.next)===!1&&!t.value.next||t.value.next===!1;return{prev:v?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=i[l-1])==null?void 0:b.docFooterText)??((P=i[l-1])==null?void 0:P.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((S=i[l-1])==null?void 0:S.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((E=i[l+1])==null?void 0:E.docFooterText)??((C=i[l+1])==null?void 0:C.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((N=i[l+1])==null?void 0:N.link)}}})}function Dt(s,e){const t=new Set;return s.filter(o=>{const n=e(o);return t.has(n)?!1:t.add(n)})}const O=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.tag??(e.href?"a":"span")),o=y(()=>e.href&&Ve.test(e.href)||e.target==="_blank");return(n,i)=>(a(),g(D(t.value),{class:I(["VPLink",{link:n.href,"vp-external-link-icon":o.value,"no-icon":n.noIcon}]),href:n.href?r(me)(n.href):void 0,target:n.target??(o.value?"_blank":void 0),rel:n.rel??(o.value?"noreferrer":void 0)},{default:f(()=>[c(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ot={class:"VPLastUpdated"},Ft=["datetime"],Ut=m({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,lang:o}=L(),n=y(()=>new Date(t.value.lastUpdated)),i=y(()=>n.value.toISOString()),l=T("");return G(()=>{Z(()=>{var v,d,_;l.value=new Intl.DateTimeFormat((d=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&d.forceLocale?o.value:void 0,((_=e.value.lastUpdated)==null?void 0:_.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(v,d)=>{var _;return a(),u("p",Ot,[F(w(((_=r(e).lastUpdated)==null?void 0:_.text)||r(e).lastUpdatedText||"Last updated")+": ",1),p("time",{datetime:i.value},w(l.value),9,Ft)])}}}),Rt=$(Ut,[["__scopeId","data-v-475f71b8"]]),jt={key:0,class:"VPDocFooter"},Gt={key:0,class:"edit-info"},zt={key:0,class:"edit-link"},Kt={key:1,class:"last-updated"},Wt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},qt={class:"pager"},Jt=["innerHTML"],Yt=["innerHTML"],Xt={class:"pager"},Qt=["innerHTML"],Zt=["innerHTML"],xt=m({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:o}=L(),n=Bt(),i=Ht(),l=y(()=>e.value.editLink&&o.value.editLink!==!1),v=y(()=>t.value.lastUpdated),d=y(()=>l.value||v.value||i.value.prev||i.value.next);return(_,V)=>{var b,P,S,E;return d.value?(a(),u("footer",jt,[c(_.$slots,"doc-footer-before",{},void 0,!0),l.value||v.value?(a(),u("div",Gt,[l.value?(a(),u("div",zt,[k(O,{class:"edit-link-button",href:r(n).url,"no-icon":!0},{default:f(()=>[V[0]||(V[0]=p("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),F(" "+w(r(n).text),1)]),_:1},8,["href"])])):h("",!0),v.value?(a(),u("div",Kt,[k(Rt)])):h("",!0)])):h("",!0),(b=r(i).prev)!=null&&b.link||(P=r(i).next)!=null&&P.link?(a(),u("nav",Wt,[V[1]||(V[1]=p("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),p("div",qt,[(S=r(i).prev)!=null&&S.link?(a(),g(O,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:f(()=>{var C;return[p("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,Jt),p("span",{class:"title",innerHTML:r(i).prev.text},null,8,Yt)]}),_:1},8,["href"])):h("",!0)]),p("div",Xt,[(E=r(i).next)!=null&&E.link?(a(),g(O,{key:0,class:"pager-link next",href:r(i).next.link},{default:f(()=>{var C;return[p("span",{class:"desc",innerHTML:((C=r(e).docFooter)==null?void 0:C.next)||"Next page"},null,8,Qt),p("span",{class:"title",innerHTML:r(i).next.text},null,8,Zt)]}),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}}),en=$(xt,[["__scopeId","data-v-4f9813fa"]]),tn={class:"container"},nn={class:"aside-container"},on={class:"aside-content"},sn={class:"content"},an={class:"content-container"},rn={class:"main"},ln=m({__name:"VPDoc",setup(s){const{theme:e}=L(),t=ee(),{hasSidebar:o,hasAside:n,leftAside:i}=U(),l=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(v,d)=>{const _=K("Content");return a(),u("div",{class:I(["VPDoc",{"has-sidebar":r(o),"has-aside":r(n)}])},[c(v.$slots,"doc-top",{},void 0,!0),p("div",tn,[r(n)?(a(),u("div",{key:0,class:I(["aside",{"left-aside":r(i)}])},[d[0]||(d[0]=p("div",{class:"aside-curtain"},null,-1)),p("div",nn,[p("div",on,[k(At,null,{"aside-top":f(()=>[c(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):h("",!0),p("div",sn,[p("div",an,[c(v.$slots,"doc-before",{},void 0,!0),p("main",rn,[k(_,{class:I(["vp-doc",[l.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),k(en,null,{"doc-footer-before":f(()=>[c(v.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(v.$slots,"doc-after",{},void 0,!0)])])]),c(v.$slots,"doc-bottom",{},void 0,!0)],2)}}}),cn=$(ln,[["__scopeId","data-v-83890dd9"]]),un=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.href&&Ve.test(e.href)),o=y(()=>e.tag||e.href?"a":"button");return(n,i)=>(a(),g(D(o.value),{class:I(["VPButton",[n.size,n.theme]]),href:n.href?r(me)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:f(()=>[F(w(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),dn=$(un,[["__scopeId","data-v-14206e74"]]),vn=["src","alt"],pn=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const o=K("VPImage",!0);return e.image?(a(),u(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),u("img",j({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(ve)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,vn)):(a(),u(M,{key:1},[k(o,j({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),k(o,j({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),Q=$(pn,[["__scopeId","data-v-35a7d0b8"]]),fn={class:"container"},hn={class:"main"},mn={key:0,class:"name"},_n=["innerHTML"],bn=["innerHTML"],kn=["innerHTML"],gn={key:0,class:"actions"},$n={key:0,class:"image"},yn={class:"image-container"},Pn=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=q("hero-image-slot-exists");return(t,o)=>(a(),u("div",{class:I(["VPHero",{"has-image":t.image||r(e)}])},[p("div",fn,[p("div",hn,[c(t.$slots,"home-hero-info-before",{},void 0,!0),c(t.$slots,"home-hero-info",{},()=>[t.name?(a(),u("h1",mn,[p("span",{innerHTML:t.name,class:"clip"},null,8,_n)])):h("",!0),t.text?(a(),u("p",{key:1,innerHTML:t.text,class:"text"},null,8,bn)):h("",!0),t.tagline?(a(),u("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,kn)):h("",!0)],!0),c(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),u("div",gn,[(a(!0),u(M,null,A(t.actions,n=>(a(),u("div",{key:n.link,class:"action"},[k(dn,{tag:"a",size:"medium",theme:n.theme,text:n.text,href:n.link,target:n.target,rel:n.rel},null,8,["theme","text","href","target","rel"])]))),128))])):h("",!0),c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),u("div",$n,[p("div",yn,[o[0]||(o[0]=p("div",{class:"image-bg"},null,-1)),c(t.$slots,"home-hero-image",{},()=>[t.image?(a(),g(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),Sn=$(Pn,[["__scopeId","data-v-955009fc"]]),Vn=m({__name:"VPHomeHero",setup(s){const{frontmatter:e}=L();return(t,o)=>r(e).hero?(a(),g(Sn,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":f(()=>[c(t.$slots,"home-hero-info-before")]),"home-hero-info":f(()=>[c(t.$slots,"home-hero-info")]),"home-hero-info-after":f(()=>[c(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":f(()=>[c(t.$slots,"home-hero-actions-after")]),"home-hero-image":f(()=>[c(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):h("",!0)}}),Ln={class:"box"},Tn={key:0,class:"icon"},Nn=["innerHTML"],wn=["innerHTML"],In=["innerHTML"],Mn={key:4,class:"link-text"},En={class:"link-text-value"},Cn=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),g(O,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:f(()=>[p("article",Ln,[typeof e.icon=="object"&&e.icon.wrap?(a(),u("div",Tn,[k(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),g(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Nn)):h("",!0),p("h2",{class:"title",innerHTML:e.title},null,8,wn),e.details?(a(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,In)):h("",!0),e.linkText?(a(),u("div",Mn,[p("p",En,[F(w(e.linkText)+" ",1),t[0]||(t[0]=p("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):h("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),An=$(Cn,[["__scopeId","data-v-f5e9645b"]]),Bn={key:0,class:"VPFeatures"},Hn={class:"container"},Dn={class:"items"},On=m({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=y(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,n)=>o.features?(a(),u("div",Bn,[p("div",Hn,[p("div",Dn,[(a(!0),u(M,null,A(o.features,i=>(a(),u("div",{key:i.title,class:I(["item",[t.value]])},[k(An,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):h("",!0)}}),Fn=$(On,[["__scopeId","data-v-d0a190d7"]]),Un=m({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=L();return(t,o)=>r(e).features?(a(),g(Fn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):h("",!0)}}),Rn=m({__name:"VPHomeContent",setup(s){const{width:e}=Ke({initialWidth:0,includeScrollbar:!1});return(t,o)=>(a(),u("div",{class:"vp-doc container",style:Le(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[c(t.$slots,"default",{},void 0,!0)],4))}}),jn=$(Rn,[["__scopeId","data-v-7a48a447"]]),Gn={class:"VPHome"},zn=m({__name:"VPHome",setup(s){const{frontmatter:e}=L();return(t,o)=>{const n=K("Content");return a(),u("div",Gn,[c(t.$slots,"home-hero-before",{},void 0,!0),k(Vn,null,{"home-hero-info-before":f(()=>[c(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(t.$slots,"home-hero-after",{},void 0,!0),c(t.$slots,"home-features-before",{},void 0,!0),k(Un),c(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),g(jn,{key:0},{default:f(()=>[k(n)]),_:1})):(a(),g(n,{key:1}))])}}}),Kn=$(zn,[["__scopeId","data-v-cbb6ec48"]]),Wn={},qn={class:"VPPage"};function Jn(s,e){const t=K("Content");return a(),u("div",qn,[c(s.$slots,"page-top"),k(t),c(s.$slots,"page-bottom")])}const Yn=$(Wn,[["render",Jn]]),Xn=m({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=L(),{hasSidebar:o}=U();return(n,i)=>(a(),u("div",{class:I(["VPContent",{"has-sidebar":r(o),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?c(n.$slots,"not-found",{key:0},()=>[k(ft)],!0):r(t).layout==="page"?(a(),g(Yn,{key:1},{"page-top":f(()=>[c(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),g(Kn,{key:2},{"home-hero-before":f(()=>[c(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),g(D(r(t).layout),{key:3})):(a(),g(cn,{key:4},{"doc-top":f(()=>[c(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":f(()=>[c(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":f(()=>[c(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":f(()=>[c(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":f(()=>[c(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Qn=$(Xn,[["__scopeId","data-v-91765379"]]),Zn={class:"container"},xn=["innerHTML"],eo=["innerHTML"],to=m({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=L(),{hasSidebar:o}=U();return(n,i)=>r(e).footer&&r(t).footer!==!1?(a(),u("footer",{key:0,class:I(["VPFooter",{"has-sidebar":r(o)}])},[p("div",Zn,[r(e).footer.message?(a(),u("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,xn)):h("",!0),r(e).footer.copyright?(a(),u("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,eo)):h("",!0)])],2)):h("",!0)}}),no=$(to,[["__scopeId","data-v-c970a860"]]);function oo(){const{theme:s,frontmatter:e}=L(),t=Se([]),o=y(()=>t.value.length>0);return x(()=>{t.value=_e(e.value.outline??s.value.outline)}),{headers:t,hasLocalNav:o}}const so={class:"menu-text"},ao={class:"header"},ro={class:"outline"},io=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=L(),o=T(!1),n=T(0),i=T(),l=T();function v(b){var P;(P=i.value)!=null&&P.contains(b.target)||(o.value=!1)}H(o,b=>{if(b){document.addEventListener("click",v);return}document.removeEventListener("click",v)}),ie("Escape",()=>{o.value=!1}),x(()=>{o.value=!1});function d(){o.value=!o.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function _(b){b.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),Te(()=>{o.value=!1}))}function V(){o.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,P)=>(a(),u("div",{class:"VPLocalNavOutlineDropdown",style:Le({"--vp-vh":n.value+"px"}),ref_key:"main",ref:i},[b.headers.length>0?(a(),u("button",{key:0,onClick:d,class:I({open:o.value})},[p("span",so,w(r(Ee)(r(t))),1),P[0]||(P[0]=p("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),u("button",{key:1,onClick:V},w(r(t).returnToTopLabel||"Return to top"),1)),k(de,{name:"flyout"},{default:f(()=>[o.value?(a(),u("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:_},[p("div",ao,[p("a",{class:"top-link",href:"#",onClick:V},w(r(t).returnToTopLabel||"Return to top"),1)]),p("div",ro,[k(Ce,{headers:b.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),lo=$(io,[["__scopeId","data-v-bc9dc845"]]),co={class:"container"},uo=["aria-expanded"],vo={class:"menu-text"},po=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=L(),{hasSidebar:o}=U(),{headers:n}=oo(),{y:i}=Ne(),l=T(0);G(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{n.value=_e(t.value.outline??e.value.outline)});const v=y(()=>n.value.length===0),d=y(()=>v.value&&!o.value),_=y(()=>({VPLocalNav:!0,"has-sidebar":o.value,empty:v.value,fixed:d.value}));return(V,b)=>r(t).layout!=="home"&&(!d.value||r(i)>=l.value)?(a(),u("div",{key:0,class:I(_.value)},[p("div",co,[r(o)?(a(),u("button",{key:0,class:"menu","aria-expanded":V.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=P=>V.$emit("open-menu"))},[b[1]||(b[1]=p("span",{class:"vpi-align-left menu-icon"},null,-1)),p("span",vo,w(r(e).sidebarMenuLabel||"Menu"),1)],8,uo)):h("",!0),k(lo,{headers:r(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),fo=$(po,[["__scopeId","data-v-070ab83d"]]);function ho(){const s=T(!1);function e(){s.value=!0,window.addEventListener("resize",n)}function t(){s.value=!1,window.removeEventListener("resize",n)}function o(){s.value?t():e()}function n(){window.outerWidth>=768&&t()}const i=ee();return H(()=>i.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:o}}const mo={},_o={class:"VPSwitch",type:"button",role:"switch"},bo={class:"check"},ko={key:0,class:"icon"};function go(s,e){return a(),u("button",_o,[p("span",bo,[s.$slots.default?(a(),u("span",ko,[c(s.$slots,"default",{},void 0,!0)])):h("",!0)])])}const $o=$(mo,[["render",go],["__scopeId","data-v-4a1c76db"]]),yo=m({__name:"VPSwitchAppearance",setup(s){const{isDark:e,theme:t}=L(),o=q("toggle-appearance",()=>{e.value=!e.value}),n=T("");return fe(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,l)=>(a(),g($o,{title:n.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(o)},{default:f(()=>l[0]||(l[0]=[p("span",{class:"vpi-sun sun"},null,-1),p("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),be=$(yo,[["__scopeId","data-v-e40a8bb6"]]),Po={key:0,class:"VPNavBarAppearance"},So=m({__name:"VPNavBarAppearance",setup(s){const{site:e}=L();return(t,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",Po,[k(be)])):h("",!0)}}),Vo=$(So,[["__scopeId","data-v-af096f4a"]]),ke=T();let Ae=!1,ae=0;function Lo(s){const e=T(!1);if(te){!Ae&&To(),ae++;const t=H(ke,o=>{var n,i,l;o===s.el.value||(n=s.el.value)!=null&&n.contains(o)?(e.value=!0,(i=s.onFocus)==null||i.call(s)):(e.value=!1,(l=s.onBlur)==null||l.call(s))});pe(()=>{t(),ae--,ae||No()})}return We(e)}function To(){document.addEventListener("focusin",Be),Ae=!0,ke.value=document.activeElement}function No(){document.removeEventListener("focusin",Be)}function Be(){ke.value=document.activeElement}const wo={class:"VPMenuLink"},Io=m({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=L();return(t,o)=>(a(),u("div",wo,[k(O,{class:I({active:r(z)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:f(()=>[F(w(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=$(Io,[["__scopeId","data-v-8b74d055"]]),Mo={class:"VPMenuGroup"},Eo={key:0,class:"title"},Co=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",Mo,[e.text?(a(),u("p",Eo,w(e.text),1)):h("",!0),(a(!0),u(M,null,A(e.items,o=>(a(),u(M,null,["link"in o?(a(),g(ne,{key:0,item:o},null,8,["item"])):h("",!0)],64))),256))]))}}),Ao=$(Co,[["__scopeId","data-v-48c802d0"]]),Bo={class:"VPMenu"},Ho={key:0,class:"items"},Do=m({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),u("div",Bo,[e.items?(a(),u("div",Ho,[(a(!0),u(M,null,A(e.items,o=>(a(),u(M,{key:JSON.stringify(o)},["link"in o?(a(),g(ne,{key:0,item:o},null,8,["item"])):"component"in o?(a(),g(D(o.component),j({key:1,ref_for:!0},o.props),null,16)):(a(),g(Ao,{key:2,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):h("",!0),c(e.$slots,"default",{},void 0,!0)]))}}),Oo=$(Do,[["__scopeId","data-v-7dd3104a"]]),Fo=["aria-expanded","aria-label"],Uo={key:0,class:"text"},Ro=["innerHTML"],jo={key:1,class:"vpi-more-horizontal icon"},Go={class:"menu"},zo=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=T(!1),t=T();Lo({el:t,onBlur:o});function o(){e.value=!1}return(n,i)=>(a(),u("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=l=>e.value=!0),onMouseleave:i[2]||(i[2]=l=>e.value=!1)},[p("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:i[0]||(i[0]=l=>e.value=!e.value)},[n.button||n.icon?(a(),u("span",Uo,[n.icon?(a(),u("span",{key:0,class:I([n.icon,"option-icon"])},null,2)):h("",!0),n.button?(a(),u("span",{key:1,innerHTML:n.button},null,8,Ro)):h("",!0),i[3]||(i[3]=p("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),u("span",jo))],8,Fo),p("div",Go,[k(Oo,{items:n.items},{default:f(()=>[c(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ge=$(zo,[["__scopeId","data-v-e5380155"]]),Ko=["href","aria-label","innerHTML"],Wo=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=y(()=>typeof e.icon=="object"?e.icon.svg:``);return(o,n)=>(a(),u("a",{class:"VPSocialLink no-icon",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Ko))}}),qo=$(Wo,[["__scopeId","data-v-717b8b75"]]),Jo={class:"VPSocialLinks"},Yo=m({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),u("div",Jo,[(a(!0),u(M,null,A(e.links,({link:o,icon:n,ariaLabel:i})=>(a(),g(qo,{key:o,icon:n,link:o,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),$e=$(Yo,[["__scopeId","data-v-ee7a9424"]]),Xo={key:0,class:"group translations"},Qo={class:"trans-title"},Zo={key:1,class:"group"},xo={class:"item appearance"},es={class:"label"},ts={class:"appearance-action"},ns={key:2,class:"group"},os={class:"item social-links"},ss=m({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=L(),{localeLinks:o,currentLang:n}=Y({correspondingLink:!0}),i=y(()=>o.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,v)=>i.value?(a(),g(ge,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:f(()=>[r(o).length&&r(n).label?(a(),u("div",Xo,[p("p",Qo,w(r(n).label),1),(a(!0),u(M,null,A(r(o),d=>(a(),g(ne,{key:d.link,item:d},null,8,["item"]))),128))])):h("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",Zo,[p("div",xo,[p("p",es,w(r(t).darkModeSwitchLabel||"Appearance"),1),p("div",ts,[k(be)])])])):h("",!0),r(t).socialLinks?(a(),u("div",ns,[p("div",os,[k($e,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),as=$(ss,[["__scopeId","data-v-925effce"]]),rs=["aria-expanded"],is=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),u("button",{type:"button",class:I(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},t[1]||(t[1]=[p("span",{class:"container"},[p("span",{class:"top"}),p("span",{class:"middle"}),p("span",{class:"bottom"})],-1)]),10,rs))}}),ls=$(is,[["__scopeId","data-v-5dea55bf"]]),cs=["innerHTML"],us=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=L();return(t,o)=>(a(),g(O,{class:I({VPNavBarMenuLink:!0,active:r(z)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:f(()=>[p("span",{innerHTML:t.item.text},null,8,cs)]),_:1},8,["class","href","noIcon","target","rel"]))}}),ds=$(us,[["__scopeId","data-v-ed5ac1f6"]]),vs=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=L(),o=i=>"component"in i?!1:"link"in i?z(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(o),n=y(()=>o(e.item));return(i,l)=>(a(),g(ge,{class:I({VPNavBarMenuGroup:!0,active:r(z)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||n.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),ps={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},fs=m({__name:"VPNavBarMenu",setup(s){const{theme:e}=L();return(t,o)=>r(e).nav?(a(),u("nav",ps,[o[0]||(o[0]=p("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),u(M,null,A(r(e).nav,n=>(a(),u(M,{key:JSON.stringify(n)},["link"in n?(a(),g(ds,{key:0,item:n},null,8,["item"])):"component"in n?(a(),g(D(n.component),j({key:1,ref_for:!0},n.props),null,16)):(a(),g(vs,{key:2,item:n},null,8,["item"]))],64))),128))])):h("",!0)}}),hs=$(fs,[["__scopeId","data-v-e6d46098"]]);function ms(s){const{localeIndex:e,theme:t}=L();function o(n){var E,C,N;const i=n.split("."),l=(E=t.value.search)==null?void 0:E.options,v=l&&typeof l=="object",d=v&&((N=(C=l.locales)==null?void 0:C[e.value])==null?void 0:N.translations)||null,_=v&&l.translations||null;let V=d,b=_,P=s;const S=i.pop();for(const B of i){let R=null;const W=P==null?void 0:P[B];W&&(R=P=W);const oe=b==null?void 0:b[B];oe&&(R=b=oe);const se=V==null?void 0:V[B];se&&(R=V=se),W||(P=R),oe||(b=R),se||(V=R)}return(V==null?void 0:V[S])??(b==null?void 0:b[S])??(P==null?void 0:P[S])??""}return o}const _s=["aria-label"],bs={class:"DocSearch-Button-Container"},ks={class:"DocSearch-Button-Placeholder"},ye=m({__name:"VPNavBarSearchButton",setup(s){const t=ms({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(o,n)=>(a(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[p("span",bs,[n[0]||(n[0]=p("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),p("span",ks,w(r(t)("button.buttonText")),1)]),n[1]||(n[1]=p("span",{class:"DocSearch-Button-Keys"},[p("kbd",{class:"DocSearch-Button-Key"}),p("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,_s))}}),gs={class:"VPNavBarSearch"},$s={id:"local-search"},ys={key:1,id:"docsearch"},Ps=m({__name:"VPNavBarSearch",setup(s){const e=qe(()=>Je(()=>import("./VPLocalSearchBox.DV7xqjdA.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:o}=L(),n=T(!1),i=T(!1);G(()=>{});function l(){n.value||(n.value=!0,setTimeout(v,16))}function v(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||v()},16)}function d(b){const P=b.target,S=P.tagName;return P.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const _=T(!1);ie("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),_.value=!0)}),ie("/",b=>{d(b)||(b.preventDefault(),_.value=!0)});const V="local";return(b,P)=>{var S;return a(),u("div",gs,[r(V)==="local"?(a(),u(M,{key:0},[_.value?(a(),g(r(e),{key:0,onClose:P[0]||(P[0]=E=>_.value=!1)})):h("",!0),p("div",$s,[k(ye,{onClick:P[1]||(P[1]=E=>_.value=!0)})])],64)):r(V)==="algolia"?(a(),u(M,{key:1},[n.value?(a(),g(r(t),{key:0,algolia:((S=r(o).search)==null?void 0:S.options)??r(o).algolia,onVnodeBeforeMount:P[2]||(P[2]=E=>i.value=!0)},null,8,["algolia"])):h("",!0),i.value?h("",!0):(a(),u("div",ys,[k(ye,{onClick:l})]))],64)):h("",!0)])}}}),Ss=m({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=L();return(t,o)=>r(e).socialLinks?(a(),g($e,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),Vs=$(Ss,[["__scopeId","data-v-164c457f"]]),Ls=["href","rel","target"],Ts={key:1},Ns={key:2},ws=m({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=L(),{hasSidebar:o}=U(),{currentLang:n}=Y(),i=y(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=y(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),v=y(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,_)=>(a(),u("div",{class:I(["VPNavBarTitle",{"has-sidebar":r(o)}])},[p("a",{class:"title",href:i.value??r(me)(r(n).link),rel:l.value,target:v.value},[c(d.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),g(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):h("",!0),r(t).siteTitle?(a(),u("span",Ts,w(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),u("span",Ns,w(r(e).title),1)):h("",!0),c(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ls)],2))}}),Is=$(ws,[["__scopeId","data-v-28a961f9"]]),Ms={class:"items"},Es={class:"title"},Cs=m({__name:"VPNavBarTranslations",setup(s){const{theme:e}=L(),{localeLinks:t,currentLang:o}=Y({correspondingLink:!0});return(n,i)=>r(t).length&&r(o).label?(a(),g(ge,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:f(()=>[p("div",Ms,[p("p",Es,w(r(o).label),1),(a(!0),u(M,null,A(r(t),l=>(a(),g(ne,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):h("",!0)}}),As=$(Cs,[["__scopeId","data-v-c80d9ad0"]]),Bs={class:"wrapper"},Hs={class:"container"},Ds={class:"title"},Os={class:"content"},Fs={class:"content-body"},Us=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const e=s,{y:t}=Ne(),{hasSidebar:o}=U(),{frontmatter:n}=L(),i=T({});return fe(()=>{i.value={"has-sidebar":o.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,v)=>(a(),u("div",{class:I(["VPNavBar",i.value])},[p("div",Bs,[p("div",Hs,[p("div",Ds,[k(Is,null,{"nav-bar-title-before":f(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),p("div",Os,[p("div",Fs,[c(l.$slots,"nav-bar-content-before",{},void 0,!0),k(Ps,{class:"search"}),k(hs,{class:"menu"}),k(As,{class:"translations"}),k(Vo,{class:"appearance"}),k(Vs,{class:"social-links"}),k(as,{class:"extra"}),c(l.$slots,"nav-bar-content-after",{},void 0,!0),k(ls,{class:"hamburger",active:l.isScreenOpen,onClick:v[0]||(v[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),v[1]||(v[1]=p("div",{class:"divider"},[p("div",{class:"divider-line"})],-1))],2))}}),Rs=$(Us,[["__scopeId","data-v-822684d1"]]),js={key:0,class:"VPNavScreenAppearance"},Gs={class:"text"},zs=m({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=L();return(o,n)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",js,[p("p",Gs,w(r(t).darkModeSwitchLabel||"Appearance"),1),k(be)])):h("",!0)}}),Ks=$(zs,[["__scopeId","data-v-ffb44008"]]),Ws=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=q("close-screen");return(t,o)=>(a(),g(O,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),qs=$(Ws,[["__scopeId","data-v-27d04aeb"]]),Js=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=q("close-screen");return(t,o)=>(a(),g(O,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:f(()=>[F(w(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),He=$(Js,[["__scopeId","data-v-7179dbb7"]]),Ys={class:"VPNavScreenMenuGroupSection"},Xs={key:0,class:"title"},Qs=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",Ys,[e.text?(a(),u("p",Xs,w(e.text),1)):h("",!0),(a(!0),u(M,null,A(e.items,o=>(a(),g(He,{key:o.text,item:o},null,8,["item"]))),128))]))}}),Zs=$(Qs,[["__scopeId","data-v-4b8941ac"]]),xs=["aria-controls","aria-expanded"],ea=["innerHTML"],ta=["id"],na={key:0,class:"item"},oa={key:1,class:"item"},sa={key:2,class:"group"},aa=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=T(!1),o=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(i,l)=>(a(),u("div",{class:I(["VPNavScreenMenuGroup",{open:t.value}])},[p("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:n},[p("span",{class:"button-text",innerHTML:i.text},null,8,ea),l[0]||(l[0]=p("span",{class:"vpi-plus button-icon"},null,-1))],8,xs),p("div",{id:o.value,class:"items"},[(a(!0),u(M,null,A(i.items,v=>(a(),u(M,{key:JSON.stringify(v)},["link"in v?(a(),u("div",na,[k(He,{item:v},null,8,["item"])])):"component"in v?(a(),u("div",oa,[(a(),g(D(v.component),j({ref_for:!0},v.props,{"screen-menu":""}),null,16))])):(a(),u("div",sa,[k(Zs,{text:v.text,items:v.items},null,8,["text","items"])]))],64))),128))],8,ta)],2))}}),ra=$(aa,[["__scopeId","data-v-875057a5"]]),ia={key:0,class:"VPNavScreenMenu"},la=m({__name:"VPNavScreenMenu",setup(s){const{theme:e}=L();return(t,o)=>r(e).nav?(a(),u("nav",ia,[(a(!0),u(M,null,A(r(e).nav,n=>(a(),u(M,{key:JSON.stringify(n)},["link"in n?(a(),g(qs,{key:0,item:n},null,8,["item"])):"component"in n?(a(),g(D(n.component),j({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(a(),g(ra,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),ca=m({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=L();return(t,o)=>r(e).socialLinks?(a(),g($e,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),ua={class:"list"},da=m({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=Y({correspondingLink:!0}),o=T(!1);function n(){o.value=!o.value}return(i,l)=>r(e).length&&r(t).label?(a(),u("div",{key:0,class:I(["VPNavScreenTranslations",{open:o.value}])},[p("button",{class:"title",onClick:n},[l[0]||(l[0]=p("span",{class:"vpi-languages icon lang"},null,-1)),F(" "+w(r(t).label)+" ",1),l[1]||(l[1]=p("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),p("ul",ua,[(a(!0),u(M,null,A(r(e),v=>(a(),u("li",{key:v.link,class:"item"},[k(O,{class:"link",href:v.link},{default:f(()=>[F(w(v.text),1)]),_:2},1032,["href"])]))),128))])],2)):h("",!0)}}),va=$(da,[["__scopeId","data-v-362991c2"]]),pa={class:"container"},fa=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=T(null),t=we(te?document.body:null);return(o,n)=>(a(),g(de,{name:"fade",onEnter:n[0]||(n[0]=i=>t.value=!0),onAfterLeave:n[1]||(n[1]=i=>t.value=!1)},{default:f(()=>[o.open?(a(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[p("div",pa,[c(o.$slots,"nav-screen-content-before",{},void 0,!0),k(la,{class:"menu"}),k(va,{class:"translations"}),k(Ks,{class:"appearance"}),k(ca,{class:"social-links"}),c(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):h("",!0)]),_:3}))}}),ha=$(fa,[["__scopeId","data-v-833aabba"]]),ma={key:0,class:"VPNav"},_a=m({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=ho(),{frontmatter:n}=L(),i=y(()=>n.value.navbar!==!1);return he("close-screen",t),Z(()=>{te&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(l,v)=>i.value?(a(),u("header",ma,[k(Rs,{"is-screen-open":r(e),onToggleScreen:r(o)},{"nav-bar-title-before":f(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),k(ha,{open:r(e)},{"nav-screen-content-before":f(()=>[c(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):h("",!0)}}),ba=$(_a,[["__scopeId","data-v-f1e365da"]]),ka=["role","tabindex"],ga={key:1,class:"items"},$a=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:o,isLink:n,isActiveLink:i,hasActiveLink:l,hasChildren:v,toggle:d}=bt(y(()=>e.item)),_=y(()=>v.value?"section":"div"),V=y(()=>n.value?"a":"div"),b=y(()=>v.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),P=y(()=>n.value?void 0:"button"),S=y(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":n.value},{"is-active":i.value},{"has-active":l.value}]);function E(N){"key"in N&&N.key!=="Enter"||!e.item.link&&d()}function C(){e.item.link&&d()}return(N,B)=>{const R=K("VPSidebarItem",!0);return a(),g(D(_.value),{class:I(["VPSidebarItem",S.value])},{default:f(()=>[N.item.text?(a(),u("div",j({key:0,class:"item",role:P.value},Ye(N.item.items?{click:E,keydown:E}:{},!0),{tabindex:N.item.items&&0}),[B[1]||(B[1]=p("div",{class:"indicator"},null,-1)),N.item.link?(a(),g(O,{key:0,tag:V.value,class:"link",href:N.item.link,rel:N.item.rel,target:N.item.target},{default:f(()=>[(a(),g(D(b.value),{class:"text",innerHTML:N.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),g(D(b.value),{key:1,class:"text",innerHTML:N.item.text},null,8,["innerHTML"])),N.item.collapsed!=null&&N.item.items&&N.item.items.length?(a(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:C,onKeydown:Xe(C,["enter"]),tabindex:"0"},B[0]||(B[0]=[p("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):h("",!0)],16,ka)):h("",!0),N.item.items&&N.item.items.length?(a(),u("div",ga,[N.depth<5?(a(!0),u(M,{key:0},A(N.item.items,W=>(a(),g(R,{key:W.text,item:W,depth:N.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),ya=$($a,[["__scopeId","data-v-196b2e5f"]]),Pa=m({__name:"VPSidebarGroup",props:{items:{}},setup(s){const e=T(!0);let t=null;return G(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Qe(()=>{t!=null&&(clearTimeout(t),t=null)}),(o,n)=>(a(!0),u(M,null,A(o.items,i=>(a(),u("div",{key:i.text,class:I(["group",{"no-transition":e.value}])},[k(ya,{item:i,depth:0},null,8,["item"])],2))),128))}}),Sa=$(Pa,[["__scopeId","data-v-9e426adc"]]),Va={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},La=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=U(),o=s,n=T(null),i=we(te?document.body:null);H([o,n],()=>{var v;o.open?(i.value=!0,(v=n.value)==null||v.focus()):i.value=!1},{immediate:!0,flush:"post"});const l=T(0);return H(e,()=>{l.value+=1},{deep:!0}),(v,d)=>r(t)?(a(),u("aside",{key:0,class:I(["VPSidebar",{open:v.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=Ze(()=>{},["stop"]))},[d[2]||(d[2]=p("div",{class:"curtain"},null,-1)),p("nav",Va,[d[1]||(d[1]=p("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),c(v.$slots,"sidebar-nav-before",{},void 0,!0),(a(),g(Sa,{items:r(e),key:l.value},null,8,["items"])),c(v.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),Ta=$(La,[["__scopeId","data-v-18756405"]]),Na=m({__name:"VPSkipLink",setup(s){const e=ee(),t=T();H(()=>e.path,()=>t.value.focus());function o({target:n}){const i=document.getElementById(decodeURIComponent(n.hash).slice(1));if(i){const l=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",l)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",l),i.focus(),window.scrollTo(0,0)}}return(n,i)=>(a(),u(M,null,[p("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),p("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}}),wa=$(Na,[["__scopeId","data-v-c3508ec8"]]),Ia=m({__name:"Layout",setup(s){const{isOpen:e,open:t,close:o}=U(),n=ee();H(()=>n.path,o),_t(e,o);const{frontmatter:i}=L(),l=Ie(),v=y(()=>!!l["home-hero-image"]);return he("hero-image-slot-exists",v),(d,_)=>{const V=K("Content");return r(i).layout!==!1?(a(),u("div",{key:0,class:I(["Layout",r(i).pageClass])},[c(d.$slots,"layout-top",{},void 0,!0),k(wa),k(st,{class:"backdrop",show:r(e),onClick:r(o)},null,8,["show","onClick"]),k(ba,null,{"nav-bar-title-before":f(()=>[c(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":f(()=>[c(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),k(fo,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),k(Ta,{open:r(e)},{"sidebar-nav-before":f(()=>[c(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":f(()=>[c(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),k(Qn,null,{"page-top":f(()=>[c(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":f(()=>[c(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":f(()=>[c(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":f(()=>[c(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":f(()=>[c(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":f(()=>[c(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),k(no),c(d.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),g(V,{key:1}))}}}),Ma=$(Ia,[["__scopeId","data-v-a9a9e638"]]),Ea={Layout:Ma,enhanceApp:({app:s})=>{s.component("Badge",tt)}},Ca=s=>{if(typeof document>"u")return{stabilizeScrollPosition:n=>async(...i)=>n(...i)};const e=document.documentElement;return{stabilizeScrollPosition:o=>async(...n)=>{const i=o(...n),l=s.value;if(!l)return i;const v=l.offsetTop-e.scrollTop;return await Te(),e.scrollTop=l.offsetTop-v,i}}},De="vitepress:tabSharedState",J=typeof localStorage<"u"?localStorage:null,Oe="vitepress:tabsSharedState",Aa=()=>{const s=J==null?void 0:J.getItem(Oe);if(s)try{return JSON.parse(s)}catch{}return{}},Ba=s=>{J&&J.setItem(Oe,JSON.stringify(s))},Ha=s=>{const e=xe({});H(()=>e.content,(t,o)=>{t&&o&&Ba(t)},{deep:!0}),s.provide(De,e)},Da=(s,e)=>{const t=q(De);if(!t)throw new Error("[vitepress-plugin-tabs] TabsSharedState should be injected");G(()=>{t.content||(t.content=Aa())});const o=T(),n=y({get(){var d;const l=e.value,v=s.value;if(l){const _=(d=t.content)==null?void 0:d[l];if(_&&v.includes(_))return _}else{const _=o.value;if(_)return _}return v[0]},set(l){const v=e.value;v?t.content&&(t.content[v]=l):o.value=l}});return{selected:n,select:l=>{n.value=l}}};let Pe=0;const Oa=()=>(Pe++,""+Pe);function Fa(){const s=Ie();return y(()=>{var o;const t=(o=s.default)==null?void 0:o.call(s);return t?t.filter(n=>typeof n.type=="object"&&"__name"in n.type&&n.type.__name==="PluginTabsTab"&&n.props).map(n=>{var i;return(i=n.props)==null?void 0:i.label}):[]})}const Fe="vitepress:tabSingleState",Ua=s=>{he(Fe,s)},Ra=()=>{const s=q(Fe);if(!s)throw new Error("[vitepress-plugin-tabs] TabsSingleState should be injected");return s},ja={class:"plugin-tabs"},Ga=["id","aria-selected","aria-controls","tabindex","onClick"],za=m({__name:"PluginTabs",props:{sharedStateKey:{}},setup(s){const e=s,t=Fa(),{selected:o,select:n}=Da(t,et(e,"sharedStateKey")),i=T(),{stabilizeScrollPosition:l}=Ca(i),v=l(n),d=T([]),_=b=>{var E;const P=t.value.indexOf(o.value);let S;b.key==="ArrowLeft"?S=P>=1?P-1:t.value.length-1:b.key==="ArrowRight"&&(S=P(a(),u("div",ja,[p("div",{ref_key:"tablist",ref:i,class:"plugin-tabs--tab-list",role:"tablist",onKeydown:_},[(a(!0),u(M,null,A(r(t),S=>(a(),u("button",{id:`tab-${S}-${r(V)}`,ref_for:!0,ref_key:"buttonRefs",ref:d,key:S,role:"tab",class:"plugin-tabs--tab","aria-selected":S===r(o),"aria-controls":`panel-${S}-${r(V)}`,tabindex:S===r(o)?0:-1,onClick:()=>r(v)(S)},w(S),9,Ga))),128))],544),c(b.$slots,"default")]))}}),Ka=["id","aria-labelledby"],Wa=m({__name:"PluginTabsTab",props:{label:{}},setup(s){const{uid:e,selected:t}=Ra();return(o,n)=>r(t)===o.label?(a(),u("div",{key:0,id:`panel-${o.label}-${r(e)}`,class:"plugin-tabs--content",role:"tabpanel",tabindex:"0","aria-labelledby":`tab-${o.label}-${r(e)}`},[c(o.$slots,"default",{},void 0,!0)],8,Ka)):h("",!0)}}),qa=$(Wa,[["__scopeId","data-v-9b0d03d2"]]),Ja=s=>{Ha(s),s.component("PluginTabs",za),s.component("PluginTabsTab",qa)},Xa={extends:Ea,async enhanceApp({app:s,router:e,siteData:t}){if(Ja(s),typeof window<"u"){let o=function(){if(!(window.DOCUMENTER_NEWEST===void 0||window.DOCUMENTER_CURRENT_VERSION===void 0||window.DOCUMENTER_STABLE===void 0)&&window.DOCUMENTER_NEWEST===window.DOCUMENTER_CURRENT_VERSION){const n=window.location.href.replace(window.DOCUMENTER_CURRENT_VERSION,window.DOCUMENTER_STABLE);window.history.replaceState({additionalInformation:"URL rewritten to stable"},"DimensionalData",n);return}};H(()=>e.route.data.relativePath,o,{immediate:!0}),document.addEventListener("DOMContentLoaded",o)}}};export{Xa as R,ms as c,L as u}; diff --git a/previews/PR801/assets/cuda.md.Rut_ExXL.js b/previews/PR801/assets/cuda.md.Rut_ExXL.js new file mode 100644 index 000000000..103555356 --- /dev/null +++ b/previews/PR801/assets/cuda.md.Rut_ExXL.js @@ -0,0 +1,28 @@ +import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.D3Ia4FEQ.js";const C=JSON.parse('{"title":"CUDA & GPUs","description":"","frontmatter":{},"headers":[],"relativePath":"cuda.md","filePath":"cuda.md","lastUpdated":null}'),t={name:"cuda.md"};function l(k,s,p,e,r,d){return h(),a("div",null,s[0]||(s[0]=[n(`

CUDA & GPUs

Running regular julia code on GPUs is one of the most amazing things about the language. DimensionalData.jl leans into this as much as possible.

julia
using DimensionalData, CUDA
+
+# Create a Float32 array to use on the GPU
+A = rand(Float32, X(1.0:1000.0), Y(1.0:2000.0))
+
+# Move the parent data to the GPU with \`modify\` and the \`CuArray\` constructor:
+cuA = modify(CuArray, A)

The result of a GPU broadcast is still a DimArray:

julia
julia> cuA2 = cuA .* 2
+╭───────────────────────────────╮
+1000×2000 DimArray{Float32,2} │
+├───────────────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Float64} 1.0:1.0:1000.0 ForwardOrdered Regular Points,
+ Y Sampled{Float64} 1.0:1.0:2000.0 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────────────┘
+  1.0       2.0        3.0        4.0  1998.0        1999.0        2000.0
+    1.0  1.69506   1.28405    0.989952   0.900394        1.73623       1.30427       1.98193
+    2.0  1.73591   0.929995   0.665742   0.345501        0.162919      1.81708       0.702944
+    3.0  1.24575   1.80455    1.78028    1.49097         0.45804       0.224375      0.0197492
+    4.0  0.374026  1.91495    1.17645    0.995683        0.835288      1.54822       0.487601
+    5.0  1.17673   0.0557598  0.183637   1.90645     0.88058       1.23788       1.59705
+    6.0  1.57019   0.215049   1.9155     0.982762        0.906838      0.1076        0.390081
+                              
+  995.0  1.48275   0.40409    1.37963    1.66622         0.462981      1.4492        1.26917
+  996.0  1.88869   1.86174    0.298383   0.854739     0.778222      1.42151       1.75568
+  997.0  1.88092   1.87436    0.285965   0.304688        1.32669       0.0599431     0.134186
+  998.0  1.18035   1.61025    0.352614   1.75847         0.464554      1.90309       1.30923
+  999.0  1.40584   1.83056    0.0804518  0.177423        1.20779       1.95217       0.881149
+ 1000.0  1.41334   0.719974   0.479126   1.92721         0.0649391     0.642908      1.07277

But the data is on the GPU:

julia
julia> typeof(parent(cuA2))
+CuArray{Float32, 2, CUDA.Mem.DeviceBuffer}

GPU Integration goals

DimensionalData.jl has two GPU-related goals:

  1. Work seamlessly with Base julia broadcasts and other operations that already work on GPU.

  2. Work as arguments to custom GPU kernel functions.

This means any AbstractDimArray must be automatically moved to the GPU and its fields converted to GPU friendly forms whenever required, using Adapt.jl).

  • The array data must converts to the correct GPU array backend when Adapt.adapt(dimarray) is called.

  • All DimensionalData.jl objects, except the actual parent array, need to be immutable isbits or convertible to them. This is one reason DimensionalData.jl uses rebuild and a functional style, rather than in-place modification of fields.

  • Symbols need to be moved to the type system Name{:layer_name}() replaces :layer_name

  • Metadata dicts need to be stripped, they are often too difficult to convert, and not needed on GPU.

As an example, DynamicGrids.jl uses AbstractDimArray for auxiliary model data that are passed into KernelAbstractions.jl/ CUDA.jl kernels.

`,13)]))}const g=i(t,[["render",l]]);export{C as __pageData,g as default}; diff --git a/previews/PR801/assets/cuda.md.Rut_ExXL.lean.js b/previews/PR801/assets/cuda.md.Rut_ExXL.lean.js new file mode 100644 index 000000000..103555356 --- /dev/null +++ b/previews/PR801/assets/cuda.md.Rut_ExXL.lean.js @@ -0,0 +1,28 @@ +import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.D3Ia4FEQ.js";const C=JSON.parse('{"title":"CUDA & GPUs","description":"","frontmatter":{},"headers":[],"relativePath":"cuda.md","filePath":"cuda.md","lastUpdated":null}'),t={name:"cuda.md"};function l(k,s,p,e,r,d){return h(),a("div",null,s[0]||(s[0]=[n(`

CUDA & GPUs

Running regular julia code on GPUs is one of the most amazing things about the language. DimensionalData.jl leans into this as much as possible.

julia
using DimensionalData, CUDA
+
+# Create a Float32 array to use on the GPU
+A = rand(Float32, X(1.0:1000.0), Y(1.0:2000.0))
+
+# Move the parent data to the GPU with \`modify\` and the \`CuArray\` constructor:
+cuA = modify(CuArray, A)

The result of a GPU broadcast is still a DimArray:

julia
julia> cuA2 = cuA .* 2
+╭───────────────────────────────╮
+1000×2000 DimArray{Float32,2} │
+├───────────────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Float64} 1.0:1.0:1000.0 ForwardOrdered Regular Points,
+ Y Sampled{Float64} 1.0:1.0:2000.0 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────────────┘
+  1.0       2.0        3.0        4.0  1998.0        1999.0        2000.0
+    1.0  1.69506   1.28405    0.989952   0.900394        1.73623       1.30427       1.98193
+    2.0  1.73591   0.929995   0.665742   0.345501        0.162919      1.81708       0.702944
+    3.0  1.24575   1.80455    1.78028    1.49097         0.45804       0.224375      0.0197492
+    4.0  0.374026  1.91495    1.17645    0.995683        0.835288      1.54822       0.487601
+    5.0  1.17673   0.0557598  0.183637   1.90645     0.88058       1.23788       1.59705
+    6.0  1.57019   0.215049   1.9155     0.982762        0.906838      0.1076        0.390081
+                              
+  995.0  1.48275   0.40409    1.37963    1.66622         0.462981      1.4492        1.26917
+  996.0  1.88869   1.86174    0.298383   0.854739     0.778222      1.42151       1.75568
+  997.0  1.88092   1.87436    0.285965   0.304688        1.32669       0.0599431     0.134186
+  998.0  1.18035   1.61025    0.352614   1.75847         0.464554      1.90309       1.30923
+  999.0  1.40584   1.83056    0.0804518  0.177423        1.20779       1.95217       0.881149
+ 1000.0  1.41334   0.719974   0.479126   1.92721         0.0649391     0.642908      1.07277

But the data is on the GPU:

julia
julia> typeof(parent(cuA2))
+CuArray{Float32, 2, CUDA.Mem.DeviceBuffer}

GPU Integration goals

DimensionalData.jl has two GPU-related goals:

  1. Work seamlessly with Base julia broadcasts and other operations that already work on GPU.

  2. Work as arguments to custom GPU kernel functions.

This means any AbstractDimArray must be automatically moved to the GPU and its fields converted to GPU friendly forms whenever required, using Adapt.jl).

  • The array data must converts to the correct GPU array backend when Adapt.adapt(dimarray) is called.

  • All DimensionalData.jl objects, except the actual parent array, need to be immutable isbits or convertible to them. This is one reason DimensionalData.jl uses rebuild and a functional style, rather than in-place modification of fields.

  • Symbols need to be moved to the type system Name{:layer_name}() replaces :layer_name

  • Metadata dicts need to be stripped, they are often too difficult to convert, and not needed on GPU.

As an example, DynamicGrids.jl uses AbstractDimArray for auxiliary model data that are passed into KernelAbstractions.jl/ CUDA.jl kernels.

`,13)]))}const g=i(t,[["render",l]]);export{C as __pageData,g as default}; diff --git a/previews/PR801/assets/dimarrays.md.7pjFj3JZ.js b/previews/PR801/assets/dimarrays.md.7pjFj3JZ.js new file mode 100644 index 000000000..73f257d09 --- /dev/null +++ b/previews/PR801/assets/dimarrays.md.7pjFj3JZ.js @@ -0,0 +1,259 @@ +import{_ as d,B as l,c as p,a4 as k,G as h,w as e,o as g,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const u=JSON.parse('{"title":"DimArrays","description":"","frontmatter":{},"headers":[],"relativePath":"dimarrays.md","filePath":"dimarrays.md","lastUpdated":null}'),o={name:"dimarrays.md"};function r(y,a,f,c,b,E){const t=l("PluginTabsTab"),n=l("PluginTabs");return g(),p("div",null,[a[5]||(a[5]=k(`

DimArrays

DimArrays are wrappers for other kinds of AbstractArray that add named dimension lookups.

Here we define a Matrix of Float64, and give it X and Y dimensions

julia
julia> using DimensionalData
+
+julia> A = rand(5, 10)
5×10 Matrix{Float64}:
+ 0.534915   0.4518     0.194465  0.780132  …  0.476495   0.0239356  0.526295
+ 0.707692   0.454886   0.588506  0.168291     0.222482   0.493417   0.134246
+ 0.0999314  0.0425477  0.44119   0.410463     0.0400372  0.0622255  0.350104
+ 0.132894   0.865298   0.778166  0.723438     0.0740736  0.137619   0.202743
+ 0.966106   0.854076   0.895608  0.147478     0.815365   0.24737    0.860933
julia
julia> da = DimArray(A, (X, Y))
╭──────────────────────────╮
+5×10 DimArray{Float64,2}
+├──────────────────────────┴─────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 0.534915   0.4518     0.194465  0.780132  …  0.476495   0.0239356  0.526295
+ 0.707692   0.454886   0.588506  0.168291     0.222482   0.493417   0.134246
+ 0.0999314  0.0425477  0.44119   0.410463     0.0400372  0.0622255  0.350104
+ 0.132894   0.865298   0.778166  0.723438     0.0740736  0.137619   0.202743
+ 0.966106   0.854076   0.895608  0.147478     0.815365   0.24737    0.860933

We can access a value with the same dimension wrappers:

julia
julia> da[Y(1), X(2)]
0.7076921858340348

There are shortcuts for creating DimArray:

`,11)),h(n,null,{default:e(()=>[h(t,{label:"DimArray"},{default:e(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"5×10 Matrix{Float64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.764613 0.657441 0.625257 0.587556 … 0.344408 0.0140644 0.0127924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.760205 0.298179 0.545129 0.989571 0.554791 0.0697249 0.949105")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.553558 0.500157 0.295319 0.925873 0.386433 0.392848 0.26069")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.912065 0.917543 0.0965083 0.997672 0.492141 0.625296 0.391155")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.948512 0.0621546 0.167745 0.228964 0.90251 0.710967 0.885914")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.764613 0.657441 0.625257 0.587556 … 0.344408 0.0140644 0.0127924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.760205 0.298179 0.545129 0.989571 0.554791 0.0697249 0.949105")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.553558 0.500157 0.295319 0.925873 0.386433 0.392848 0.26069")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.912065 0.917543 0.0965083 0.997672 0.492141 0.625296 0.391155")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.948512 0.0621546 0.167745 0.228964 0.90251 0.710967 0.885914")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X, Y); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," DimArray"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────┴────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.764613 0.657441 0.625257 0.587556 … 0.344408 0.0140644 0.0127924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.760205 0.298179 0.545129 0.989571 0.554791 0.0697249 0.949105")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.553558 0.500157 0.295319 0.925873 0.386433 0.392848 0.26069")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.912065 0.917543 0.0965083 0.997672 0.492141 0.625296 0.391155")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.948512 0.0621546 0.167745 0.228964 0.90251 0.710967 0.885914")])])])],-1)])),_:1}),h(t,{label:"zeros"},{default:e(()=>a[1]||(a[1]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," zeros"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴───────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")])])])],-1)])),_:1}),h(t,{label:"ones"},{default:e(()=>a[2]||(a[2]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ones"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ones"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":ones"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," ones"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")])])])],-1)])),_:1}),h(t,{label:"rand"},{default:e(()=>a[3]||(a[3]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.176197 0.127489 0.208384 0.602923 … 0.704858 0.299799 0.993498")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.468066 0.534655 0.250913 0.71194 0.567383 0.468184 0.25243")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.247198 0.521762 0.947741 0.0779205 0.74191 0.106224 0.571602")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0558987 0.44104 0.204559 0.20412 0.684587 0.605217 0.740735")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.389839 0.570254 0.935096 0.740523 0.0375769 0.27863 0.0669452")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," rand"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.337576 0.343493 0.21149 0.611961 … 0.0613839 0.999816 0.0609271")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.511078 0.514714 0.112836 0.253984 0.81253 0.571281 0.239878")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.503823 0.0458864 0.528669 0.121186 0.0347024 0.585057 0.917672")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.503967 0.32806 0.543616 0.830187 0.433527 0.780196 0.092494")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.712711 0.724709 0.469388 0.46668 0.999678 0.205929 0.8107")])])])],-1)])),_:1}),h(t,{label:"fill"},{default:e(()=>a[4]||(a[4]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," fill"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Int64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────┴───────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," fill"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":fill"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Int64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," fill"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────┴──────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")])])])],-1)])),_:1})]),_:1}),a[6]||(a[6]=k(`

Constructing DimArray with arbitrary dimension names

For arbitrary names, we can use the Dim{:name} dims by using Symbols, and indexing with keywords:

julia
julia> da1 = DimArray(rand(5, 5), (:a, :b))
╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

and get a value, here another smaller DimArray:

julia
julia> da1[a=3, b=1:3]
╭───────────────────────────────╮
+3-element DimArray{Float64,1}
+├───────────────────────────────┴ dims ┐
+b
+└─────────────────────────────────┘
+ 0.0463176
+ 0.143704
+ 0.965831

Dimensional Indexing

When used for indexing, dimension wrappers free us from knowing the order of our objects axes. These are the same:

julia
julia> da[X(2), Y(1)] == da[Y(1), X(2)]
true

We also can use Tuples of dimensions like CartesianIndex, but they don't have to be in order of consecutive axes.

julia
julia> da2 = rand(X(10), Y(7), Z(5))
╭────────────────────────────╮
+10×7×5 DimArray{Float64,3}
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+X, Y, Z
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 0.0760848  0.0641884  0.680225  0.683696   0.0205228  0.563623  0.673966
+ 0.0992684  0.970459   0.330777  0.241056   0.0196808  0.669021  0.107475
+ 0.206406   0.444708   0.11996   0.322115   0.225865   0.802122  0.421692
+ 0.94412    0.0192911  0.351413  0.468968   0.269685   0.150126  0.215458
+ 0.917457   0.162553   0.184309  0.719495   0.221163   0.4231    0.721331
+ 0.916702   0.794163   0.880796  0.839618   0.380161   0.180894  0.375182
+ 0.48817    0.498764   0.904961  0.392377   0.625435   0.786147  0.769313
+ 0.339888   0.358625   0.290734  0.0778416  0.451425   0.879774  0.605324
+ 0.481184   0.828395   0.870276  0.0323182  0.195774   0.467484  0.255916
+ 0.758865   0.680352   0.679221  0.920736   0.0375522  0.296639  0.139067
julia
julia> da2[(X(3), Z(5))]
╭───────────────────────────────╮
+7-element DimArray{Float64,1}
+├───────────────────────────────┴ dims ┐
+Y
+└─────────────────────────────────┘
+ 0.794017
+ 0.865233
+ 0.0540645
+ 0.0474302
+ 0.521021
+ 0.836107
+ 0.167104

We can index with Vector of Tuple{Vararg(Dimension}} like vectors of CartesianIndex. This will merge the dimensions in the tuples:

julia
julia> inds = [(X(3), Z(5)), (X(7), Z(4)), (X(8), Z(2))]
3-element Vector{Tuple{X{Int64}, Z{Int64}}}:
+ (X 3, Z 5)
+ (X 7, Z 4)
+ (X 8, Z 2)
julia
julia> da2[inds]
╭─────────────────────────╮
+7×3 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+Y ,
+XZ MergedLookup{Tuple{Int64, Int64}} [(3, 5), (7, 4), (8, 2)]X, Z
+└──────────────────────────────────────────────────────────────────────────────┘
+  (3, 5)     (7, 4)    (8, 2)
+ 0.794017   0.690695  0.89862
+ 0.865233   0.992316  0.864765
+ 0.0540645  0.409622  0.575698
+ 0.0474302  0.133195  0.161393
+ 0.521021   0.246162  0.337182
+ 0.836107   0.365341  0.394703
+ 0.167104   0.847018  0.213826

DimIndices can be used like CartesianIndices but again, without the constraint of consecutive dimensions or known order.

julia
julia> da2[DimIndices(dims(da2, (X, Z))), Y(3)]
╭──────────────────────────╮
+10×5 DimArray{Float64,2}
+├──────────────────────────┴─────────────────────────────── dims ┐
+X, Z
+└────────────────────────────────────────────────────────────────┘
+ 0.680225  0.457891   0.230047   0.634499  0.678022
+ 0.330777  0.0275306  0.352138   0.739241  0.353691
+ 0.11996   0.904604   0.708321   0.837335  0.0540645
+ 0.351413  0.853553   0.934609   0.208365  0.803293
+ 0.184309  0.91732    0.615764   0.526688  0.5573
+ 0.880796  0.683091   0.761212   0.956031  0.3162
+ 0.904961  0.589895   0.945371   0.409622  0.110998
+ 0.290734  0.575698   0.497346   0.750906  0.354046
+ 0.870276  0.320667   0.0559616  0.341835  0.234458
+ 0.679221  0.950645   0.727554   0.306208  0.173513

The Dimension indexing layer sits on top of regular indexing and can not be combined with it! Regular indexing specifies order, so doesn't mix well with our dimensions.

Mixing them will throw an error:

julia
julia> da1[X(3), 4]
ERROR: ArgumentError: invalid index: X{Int64}(3) of type X{Int64}

Begin End indexing

julia
julia> da1[X=Begin+1, Y=End]
Warning: (X, Y) dims were not found in object.
+@ DimensionalData.Dimensions ~/work/DimensionalData.jl/DimensionalData.jl/src/Dimensions/primitives.jl:846
+╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

It also works in ranges, even with basic math:

julia
julia> da1[X=Begin:Begin+1, Y=Begin+1:End-1]
Warning: (X, Y) dims were not found in object.
+@ DimensionalData.Dimensions ~/work/DimensionalData.jl/DimensionalData.jl/src/Dimensions/primitives.jl:846
+╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

In base julia the keywords begin and end can be used to index the first or last element of an array. But this doesn't work when named indexing is used. Instead you can use the types Begin and End.

Indexing

Indexing AbstractDimArrays works with getindex, setindex! and view. The result is still an AbstracDimArray, unless using all single Int or Selectors that resolve to Int inside Dimension.

dims keywords

In many Julia functions like, size or sum, you can specify the dimension along which to perform the operation as an Int. It is also possible to do this using Dimension types with AbstractDimArray:

julia
julia> da5 = rand(X(3), Y(4), Ti(5))
╭───────────────────────────╮
+3×4×5 DimArray{Float64,3}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X, Y, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 0.0610019  0.578989  0.760111  0.291577
+ 0.980256   0.388907  0.711714  0.827852
+ 0.225583   0.395594  0.433955  0.691887
julia
julia> sum(da5; dims=Ti)
╭───────────────────────────╮
+3×4×1 DimArray{Float64,3}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X, Y, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 1.31572  3.28438  1.73011  2.13035
+ 2.5962   1.55745  2.5074   2.07151
+ 2.31468  1.40687  3.06474  3.2858

Dims keywords

Methods where dims, dim types, or Symbols can be used to indicate the array dimension:

  • size, axes, firstindex, lastindex

  • cat, reverse, dropdims

  • reduce, mapreduce

  • sum, prod, maximum, minimum

  • mean, median, extrema, std, var, cor, cov

  • permutedims, adjoint, transpose, Transpose

  • mapslices, eachslice

Performance

Indexing with Dimensions has no runtime cost. Let's benchmark it:

julia
julia> using BenchmarkTools
+
+julia> da4 = ones(X(3), Y(3))
╭─────────────────────────╮
+3×3 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
julia
julia> @benchmark $da4[X(1), Y(2)]
BenchmarkTools.Trial: 10000 samples with 1000 evaluations.
+ Range (minmax):  3.086 ns17.533 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.105 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.110 ns ±  0.232 ns GC (mean ± σ):  0.00% ± 0.00%
+
+
+
+  3.09 ns      Histogram: log(frequency) by time     3.13 ns <
+
+ Memory estimate: 0 bytes, allocs estimate: 0.

the same as accessing the parent array directly:

julia
julia> @benchmark parent($da4)[1, 2]
BenchmarkTools.Trial: 10000 samples with 1000 evaluations.
+ Range (minmax):  3.095 ns19.307 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.096 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.112 ns ±  0.329 ns GC (mean ± σ):  0.00% ± 0.00%
+
+                                      
+
+  3.1 ns         Histogram: frequency by time        3.13 ns <
+
+ Memory estimate: 0 bytes, allocs estimate: 0.
`,52))])}const C=d(o,[["render",r]]);export{u as __pageData,C as default}; diff --git a/previews/PR801/assets/dimarrays.md.7pjFj3JZ.lean.js b/previews/PR801/assets/dimarrays.md.7pjFj3JZ.lean.js new file mode 100644 index 000000000..73f257d09 --- /dev/null +++ b/previews/PR801/assets/dimarrays.md.7pjFj3JZ.lean.js @@ -0,0 +1,259 @@ +import{_ as d,B as l,c as p,a4 as k,G as h,w as e,o as g,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const u=JSON.parse('{"title":"DimArrays","description":"","frontmatter":{},"headers":[],"relativePath":"dimarrays.md","filePath":"dimarrays.md","lastUpdated":null}'),o={name:"dimarrays.md"};function r(y,a,f,c,b,E){const t=l("PluginTabsTab"),n=l("PluginTabs");return g(),p("div",null,[a[5]||(a[5]=k(`

DimArrays

DimArrays are wrappers for other kinds of AbstractArray that add named dimension lookups.

Here we define a Matrix of Float64, and give it X and Y dimensions

julia
julia> using DimensionalData
+
+julia> A = rand(5, 10)
5×10 Matrix{Float64}:
+ 0.534915   0.4518     0.194465  0.780132  …  0.476495   0.0239356  0.526295
+ 0.707692   0.454886   0.588506  0.168291     0.222482   0.493417   0.134246
+ 0.0999314  0.0425477  0.44119   0.410463     0.0400372  0.0622255  0.350104
+ 0.132894   0.865298   0.778166  0.723438     0.0740736  0.137619   0.202743
+ 0.966106   0.854076   0.895608  0.147478     0.815365   0.24737    0.860933
julia
julia> da = DimArray(A, (X, Y))
╭──────────────────────────╮
+5×10 DimArray{Float64,2}
+├──────────────────────────┴─────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 0.534915   0.4518     0.194465  0.780132  …  0.476495   0.0239356  0.526295
+ 0.707692   0.454886   0.588506  0.168291     0.222482   0.493417   0.134246
+ 0.0999314  0.0425477  0.44119   0.410463     0.0400372  0.0622255  0.350104
+ 0.132894   0.865298   0.778166  0.723438     0.0740736  0.137619   0.202743
+ 0.966106   0.854076   0.895608  0.147478     0.815365   0.24737    0.860933

We can access a value with the same dimension wrappers:

julia
julia> da[Y(1), X(2)]
0.7076921858340348

There are shortcuts for creating DimArray:

`,11)),h(n,null,{default:e(()=>[h(t,{label:"DimArray"},{default:e(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"5×10 Matrix{Float64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.764613 0.657441 0.625257 0.587556 … 0.344408 0.0140644 0.0127924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.760205 0.298179 0.545129 0.989571 0.554791 0.0697249 0.949105")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.553558 0.500157 0.295319 0.925873 0.386433 0.392848 0.26069")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.912065 0.917543 0.0965083 0.997672 0.492141 0.625296 0.391155")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.948512 0.0621546 0.167745 0.228964 0.90251 0.710967 0.885914")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.764613 0.657441 0.625257 0.587556 … 0.344408 0.0140644 0.0127924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.760205 0.298179 0.545129 0.989571 0.554791 0.0697249 0.949105")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.553558 0.500157 0.295319 0.925873 0.386433 0.392848 0.26069")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.912065 0.917543 0.0965083 0.997672 0.492141 0.625296 0.391155")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.948512 0.0621546 0.167745 0.228964 0.90251 0.710967 0.885914")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X, Y); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," DimArray"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────┴────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.764613 0.657441 0.625257 0.587556 … 0.344408 0.0140644 0.0127924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.760205 0.298179 0.545129 0.989571 0.554791 0.0697249 0.949105")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.553558 0.500157 0.295319 0.925873 0.386433 0.392848 0.26069")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.912065 0.917543 0.0965083 0.997672 0.492141 0.625296 0.391155")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.948512 0.0621546 0.167745 0.228964 0.90251 0.710967 0.885914")])])])],-1)])),_:1}),h(t,{label:"zeros"},{default:e(()=>a[1]||(a[1]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," zeros"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴───────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0")])])])],-1)])),_:1}),h(t,{label:"ones"},{default:e(()=>a[2]||(a[2]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ones"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ones"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":ones"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," ones"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0")])])])],-1)])),_:1}),h(t,{label:"rand"},{default:e(()=>a[3]||(a[3]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.176197 0.127489 0.208384 0.602923 … 0.704858 0.299799 0.993498")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.468066 0.534655 0.250913 0.71194 0.567383 0.468184 0.25243")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.247198 0.521762 0.947741 0.0779205 0.74191 0.106224 0.571602")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0558987 0.44104 0.204559 0.20412 0.684587 0.605217 0.740735")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.389839 0.570254 0.935096 0.740523 0.0375769 0.27863 0.0669452")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," rand"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.337576 0.343493 0.21149 0.611961 … 0.0613839 0.999816 0.0609271")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.511078 0.514714 0.112836 0.253984 0.81253 0.571281 0.239878")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.503823 0.0458864 0.528669 0.121186 0.0347024 0.585057 0.917672")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.503967 0.32806 0.543616 0.830187 0.433527 0.780196 0.092494")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.712711 0.724709 0.469388 0.46668 0.999678 0.205929 0.8107")])])])],-1)])),_:1}),h(t,{label:"fill"},{default:e(()=>a[4]||(a[4]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," fill"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Int64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────┴───────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," fill"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":fill"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Int64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," fill"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────┴──────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Any, Any}()")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7 7 7 7 7 7 7 7 7 7")])])])],-1)])),_:1})]),_:1}),a[6]||(a[6]=k(`

Constructing DimArray with arbitrary dimension names

For arbitrary names, we can use the Dim{:name} dims by using Symbols, and indexing with keywords:

julia
julia> da1 = DimArray(rand(5, 5), (:a, :b))
╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

and get a value, here another smaller DimArray:

julia
julia> da1[a=3, b=1:3]
╭───────────────────────────────╮
+3-element DimArray{Float64,1}
+├───────────────────────────────┴ dims ┐
+b
+└─────────────────────────────────┘
+ 0.0463176
+ 0.143704
+ 0.965831

Dimensional Indexing

When used for indexing, dimension wrappers free us from knowing the order of our objects axes. These are the same:

julia
julia> da[X(2), Y(1)] == da[Y(1), X(2)]
true

We also can use Tuples of dimensions like CartesianIndex, but they don't have to be in order of consecutive axes.

julia
julia> da2 = rand(X(10), Y(7), Z(5))
╭────────────────────────────╮
+10×7×5 DimArray{Float64,3}
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+X, Y, Z
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 0.0760848  0.0641884  0.680225  0.683696   0.0205228  0.563623  0.673966
+ 0.0992684  0.970459   0.330777  0.241056   0.0196808  0.669021  0.107475
+ 0.206406   0.444708   0.11996   0.322115   0.225865   0.802122  0.421692
+ 0.94412    0.0192911  0.351413  0.468968   0.269685   0.150126  0.215458
+ 0.917457   0.162553   0.184309  0.719495   0.221163   0.4231    0.721331
+ 0.916702   0.794163   0.880796  0.839618   0.380161   0.180894  0.375182
+ 0.48817    0.498764   0.904961  0.392377   0.625435   0.786147  0.769313
+ 0.339888   0.358625   0.290734  0.0778416  0.451425   0.879774  0.605324
+ 0.481184   0.828395   0.870276  0.0323182  0.195774   0.467484  0.255916
+ 0.758865   0.680352   0.679221  0.920736   0.0375522  0.296639  0.139067
julia
julia> da2[(X(3), Z(5))]
╭───────────────────────────────╮
+7-element DimArray{Float64,1}
+├───────────────────────────────┴ dims ┐
+Y
+└─────────────────────────────────┘
+ 0.794017
+ 0.865233
+ 0.0540645
+ 0.0474302
+ 0.521021
+ 0.836107
+ 0.167104

We can index with Vector of Tuple{Vararg(Dimension}} like vectors of CartesianIndex. This will merge the dimensions in the tuples:

julia
julia> inds = [(X(3), Z(5)), (X(7), Z(4)), (X(8), Z(2))]
3-element Vector{Tuple{X{Int64}, Z{Int64}}}:
+ (X 3, Z 5)
+ (X 7, Z 4)
+ (X 8, Z 2)
julia
julia> da2[inds]
╭─────────────────────────╮
+7×3 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+Y ,
+XZ MergedLookup{Tuple{Int64, Int64}} [(3, 5), (7, 4), (8, 2)]X, Z
+└──────────────────────────────────────────────────────────────────────────────┘
+  (3, 5)     (7, 4)    (8, 2)
+ 0.794017   0.690695  0.89862
+ 0.865233   0.992316  0.864765
+ 0.0540645  0.409622  0.575698
+ 0.0474302  0.133195  0.161393
+ 0.521021   0.246162  0.337182
+ 0.836107   0.365341  0.394703
+ 0.167104   0.847018  0.213826

DimIndices can be used like CartesianIndices but again, without the constraint of consecutive dimensions or known order.

julia
julia> da2[DimIndices(dims(da2, (X, Z))), Y(3)]
╭──────────────────────────╮
+10×5 DimArray{Float64,2}
+├──────────────────────────┴─────────────────────────────── dims ┐
+X, Z
+└────────────────────────────────────────────────────────────────┘
+ 0.680225  0.457891   0.230047   0.634499  0.678022
+ 0.330777  0.0275306  0.352138   0.739241  0.353691
+ 0.11996   0.904604   0.708321   0.837335  0.0540645
+ 0.351413  0.853553   0.934609   0.208365  0.803293
+ 0.184309  0.91732    0.615764   0.526688  0.5573
+ 0.880796  0.683091   0.761212   0.956031  0.3162
+ 0.904961  0.589895   0.945371   0.409622  0.110998
+ 0.290734  0.575698   0.497346   0.750906  0.354046
+ 0.870276  0.320667   0.0559616  0.341835  0.234458
+ 0.679221  0.950645   0.727554   0.306208  0.173513

The Dimension indexing layer sits on top of regular indexing and can not be combined with it! Regular indexing specifies order, so doesn't mix well with our dimensions.

Mixing them will throw an error:

julia
julia> da1[X(3), 4]
ERROR: ArgumentError: invalid index: X{Int64}(3) of type X{Int64}

Begin End indexing

julia
julia> da1[X=Begin+1, Y=End]
Warning: (X, Y) dims were not found in object.
+@ DimensionalData.Dimensions ~/work/DimensionalData.jl/DimensionalData.jl/src/Dimensions/primitives.jl:846
+╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

It also works in ranges, even with basic math:

julia
julia> da1[X=Begin:Begin+1, Y=Begin+1:End-1]
Warning: (X, Y) dims were not found in object.
+@ DimensionalData.Dimensions ~/work/DimensionalData.jl/DimensionalData.jl/src/Dimensions/primitives.jl:846
+╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

In base julia the keywords begin and end can be used to index the first or last element of an array. But this doesn't work when named indexing is used. Instead you can use the types Begin and End.

Indexing

Indexing AbstractDimArrays works with getindex, setindex! and view. The result is still an AbstracDimArray, unless using all single Int or Selectors that resolve to Int inside Dimension.

dims keywords

In many Julia functions like, size or sum, you can specify the dimension along which to perform the operation as an Int. It is also possible to do this using Dimension types with AbstractDimArray:

julia
julia> da5 = rand(X(3), Y(4), Ti(5))
╭───────────────────────────╮
+3×4×5 DimArray{Float64,3}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X, Y, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 0.0610019  0.578989  0.760111  0.291577
+ 0.980256   0.388907  0.711714  0.827852
+ 0.225583   0.395594  0.433955  0.691887
julia
julia> sum(da5; dims=Ti)
╭───────────────────────────╮
+3×4×1 DimArray{Float64,3}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X, Y, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 1.31572  3.28438  1.73011  2.13035
+ 2.5962   1.55745  2.5074   2.07151
+ 2.31468  1.40687  3.06474  3.2858

Dims keywords

Methods where dims, dim types, or Symbols can be used to indicate the array dimension:

  • size, axes, firstindex, lastindex

  • cat, reverse, dropdims

  • reduce, mapreduce

  • sum, prod, maximum, minimum

  • mean, median, extrema, std, var, cor, cov

  • permutedims, adjoint, transpose, Transpose

  • mapslices, eachslice

Performance

Indexing with Dimensions has no runtime cost. Let's benchmark it:

julia
julia> using BenchmarkTools
+
+julia> da4 = ones(X(3), Y(3))
╭─────────────────────────╮
+3×3 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
julia
julia> @benchmark $da4[X(1), Y(2)]
BenchmarkTools.Trial: 10000 samples with 1000 evaluations.
+ Range (minmax):  3.086 ns17.533 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.105 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.110 ns ±  0.232 ns GC (mean ± σ):  0.00% ± 0.00%
+
+
+
+  3.09 ns      Histogram: log(frequency) by time     3.13 ns <
+
+ Memory estimate: 0 bytes, allocs estimate: 0.

the same as accessing the parent array directly:

julia
julia> @benchmark parent($da4)[1, 2]
BenchmarkTools.Trial: 10000 samples with 1000 evaluations.
+ Range (minmax):  3.095 ns19.307 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.096 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.112 ns ±  0.329 ns GC (mean ± σ):  0.00% ± 0.00%
+
+                                      
+
+  3.1 ns         Histogram: frequency by time        3.13 ns <
+
+ Memory estimate: 0 bytes, allocs estimate: 0.
`,52))])}const C=d(o,[["render",r]]);export{u as __pageData,C as default}; diff --git a/previews/PR801/assets/dimensions.md.CBs16yaQ.js b/previews/PR801/assets/dimensions.md.CBs16yaQ.js new file mode 100644 index 000000000..b1c707377 --- /dev/null +++ b/previews/PR801/assets/dimensions.md.CBs16yaQ.js @@ -0,0 +1,3 @@ +import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.D3Ia4FEQ.js";const c=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"dimensions.md","filePath":"dimensions.md","lastUpdated":null}'),t={name:"dimensions.md"};function h(l,s,p,k,d,o){return n(),a("div",null,s[0]||(s[0]=[e(`

Dimensions

Dimensions are "wrapper types" that can be used to wrap any object to associate it with a named dimension.

X, Y, Z, Ti are predefined as types:

julia
julia> using DimensionalData
+
+julia> X(1)
X 1
julia
julia> X(1), Y(2), Z(3)
(X 1, Y 2, Z 3)

You can also make Dim dimensions with any name:

julia
julia> Dim{:a}(1), Dim{:b}(1)
(a 1, b 1)

The wrapped value can be retrieved with val:

julia
julia> val(X(1))
1

DimensionalData.jl uses Dimensions everywhere:

  • Dimension are returned from dims to specify the names of the dimensions of an object

  • they wrap Lookups to associate the lookups with those names

  • to index into these objects, they wrap indices like Int or a Selector

This symmetry means we can ignore how data is organised, and label and access it by name, letting DD work out the details for us.

Dimensions are defined in the Dimensions submodule, some Dimension-specific methods can be brought into scope with:

julia
using DimensionalData.Dimensions
`,18)]))}const g=i(t,[["render",h]]);export{c as __pageData,g as default}; diff --git a/previews/PR801/assets/dimensions.md.CBs16yaQ.lean.js b/previews/PR801/assets/dimensions.md.CBs16yaQ.lean.js new file mode 100644 index 000000000..b1c707377 --- /dev/null +++ b/previews/PR801/assets/dimensions.md.CBs16yaQ.lean.js @@ -0,0 +1,3 @@ +import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.D3Ia4FEQ.js";const c=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"dimensions.md","filePath":"dimensions.md","lastUpdated":null}'),t={name:"dimensions.md"};function h(l,s,p,k,d,o){return n(),a("div",null,s[0]||(s[0]=[e(`

Dimensions

Dimensions are "wrapper types" that can be used to wrap any object to associate it with a named dimension.

X, Y, Z, Ti are predefined as types:

julia
julia> using DimensionalData
+
+julia> X(1)
X 1
julia
julia> X(1), Y(2), Z(3)
(X 1, Y 2, Z 3)

You can also make Dim dimensions with any name:

julia
julia> Dim{:a}(1), Dim{:b}(1)
(a 1, b 1)

The wrapped value can be retrieved with val:

julia
julia> val(X(1))
1

DimensionalData.jl uses Dimensions everywhere:

  • Dimension are returned from dims to specify the names of the dimensions of an object

  • they wrap Lookups to associate the lookups with those names

  • to index into these objects, they wrap indices like Int or a Selector

This symmetry means we can ignore how data is organised, and label and access it by name, letting DD work out the details for us.

Dimensions are defined in the Dimensions submodule, some Dimension-specific methods can be brought into scope with:

julia
using DimensionalData.Dimensions
`,18)]))}const g=i(t,[["render",h]]);export{c as __pageData,g as default}; diff --git a/previews/PR801/assets/diskarrays.md.64JEAR8Z.js b/previews/PR801/assets/diskarrays.md.64JEAR8Z.js new file mode 100644 index 000000000..1e18b80b5 --- /dev/null +++ b/previews/PR801/assets/diskarrays.md.64JEAR8Z.js @@ -0,0 +1 @@ +import{_ as t,c as i,a4 as r,o as e}from"./chunks/framework.D3Ia4FEQ.js";const m=JSON.parse('{"title":"DiskArrays.jl compatibility","description":"","frontmatter":{},"headers":[],"relativePath":"diskarrays.md","filePath":"diskarrays.md","lastUpdated":null}'),s={name:"diskarrays.md"};function l(n,a,o,d,p,c){return e(),i("div",null,a[0]||(a[0]=[r('

DiskArrays.jl compatibility

DiskArrays.jl enables lazy, chunked application of:

  • broadcast

  • reductions

  • iteration

  • generators

  • zip

It is rarely used directly, but is present in most disk and cloud based spatial data packages in julia, including: ArchGDAL.jl, NetCDF.jl, Zarr.jl, NCDatasets.lj, GRIBDatasets.jl and CommonDataModel.jl

The combination of DiskArrays.jl and DimensionalData.jl is Julias answer to pythons xarray. Rasters.jl and YAXArrays.jl are user-facing tools building on this combination.

They have no direct dependency relationships, with but are intentionally designed to integrate via both adherence to Julia's AbstractArray interface, and by coordination during development of both packages.

',6)]))}const h=t(s,[["render",l]]);export{m as __pageData,h as default}; diff --git a/previews/PR801/assets/diskarrays.md.64JEAR8Z.lean.js b/previews/PR801/assets/diskarrays.md.64JEAR8Z.lean.js new file mode 100644 index 000000000..1e18b80b5 --- /dev/null +++ b/previews/PR801/assets/diskarrays.md.64JEAR8Z.lean.js @@ -0,0 +1 @@ +import{_ as t,c as i,a4 as r,o as e}from"./chunks/framework.D3Ia4FEQ.js";const m=JSON.parse('{"title":"DiskArrays.jl compatibility","description":"","frontmatter":{},"headers":[],"relativePath":"diskarrays.md","filePath":"diskarrays.md","lastUpdated":null}'),s={name:"diskarrays.md"};function l(n,a,o,d,p,c){return e(),i("div",null,a[0]||(a[0]=[r('

DiskArrays.jl compatibility

DiskArrays.jl enables lazy, chunked application of:

  • broadcast

  • reductions

  • iteration

  • generators

  • zip

It is rarely used directly, but is present in most disk and cloud based spatial data packages in julia, including: ArchGDAL.jl, NetCDF.jl, Zarr.jl, NCDatasets.lj, GRIBDatasets.jl and CommonDataModel.jl

The combination of DiskArrays.jl and DimensionalData.jl is Julias answer to pythons xarray. Rasters.jl and YAXArrays.jl are user-facing tools building on this combination.

They have no direct dependency relationships, with but are intentionally designed to integrate via both adherence to Julia's AbstractArray interface, and by coordination during development of both packages.

',6)]))}const h=t(s,[["render",l]]);export{m as __pageData,h as default}; diff --git a/previews/PR801/assets/extending_dd.md.DvBZFGy6.js b/previews/PR801/assets/extending_dd.md.DvBZFGy6.js new file mode 100644 index 000000000..cfd94be64 --- /dev/null +++ b/previews/PR801/assets/extending_dd.md.DvBZFGy6.js @@ -0,0 +1,55 @@ +import{_ as n,B as l,c as d,a4 as r,G as a,w as t,o as p,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const b=JSON.parse('{"title":"Extending DimensionalData","description":"","frontmatter":{},"headers":[],"relativePath":"extending_dd.md","filePath":"extending_dd.md","lastUpdated":null}'),o={name:"extending_dd.md"};function g(y,e,c,u,m,E){const h=l("PluginTabsTab"),k=l("PluginTabs");return p(),d("div",null,[e[2]||(e[2]=r('

Extending DimensionalData

Nearly everything in DimensionalData.jl is designed to be extensible.

  • AbstractDimArray are easily extended to custom array types. Raster or YAXArray are examples from other packages.

  • AbstractDimStack are easily extended to custom mixed array dataset. RasterStack or ArViZ.Dataset are examples.

  • Lookup can have new types added, e.g. to AbstractSampled or AbstractCategorical. Rasters.Projected is a lookup that knows its coordinate reference system, but otherwise behaves as a regular Sampled lookup.

dims, rebuild and format are the key interface methods in most of these cases.

dims

Objects extending DimensionalData.jl that have dimensions must return a Tuple of constructed Dimensions from dims(obj).

Dimension axes

Dimensions return from dims should hold a Lookup or in some cases just an AbstractArray (like with DimIndices). When attached to multi-dimensional objects, lookups must be the same length as the axis of the array it represents, and eachindex(A, i) and eachindex(dim) must return the same values.

This means that if the array has OffsetArrays.jl axes, the array the dimension wraps must also have OffsetArrays.jl axes.

dims keywords

To any dims keyword argument that usually requires the dimension I, objects should accept any Dimension, Type{<:Dimension}, Symbol, Val{:Symbol}, Val{<:Type{<:Dimension}} or also regular Integer.

This is easier than it sounds, calling DD.dims(objs, dims) will return the matching dimension and DD.dimnum(obj, dims) will return the matching Int for any of these inputs as long as dims(obj) is implemented.

rebuild

Rebuild methods are used to rebuild immutable objects with new field values, in a way that is more flexible and extensible than just using ConstructionBase.jl reconstruction. Developers can choose to ignore some of the fields passed by rebuild.

The function signature is always one of:

julia
rebuild(obj, args...)\nrebuild(obj; kw...)

rebuild has keyword versions automatically generated for all objects using ConstructionBase.jl.

These will work without further work as long as your object has the fields used by DimensionalData.jl objects. For example, AbstractDimArray will receive these keywords in rebuild: data, dims, refdims, name, metadata.

If your AbstractDimArray does not have all these fields, you must implement rebuild(x::YourDimArray; kw...) manually.

An argument method is also defined with the same arguments as the keyword version. For AbstractDimArray it should only be used for updating data and dims, any more that that is confusing.

For Dimension and Selector the single argument versions are easiest to use, as there is only one argument.

format

When constructing an AbstractDimArray or AbstractDimStack DimensionalData.format must be called on the dims tuple and the parent array:

julia
format(dims, array)

This lets DimensionalData detect the lookup properties, fill in missing fields of a Lookup, pass keywords from Dimension to detected Lookup constructors, and accept a wider range of dimension inputs like tuples of Symbol and Type.

Not calling format in the outer constructors of an AbstractDimArray has undefined behaviour.

Interfaces.jl interface testing

DimensionalData defines explicit, testable Interfaces.jl interfaces: DimArrayInterface and DimStackInterface.

',28)),a(k,null,{default:t(()=>[a(h,{label:"array"},{default:t(()=>e[0]||(e[0]=[i("p",null,[s("This is the implementation definition for "),i("code",null,"DimArray"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData, Interfaces")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," @implements"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimArrayInterface{("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":refdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},","),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":name"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},","),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":metadata"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")} DimArray ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Z"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("p",null,[s("See the "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimArrayInterface"},[i("code",null,"DimensionalData.DimArrayInterface")]),s(" docs for options. We can test it with:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Interfaces"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"test"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimArrayInterface)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Testing "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimArrayInterface"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," is implemented for "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimArray")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Mandatory components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (defines a `dims` method ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dims are updated on getindex ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims_base"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": `refdims` returns a tuple of Dimension or empty ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"ndims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": number of dims matches dimensions of array ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"size"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": length of dims matches dimensions of array ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild paaarnet and dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": all rebuild arguments and keywords are accepted ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Optional components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (refdims are updated in args rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," refdims are updated in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dropped dimensions are added to refdims ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"name"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (rebuild updates name in arg rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," rebuild updates name in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"metadata"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (rebuild updates metadata in arg rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," rebuild updates metadata in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Implementation summary:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#dbab09","--shiki-dark":"#ffea7f"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," correctly implements "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimensionalData.DimArrayInterface: "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1)])),_:1}),a(h,{label:"stack"},{default:t(()=>e[1]||(e[1]=[i("p",null,[s("The implementation definition for "),i("code",null,"DimStack"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," @implements"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimStackInterface{("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":refdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},","),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":metadata"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")} DimStack ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Z"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))]")])])])],-1),i("p",null,[s("See the "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimStackInterface"},[i("code",null,"DimensionalData.DimStackInterface")]),s(" docs for options. We can test it with:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Interfaces"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"test"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimStackInterface)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Testing "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimStackInterface"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," is implemented for "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimStack")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Mandatory components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (defines a `dims` method ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dims are updated on getindex ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims_base"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": `refdims` returns a tuple of Dimension or empty ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"ndims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": number of dims matches ndims of stack ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"size"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": length of dims matches size of stack ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild paaarnet and dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_layerdims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild paaarnet and dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_layerdims_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": all rebuild arguments and keywords are accepted ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Optional components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (refdims are updated in args rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," refdims are updated in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dropped dimensions are added to refdims ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"metadata"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (rebuild updates metadata in arg rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," rebuild updates metadata in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Implementation summary:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#dbab09","--shiki-dark":"#ffea7f"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," correctly implements "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimensionalData.DimStackInterface: "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1)])),_:1})]),_:1})])}const D=n(o,[["render",g]]);export{b as __pageData,D as default}; diff --git a/previews/PR801/assets/extending_dd.md.DvBZFGy6.lean.js b/previews/PR801/assets/extending_dd.md.DvBZFGy6.lean.js new file mode 100644 index 000000000..cfd94be64 --- /dev/null +++ b/previews/PR801/assets/extending_dd.md.DvBZFGy6.lean.js @@ -0,0 +1,55 @@ +import{_ as n,B as l,c as d,a4 as r,G as a,w as t,o as p,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const b=JSON.parse('{"title":"Extending DimensionalData","description":"","frontmatter":{},"headers":[],"relativePath":"extending_dd.md","filePath":"extending_dd.md","lastUpdated":null}'),o={name:"extending_dd.md"};function g(y,e,c,u,m,E){const h=l("PluginTabsTab"),k=l("PluginTabs");return p(),d("div",null,[e[2]||(e[2]=r('

Extending DimensionalData

Nearly everything in DimensionalData.jl is designed to be extensible.

  • AbstractDimArray are easily extended to custom array types. Raster or YAXArray are examples from other packages.

  • AbstractDimStack are easily extended to custom mixed array dataset. RasterStack or ArViZ.Dataset are examples.

  • Lookup can have new types added, e.g. to AbstractSampled or AbstractCategorical. Rasters.Projected is a lookup that knows its coordinate reference system, but otherwise behaves as a regular Sampled lookup.

dims, rebuild and format are the key interface methods in most of these cases.

dims

Objects extending DimensionalData.jl that have dimensions must return a Tuple of constructed Dimensions from dims(obj).

Dimension axes

Dimensions return from dims should hold a Lookup or in some cases just an AbstractArray (like with DimIndices). When attached to multi-dimensional objects, lookups must be the same length as the axis of the array it represents, and eachindex(A, i) and eachindex(dim) must return the same values.

This means that if the array has OffsetArrays.jl axes, the array the dimension wraps must also have OffsetArrays.jl axes.

dims keywords

To any dims keyword argument that usually requires the dimension I, objects should accept any Dimension, Type{<:Dimension}, Symbol, Val{:Symbol}, Val{<:Type{<:Dimension}} or also regular Integer.

This is easier than it sounds, calling DD.dims(objs, dims) will return the matching dimension and DD.dimnum(obj, dims) will return the matching Int for any of these inputs as long as dims(obj) is implemented.

rebuild

Rebuild methods are used to rebuild immutable objects with new field values, in a way that is more flexible and extensible than just using ConstructionBase.jl reconstruction. Developers can choose to ignore some of the fields passed by rebuild.

The function signature is always one of:

julia
rebuild(obj, args...)\nrebuild(obj; kw...)

rebuild has keyword versions automatically generated for all objects using ConstructionBase.jl.

These will work without further work as long as your object has the fields used by DimensionalData.jl objects. For example, AbstractDimArray will receive these keywords in rebuild: data, dims, refdims, name, metadata.

If your AbstractDimArray does not have all these fields, you must implement rebuild(x::YourDimArray; kw...) manually.

An argument method is also defined with the same arguments as the keyword version. For AbstractDimArray it should only be used for updating data and dims, any more that that is confusing.

For Dimension and Selector the single argument versions are easiest to use, as there is only one argument.

format

When constructing an AbstractDimArray or AbstractDimStack DimensionalData.format must be called on the dims tuple and the parent array:

julia
format(dims, array)

This lets DimensionalData detect the lookup properties, fill in missing fields of a Lookup, pass keywords from Dimension to detected Lookup constructors, and accept a wider range of dimension inputs like tuples of Symbol and Type.

Not calling format in the outer constructors of an AbstractDimArray has undefined behaviour.

Interfaces.jl interface testing

DimensionalData defines explicit, testable Interfaces.jl interfaces: DimArrayInterface and DimStackInterface.

',28)),a(k,null,{default:t(()=>[a(h,{label:"array"},{default:t(()=>e[0]||(e[0]=[i("p",null,[s("This is the implementation definition for "),i("code",null,"DimArray"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData, Interfaces")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," @implements"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimArrayInterface{("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":refdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},","),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":name"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},","),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":metadata"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")} DimArray ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Z"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("p",null,[s("See the "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimArrayInterface"},[i("code",null,"DimensionalData.DimArrayInterface")]),s(" docs for options. We can test it with:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Interfaces"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"test"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimArrayInterface)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Testing "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimArrayInterface"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," is implemented for "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimArray")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Mandatory components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (defines a `dims` method ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dims are updated on getindex ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims_base"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": `refdims` returns a tuple of Dimension or empty ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"ndims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": number of dims matches dimensions of array ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"size"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": length of dims matches dimensions of array ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild paaarnet and dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": all rebuild arguments and keywords are accepted ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Optional components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (refdims are updated in args rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," refdims are updated in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dropped dimensions are added to refdims ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"name"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (rebuild updates name in arg rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," rebuild updates name in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"metadata"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (rebuild updates metadata in arg rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," rebuild updates metadata in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Implementation summary:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#dbab09","--shiki-dark":"#ffea7f"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," correctly implements "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimensionalData.DimArrayInterface: "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1)])),_:1}),a(h,{label:"stack"},{default:t(()=>e[1]||(e[1]=[i("p",null,[s("The implementation definition for "),i("code",null,"DimStack"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," @implements"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimStackInterface{("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":refdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},","),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":metadata"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")} DimStack ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"zeros"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Z"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))]")])])])],-1),i("p",null,[s("See the "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimStackInterface"},[i("code",null,"DimensionalData.DimStackInterface")]),s(" docs for options. We can test it with:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Interfaces"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"test"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"DimStackInterface)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Testing "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimStackInterface"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," is implemented for "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimStack")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Mandatory components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (defines a `dims` method ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dims are updated on getindex ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims_base"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": `refdims` returns a tuple of Dimension or empty ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"ndims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": number of dims matches ndims of stack ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"size"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": length of dims matches size of stack ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild paaarnet and dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_layerdims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild paaarnet and dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_dims_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild dims from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_parent_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild_layerdims_kw"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": rebuild parent from args ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"rebuild"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": all rebuild arguments and keywords are accepted ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"Optional components")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"refdims"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (refdims are updated in args rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," refdims are updated in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," dropped dimensions are added to refdims ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5a32a3","--shiki-dark":"#b392f0"}},"metadata"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},": (rebuild updates metadata in arg rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"],")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," rebuild updates metadata in kw rebuild ["),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"])")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Implementation summary:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#dbab09","--shiki-dark":"#ffea7f"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," correctly implements "),i("span",{style:{"--shiki-light":"#0366d6","--shiki-dark":"#2188ff"}},"DimensionalData.DimStackInterface: "),i("span",{style:{"--shiki-light":"#28a745","--shiki-dark":"#34d058"}},"true")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1)])),_:1})]),_:1})])}const D=n(o,[["render",g]]);export{b as __pageData,D as default}; diff --git a/previews/PR801/assets/get_info.md.D5VYRM01.js b/previews/PR801/assets/get_info.md.D5VYRM01.js new file mode 100644 index 000000000..da1c45e61 --- /dev/null +++ b/previews/PR801/assets/get_info.md.D5VYRM01.js @@ -0,0 +1,66 @@ +import{_ as d,B as k,c as p,a4 as n,G as l,w as e,o as g,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const C=JSON.parse('{"title":"Getters","description":"","frontmatter":{},"headers":[],"relativePath":"get_info.md","filePath":"get_info.md","lastUpdated":null}'),r={name:"get_info.md"};function c(o,a,u,y,E,v){const t=k("PluginTabsTab"),h=k("PluginTabs");return g(),p("div",null,[a[24]||(a[24]=n(`

Getters

DimensionalData.jl defines consistent methods to retrieve information from objects like DimArray, DimStack, Tuples of Dimension, Dimension and Lookup.

First we will define an example DimArray.

julia
using DimensionalData
+using DimensionalData.Lookups
+x, y = X(10:-1:1), Y(100.0:10:200.0)
(↓ X 10:-1:1,
+→ Y 100.0:10.0:200.0)
julia
julia> A = rand(x, y)
╭───────────────────────────╮
+10×11 DimArray{Float64,2}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points,
+Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  100.0         110.0180.0       190.0       200.0
+ 10      0.664038      0.464482        0.868966    0.530653    0.418968
+  9      0.00832284    0.0980829       0.314535    0.322005    0.674881
+  8      0.639212      0.233778        0.315591    0.190225    0.475569
+  7      0.602315      0.0372362       0.950143    0.062593    0.948976
+  6      0.375166      0.423798   …    0.640311    0.932968    0.98985
+  5      0.153219      0.635963        0.293126    0.68781     0.309301
+  4      0.00508449    0.829714        0.727149    0.585756    0.921145
+  3      0.946824      0.906705        0.899632    0.471877    0.633956
+  2      0.876112      0.831617        0.128932    0.428951    0.243803
+  1      0.749253      0.864128   …    0.715102    0.921012    0.566574
`,7)),l(h,null,{default:e(()=>[l(t,{label:"dims"},{default:e(()=>a[0]||(a[0]=[i("p",null,[i("code",null,"dims"),s(" retrieves dimensions from any object that has them.")],-1),i("p",null,[s("What makes it so useful is you can filter which dimensions you want in what order, using any "),i("code",null,"Dimension"),s(", "),i("code",null,"Type{Dimension}"),s(" or "),i("code",null,"Symbol"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X,))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"reverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"otherdims"},{default:e(()=>a[1]||(a[1]=[i("p",null,[i("code",null,"otherdims"),s(" is just like "),i("code",null,"dims"),s(" but returns whatever "),i("code",null,"dims"),s(" would "),i("em",null,"not"),s(" return from the same query.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X,))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"lookup"},{default:e(()=>a[2]||(a[2]=[i("p",null,[s("Get all the "),i("code",null,"Lookup"),s(" in an object")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10:-1:1")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1)])),_:1}),l(t,{label:"val"},{default:e(()=>a[3]||(a[3]=[i("p",null,[i("code",null,"val"),s(" is used where there is an unambiguous single value:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," val"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"7")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," val"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10.5")])])])],-1)])),_:1}),l(t,{label:"order"},{default:e(()=>a[4]||(a[4]=[i("p",null,[s("Get the order of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(ReverseOrdered(), ForwardOrdered())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(ReverseOrdered(), ForwardOrdered())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"ReverseOrdered()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"ForwardOrdered()")])])])],-1)])),_:1}),l(t,{label:"sampling"},{default:e(()=>a[5]||(a[5]=[i("p",null,[s("Get the sampling of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Points(), Points())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Points(), Points())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Points()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Points()")])])])],-1)])),_:1}),l(t,{label:"span"},{default:e(()=>a[6]||(a[6]=[i("p",null,[s("Get the span of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Regular{Int64}(-1), Regular{Float64}(10.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Regular{Int64}(-1), Regular{Float64}(10.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Regular{Int64}(-1)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Regular{Float64}(10.0)")])])])],-1)])),_:1}),l(t,{label:"locus"},{default:e(()=>a[7]||(a[7]=[i("p",null,[s("Get the locus of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("p",null,"(locus is our term for distinguishing if an lookup value specifies the start, center or end of an interval)",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Center(), Center())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Center(), Center())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Center()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Center()")])])])],-1)])),_:1}),l(t,{label:"bounds"},{default:e(()=>a[8]||(a[8]=[i("p",null,[s("Get the bounds of each dimension. This is different for "),i("code",null,"Points"),s(" and "),i("code",null,"Intervals"),s(" - the bounds for points of a "),i("code",null,"Lookup"),s(" are simply "),i("code",null,"(first(l), last(l))"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"((1, 10), (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"((1, 10), (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(1, 10)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(100.0, 200.0)")])])])],-1)])),_:1}),l(t,{label:"intervalbounds"},{default:e(()=>a[9]||(a[9]=[i("p",null,"Get the bounds of each interval along a dimension.",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"([(10, 10), (9, 9), (8, 8), (7, 7), (6, 6), (5, 5), (4, 4), (3, 3), (2, 2), (1, 1)], [(100.0, 100.0), (110.0, 110.0), (120.0, 120.0), (130.0, 130.0), (140.0, 140.0), (150.0, 150.0), (160.0, 160.0), (170.0, 170.0), (180.0, 180.0), (190.0, 190.0), (200.0, 200.0)])")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"([(10, 10), (9, 9), (8, 8), (7, 7), (6, 6), (5, 5), (4, 4), (3, 3), (2, 2), (1, 1)], [(100.0, 100.0), (110.0, 110.0), (120.0, 120.0), (130.0, 130.0), (140.0, 140.0), (150.0, 150.0), (160.0, 160.0), (170.0, 170.0), (180.0, 180.0), (190.0, 190.0), (200.0, 200.0)])")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10-element Vector{Tuple{Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (10, 10)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (9, 9)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (8, 8)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (7, 7)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (6, 6)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (5, 5)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (4, 4)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (3, 3)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2, 2)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1, 1)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"11-element Vector{Tuple{Float64, Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (100.0, 100.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (110.0, 110.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (120.0, 120.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (130.0, 130.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (140.0, 140.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (150.0, 150.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (160.0, 160.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (170.0, 170.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (180.0, 180.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (190.0, 190.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (200.0, 200.0)")])])])],-1)])),_:1}),l(t,{label:"extent"},{default:e(()=>a[10]||(a[10]=[i("p",null,[i("a",{href:"https://github.com/rafaqz/Extent",target:"_blank",rel:"noreferrer"},"Extents.jl"),s(" provides an "),i("code",null,"Extent"),s(" object that combines the names of dimensions with their bounds.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Extents"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," extent")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Extent(X = (1, 10), Y = (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Extent(X = (1, 10),)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Extent(X = (1, 10), Y = (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1)])),_:1})]),_:1}),a[25]||(a[25]=n('

Predicates

These always return true or false. With multiple dimensions, fale means !all and true means all.

dims and all other methods listed above can use predicates to filter the returned dimensions.

',3)),l(h,null,{default:e(()=>[l(t,{label:"issampled"},{default:e(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, issampled)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, issampled)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, issampled)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")])])])],-1)])),_:1}),l(t,{label:"iscategorical"},{default:e(()=>a[12]||(a[12]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscategorical)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscategorical)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscategorical)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"iscyclic"},{default:e(()=>a[13]||(a[13]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscyclic)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscyclic)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isordered"},{default:e(()=>a[14]||(a[14]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isordered)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isordered)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isforward"},{default:e(()=>a[15]||(a[15]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isforward"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isforward"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isforward"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isforward)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isforward)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isreverse"},{default:e(()=>a[16]||(a[16]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isreverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isreverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isreverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isreverse)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isreverse)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isintervals"},{default:e(()=>a[17]||(a[17]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isintervals)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isintervals)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"ispoints"},{default:e(()=>a[18]||(a[18]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, ispoints)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, ispoints)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isregular"},{default:e(()=>a[19]||(a[19]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isexplicit"},{default:e(()=>a[20]||(a[20]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isexplicit"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isexplicit"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isexplicit"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isexplicit)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isexplicit)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isstart"},{default:e(()=>a[21]||(a[21]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isstart"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isstart"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isstart"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isstart)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isstart)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"iscenter"},{default:e(()=>a[22]||(a[22]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscenter"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscenter"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscenter"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscenter)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscenter)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isend"},{default:e(()=>a[23]||(a[23]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isend"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isend"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isend"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isend)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isend)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1})]),_:1})])}const m=d(r,[["render",c]]);export{C as __pageData,m as default}; diff --git a/previews/PR801/assets/get_info.md.D5VYRM01.lean.js b/previews/PR801/assets/get_info.md.D5VYRM01.lean.js new file mode 100644 index 000000000..da1c45e61 --- /dev/null +++ b/previews/PR801/assets/get_info.md.D5VYRM01.lean.js @@ -0,0 +1,66 @@ +import{_ as d,B as k,c as p,a4 as n,G as l,w as e,o as g,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const C=JSON.parse('{"title":"Getters","description":"","frontmatter":{},"headers":[],"relativePath":"get_info.md","filePath":"get_info.md","lastUpdated":null}'),r={name:"get_info.md"};function c(o,a,u,y,E,v){const t=k("PluginTabsTab"),h=k("PluginTabs");return g(),p("div",null,[a[24]||(a[24]=n(`

Getters

DimensionalData.jl defines consistent methods to retrieve information from objects like DimArray, DimStack, Tuples of Dimension, Dimension and Lookup.

First we will define an example DimArray.

julia
using DimensionalData
+using DimensionalData.Lookups
+x, y = X(10:-1:1), Y(100.0:10:200.0)
(↓ X 10:-1:1,
+→ Y 100.0:10.0:200.0)
julia
julia> A = rand(x, y)
╭───────────────────────────╮
+10×11 DimArray{Float64,2}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points,
+Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  100.0         110.0180.0       190.0       200.0
+ 10      0.664038      0.464482        0.868966    0.530653    0.418968
+  9      0.00832284    0.0980829       0.314535    0.322005    0.674881
+  8      0.639212      0.233778        0.315591    0.190225    0.475569
+  7      0.602315      0.0372362       0.950143    0.062593    0.948976
+  6      0.375166      0.423798   …    0.640311    0.932968    0.98985
+  5      0.153219      0.635963        0.293126    0.68781     0.309301
+  4      0.00508449    0.829714        0.727149    0.585756    0.921145
+  3      0.946824      0.906705        0.899632    0.471877    0.633956
+  2      0.876112      0.831617        0.128932    0.428951    0.243803
+  1      0.749253      0.864128   …    0.715102    0.921012    0.566574
`,7)),l(h,null,{default:e(()=>[l(t,{label:"dims"},{default:e(()=>a[0]||(a[0]=[i("p",null,[i("code",null,"dims"),s(" retrieves dimensions from any object that has them.")],-1),i("p",null,[s("What makes it so useful is you can filter which dimensions you want in what order, using any "),i("code",null,"Dimension"),s(", "),i("code",null,"Type{Dimension}"),s(" or "),i("code",null,"Symbol"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X,))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"reverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"otherdims"},{default:e(()=>a[1]||(a[1]=[i("p",null,[i("code",null,"otherdims"),s(" is just like "),i("code",null,"dims"),s(" but returns whatever "),i("code",null,"dims"),s(" would "),i("em",null,"not"),s(" return from the same query.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (X,))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"lookup"},{default:e(()=>a[2]||(a[2]=[i("p",null,[s("Get all the "),i("code",null,"Lookup"),s(" in an object")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10:-1:1")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"100.0:10.0:200.0")])])])],-1)])),_:1}),l(t,{label:"val"},{default:e(()=>a[3]||(a[3]=[i("p",null,[i("code",null,"val"),s(" is used where there is an unambiguous single value:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," val"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"7")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," val"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10.5")])])])],-1)])),_:1}),l(t,{label:"order"},{default:e(()=>a[4]||(a[4]=[i("p",null,[s("Get the order of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(ReverseOrdered(), ForwardOrdered())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(ReverseOrdered(), ForwardOrdered())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"ReverseOrdered()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," order"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"ForwardOrdered()")])])])],-1)])),_:1}),l(t,{label:"sampling"},{default:e(()=>a[5]||(a[5]=[i("p",null,[s("Get the sampling of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Points(), Points())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Points(), Points())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Points()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sampling"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Points()")])])])],-1)])),_:1}),l(t,{label:"span"},{default:e(()=>a[6]||(a[6]=[i("p",null,[s("Get the span of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Regular{Int64}(-1), Regular{Float64}(10.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Regular{Int64}(-1), Regular{Float64}(10.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Regular{Int64}(-1)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," span"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Regular{Float64}(10.0)")])])])],-1)])),_:1}),l(t,{label:"locus"},{default:e(()=>a[7]||(a[7]=[i("p",null,[s("Get the locus of a "),i("code",null,"Lookup"),s(", or a "),i("code",null,"Tuple"),s(" from a "),i("code",null,"DimArray"),s(" or "),i("code",null,"DimTuple"),s(".")],-1),i("p",null,"(locus is our term for distinguishing if an lookup value specifies the start, center or end of an interval)",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Center(), Center())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(Center(), Center())")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Center()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," locus"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Center()")])])])],-1)])),_:1}),l(t,{label:"bounds"},{default:e(()=>a[8]||(a[8]=[i("p",null,[s("Get the bounds of each dimension. This is different for "),i("code",null,"Points"),s(" and "),i("code",null,"Intervals"),s(" - the bounds for points of a "),i("code",null,"Lookup"),s(" are simply "),i("code",null,"(first(l), last(l))"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"((1, 10), (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"((1, 10), (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(1, 10)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," bounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(100.0, 200.0)")])])])],-1)])),_:1}),l(t,{label:"intervalbounds"},{default:e(()=>a[9]||(a[9]=[i("p",null,"Get the bounds of each interval along a dimension.",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"([(10, 10), (9, 9), (8, 8), (7, 7), (6, 6), (5, 5), (4, 4), (3, 3), (2, 2), (1, 1)], [(100.0, 100.0), (110.0, 110.0), (120.0, 120.0), (130.0, 130.0), (140.0, 140.0), (150.0, 150.0), (160.0, 160.0), (170.0, 170.0), (180.0, 180.0), (190.0, 190.0), (200.0, 200.0)])")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"([(10, 10), (9, 9), (8, 8), (7, 7), (6, 6), (5, 5), (4, 4), (3, 3), (2, 2), (1, 1)], [(100.0, 100.0), (110.0, 110.0), (120.0, 120.0), (130.0, 130.0), (140.0, 140.0), (150.0, 150.0), (160.0, 160.0), (170.0, 170.0), (180.0, 180.0), (190.0, 190.0), (200.0, 200.0)])")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10-element Vector{Tuple{Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (10, 10)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (9, 9)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (8, 8)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (7, 7)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (6, 6)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (5, 5)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (4, 4)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (3, 3)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2, 2)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1, 1)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"11-element Vector{Tuple{Float64, Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (100.0, 100.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (110.0, 110.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (120.0, 120.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (130.0, 130.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (140.0, 140.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (150.0, 150.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (160.0, 160.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (170.0, 170.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (180.0, 180.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (190.0, 190.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (200.0, 200.0)")])])])],-1)])),_:1}),l(t,{label:"extent"},{default:e(()=>a[10]||(a[10]=[i("p",null,[i("a",{href:"https://github.com/rafaqz/Extent",target:"_blank",rel:"noreferrer"},"Extents.jl"),s(" provides an "),i("code",null,"Extent"),s(" object that combines the names of dimensions with their bounds.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Extents"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," extent")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Extent(X = (1, 10), Y = (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Extent(X = (1, 10),)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Extent(X = (1, 10), Y = (100.0, 200.0))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1)])),_:1})]),_:1}),a[25]||(a[25]=n('

Predicates

These always return true or false. With multiple dimensions, fale means !all and true means all.

dims and all other methods listed above can use predicates to filter the returned dimensions.

',3)),l(h,null,{default:e(()=>[l(t,{label:"issampled"},{default:e(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," issampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, issampled)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, issampled)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, issampled)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#6a737d","--shiki-dark":"#d1d5da"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")])])])],-1)])),_:1}),l(t,{label:"iscategorical"},{default:e(()=>a[12]||(a[12]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscategorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscategorical)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscategorical)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscategorical)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"iscyclic"},{default:e(()=>a[13]||(a[13]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscyclic)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscyclic)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isordered"},{default:e(()=>a[14]||(a[14]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isordered)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isordered)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isforward"},{default:e(()=>a[15]||(a[15]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isforward"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isforward"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isforward"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isforward)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isforward)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isreverse"},{default:e(()=>a[16]||(a[16]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isreverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isreverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isreverse"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isreverse)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isreverse)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isintervals"},{default:e(()=>a[17]||(a[17]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isintervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isintervals)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isintervals)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"ispoints"},{default:e(()=>a[18]||(a[18]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ispoints"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"lookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, ispoints)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, ispoints)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isregular"},{default:e(()=>a[19]||(a[19]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isregular)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isexplicit"},{default:e(()=>a[20]||(a[20]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isexplicit"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isexplicit"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isexplicit"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isexplicit)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isexplicit)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"isstart"},{default:e(()=>a[21]||(a[21]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isstart"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isstart"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isstart"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isstart)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isstart)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1}),l(t,{label:"iscenter"},{default:e(()=>a[22]||(a[22]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscenter"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscenter"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," iscenter"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"true")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscenter)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, iscenter)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1)])),_:1}),l(t,{label:"isend"},{default:e(()=>a[23]||(a[23]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isend"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isend"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," isend"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"false")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isend)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"()")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," otherdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, isend)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"("),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10:-1:1"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"100.0:10.0:200.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},")")])])])],-1)])),_:1})]),_:1})])}const m=d(r,[["render",c]]);export{C as __pageData,m as default}; diff --git a/previews/PR801/assets/groupby.md._-rDFlY6.js b/previews/PR801/assets/groupby.md._-rDFlY6.js new file mode 100644 index 000000000..7dcda88c4 --- /dev/null +++ b/previews/PR801/assets/groupby.md._-rDFlY6.js @@ -0,0 +1,487 @@ +import{_ as p,B as t,c as d,a4 as n,G as e,w as l,j as i,a as s,o as r}from"./chunks/framework.D3Ia4FEQ.js";const b=JSON.parse('{"title":"Group By","description":"","frontmatter":{},"headers":[],"relativePath":"groupby.md","filePath":"groupby.md","lastUpdated":null}'),g={name:"groupby.md"};function y(f,a,c,o,u,E){const h=t("PluginTabsTab"),k=t("PluginTabs");return r(),d("div",null,[a[25]||(a[25]=n(`

Group By

DimensionalData.jl provides a groupby function for dimensional grouping. This guide will cover:

  • simple grouping with a function

  • grouping with Bins

  • grouping with another existing AbstractDimArry or Dimension

Grouping functions

Lets look at the kind of functions that can be used to group DateTime. Other types will follow the same principles, but are usually simpler.

First load some packages:

julia
using DimensionalData
+using Dates
+using Statistics
+const DD = DimensionalData

Now create a demo DateTime range

julia
julia> tempo = range(DateTime(2000), step=Hour(1), length=365*24*2)
Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00")

Lets see how some common functions work.

The hour function will transform values to hour of the day - the integers 0:23

`,12)),e(k,null,{default:l(()=>[e(h,{label:"hour"},{default:l(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," hour"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 3")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 4")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 9")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 15")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 16")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 17")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 18")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 19")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 20")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 21")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 22")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 23")])])])],-1)])),_:1}),e(h,{label:"day"},{default:l(()=>a[1]||(a[1]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," day"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")])])])],-1)])),_:1}),e(h,{label:"month"},{default:l(()=>a[2]||(a[2]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," month"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")])])])],-1)])),_:1}),e(h,{label:"dayofweek"},{default:l(()=>a[3]||(a[3]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dayofweek"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")])])])],-1)])),_:1}),e(h,{label:"dayofyear"},{default:l(()=>a[4]||(a[4]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dayofyear"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")])])])],-1)])),_:1})]),_:1}),a[26]||(a[26]=i("p",null,"Tuple groupings",-1)),e(k,null,{default:l(()=>[e(h,{label:"yearmonth"},{default:l(()=>a[5]||(a[5]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," yearmonth"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Tuple{Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")])])])],-1)])),_:1}),e(h,{label:"yearmonthday"},{default:l(()=>a[6]||(a[6]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," yearmonthday"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Tuple{Int64, Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")])])])],-1)])),_:1}),e(h,{label:"custom"},{default:l(()=>a[7]||(a[7]=[i("p",null,"We can create our own function that return tuples",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"yearday"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x) "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"year"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dayofyear"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x))")])])])],-1),i("p",null,"You can probably guess what it does:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," yearday"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Tuple{Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")])])])],-1)])),_:1})]),_:1}),a[27]||(a[27]=n(`

Grouping and reducing

Lets define an array with a time dimension of the times used above:

julia
julia> A = rand(X(1:0.01:2), Ti(tempo))
╭───────────────────────────────╮
+101×17520 DimArray{Float64,2}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Float64} 1.0:0.01:2.0 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    2000-01-01T00:00:00   2000-01-01T01:00:002001-12-30T23:00:00
+ 1.0   0.247032              0.706417                 0.10748
+ 1.01  0.749267              0.559878                 0.916216
+ 1.02  0.694796              0.981865                 0.842792
+ 1.03  0.214909              0.313279                 0.683712
+ ⋮                                                 ⋱  ⋮
+ 1.96  0.899864              0.819928                 0.313711
+ 1.97  0.581748              0.0446036                0.762533
+ 1.98  0.645795              0.442542                 0.522989
+ 1.99  0.460633              0.346013              …  0.639499
+ 2.0   0.0403793             0.561611                 0.736525
`,4)),e(k,null,{default:l(()=>[e(h,{label:"basic"},{default:l(()=>a[8]||(a[8]=[i("p",null,[s("Group by month, using the "),i("code",null,"month"),s(" function:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," groups "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"month)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"12-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────────────────────┴──────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 2, …, 11, 12]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>month")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1488"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1488"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 11"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1440"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 12"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1464"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,"We can take the mean of each group by broadcasting over them:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(groups)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"12-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴─────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 2, …, 11, 12]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>month")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500757")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498832")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498388")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500913")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500277")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 11"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498996")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 12"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500093")])])])],-1)])),_:1}),e(h,{label:"sum dayofyear"},{default:l(()=>a[9]||(a[9]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"dayofyear))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"366-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 2, …, 365, 366]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>dayofyear")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2412.87")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2402.31")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2415.97")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2463.19")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 364"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2379.63")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 365"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1208.53")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 366"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1227.96")])])])],-1)])),_:1}),e(h,{label:"maximum yearmonthday"},{default:l(()=>a[10]||(a[10]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," maximum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"yearmonthday))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"730-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Tuple{Int64, Int64, Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[(2000, 1, 1), (2000, 1, 2), …, (2001, 12, 29), (2001, 12, 30)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>yearmonthday")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999846")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 2)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999708")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 3)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999983")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 4)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.99999")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 28)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.99903")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 29)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999815")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 30)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999193")])])])],-1)])),_:1}),e(h,{label:"minimum yearmonth"},{default:l(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," minimum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"yearmonth))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"24-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴─────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Tuple{Int64, Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[(2000, 1), (2000, 2), …, (2001, 11), (2001, 12)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>yearmonth")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.09558e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 2)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 8.15952e-8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 3)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 4.94018e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 4)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7.17666e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 10)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5.76547e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 11)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5.68072e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.16545e-6")])])])],-1)])),_:1}),e(h,{label:"median hour"},{default:l(()=>a[12]||(a[12]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," median"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"hour))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"24-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴─────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[0, 1, …, 22, 23]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>hour")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500627")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.503561")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500405")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.501369")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 21"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498669")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 22"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499218")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 23"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498895")])])])],-1)])),_:1}),e(h,{label:"mean yearday"},{default:l(()=>a[13]||(a[13]=[i("p",null,"We can also use the function we defined above",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"yearday))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"730-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Tuple{Int64, Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[(2000, 1), (2000, 2), …, (2001, 363), (2001, 364)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>yearday")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.492332")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 2)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.487563")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 3)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499667")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 4)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.501732")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 362)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.502391")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 363)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498465")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 364)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.488458")])])])],-1)])),_:1})]),_:1}),a[28]||(a[28]=i("h2",{id:"binning",tabindex:"-1"},[s("Binning "),i("a",{class:"header-anchor",href:"#binning","aria-label":'Permalink to "Binning"'},"​")],-1)),a[29]||(a[29]=i("p",null,[s("Sometimes we want to further aggregate our groups after running a function, or just bin the raw data directly. We can use the "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.Bins"},[i("code",null,"Bins")]),s(" wrapper to do this.")],-1)),e(k,null,{default:l(()=>[e(h,{label:"evenly spaced"},{default:l(()=>a[14]||(a[14]=[i("p",null,[s("For quick analysis, we can break our groups into "),i("code",null,"N"),s(" bins.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"4"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{IntervalSets.Interval{:closed, :open, Float64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0 .. 3.75275 (closed-open), 3.75275 .. 6.5055 (closed-open), 6.5055 .. 9.25825 (closed-open), 9.25825 .. 12.011 (closed-open)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, 4)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 3.75275 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4344"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.75275 .. 6.5055 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 6.5055 .. 9.25825 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9.25825 .. 12.011 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4392"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,"Doing this requires slightly padding the bin edges, so the lookup of the output is less than ideal.",-1)])),_:1}),e(h,{label:"specific values as bins"},{default:l(()=>a[15]||(a[15]=[i("p",null,[s("When our function returns an "),i("code",null,"Int"),s(", we can use a range of values we want to keep:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:2"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, 1:2)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500757")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498832")])])])],-1)])),_:1}),e(h,{label:"selected month bins"},{default:l(()=>a[16]||(a[16]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"])))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 3, 5]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, [1, 3, 5])…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500757")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498388")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499687")])])])],-1)])),_:1}),e(h,{label:"bin groups"},{default:l(()=>a[17]||(a[17]=[i("p",null,[s("We can also specify an "),i("code",null,"AbstractArray"),s(" of grouping "),i("code",null,"AbstractArray"),s(": Her we group by month, and bin the summer and winter months:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, [["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"], ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]]; labels"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"->"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," string"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(x)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Vector{String}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},'[["12", "1", "2"], ["6", "7", "8"]]'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, [[12, 1, 2], [6, 7, 8]])…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},' ["12", "1", "2"]'),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4320"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},' ["6", "7", "8"]'),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"range bins"},{default:l(()=>a[18]||(a[18]=[i("p",null,[s("First, lets see what "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.ranges"},[i("code",null,"ranges")]),s(" does:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ranges"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"370"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"47-element Vector{UnitRange{Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1:8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 9:16")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 17:24")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 25:32")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 33:40")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 41:48")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 49:56")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 57:64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 65:72")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 73:80")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 305:312")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 313:320")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 321:328")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 329:336")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 337:344")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 345:352")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 353:360")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 361:368")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 369:376")])])])],-1),i("p",null,"We can use this vector of ranges to group into blocks, here 8 days :",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(dayofyear, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ranges"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"370"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"47-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────────────────────┴──────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{UnitRange{Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1:8, 9:16, …, 361:368, 369:376]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(dayofyear, UnitRange{Int64}[1:8, 9:16, 17:24, 25:32, 33…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1:8"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"384"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9:16"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"384"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 361:368"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"240"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 369:376"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,[s("Note: this only works where our function "),i("code",null,"dayofyear"),s(" returns values exactly "),i("code",null,"in"),s(" the ranges. "),i("code",null,"7.5"),s(" would not be included!")],-1)])),_:1}),e(h,{label:"intervals bins"},{default:l(()=>a[19]||(a[19]=[i("p",null,[s("Intervals is like ranges, but for taking all values in an interval, not just discrete "),i("code",null,"Integer"),s("s.")],-1),i("p",null,[i("code",null,"intervals"),s(" returns closed-open "),i("code",null,"IntervalSets.Interval"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.3"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"4-element Vector{IntervalSets.Interval{:closed, :open, Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 .. 1.3 (closed-open)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.3 .. 1.6 (closed-open)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.6 .. 1.9 (closed-open)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.9 .. 2.2 (closed-open)")])])])],-1),i("p",null,[s("We can use this to bin the "),i("code",null,"Float64"),s(" values on the "),i("code",null,"X"),s(" axis:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," groups "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.3"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{IntervalSets.Interval{:closed, :open, Float64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0 .. 1.3 (closed-open), 1.3 .. 1.6 (closed-open), 1.6 .. 1.9 (closed-open), 1.9 .. 2.2 (closed-open)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :X=>Bins(identity, Interval{:closed, :open, Float64}[1.0 .. 1.3 (…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 1.3 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.3 .. 1.6 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6 .. 1.9 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.9 .. 2.2 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 11"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,[s("The lookup values of our final array are now "),i("code",null,"IntervalSets.Interval"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(groups)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{IntervalSets.Interval{:closed, :open, Float64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0 .. 1.3 (closed-open), 1.3 .. 1.6 (closed-open), 1.6 .. 1.9 (closed-open), 1.9 .. 2.2 (closed-open)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :X=>Bins(identity, Interval{:closed, :open, Float64}[1.0 .. 1.3 (…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 1.3 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.49935")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.3 .. 1.6 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500032")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6 .. 1.9 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499474")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.9 .. 2.2 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500333")])])])],-1)])),_:1}),e(h,{label:"seasons"},{default:l(()=>a[20]||(a[20]=[i("p",null,[s("There is a helper function for grouping by three-month seasons and getting nice keys for them: "),i("code",null,"seasons"),s(". Note you have to call it, not just pass it!")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," seasons"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:Dec_Jan_Feb, :Mar_Apr_May, :Jun_Jul_Aug, :Sep_Oct_Nov]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(month; cycle=12, step=3, start=12)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Dec_Jan_Feb"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4320"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Mar_Apr_May"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jun_Jul_Aug"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Sep_Oct_Nov"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,"We could also start our seasons in January:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," seasons"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(; start"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"January))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:Jan_Feb_Mar, :Apr_May_Jun, :Jul_Aug_Sep, :Oct_Nov_Dec]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(month; cycle=12, step=3, start=1)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jan_Feb_Mar"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4344"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Apr_May_Jun"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jul_Aug_Sep"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Oct_Nov_Dec"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4392"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"months"},{default:l(()=>a[21]||(a[21]=[i("p",null,[s("We can also use "),i("code",null,"months"),s(" to group into arbitrary group sizes, starting wherever we like:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," months"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; start"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[Jun_Jul, Aug_Sep, …, Feb_Mar, Apr_May]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(month; cycle=12, step=2, start=6)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jun_Jul"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2928"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Aug_Sep"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2928"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Feb_Mar"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2856"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Apr_May"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2928"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"hours"},{default:l(()=>a[22]||(a[22]=[i("p",null,[i("code",null,"hours"),s(" works a lot like "),i("code",null,"months"),s(". Here we group into day and night - two 12 hour blocks starting at 6am:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," hours"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; start"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", labels"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"->"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 6"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," in"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"?"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," :night"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," :"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," :day"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:night, :day]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(hour; cycle=24, step=12, start=6)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :night"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"8760"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :day"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"8030"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1})]),_:1}),a[30]||(a[30]=i("h2",{id:"Select-by-Dimension",tabindex:"-1"},[s("Select by Dimension "),i("a",{class:"header-anchor",href:"#Select-by-Dimension","aria-label":'Permalink to "Select by Dimension {#Select-by-Dimension}"'},"​")],-1)),a[31]||(a[31]=i("ul",null,[i("li",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/dimensions#DimensionalData.Dimensions.Dimension"},[i("code",null,"Dimension")])])],-1)),a[32]||(a[32]=i("p",null,[s("We can also select by "),i("code",null,"Dimension"),s("s and any objects with "),i("code",null,"dims"),s(" methods.")],-1)),e(k,null,{default:l(()=>[e(h,{label:"groupby dims"},{default:l(()=>a[23]||(a[23]=[i("p",null,[s("Trivially, grouping by an objects own dimension is similar to "),i("code",null,"eachslice"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"17520-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────┴───────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :groupby => :Ti=>[DateTime("2000-01-01T00:00:00"), DateTime("2000-01-01T01:00…')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T01:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T02:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2001-12-30T22:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2001-12-30T23:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"groupby AbstractDimArray"},{default:l(()=>a[24]||(a[24]=[i("p",null,"But we can also group by other objects dimensions:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," B "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[:, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"100"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"34"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.01:2.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(3):Dates.DateTime("2000-01-05T03:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T03:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2000-01-05T03:00:00")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.247032 0.231283 0.38714")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.01"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.749267 0.202035 0.828515")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.02"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.694796 0.0184746 0.537469")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.03"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.214909 0.930599 0.434061")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮ ⋱")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.96"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.899864 0.875108 0.727997")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.97"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.581748 0.600816 0.742852")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.98"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.645795 0.6796 0.112054")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.99"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.460633 0.500769 … 0.105273")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0403793 0.013967 0.789637")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," C "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, B))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"34"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.01:2.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(3):Dates.DateTime("2000-01-05T03:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => (:X=>[1.0, 1.01, 1.02, 1.03, 1.04, 1.05, 1.06, 1.07, 1.08, 1.09 …")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T03:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2000-01-05T03:00:00")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.247032 0.231283 0.38714")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.01"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.749267 0.202035 0.828515")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮ ⋱")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.98"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.645795 0.6796 0.112054")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.99"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.460633 0.500769 … 0.105273")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0403793 0.013967 0.789637")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," @assert"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," size"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(C) "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," size"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(B)")])])])],-1)])),_:1})]),_:1}),a[33]||(a[33]=i("p",null,[i("em",null,"TODO: Apply custom function (i.e. normalization) to grouped output.")],-1))])}const F=p(g,[["render",y]]);export{b as __pageData,F as default}; diff --git a/previews/PR801/assets/groupby.md._-rDFlY6.lean.js b/previews/PR801/assets/groupby.md._-rDFlY6.lean.js new file mode 100644 index 000000000..7dcda88c4 --- /dev/null +++ b/previews/PR801/assets/groupby.md._-rDFlY6.lean.js @@ -0,0 +1,487 @@ +import{_ as p,B as t,c as d,a4 as n,G as e,w as l,j as i,a as s,o as r}from"./chunks/framework.D3Ia4FEQ.js";const b=JSON.parse('{"title":"Group By","description":"","frontmatter":{},"headers":[],"relativePath":"groupby.md","filePath":"groupby.md","lastUpdated":null}'),g={name:"groupby.md"};function y(f,a,c,o,u,E){const h=t("PluginTabsTab"),k=t("PluginTabs");return r(),d("div",null,[a[25]||(a[25]=n(`

Group By

DimensionalData.jl provides a groupby function for dimensional grouping. This guide will cover:

  • simple grouping with a function

  • grouping with Bins

  • grouping with another existing AbstractDimArry or Dimension

Grouping functions

Lets look at the kind of functions that can be used to group DateTime. Other types will follow the same principles, but are usually simpler.

First load some packages:

julia
using DimensionalData
+using Dates
+using Statistics
+const DD = DimensionalData

Now create a demo DateTime range

julia
julia> tempo = range(DateTime(2000), step=Hour(1), length=365*24*2)
Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00")

Lets see how some common functions work.

The hour function will transform values to hour of the day - the integers 0:23

`,12)),e(k,null,{default:l(()=>[e(h,{label:"hour"},{default:l(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," hour"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 3")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 4")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 9")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 15")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 16")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 17")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 18")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 19")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 20")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 21")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 22")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 23")])])])],-1)])),_:1}),e(h,{label:"day"},{default:l(()=>a[1]||(a[1]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," day"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 30")])])])],-1)])),_:1}),e(h,{label:"month"},{default:l(()=>a[2]||(a[2]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," month"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 12")])])])],-1)])),_:1}),e(h,{label:"dayofweek"},{default:l(()=>a[3]||(a[3]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dayofweek"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7")])])])],-1)])),_:1}),e(h,{label:"dayofyear"},{default:l(()=>a[4]||(a[4]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dayofyear"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 364")])])])],-1)])),_:1})]),_:1}),a[26]||(a[26]=i("p",null,"Tuple groupings",-1)),e(k,null,{default:l(()=>[e(h,{label:"yearmonth"},{default:l(()=>a[5]||(a[5]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," yearmonth"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Tuple{Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12)")])])])],-1)])),_:1}),e(h,{label:"yearmonthday"},{default:l(()=>a[6]||(a[6]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," yearmonthday"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Tuple{Int64, Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 12, 30)")])])])],-1)])),_:1}),e(h,{label:"custom"},{default:l(()=>a[7]||(a[7]=[i("p",null,"We can create our own function that return tuples",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"yearday"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x) "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"year"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dayofyear"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x))")])])])],-1),i("p",null,"You can probably guess what it does:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," yearday"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(tempo)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"17520-element Vector{Tuple{Int64, Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2000, 1)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")])])])],-1)])),_:1})]),_:1}),a[27]||(a[27]=n(`

Grouping and reducing

Lets define an array with a time dimension of the times used above:

julia
julia> A = rand(X(1:0.01:2), Ti(tempo))
╭───────────────────────────────╮
+101×17520 DimArray{Float64,2}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Float64} 1.0:0.01:2.0 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    2000-01-01T00:00:00   2000-01-01T01:00:002001-12-30T23:00:00
+ 1.0   0.247032              0.706417                 0.10748
+ 1.01  0.749267              0.559878                 0.916216
+ 1.02  0.694796              0.981865                 0.842792
+ 1.03  0.214909              0.313279                 0.683712
+ ⋮                                                 ⋱  ⋮
+ 1.96  0.899864              0.819928                 0.313711
+ 1.97  0.581748              0.0446036                0.762533
+ 1.98  0.645795              0.442542                 0.522989
+ 1.99  0.460633              0.346013              …  0.639499
+ 2.0   0.0403793             0.561611                 0.736525
`,4)),e(k,null,{default:l(()=>[e(h,{label:"basic"},{default:l(()=>a[8]||(a[8]=[i("p",null,[s("Group by month, using the "),i("code",null,"month"),s(" function:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," groups "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"month)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"12-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────────────────────┴──────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 2, …, 11, 12]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>month")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1488"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1488"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 11"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1440"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 12"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1464"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,"We can take the mean of each group by broadcasting over them:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(groups)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"12-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴─────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 2, …, 11, 12]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>month")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500757")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498832")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498388")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500913")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500277")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 11"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498996")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 12"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500093")])])])],-1)])),_:1}),e(h,{label:"sum dayofyear"},{default:l(()=>a[9]||(a[9]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"dayofyear))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"366-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 2, …, 365, 366]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>dayofyear")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2412.87")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2402.31")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2415.97")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2463.19")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 364"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2379.63")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 365"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1208.53")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 366"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1227.96")])])])],-1)])),_:1}),e(h,{label:"maximum yearmonthday"},{default:l(()=>a[10]||(a[10]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," maximum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"yearmonthday))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"730-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Tuple{Int64, Int64, Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[(2000, 1, 1), (2000, 1, 2), …, (2001, 12, 29), (2001, 12, 30)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>yearmonthday")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999846")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 2)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999708")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 3)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999983")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 4)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.99999")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 28)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.99903")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 29)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999815")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 30)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999193")])])])],-1)])),_:1}),e(h,{label:"minimum yearmonth"},{default:l(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," minimum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"yearmonth))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"24-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴─────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Tuple{Int64, Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[(2000, 1), (2000, 2), …, (2001, 11), (2001, 12)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>yearmonth")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.09558e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 2)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 8.15952e-8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 3)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 4.94018e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 4)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 7.17666e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 10)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5.76547e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 11)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5.68072e-6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.16545e-6")])])])],-1)])),_:1}),e(h,{label:"median hour"},{default:l(()=>a[12]||(a[12]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," median"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"hour))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"24-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────┴─────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[0, 1, …, 22, 23]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>hour")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500627")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.503561")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500405")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.501369")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 21"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498669")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 22"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499218")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 23"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498895")])])])],-1)])),_:1}),e(h,{label:"mean yearday"},{default:l(()=>a[13]||(a[13]=[i("p",null,"We can also use the function we defined above",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"yearday))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"730-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Tuple{Int64, Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[(2000, 1), (2000, 2), …, (2001, 363), (2001, 364)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>yearday")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.492332")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 2)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.487563")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 3)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499667")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 4)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.501732")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 362)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.502391")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 363)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498465")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 364)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.488458")])])])],-1)])),_:1})]),_:1}),a[28]||(a[28]=i("h2",{id:"binning",tabindex:"-1"},[s("Binning "),i("a",{class:"header-anchor",href:"#binning","aria-label":'Permalink to "Binning"'},"​")],-1)),a[29]||(a[29]=i("p",null,[s("Sometimes we want to further aggregate our groups after running a function, or just bin the raw data directly. We can use the "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.Bins"},[i("code",null,"Bins")]),s(" wrapper to do this.")],-1)),e(k,null,{default:l(()=>[e(h,{label:"evenly spaced"},{default:l(()=>a[14]||(a[14]=[i("p",null,[s("For quick analysis, we can break our groups into "),i("code",null,"N"),s(" bins.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"4"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{IntervalSets.Interval{:closed, :open, Float64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0 .. 3.75275 (closed-open), 3.75275 .. 6.5055 (closed-open), 6.5055 .. 9.25825 (closed-open), 9.25825 .. 12.011 (closed-open)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, 4)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 3.75275 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4344"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.75275 .. 6.5055 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 6.5055 .. 9.25825 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9.25825 .. 12.011 (closed-open)"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4392"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,"Doing this requires slightly padding the bin edges, so the lookup of the output is less than ideal.",-1)])),_:1}),e(h,{label:"specific values as bins"},{default:l(()=>a[15]||(a[15]=[i("p",null,[s("When our function returns an "),i("code",null,"Int"),s(", we can use a range of values we want to keep:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:2"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, 1:2)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500757")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498832")])])])],-1)])),_:1}),e(h,{label:"selected month bins"},{default:l(()=>a[16]||(a[16]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"])))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1, 3, 5]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, [1, 3, 5])…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500757")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.498388")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499687")])])])],-1)])),_:1}),e(h,{label:"bin groups"},{default:l(()=>a[17]||(a[17]=[i("p",null,[s("We can also specify an "),i("code",null,"AbstractArray"),s(" of grouping "),i("code",null,"AbstractArray"),s(": Her we group by month, and bin the summer and winter months:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(month, [["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"], ["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"7"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]]; labels"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"->"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," string"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(x)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Vector{String}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},'[["12", "1", "2"], ["6", "7", "8"]]'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(month, [[12, 1, 2], [6, 7, 8]])…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},' ["12", "1", "2"]'),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4320"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},' ["6", "7", "8"]'),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"range bins"},{default:l(()=>a[18]||(a[18]=[i("p",null,[s("First, lets see what "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.ranges"},[i("code",null,"ranges")]),s(" does:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ranges"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"370"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"47-element Vector{UnitRange{Int64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1:8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 9:16")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 17:24")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 25:32")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 33:40")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 41:48")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 49:56")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 57:64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 65:72")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 73:80")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 305:312")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 313:320")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 321:328")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 329:336")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 337:344")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 345:352")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 353:360")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 361:368")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 369:376")])])])],-1),i("p",null,"We can use this vector of ranges to group into blocks, here 8 days :",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(dayofyear, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ranges"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"370"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"47-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────────────────────┴──────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{UnitRange{Int64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1:8, 9:16, …, 361:368, 369:376]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>Bins(dayofyear, UnitRange{Int64}[1:8, 9:16, 17:24, 25:32, 33…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1:8"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"384"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9:16"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"384"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 361:368"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"240"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 369:376"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,[s("Note: this only works where our function "),i("code",null,"dayofyear"),s(" returns values exactly "),i("code",null,"in"),s(" the ranges. "),i("code",null,"7.5"),s(" would not be included!")],-1)])),_:1}),e(h,{label:"intervals bins"},{default:l(()=>a[19]||(a[19]=[i("p",null,[s("Intervals is like ranges, but for taking all values in an interval, not just discrete "),i("code",null,"Integer"),s("s.")],-1),i("p",null,[i("code",null,"intervals"),s(" returns closed-open "),i("code",null,"IntervalSets.Interval"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.3"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"4-element Vector{IntervalSets.Interval{:closed, :open, Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.0 .. 1.3 (closed-open)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.3 .. 1.6 (closed-open)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.6 .. 1.9 (closed-open)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1.9 .. 2.2 (closed-open)")])])])],-1),i("p",null,[s("We can use this to bin the "),i("code",null,"Float64"),s(" values on the "),i("code",null,"X"),s(" axis:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," groups "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Bins"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.3"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{IntervalSets.Interval{:closed, :open, Float64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0 .. 1.3 (closed-open), 1.3 .. 1.6 (closed-open), 1.6 .. 1.9 (closed-open), 1.9 .. 2.2 (closed-open)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :X=>Bins(identity, Interval{:closed, :open, Float64}[1.0 .. 1.3 (…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 1.3 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.3 .. 1.6 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6 .. 1.9 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.9 .. 2.2 (closed-open)"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 11"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"17520"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,[s("The lookup values of our final array are now "),i("code",null,"IntervalSets.Interval"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".(groups)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{IntervalSets.Interval{:closed, :open, Float64}} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0 .. 1.3 (closed-open), 1.3 .. 1.6 (closed-open), 1.6 .. 1.9 (closed-open), 1.9 .. 2.2 (closed-open)]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :X=>Bins(identity, Interval{:closed, :open, Float64}[1.0 .. 1.3 (…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 1.3 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.49935")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.3 .. 1.6 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500032")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6 .. 1.9 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499474")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.9 .. 2.2 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500333")])])])],-1)])),_:1}),e(h,{label:"seasons"},{default:l(()=>a[20]||(a[20]=[i("p",null,[s("There is a helper function for grouping by three-month seasons and getting nice keys for them: "),i("code",null,"seasons"),s(". Note you have to call it, not just pass it!")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," seasons"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:Dec_Jan_Feb, :Mar_Apr_May, :Jun_Jul_Aug, :Sep_Oct_Nov]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(month; cycle=12, step=3, start=12)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Dec_Jan_Feb"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4320"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Mar_Apr_May"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jun_Jul_Aug"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Sep_Oct_Nov"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1),i("p",null,"We could also start our seasons in January:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," seasons"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(; start"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"January))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:Jan_Feb_Mar, :Apr_May_Jun, :Jul_Aug_Sep, :Oct_Nov_Dec]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(month; cycle=12, step=3, start=1)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jan_Feb_Mar"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4344"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Apr_May_Jun"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4368"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jul_Aug_Sep"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4416"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Oct_Nov_Dec"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"4392"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"months"},{default:l(()=>a[21]||(a[21]=[i("p",null,[s("We can also use "),i("code",null,"months"),s(" to group into arbitrary group sizes, starting wherever we like:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," months"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; start"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[Jun_Jul, Aug_Sep, …, Feb_Mar, Apr_May]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(month; cycle=12, step=2, start=6)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Jun_Jul"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2928"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Aug_Sep"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2928"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Feb_Mar"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2856"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :Apr_May"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2928"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"hours"},{default:l(()=>a[22]||(a[22]=[i("p",null,[i("code",null,"hours"),s(" works a lot like "),i("code",null,"months"),s(". Here we group into day and night - two 12 hour blocks starting at 6am:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," hours"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; start"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", labels"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"->"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 6"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," in"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"?"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," :night"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," :"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," :day"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────┴───────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:night, :day]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => :Ti=>CyclicBins(hour; cycle=24, step=12, start=6)…")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :night"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"8760"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :day"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"8030"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1})]),_:1}),a[30]||(a[30]=i("h2",{id:"Select-by-Dimension",tabindex:"-1"},[s("Select by Dimension "),i("a",{class:"header-anchor",href:"#Select-by-Dimension","aria-label":'Permalink to "Select by Dimension {#Select-by-Dimension}"'},"​")],-1)),a[31]||(a[31]=i("ul",null,[i("li",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/dimensions#DimensionalData.Dimensions.Dimension"},[i("code",null,"Dimension")])])],-1)),a[32]||(a[32]=i("p",null,[s("We can also select by "),i("code",null,"Dimension"),s("s and any objects with "),i("code",null,"dims"),s(" methods.")],-1)),e(k,null,{default:l(()=>[e(h,{label:"groupby dims"},{default:l(()=>a[23]||(a[23]=[i("p",null,[s("Trivially, grouping by an objects own dimension is similar to "),i("code",null,"eachslice"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"dims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Ti))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"17520-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimGroupByArray{DimArray{Float64,1},1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────┴───────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :groupby => :Ti=>[DateTime("2000-01-01T00:00:00"), DateTime("2000-01-01T01:00…')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────── group dims ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," ↓ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"→ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Ti")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T01:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T02:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2001-12-30T22:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2001-12-30T23:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray")])])])],-1)])),_:1}),e(h,{label:"groupby AbstractDimArray"},{default:l(()=>a[24]||(a[24]=[i("p",null,"But we can also group by other objects dimensions:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," B "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[:, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"100"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"34"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.01:2.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(3):Dates.DateTime("2000-01-05T03:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T03:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2000-01-05T03:00:00")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.247032 0.231283 0.38714")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.01"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.749267 0.202035 0.828515")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.02"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.694796 0.0184746 0.537469")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.03"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.214909 0.930599 0.434061")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮ ⋱")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.96"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.899864 0.875108 0.727997")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.97"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.581748 0.600816 0.742852")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.98"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.645795 0.6796 0.112054")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.99"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.460633 0.500769 … 0.105273")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0403793 0.013967 0.789637")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," C "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},".("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"groupby"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, B))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"101"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"34"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.01:2.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Ti"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(3):Dates.DateTime("2000-01-05T03:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, Any} with 1 entry:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," :groupby => (:X=>[1.0, 1.01, 1.02, 1.03, 1.04, 1.05, 1.06, 1.07, 1.08, 1.09 …")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2000-01-01T03:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2000-01-05T03:00:00")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.247032 0.231283 0.38714")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.01"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.749267 0.202035 0.828515")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮ ⋱")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.98"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.645795 0.6796 0.112054")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.99"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.460633 0.500769 … 0.105273")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0403793 0.013967 0.789637")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," @assert"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," size"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(C) "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," size"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(B)")])])])],-1)])),_:1})]),_:1}),a[33]||(a[33]=i("p",null,[i("em",null,"TODO: Apply custom function (i.e. normalization) to grouped output.")],-1))])}const F=p(g,[["render",y]]);export{b as __pageData,F as default}; diff --git a/previews/PR801/assets/index.md.Co6U3z_V.js b/previews/PR801/assets/index.md.Co6U3z_V.js new file mode 100644 index 000000000..2654c5b91 --- /dev/null +++ b/previews/PR801/assets/index.md.Co6U3z_V.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a}from"./chunks/framework.D3Ia4FEQ.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"DimensionalData.jl","text":"Julia datasets with named dimensions","tagline":"High performance named indexing for Julia","image":{"src":"/logo.png"},"actions":[{"theme":"brand","text":"Getting Started","link":"/basics"},{"theme":"alt","text":"API reference","link":"/api/reference"},{"theme":"alt","text":"View on Github","link":"https://github.com/rafaqz/DimensionalData.jl"}]},"features":[{"title":"Intelligent indexing","details":"DimensionalData.jl provides no-cost abstractions for named indexing, and fast index lookups.","link":"/selectors"},{"title":"Powerful Array manipulation","details":"broadcast, reduce, permutedims, and groupby operations.","link":"/groupby"},{"title":"Seamlessly integrated with the julia ecosystem","details":"Works with most methods that accept a regular Array. If a method accepts numeric indices or dims=X in base, you should be able to use DimensionalData.jl dims."}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":null}'),i={name:"index.md"};function n(s,o,r,l,d,m){return a(),t("div")}const u=e(i,[["render",n]]);export{p as __pageData,u as default}; diff --git a/previews/PR801/assets/index.md.Co6U3z_V.lean.js b/previews/PR801/assets/index.md.Co6U3z_V.lean.js new file mode 100644 index 000000000..2654c5b91 --- /dev/null +++ b/previews/PR801/assets/index.md.Co6U3z_V.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a}from"./chunks/framework.D3Ia4FEQ.js";const p=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"DimensionalData.jl","text":"Julia datasets with named dimensions","tagline":"High performance named indexing for Julia","image":{"src":"/logo.png"},"actions":[{"theme":"brand","text":"Getting Started","link":"/basics"},{"theme":"alt","text":"API reference","link":"/api/reference"},{"theme":"alt","text":"View on Github","link":"https://github.com/rafaqz/DimensionalData.jl"}]},"features":[{"title":"Intelligent indexing","details":"DimensionalData.jl provides no-cost abstractions for named indexing, and fast index lookups.","link":"/selectors"},{"title":"Powerful Array manipulation","details":"broadcast, reduce, permutedims, and groupby operations.","link":"/groupby"},{"title":"Seamlessly integrated with the julia ecosystem","details":"Works with most methods that accept a regular Array. If a method accepts numeric indices or dims=X in base, you should be able to use DimensionalData.jl dims."}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":null}'),i={name:"index.md"};function n(s,o,r,l,d,m){return a(),t("div")}const u=e(i,[["render",n]]);export{p as __pageData,u as default}; diff --git a/previews/PR801/assets/integrations.md.DnteQbzv.js b/previews/PR801/assets/integrations.md.DnteQbzv.js new file mode 100644 index 000000000..af66c3b8c --- /dev/null +++ b/previews/PR801/assets/integrations.md.DnteQbzv.js @@ -0,0 +1 @@ +import{_ as e,c as r,a4 as t,o}from"./chunks/framework.D3Ia4FEQ.js";const p=JSON.parse('{"title":"Integrations","description":"","frontmatter":{},"headers":[],"relativePath":"integrations.md","filePath":"integrations.md","lastUpdated":null}'),s={name:"integrations.md"};function i(l,a,n,d,c,h){return o(),r("div",null,a[0]||(a[0]=[t('

Integrations

Rasters.jl

Rasters.jl extends DD for geospatial data manipulation, providing file load/save for a wide range of raster data sources and common GIS tools like polygon rasterization and masking. Raster types are aware of crs and their missingval (which is often not missing for performance and storage reasons).

Rasters.jl is also the reason DimensionalData.jl exists at all! But it always made sense to separate out spatial indexing from GIS tools and dependencies.

A Raster is a AbstractDimArray, a RasterStack is a AbstractDimStack, and Projected and Mapped are AbstractSample lookups.

YAXArrays.jl

YAXArrays.jl is another spatial data package aimed more at (very) large datasets. It's functionality is slowly converging with Rasters.jl (both wrapping DiskArray.jl/DimensionalData.jl) and we work closely with the developers.

YAXArray is a AbstractDimArray and inherits its behaviours.

ClimateBase.jl

ClimateBase.jl Extends DD with methods for analysis of climate data.

ArviZ.jl

ArviZ.jl Is a Julia package for exploratory analysis of Bayesian models.

An ArviZ.Dataset is an AbstractDimStack!

JuMP.jl

JuMP.jl is a powerful optimization DSL. It defines its own named array types but now accepts any AbstractDimArray too, through a package extension.

CryoGrid.jl

CryoGrid.jl A Julia implementation of the CryoGrid permafrost model.

CryoGridOutput uses DimArray for views into output data.

DynamicGrids.jl

DynamicGrids.jl is a spatial simulation engine, for cellular automata and spatial process models.

All DynamicGrids.jl Outputs are <: AbstractDimArray, and AbstractDimArray are used for auxiliary data to allow temporal synchronisation during simulations. Notably, this all works on GPUs!

AstroImages.jl

AstroImages.jl Provides tools to load and visualise astronomical images. AstroImage is <: AbstractDimArray.

TimeseriesTools.jl

TimeseriesTools.jl Uses DimArray for time-series data.

',25)]))}const u=e(s,[["render",i]]);export{p as __pageData,u as default}; diff --git a/previews/PR801/assets/integrations.md.DnteQbzv.lean.js b/previews/PR801/assets/integrations.md.DnteQbzv.lean.js new file mode 100644 index 000000000..af66c3b8c --- /dev/null +++ b/previews/PR801/assets/integrations.md.DnteQbzv.lean.js @@ -0,0 +1 @@ +import{_ as e,c as r,a4 as t,o}from"./chunks/framework.D3Ia4FEQ.js";const p=JSON.parse('{"title":"Integrations","description":"","frontmatter":{},"headers":[],"relativePath":"integrations.md","filePath":"integrations.md","lastUpdated":null}'),s={name:"integrations.md"};function i(l,a,n,d,c,h){return o(),r("div",null,a[0]||(a[0]=[t('

Integrations

Rasters.jl

Rasters.jl extends DD for geospatial data manipulation, providing file load/save for a wide range of raster data sources and common GIS tools like polygon rasterization and masking. Raster types are aware of crs and their missingval (which is often not missing for performance and storage reasons).

Rasters.jl is also the reason DimensionalData.jl exists at all! But it always made sense to separate out spatial indexing from GIS tools and dependencies.

A Raster is a AbstractDimArray, a RasterStack is a AbstractDimStack, and Projected and Mapped are AbstractSample lookups.

YAXArrays.jl

YAXArrays.jl is another spatial data package aimed more at (very) large datasets. It's functionality is slowly converging with Rasters.jl (both wrapping DiskArray.jl/DimensionalData.jl) and we work closely with the developers.

YAXArray is a AbstractDimArray and inherits its behaviours.

ClimateBase.jl

ClimateBase.jl Extends DD with methods for analysis of climate data.

ArviZ.jl

ArviZ.jl Is a Julia package for exploratory analysis of Bayesian models.

An ArviZ.Dataset is an AbstractDimStack!

JuMP.jl

JuMP.jl is a powerful optimization DSL. It defines its own named array types but now accepts any AbstractDimArray too, through a package extension.

CryoGrid.jl

CryoGrid.jl A Julia implementation of the CryoGrid permafrost model.

CryoGridOutput uses DimArray for views into output data.

DynamicGrids.jl

DynamicGrids.jl is a spatial simulation engine, for cellular automata and spatial process models.

All DynamicGrids.jl Outputs are <: AbstractDimArray, and AbstractDimArray are used for auxiliary data to allow temporal synchronisation during simulations. Notably, this all works on GPUs!

AstroImages.jl

AstroImages.jl Provides tools to load and visualise astronomical images. AstroImage is <: AbstractDimArray.

TimeseriesTools.jl

TimeseriesTools.jl Uses DimArray for time-series data.

',25)]))}const u=e(s,[["render",i]]);export{p as __pageData,u as default}; diff --git a/previews/PR801/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 b/previews/PR801/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 new file mode 100644 index 000000000..b6b603d59 Binary files /dev/null and b/previews/PR801/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 differ diff --git a/previews/PR801/assets/inter-italic-cyrillic.By2_1cv3.woff2 b/previews/PR801/assets/inter-italic-cyrillic.By2_1cv3.woff2 new file mode 100644 index 000000000..def40a4f6 Binary files /dev/null and b/previews/PR801/assets/inter-italic-cyrillic.By2_1cv3.woff2 differ diff --git a/previews/PR801/assets/inter-italic-greek-ext.1u6EdAuj.woff2 b/previews/PR801/assets/inter-italic-greek-ext.1u6EdAuj.woff2 new file mode 100644 index 000000000..e070c3d30 Binary files /dev/null and b/previews/PR801/assets/inter-italic-greek-ext.1u6EdAuj.woff2 differ diff --git a/previews/PR801/assets/inter-italic-greek.DJ8dCoTZ.woff2 b/previews/PR801/assets/inter-italic-greek.DJ8dCoTZ.woff2 new file mode 100644 index 000000000..a3c16ca40 Binary files /dev/null and b/previews/PR801/assets/inter-italic-greek.DJ8dCoTZ.woff2 differ diff --git a/previews/PR801/assets/inter-italic-latin-ext.CN1xVJS-.woff2 b/previews/PR801/assets/inter-italic-latin-ext.CN1xVJS-.woff2 new file mode 100644 index 000000000..2210a899e Binary files /dev/null and b/previews/PR801/assets/inter-italic-latin-ext.CN1xVJS-.woff2 differ diff --git a/previews/PR801/assets/inter-italic-latin.C2AdPX0b.woff2 b/previews/PR801/assets/inter-italic-latin.C2AdPX0b.woff2 new file mode 100644 index 000000000..790d62dc7 Binary files /dev/null and b/previews/PR801/assets/inter-italic-latin.C2AdPX0b.woff2 differ diff --git a/previews/PR801/assets/inter-italic-vietnamese.BSbpV94h.woff2 b/previews/PR801/assets/inter-italic-vietnamese.BSbpV94h.woff2 new file mode 100644 index 000000000..1eec0775a Binary files /dev/null and b/previews/PR801/assets/inter-italic-vietnamese.BSbpV94h.woff2 differ diff --git a/previews/PR801/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 b/previews/PR801/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 new file mode 100644 index 000000000..2cfe61536 Binary files /dev/null and b/previews/PR801/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 differ diff --git a/previews/PR801/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 b/previews/PR801/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 new file mode 100644 index 000000000..e3886dd14 Binary files /dev/null and b/previews/PR801/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 differ diff --git a/previews/PR801/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 b/previews/PR801/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 new file mode 100644 index 000000000..36d67487d Binary files /dev/null and b/previews/PR801/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 differ diff --git a/previews/PR801/assets/inter-roman-greek.BBVDIX6e.woff2 b/previews/PR801/assets/inter-roman-greek.BBVDIX6e.woff2 new file mode 100644 index 000000000..2bed1e85e Binary files /dev/null and b/previews/PR801/assets/inter-roman-greek.BBVDIX6e.woff2 differ diff --git a/previews/PR801/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 b/previews/PR801/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 new file mode 100644 index 000000000..9a8d1e2b5 Binary files /dev/null and b/previews/PR801/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 differ diff --git a/previews/PR801/assets/inter-roman-latin.Di8DUHzh.woff2 b/previews/PR801/assets/inter-roman-latin.Di8DUHzh.woff2 new file mode 100644 index 000000000..07d3c53ae Binary files /dev/null and b/previews/PR801/assets/inter-roman-latin.Di8DUHzh.woff2 differ diff --git a/previews/PR801/assets/inter-roman-vietnamese.BjW4sHH5.woff2 b/previews/PR801/assets/inter-roman-vietnamese.BjW4sHH5.woff2 new file mode 100644 index 000000000..57bdc22ae Binary files /dev/null and b/previews/PR801/assets/inter-roman-vietnamese.BjW4sHH5.woff2 differ diff --git a/previews/PR801/assets/izkfogt.nOjqWh1g.png b/previews/PR801/assets/izkfogt.nOjqWh1g.png new file mode 100644 index 000000000..c64eb156b Binary files /dev/null and b/previews/PR801/assets/izkfogt.nOjqWh1g.png differ diff --git a/previews/PR801/assets/jmmhsxu.iiL4UBgm.png b/previews/PR801/assets/jmmhsxu.iiL4UBgm.png new file mode 100644 index 000000000..c38c82e31 Binary files /dev/null and b/previews/PR801/assets/jmmhsxu.iiL4UBgm.png differ diff --git a/previews/PR801/assets/object_modification.md.C6yYw2Ar.js b/previews/PR801/assets/object_modification.md.C6yYw2Ar.js new file mode 100644 index 000000000..1978a3949 --- /dev/null +++ b/previews/PR801/assets/object_modification.md.C6yYw2Ar.js @@ -0,0 +1,137 @@ +import{_ as d,B as n,c as p,a4 as k,G as e,w as l,j as i,a as s,o as r}from"./chunks/framework.D3Ia4FEQ.js";const m=JSON.parse('{"title":"Modifying objects","description":"","frontmatter":{},"headers":[],"relativePath":"object_modification.md","filePath":"object_modification.md","lastUpdated":null}'),g={name:"object_modification.md"};function y(o,a,c,f,u,E){const h=n("PluginTabsTab"),t=n("PluginTabs");return r(),p("div",null,[a[12]||(a[12]=k('

Modifying objects

DimensionalData.jl objects are all struct rather than mutable struct. The only things you can modify in-place are the values of the contained arrays or metadata Dicts if they exist.

Everything else must be rebuilt and assigned to a variable.

modify

Modify the inner arrays of a AbstractDimArray or AbstractDimStack, with modify. This can be useful to e.g. replace all arrays with CuArray moving the data to the GPU, collect all inner arrays to Array without losing the outer DimArray wrappers, and similar things.

',5)),e(t,null,{default:l(()=>[e(h,{label:"array"},{default:l(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," falses"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Bool,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────┴─────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 BitMatrix:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_mod "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," modify"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Array, A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Bool,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────┴─────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A_mod)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 Matrix{Bool}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1)])),_:1}),e(h,{label:"stack"},{default:l(()=>a[1]||(a[1]=[i("p",null,[s("For a stack this applied to all layers, and is where "),i("code",null,"modify"),s(" starts to be more powerful:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"((a"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"falses"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), b"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"falses"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Bool"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Bool"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 BitMatrix:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"modify"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Array, st)"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 Matrix{Bool}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"modify"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Array, st)"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"b)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 Matrix{Bool}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1)])),_:1})]),_:1}),a[13]||(a[13]=i("h2",{id:"reorder",tabindex:"-1"},[i("code",null,"reorder"),s(),i("a",{class:"header-anchor",href:"#reorder","aria-label":'Permalink to "`reorder` {#reorder}"'},"​")],-1)),a[14]||(a[14]=i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/object_modification#reorder"},[i("code",null,"reorder")]),s(" is like reverse but declarative, rather than imperative: we tell it how we want the object to be, not what to do.")],-1)),e(t,null,{default:l(()=>[e(h,{label:"specific dimension/s"},{default:l(()=>a[2]||(a[2]=[i("p",null,"Reorder a specific dimension",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Lookups;")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.0"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'a'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'n'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"));")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reorder"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")])])])],-1)])),_:1}),e(h,{label:"all dimensions"},{default:l(()=>a[3]||(a[3]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reorder"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ReverseOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'n':-1:'a'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'l'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'c'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.340557 0.69461 0.804846 0.207882 0.461631 0.338844")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.907202 0.21316 0.138819 0.406397 0.803446 0.668984")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.352592 0.770553 0.183103 0.28035 0.0702987 0.450109")])])])],-1)])),_:1})]),_:1}),a[15]||(a[15]=k('

mergedims

mergedims is like reshape, but simultaneously merges multiple dimensions into a single combined dimension with a lookup holding Tuples of the values of both dimensions.

rebuild

rebuild is one of the core functions of DimensionalData.jl. Basically everything uses it somewhere. And you can too, with a few caveats.

Warning

rebuild assumes you know what you are doing. You can quite easily set values to things that don't make sense. The constructor may check a few things, like the number of dimensions matches the axes of the array. But not much else.

',5)),e(t,null,{default:l(()=>[e(h,{label:"change the name"},{default:l(()=>a[4]||(a[4]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A1 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rebuild"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":my_array"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," my_array"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────┴──────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," name"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A1)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},":my_array")])])])],-1)])),_:1}),e(h,{label:"change the metadata"},{default:l(()=>a[5]||(a[5]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A1 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rebuild"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =>"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},' "foo"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =>"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},' "bar"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, String} with 2 entries:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :a => "foo"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :b => "bar"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," metadata"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A1)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Dict{Symbol, String} with 2 entries:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :a => "foo"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :b => "bar"')])])])],-1)])),_:1})]),_:1}),a[16]||(a[16]=k('

The most common use internally is the arg version on Dimension. This is very useful in dimension-based algorithms as a way to transform a dimension wrapper from one object to another:

julia
julia> d = X(1)
X 1
julia
julia> rebuild(d, 1:10)
X 1:10

rebuild applications are listed here. AbstractDimArray and AbstractDimStack always accept these keywords or arguments, but those in [ ] brackets may be thrown away if not needed. Keywords in ( ) will error if used where they are not accepted.

TypeKeywordsArguments
AbstractDimArraydata, dims, [refdims, name, metadata]as with kw, in order
AbstractDimStackdata, dims, [refdims], layerdims, [metadata, layermetadata]as with kw, in order
Dimensionvalval
Selectorval, (atol)val
Lookupdata, (order, span, sampling, metadata)keywords only

rebuild magic

rebuild with keywords will even work on objects DD doesn't know about!

julia
julia> nt = (a = 1, b = 2)
(a = 1, b = 2)
julia
julia> rebuild(nt, a = 99)
(a = 99, b = 2)

Really, the keyword version is just ConstructionBase.setproperties underneath, but wrapped so objects can customise the DD interface without changing the more generic ConstructionBase.jl behaviours and breaking e.g. Accessors.jl in the process.

set

set gives us a way to set the values of the immutable objects in DD, like Dimension and LookupArray. Unlike rebuild it tries its best to do the right thing. You don't have to specify what field you want to set. Just pass in the object you want to be part of the lookup. Usually, there is no possible ambiguity.

set is still improving. Sometimes it may not do the right thing. If you think this is the case, create a GitHub issue.

',17)),e(t,null,{default:l(()=>[e(h,{label:"set the dimension wrapper"},{default:l(()=>a[6]||(a[6]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Z)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Z"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"clear the lookups"},{default:l(()=>a[7]||(a[7]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," NoLookup, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," NoLookup)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.849576 … 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.882085 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.745856 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set different lookup values"},{default:l(()=>a[8]||(a[8]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"140"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:10:140"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 20"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"120"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 130"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 140")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set lookup type as well as values"},{default:l(()=>a[9]||(a[9]=[i("p",null,"Change the values but also set the type to Sampled. TODO: broken",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Sampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"140"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:10:140"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," NoSpan"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," NoSampling")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 20"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"120"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 130"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 140")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set the points in X to be intervals"},{default:l(()=>a[10]||(a[10]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Intervals)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Center}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set the categories in Y to be `Unordered`"},{default:l(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Unordered)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1),i("p",null,":::",-1)])),_:1})]),_:1})])}const v=d(g,[["render",y]]);export{m as __pageData,v as default}; diff --git a/previews/PR801/assets/object_modification.md.C6yYw2Ar.lean.js b/previews/PR801/assets/object_modification.md.C6yYw2Ar.lean.js new file mode 100644 index 000000000..1978a3949 --- /dev/null +++ b/previews/PR801/assets/object_modification.md.C6yYw2Ar.lean.js @@ -0,0 +1,137 @@ +import{_ as d,B as n,c as p,a4 as k,G as e,w as l,j as i,a as s,o as r}from"./chunks/framework.D3Ia4FEQ.js";const m=JSON.parse('{"title":"Modifying objects","description":"","frontmatter":{},"headers":[],"relativePath":"object_modification.md","filePath":"object_modification.md","lastUpdated":null}'),g={name:"object_modification.md"};function y(o,a,c,f,u,E){const h=n("PluginTabsTab"),t=n("PluginTabs");return r(),p("div",null,[a[12]||(a[12]=k('

Modifying objects

DimensionalData.jl objects are all struct rather than mutable struct. The only things you can modify in-place are the values of the contained arrays or metadata Dicts if they exist.

Everything else must be rebuilt and assigned to a variable.

modify

Modify the inner arrays of a AbstractDimArray or AbstractDimStack, with modify. This can be useful to e.g. replace all arrays with CuArray moving the data to the GPU, collect all inner arrays to Array without losing the outer DimArray wrappers, and similar things.

',5)),e(t,null,{default:l(()=>[e(h,{label:"array"},{default:l(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," falses"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Bool,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────┴─────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 BitMatrix:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_mod "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," modify"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Array, A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Bool,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────┴─────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A_mod)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 Matrix{Bool}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1)])),_:1}),e(h,{label:"stack"},{default:l(()=>a[1]||(a[1]=[i("p",null,[s("For a stack this applied to all layers, and is where "),i("code",null,"modify"),s(" starts to be more powerful:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"((a"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"falses"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), b"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"falses"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Bool"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Bool"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 BitMatrix:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"modify"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Array, st)"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 Matrix{Bool}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," parent"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"modify"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Array, st)"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"b)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"3×5 Matrix{Bool}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0 0 0 0 0")])])])],-1)])),_:1})]),_:1}),a[13]||(a[13]=i("h2",{id:"reorder",tabindex:"-1"},[i("code",null,"reorder"),s(),i("a",{class:"header-anchor",href:"#reorder","aria-label":'Permalink to "`reorder` {#reorder}"'},"​")],-1)),a[14]||(a[14]=i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/object_modification#reorder"},[i("code",null,"reorder")]),s(" is like reverse but declarative, rather than imperative: we tell it how we want the object to be, not what to do.")],-1)),e(t,null,{default:l(()=>[e(h,{label:"specific dimension/s"},{default:l(()=>a[2]||(a[2]=[i("p",null,"Reorder a specific dimension",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Lookups;")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.0"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'a'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'n'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"));")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reorder"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")])])])],-1)])),_:1}),e(h,{label:"all dimensions"},{default:l(()=>a[3]||(a[3]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reorder"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ReverseOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'n':-1:'a'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'l'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'c'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.340557 0.69461 0.804846 0.207882 0.461631 0.338844")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.907202 0.21316 0.138819 0.406397 0.803446 0.668984")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.352592 0.770553 0.183103 0.28035 0.0702987 0.450109")])])])],-1)])),_:1})]),_:1}),a[15]||(a[15]=k('

mergedims

mergedims is like reshape, but simultaneously merges multiple dimensions into a single combined dimension with a lookup holding Tuples of the values of both dimensions.

rebuild

rebuild is one of the core functions of DimensionalData.jl. Basically everything uses it somewhere. And you can too, with a few caveats.

Warning

rebuild assumes you know what you are doing. You can quite easily set values to things that don't make sense. The constructor may check a few things, like the number of dimensions matches the axes of the array. But not much else.

',5)),e(t,null,{default:l(()=>[e(h,{label:"change the name"},{default:l(()=>a[4]||(a[4]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A1 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rebuild"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":my_array"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," my_array"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────┴──────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," name"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A1)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},":my_array")])])])],-1)])),_:1}),e(h,{label:"change the metadata"},{default:l(()=>a[5]||(a[5]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A1 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rebuild"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; metadata"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Dict"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =>"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},' "foo"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =>"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},' "bar"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────────────────────────────────────────────── metadata ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Dict{Symbol, String} with 2 entries:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :a => "foo"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :b => "bar"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," metadata"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A1)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Dict{Symbol, String} with 2 entries:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :a => "foo"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' :b => "bar"')])])])],-1)])),_:1})]),_:1}),a[16]||(a[16]=k('

The most common use internally is the arg version on Dimension. This is very useful in dimension-based algorithms as a way to transform a dimension wrapper from one object to another:

julia
julia> d = X(1)
X 1
julia
julia> rebuild(d, 1:10)
X 1:10

rebuild applications are listed here. AbstractDimArray and AbstractDimStack always accept these keywords or arguments, but those in [ ] brackets may be thrown away if not needed. Keywords in ( ) will error if used where they are not accepted.

TypeKeywordsArguments
AbstractDimArraydata, dims, [refdims, name, metadata]as with kw, in order
AbstractDimStackdata, dims, [refdims], layerdims, [metadata, layermetadata]as with kw, in order
Dimensionvalval
Selectorval, (atol)val
Lookupdata, (order, span, sampling, metadata)keywords only

rebuild magic

rebuild with keywords will even work on objects DD doesn't know about!

julia
julia> nt = (a = 1, b = 2)
(a = 1, b = 2)
julia
julia> rebuild(nt, a = 99)
(a = 99, b = 2)

Really, the keyword version is just ConstructionBase.setproperties underneath, but wrapped so objects can customise the DD interface without changing the more generic ConstructionBase.jl behaviours and breaking e.g. Accessors.jl in the process.

set

set gives us a way to set the values of the immutable objects in DD, like Dimension and LookupArray. Unlike rebuild it tries its best to do the right thing. You don't have to specify what field you want to set. Just pass in the object you want to be part of the lookup. Usually, there is no possible ambiguity.

set is still improving. Sometimes it may not do the right thing. If you think this is the case, create a GitHub issue.

',17)),e(t,null,{default:l(()=>[e(h,{label:"set the dimension wrapper"},{default:l(()=>a[6]||(a[6]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Z)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Z"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"clear the lookups"},{default:l(()=>a[7]||(a[7]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," NoLookup, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," NoLookup)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴─────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"→ "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.849576 … 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.882085 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.745856 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set different lookup values"},{default:l(()=>a[8]||(a[8]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"140"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:10:140"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 20"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"120"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 130"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 140")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set lookup type as well as values"},{default:l(()=>a[9]||(a[9]=[i("p",null,"Change the values but also set the type to Sampled. TODO: broken",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Sampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"140"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10:10:140"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," NoSpan"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," NoSampling")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 20"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 30"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"120"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 130"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 140")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set the points in X to be intervals"},{default:l(()=>a[10]||(a[10]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Intervals)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Center}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1)])),_:1}),e(h,{label:"set the categories in Y to be `Unordered`"},{default:l(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, Y "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Unordered)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭──────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"14"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├──────────────────────────┴───────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:3.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'a':1:'n'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'a'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'b'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'c'"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"'l'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'm'"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 'n'")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450109 0.0702987 0.28035 0.183103 0.770553 0.352592")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.668984 0.803446 0.406397 0.138819 0.21316 0.907202")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.338844 0.461631 0.207882 0.804846 0.69461 0.340557")])])])],-1),i("p",null,":::",-1)])),_:1})]),_:1})])}const v=d(g,[["render",y]]);export{m as __pageData,v as default}; diff --git a/previews/PR801/assets/plots.md.BM84STtN.js b/previews/PR801/assets/plots.md.BM84STtN.js new file mode 100644 index 000000000..7402bba24 --- /dev/null +++ b/previews/PR801/assets/plots.md.BM84STtN.js @@ -0,0 +1,5 @@ +import{_ as i,c as a,a4 as t,o as e}from"./chunks/framework.D3Ia4FEQ.js";const l="/DimensionalData.jl/previews/PR801/assets/jmmhsxu.iiL4UBgm.png",h="/DimensionalData.jl/previews/PR801/assets/ybmzrjc.BIa4VhRY.png",n="/DimensionalData.jl/previews/PR801/assets/veptoqy.CZKDtjAN.png",p="/DimensionalData.jl/previews/PR801/assets/izkfogt.nOjqWh1g.png",k="/DimensionalData.jl/previews/PR801/assets/yhxwiti.CBNkYhiq.png",r="/DimensionalData.jl/previews/PR801/assets/rcywifo.NnnTWDGw.png",m=JSON.parse('{"title":"Plots.jl","description":"","frontmatter":{},"headers":[],"relativePath":"plots.md","filePath":"plots.md","lastUpdated":null}'),d={name:"plots.md"};function o(E,s,g,c,y,F){return e(),a("div",null,s[0]||(s[0]=[t(`

Plots.jl

Plots.jl and Makie.jl functions mostly work out of the box on AbstractDimArray, although not with the same results - they choose to follow each packages default behaviour as much as possible.

This will plot a line plot with 'a', 'b' and 'c' in the legend, and values 1-10 on the labelled X axis:

Plots.jl support is deprecated, as development is moving to Makie.jl

Makie.jl

Makie.jl functions also mostly work with AbstractDimArray and will permute and reorder axes into the right places, especially if X/Y/Z/Ti dimensions are used.

In Makie a DimMatrix will plot as a heatmap by default, but it will have labels and axes in the right places:

julia
using DimensionalData, CairoMakie
+
+A = rand(X(10:10:100), Y([:a, :b, :c]))
+Makie.plot(A; colormap=:inferno)

Other plots also work, here DD ignores the axis order and instead favours the categorical variable for the X axis:

julia
Makie.rainclouds(A)

Test series plots

default colormap

julia
B = rand(X(10:10:100), Y([:a, :b, :c, :d, :e, :f, :g, :h, :i, :j]))
+Makie.series(B)

A different colormap

The colormap is controlled by the color argument, which can take as an input a named colormap, i.e. :plasma or a list of colours.

julia
Makie.series(B; color=:plasma)

julia
Makie.series(A; color=[:red, :blue, :orange])

with markers

julia
Makie.series(A; color=[:red, :blue, :orange], markersize=15)

A lot more is planned for Makie.jl plots in future!

',26)]))}const u=i(d,[["render",o]]);export{m as __pageData,u as default}; diff --git a/previews/PR801/assets/plots.md.BM84STtN.lean.js b/previews/PR801/assets/plots.md.BM84STtN.lean.js new file mode 100644 index 000000000..7402bba24 --- /dev/null +++ b/previews/PR801/assets/plots.md.BM84STtN.lean.js @@ -0,0 +1,5 @@ +import{_ as i,c as a,a4 as t,o as e}from"./chunks/framework.D3Ia4FEQ.js";const l="/DimensionalData.jl/previews/PR801/assets/jmmhsxu.iiL4UBgm.png",h="/DimensionalData.jl/previews/PR801/assets/ybmzrjc.BIa4VhRY.png",n="/DimensionalData.jl/previews/PR801/assets/veptoqy.CZKDtjAN.png",p="/DimensionalData.jl/previews/PR801/assets/izkfogt.nOjqWh1g.png",k="/DimensionalData.jl/previews/PR801/assets/yhxwiti.CBNkYhiq.png",r="/DimensionalData.jl/previews/PR801/assets/rcywifo.NnnTWDGw.png",m=JSON.parse('{"title":"Plots.jl","description":"","frontmatter":{},"headers":[],"relativePath":"plots.md","filePath":"plots.md","lastUpdated":null}'),d={name:"plots.md"};function o(E,s,g,c,y,F){return e(),a("div",null,s[0]||(s[0]=[t(`

Plots.jl

Plots.jl and Makie.jl functions mostly work out of the box on AbstractDimArray, although not with the same results - they choose to follow each packages default behaviour as much as possible.

This will plot a line plot with 'a', 'b' and 'c' in the legend, and values 1-10 on the labelled X axis:

Plots.jl support is deprecated, as development is moving to Makie.jl

Makie.jl

Makie.jl functions also mostly work with AbstractDimArray and will permute and reorder axes into the right places, especially if X/Y/Z/Ti dimensions are used.

In Makie a DimMatrix will plot as a heatmap by default, but it will have labels and axes in the right places:

julia
using DimensionalData, CairoMakie
+
+A = rand(X(10:10:100), Y([:a, :b, :c]))
+Makie.plot(A; colormap=:inferno)

Other plots also work, here DD ignores the axis order and instead favours the categorical variable for the X axis:

julia
Makie.rainclouds(A)

Test series plots

default colormap

julia
B = rand(X(10:10:100), Y([:a, :b, :c, :d, :e, :f, :g, :h, :i, :j]))
+Makie.series(B)

A different colormap

The colormap is controlled by the color argument, which can take as an input a named colormap, i.e. :plasma or a list of colours.

julia
Makie.series(B; color=:plasma)

julia
Makie.series(A; color=[:red, :blue, :orange])

with markers

julia
Makie.series(A; color=[:red, :blue, :orange], markersize=15)

A lot more is planned for Makie.jl plots in future!

',26)]))}const u=i(d,[["render",o]]);export{m as __pageData,u as default}; diff --git a/previews/PR801/assets/rcywifo.NnnTWDGw.png b/previews/PR801/assets/rcywifo.NnnTWDGw.png new file mode 100644 index 000000000..3653bcd6f Binary files /dev/null and b/previews/PR801/assets/rcywifo.NnnTWDGw.png differ diff --git a/previews/PR801/assets/selectors.md.DMIZn364.js b/previews/PR801/assets/selectors.md.DMIZn364.js new file mode 100644 index 000000000..5649a443d --- /dev/null +++ b/previews/PR801/assets/selectors.md.DMIZn364.js @@ -0,0 +1,258 @@ +import{_ as p,B as n,c as d,a4 as k,G as l,w as h,o as r,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const C=JSON.parse('{"title":"Selectors","description":"","frontmatter":{},"headers":[],"relativePath":"selectors.md","filePath":"selectors.md","lastUpdated":null}'),g={name:"selectors.md"};function y(f,a,o,c,E,u){const e=n("PluginTabsTab"),t=n("PluginTabs");return r(),d("div",null,[a[11]||(a[11]=k(`

Selectors

As well as choosing dimensions by name, we can also select values in them.

First, we can create DimArray with lookup values as well as dimension names:

julia
using DimensionalData
julia
julia> A = rand(X(1.0:0.2:2.0), Y([:a, :b, :c]))
╭─────────────────────────╮
+6×3 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.2:2.0 ForwardOrdered Regular Points,
+Y Categorical{Symbol} [:a, :b, :c] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :b         :c
+ 1.0  0.772277  0.536911   0.101231
+ 1.2  0.711133  0.0653496  0.339858
+ 1.4  0.883222  0.748041   0.191494
+ 1.6  0.802776  0.621603   0.341976
+ 1.8  0.156538  0.768488   0.87255
+ 2.0  0.969079  0.869012   0.415714

Then we can use Selector to select values from the array:

`,7)),l(t,null,{default:h(()=>[l(e,{label:"At"},{default:h(()=>a[0]||(a[0]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.At"},[i("code",null,"At(x)")]),s(" gets the index or indices exactly matching the passed in value/s.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"0.33985840915074383")])])])],-1),i("p",null,"Or within a tolerance:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.99"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.201"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; atol"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.05"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0, 1.2, 1.4]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1),i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.At"},[i("code",null,"At")]),s(" can also take vectors and ranges:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"])]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.2, 1.4]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.191494")])])])],-1)])),_:1}),l(e,{label:"Near"},{default:h(()=>a[1]||(a[1]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Near"},[i("code",null,"Near(x)")]),s(" gets the closest index to the passed in value(s), indexing with an "),i("code",null,"Int"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.245"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :b"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0653496")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :c"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.339858")])])])],-1),i("p",null,[i("code",null,"Near"),s(" can also take vectors and ranges, which indexes with a "),i("code",null,"Vector{Int}")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.25"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.2, 1.4]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1)])),_:1}),l(e,{label:"Contains"},{default:h(()=>a[2]||(a[2]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Contains"},[i("code",null,"Contains(x)")]),s(" get indices where the value x falls within an interval in the lookup.")],-1),i("p",null,[s("First set the "),i("code",null,"X"),s(" axis to be "),i("code",null,"Intervals"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Lookups")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.2:2.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.802776 0.621603 0.341976")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.156538 0.768488 0.87255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.969079 0.869012 0.415714")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A_intervals, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"6-element Vector{Tuple{Float64, Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.0, 1.2)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.2, 1.4)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.4, 1.6)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.6, 1.8)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.8, 2.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2.0, 2.2)")])])])],-1),i("p",null,[s("With a single value it is like indexing with "),i("code",null,"Int")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Contains"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.245"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :b"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0653496")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :c"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.339858")])])])],-1),i("p",null,[i("code",null,"Contains"),s(" can also take vectors and ranges, which is lick indexing with "),i("code",null,"Vector{Int}")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Contains"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.25"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0, 1.2]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")])])])],-1)])),_:1}),l(e,{label:".."},{default:h(()=>a[3]||(a[3]=[i("p",null,[i("code",null,".."),s(" or "),i("code",null,"IntervalSets.Interval"),s(" selects a range of values: "),i("code",null,".."),s(" is like indexing with a "),i("code",null,"UnitRange"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.2:0.2:1.6"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.802776 0.621603 0.341976")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," IntervalSets")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"OpenInterval"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.4:0.2:1.4"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Interval{:close,:open}"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.2:0.2:1.4"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1)])),_:1}),l(e,{label:"Touches"},{default:h(()=>a[4]||(a[4]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Touches"},[i("code",null,"Touches")]),s(" is like "),i("code",null,".."),s(", but for "),i("code",null,"Intervals"),s(" it will include intervals touched by the selected interval, not inside it.")],-1),i("p",null,[s("This usually means including zero, one or two cells more than "),i("code",null,".."),s(),i("code",null,"Touches"),s(" is like indexing with a "),i("code",null,"UnitRange")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Touches"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.2:1.4"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.2:0.2:1.2"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")])])])],-1)])),_:1}),l(e,{label:"Where"},{default:h(()=>a[5]||(a[5]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Where"},[i("code",null,"Where(f)")]),s(" filter the array axis by a function of the dimension index values. "),i("code",null,"Where"),s(" is like indexing with a "),i("code",null,"Vector{Bool}"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Where"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Where"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"->"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"in"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.6, 1.8, 2.0]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.802776 0.341976")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.156538 0.87255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.969079 0.415714")])])])],-1)])),_:1}),l(e,{label:"Not"},{default:h(()=>a[6]||(a[6]=[i("p",null,[i("code",null,"Not(x)"),s(" get all indices "),i("em",null,"not"),s(" selected by "),i("code",null,"x"),s(", which can be another selector. "),i("code",null,"Not"),s(" is like indexing with a "),i("code",null,"Vector{Bool}"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Where"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"in"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0, 1.2, 1.6, 1.8, 2.0]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:b]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.536911")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0653496")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.621603")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.768488")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.869012")])])])],-1)])),_:1})]),_:1}),a[12]||(a[12]=k('

Lookups

Selectors find indices in the Lookup of each dimension. Lookups wrap other AbstractArray (often AbstractRange) but add additional traits to facilitate fast lookups or specifying point or interval behaviour. These are usually detected automatically.

julia
using DimensionalData.Lookups
',3)),l(t,null,{default:h(()=>[l(e,{label:"Sampled lookups"},{default:h(()=>a[7]||(a[7]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Sampled"},[i("code",null,"Sampled(x)")]),s(" lookups hold values sampled along an axis. They may be "),i("code",null,"Ordered"),s("/"),i("code",null,"Unordered"),s(", "),i("code",null,"Intervals"),s("/"),i("code",null,"Points"),s(", and "),i("code",null,"Regular"),s("/"),i("code",null,"Irregular"),s(".")],-1),i("p",null,[s("Most of these properties are usually detected automatically, but here we create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Sampled"},[i("code",null,"Sampled")]),s(" lookup manually:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Sampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.0"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.0"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"100.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; order"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(), span"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Regular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), sampling"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10.0:10.0:100.0")])])])],-1),i("p",null,[s("To specify "),i("code",null,"Irregular"),s(),i("code",null,"Intervals"),s(" we should include the outer bounds of the lookup, as we cant determine them from the vector.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Sampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"13"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]; order"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(), span"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Irregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"21"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), sampling"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"6-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 13")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 3")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")])])])],-1)])),_:1}),l(e,{label:"Categorical lookup"},{default:h(()=>a[8]||(a[8]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Categorical"},[i("code",null,"Categorical(x)")]),s(" a categorical lookup that holds categories, and may be ordered.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Categorical"},[i("code",null,"Categorical")]),s(" lookup manually")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Categorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(["),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"mon"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"tue"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"weds"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"thur"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"fri"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"sat"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"sun"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]; order"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Unordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Categorical{String} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"7-element Vector{String}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "mon"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "tue"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "weds"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "thur"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "fri"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "sat"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "sun"')])])])],-1)])),_:1}),l(e,{label:"Cyclic lookups"},{default:h(()=>a[9]||(a[9]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Cyclic"},[i("code",null,"Cyclic(x)")]),s(" an "),i("code",null,"AbstractSampled"),s(" lookup for cyclical values.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Cyclic"},[i("code",null,"Cyclic")]),s(" lookup that cycles over 12 months.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Dates")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Cyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2000"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Month"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2000"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); cycle"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Month"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), sampling"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Cyclic{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"AutoOrder"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," AutoSpan"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00")')])])])],-1),i("p",null,[s("There is a shorthand to make a "),i("code",null,"DimArray"),s(" from a "),i("code",null,"Dimension"),s(" with a function of the lookup values. Here we convert the values to the month names:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(monthabbr, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(l))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"12-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{String,1}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," monthabbr(X)"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────┴─────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Cyclic{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Jan"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-02-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Feb"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-03-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Mar"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-04-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Apr"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-05-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "May"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-06-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Jun"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-07-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Jul"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-08-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Aug"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-09-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Sep"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-10-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Oct"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-11-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Nov"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-12-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Dec"')])])])],-1),i("p",null,"Now we can select any date and get the month:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2005"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"4"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},'"Apr"')])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3047"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"9"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},'"Sep"')])])])],-1)])),_:1}),l(e,{label:"NoLookup"},{default:h(()=>a[10]||(a[10]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.NoLookup"},[i("code",null,"NoLookup(x)")]),s(" no lookup values provided, so "),i("code",null,"Selector"),s("s will not work. When you create a "),i("code",null,"DimArray"),s(" without a lookup array, "),i("code",null,"NoLookup"),s(" will be used. It is also not show in REPL printing.")],-1),i("p",null,[s("Here we create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.NoLookup"},[i("code",null,"NoLookup")]),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," NoLookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," typeof"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(l)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup{AutoValues}")])])])],-1),i("p",null,"Or even fill in the axis:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," NoLookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Base"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"OneTo"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," typeof"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(l)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup{Base.OneTo{Int64}}")])])])],-1)])),_:1})]),_:1}),a[13]||(a[13]=k(`

Lookup autodetection

When we define an array, extra properties are detected:

julia
julia> A = DimArray(rand(7, 5), (X(10:10:70), Y([:a, :b, :c, :d, :e])))
╭─────────────────────────╮
+7×5 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Int64} 10:10:70 ForwardOrdered Regular Points,
+Y Categorical{Symbol} [:a, :b, :c, :d, :e] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :b        :c        :d        :e
+ 10    0.441181  0.12452   0.201129  0.12668   0.647225
+ 20    0.621662  0.196478  0.792553  0.575595  0.357367
+ 30    0.72217   0.791844  0.883323  0.915251  0.246886
+ 40    0.896257  0.758149  0.679453  0.506221  0.667841
+ 50    0.301659  0.229418  0.442111  0.680987  0.0429074
+ 60    0.973622  0.228248  0.882656  0.396585  0.870348
+ 70    0.942925  0.749731  0.683795  0.687921  0.825204

This array has a Sampled lookup with ForwardOrdered Regular Points for X, and a Categorical ForwardOrdered for Y.

Most lookup types and properties are detected automatically like this from the arrays and ranges used.

  • Arrays and ranges of String, Symbol and Char are set to Categorical lookup.

    • order is detected as Unordered, ForwardOrdered or ReverseOrdered
  • Arrays and ranges of Number, DateTime and other things are set to Sampled lookups.

    • order is detected as Unordered, ForwardOrdered or ReverseOrdered.

    • sampling is set to Points() unless the values are IntervalSets.Interval, then Intervals(Center()) is used.

    • span is detected as Regular(step(range)) for AbstractRange and Irregular(nothing, nothing) for other AbstractArray, where nothing, nothing are the unknown outer bounds of the lookup. They are not needed for Points as the outer values are the outer bounds. But they can be specified manually for Intervals

    • Empty dimensions or dimension types are assigned NoLookup() ranges that can't be used with selectors as they hold no values.

DimSelector

We can also index with arrays of selectors DimSelectors. These are like CartesianIndices or DimIndices but holding Selectors At, Near or Contains.

julia
julia> A = rand(X(1.0:0.2:2.0), Y(10:2:20))
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.2:2.0 ForwardOrdered Regular Points,
+Y Sampled{Int64} 10:2:20 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  10          12         14          16         18         20
+ 1.0   0.11787     0.664642   0.0831822   0.528009   0.631878   0.990294
+ 1.2   0.0905873   0.30391    0.552153    0.229792   0.29205    0.610173
+ 1.4   0.495624    0.810377   0.578253    0.574678   0.371583   0.460775
+ 1.6   0.263531    0.361536   0.753597    0.568763   0.564657   0.788252
+ 1.8   0.388768    0.44818    0.0300922   0.896624   0.952489   0.216905
+ 2.0   0.422318    0.499307   0.228081    0.823123   0.10454    0.931705

We can define another array with partly matching indices

julia
julia> B = rand(X(1.0:0.04:2.0), Y(20:-1:10))
╭───────────────────────────╮
+26×11 DimArray{Float64,2}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.04:2.0 ForwardOrdered Regular Points,
+Y Sampled{Int64} 20:-1:10 ReverseOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+   20          19         1812          11         10
+ 1.0    0.300304    0.660657   0.677543      0.712342    0.806495   0.727464
+ 1.04   0.421525    0.835674   0.458427      0.248873    0.412078   0.455255
+ 1.08   0.399781    0.824659   0.392334      0.675459    0.95213    0.91666
+ 1.12   0.717006    0.623124   0.482654      0.964964    0.304266   0.313361
+ ⋮                                       ⋱               ⋮
+ 1.84   0.880853    0.578329   0.394576      0.255579    0.750947   0.27206
+ 1.88   0.363918    0.533041   0.545522      0.516268    0.531012   0.503183
+ 1.92   0.259597    0.358535   0.748884      0.575727    0.227865   0.865713
+ 1.96   0.34589     0.94196    0.657054  …   0.728852    0.462859   0.767151
+ 2.0    0.0143204   0.985407   0.476387      0.0417586   0.286      0.777391

And we can simply select values from B with selectors from A:

julia
julia> B[DimSelectors(A)]
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.0, 1.2, …, 1.8, 2.0] ForwardOrdered Irregular Points,
+Y Sampled{Int64} [10, 12, …, 18, 20] ReverseOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  10         12          14         16          18         20
+ 1.0   0.727464   0.712342    0.14203    0.207735    0.677543   0.300304
+ 1.2   0.815253   0.642187    0.49973    0.0387029   0.319496   0.887979
+ 1.4   0.391307   0.197423    0.166425   0.48124     0.300285   0.0574938
+ 1.6   0.49224    0.795274    0.24625    0.735391    0.699976   0.973586
+ 1.8   0.539197   0.0661958   0.811917   0.822008    0.848624   0.930699
+ 2.0   0.777391   0.0417586   0.873218   0.834418    0.476387   0.0143204

If the lookups aren't aligned we can use Near instead of At, which like doing a nearest neighbor interpolation:

julia
julia> C = rand(X(1.0:0.007:2.0), Y(10.0:0.9:30))
╭────────────────────────────╮
+143×23 DimArray{Float64,2}
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.007:1.994 ForwardOrdered Regular Points,
+Y Sampled{Float64} 10.0:0.9:29.8 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    10.0         10.928.0        28.9        29.8
+ 1.0     0.168617     0.417756       0.258764    0.195897    0.747615
+ 1.007   0.395053     0.994295       0.770101    0.403836    0.891596
+ 1.014   0.144422     0.370454       0.878565    0.753744    0.0149561
+ 1.021   0.938771     0.917143       0.679296    0.180397    0.436168
+ ⋮                               ⋱
+ 1.966   0.454047     0.92977        0.662833    0.160403    0.276742
+ 1.973   0.846736     0.0923954  …   0.43915     0.405912    0.245638
+ 1.98    0.946655     0.0506805      0.0821229   0.0787968   0.613895
+ 1.987   0.00686195   0.266013       0.485952    0.193179    0.0628947
+ 1.994   0.84475      0.574619       0.0760101   0.950007    0.662413
julia
julia> C[DimSelectors(A; selectors=Near)]
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.0, 1.203, …, 1.798, 1.994] ForwardOrdered Irregular Points,
+Y Sampled{Float64} [10.0, 11.8, …, 18.1, 19.9] ForwardOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    10.0        11.8        13.6        16.3        18.1       19.9
+ 1.0     0.168617    0.397386    0.133475    0.0630398   0.247976   0.145293
+ 1.203   0.233685    0.243195    0.331147    0.584048    0.717841   0.832538
+ 1.399   0.0164892   0.729706    0.0315018   0.899356    0.847872   0.358513
+ 1.602   0.0426808   0.61781     0.808889    0.140817    0.188976   0.054083
+ 1.798   0.226699    0.0983553   0.661444    0.750622    0.650842   0.986606
+ 1.994   0.84475     0.366873    0.734751    0.590953    0.621527   0.23502
`,22))])}const b=p(g,[["render",y]]);export{C as __pageData,b as default}; diff --git a/previews/PR801/assets/selectors.md.DMIZn364.lean.js b/previews/PR801/assets/selectors.md.DMIZn364.lean.js new file mode 100644 index 000000000..5649a443d --- /dev/null +++ b/previews/PR801/assets/selectors.md.DMIZn364.lean.js @@ -0,0 +1,258 @@ +import{_ as p,B as n,c as d,a4 as k,G as l,w as h,o as r,j as i,a as s}from"./chunks/framework.D3Ia4FEQ.js";const C=JSON.parse('{"title":"Selectors","description":"","frontmatter":{},"headers":[],"relativePath":"selectors.md","filePath":"selectors.md","lastUpdated":null}'),g={name:"selectors.md"};function y(f,a,o,c,E,u){const e=n("PluginTabsTab"),t=n("PluginTabs");return r(),d("div",null,[a[11]||(a[11]=k(`

Selectors

As well as choosing dimensions by name, we can also select values in them.

First, we can create DimArray with lookup values as well as dimension names:

julia
using DimensionalData
julia
julia> A = rand(X(1.0:0.2:2.0), Y([:a, :b, :c]))
╭─────────────────────────╮
+6×3 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.2:2.0 ForwardOrdered Regular Points,
+Y Categorical{Symbol} [:a, :b, :c] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :b         :c
+ 1.0  0.772277  0.536911   0.101231
+ 1.2  0.711133  0.0653496  0.339858
+ 1.4  0.883222  0.748041   0.191494
+ 1.6  0.802776  0.621603   0.341976
+ 1.8  0.156538  0.768488   0.87255
+ 2.0  0.969079  0.869012   0.415714

Then we can use Selector to select values from the array:

`,7)),l(t,null,{default:h(()=>[l(e,{label:"At"},{default:h(()=>a[0]||(a[0]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.At"},[i("code",null,"At(x)")]),s(" gets the index or indices exactly matching the passed in value/s.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"0.33985840915074383")])])])],-1),i("p",null,"Or within a tolerance:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.99"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.201"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; atol"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.05"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0, 1.2, 1.4]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1),i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.At"},[i("code",null,"At")]),s(" can also take vectors and ranges:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"])]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.2, 1.4]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.191494")])])])],-1)])),_:1}),l(e,{label:"Near"},{default:h(()=>a[1]||(a[1]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Near"},[i("code",null,"Near(x)")]),s(" gets the closest index to the passed in value(s), indexing with an "),i("code",null,"Int"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.245"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :b"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0653496")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :c"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.339858")])])])],-1),i("p",null,[i("code",null,"Near"),s(" can also take vectors and ranges, which indexes with a "),i("code",null,"Vector{Int}")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.25"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.2, 1.4]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1)])),_:1}),l(e,{label:"Contains"},{default:h(()=>a[2]||(a[2]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Contains"},[i("code",null,"Contains(x)")]),s(" get indices where the value x falls within an interval in the lookup.")],-1),i("p",null,[s("First set the "),i("code",null,"X"),s(" axis to be "),i("code",null,"Intervals"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," DimensionalData"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Lookups")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," set"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A, X "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.2:2.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.802776 0.621603 0.341976")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.156538 0.768488 0.87255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.969079 0.869012 0.415714")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," intervalbounds"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A_intervals, X)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"6-element Vector{Tuple{Float64, Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.0, 1.2)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.2, 1.4)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.4, 1.6)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.6, 1.8)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (1.8, 2.0)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2.0, 2.2)")])])])],-1),i("p",null,[s("With a single value it is like indexing with "),i("code",null,"Int")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Contains"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.245"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────┴──────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :b"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0653496")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," :c"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.339858")])])])],-1),i("p",null,[i("code",null,"Contains"),s(" can also take vectors and ranges, which is lick indexing with "),i("code",null,"Vector{Int}")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Contains"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"0.25"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0, 1.2]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")])])])],-1)])),_:1}),l(e,{label:".."},{default:h(()=>a[3]||(a[3]=[i("p",null,[i("code",null,".."),s(" or "),i("code",null,"IntervalSets.Interval"),s(" selects a range of values: "),i("code",null,".."),s(" is like indexing with a "),i("code",null,"UnitRange"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.2:0.2:1.6"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.802776 0.621603 0.341976")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," IntervalSets")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"OpenInterval"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.4:0.2:1.4"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Interval{:close,:open}"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.2:0.2:1.4"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1)])),_:1}),l(e,{label:"Touches"},{default:h(()=>a[4]||(a[4]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Touches"},[i("code",null,"Touches")]),s(" is like "),i("code",null,".."),s(", but for "),i("code",null,"Intervals"),s(" it will include intervals touched by the selected interval, not inside it.")],-1),i("p",null,[s("This usually means including zero, one or two cells more than "),i("code",null,".."),s(),i("code",null,"Touches"),s(" is like indexing with a "),i("code",null,"UnitRange")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Touches"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:0.2:1.4"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.772277 0.536911 0.101231")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.883222 0.748041 0.191494")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A_intervals[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.1"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," .."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," 1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.2:0.2:1.2"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :b, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.711133 0.0653496 0.339858")])])])],-1)])),_:1}),l(e,{label:"Where"},{default:h(()=>a[5]||(a[5]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Where"},[i("code",null,"Where(f)")]),s(" filter the array axis by a function of the dimension index values. "),i("code",null,"Where"),s(" is like indexing with a "),i("code",null,"Vector{Bool}"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Where"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Where"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"->"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," x "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"in"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.6, 1.8, 2.0]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:a, :c]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :a"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :c")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.802776 0.341976")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.156538 0.87255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.969079 0.415714")])])])],-1)])),_:1}),l(e,{label:"Not"},{default:h(()=>a[6]||(a[6]=[i("p",null,[i("code",null,"Not(x)"),s(" get all indices "),i("em",null,"not"),s(" selected by "),i("code",null,"x"),s(", which can be another selector. "),i("code",null,"Not"),s(" is like indexing with a "),i("code",null,"Vector{Bool}"),s(".")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1.3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Where"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"in"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────┴────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"[1.0, 1.2, 1.6, 1.8, 2.0]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Symbol} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"[:b]"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," :b")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.536911")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0653496")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.621603")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.768488")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.869012")])])])],-1)])),_:1})]),_:1}),a[12]||(a[12]=k('

Lookups

Selectors find indices in the Lookup of each dimension. Lookups wrap other AbstractArray (often AbstractRange) but add additional traits to facilitate fast lookups or specifying point or interval behaviour. These are usually detected automatically.

julia
using DimensionalData.Lookups
',3)),l(t,null,{default:h(()=>[l(e,{label:"Sampled lookups"},{default:h(()=>a[7]||(a[7]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Sampled"},[i("code",null,"Sampled(x)")]),s(" lookups hold values sampled along an axis. They may be "),i("code",null,"Ordered"),s("/"),i("code",null,"Unordered"),s(", "),i("code",null,"Intervals"),s("/"),i("code",null,"Points"),s(", and "),i("code",null,"Regular"),s("/"),i("code",null,"Irregular"),s(".")],-1),i("p",null,[s("Most of these properties are usually detected automatically, but here we create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Sampled"},[i("code",null,"Sampled")]),s(" lookup manually:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Sampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.0"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.0"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"100.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"; order"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(), span"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Regular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), sampling"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Float64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"10.0:10.0:100.0")])])])],-1),i("p",null,[s("To specify "),i("code",null,"Irregular"),s(),i("code",null,"Intervals"),s(" we should include the outer bounds of the lookup, as we cant determine them from the vector.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Sampled"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"13"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"8"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"5"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]; order"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(), span"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Irregular"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"21"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), sampling"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Sampled{Int64} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Irregular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"6-element Vector{Int64}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 13")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 8")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 5")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 3")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")])])])],-1)])),_:1}),l(e,{label:"Categorical lookup"},{default:h(()=>a[8]||(a[8]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Categorical"},[i("code",null,"Categorical(x)")]),s(" a categorical lookup that holds categories, and may be ordered.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Categorical"},[i("code",null,"Categorical")]),s(" lookup manually")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Categorical"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(["),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"mon"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"tue"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"weds"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"thur"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"fri"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"sat"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"sun"'),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]; order"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Unordered"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"())")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Categorical{String} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"Unordered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"7-element Vector{String}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "mon"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "tue"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "weds"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "thur"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "fri"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "sat"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "sun"')])])])],-1)])),_:1}),l(e,{label:"Cyclic lookups"},{default:h(()=>a[9]||(a[9]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Cyclic"},[i("code",null,"Cyclic(x)")]),s(" an "),i("code",null,"AbstractSampled"),s(" lookup for cyclical values.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.Cyclic"},[i("code",null,"Cyclic")]),s(" lookup that cycles over 12 months.")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," using"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Dates")]),s(` +`),i("span",{class:"line"}),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," Cyclic"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2000"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Month"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},":"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2000"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"); cycle"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Month"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"12"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), sampling"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Intervals"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Start"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Cyclic{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}},"AutoOrder"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," AutoSpan"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"wrapping: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00")')])])])],-1),i("p",null,[s("There is a shorthand to make a "),i("code",null,"DimArray"),s(" from a "),i("code",null,"Dimension"),s(" with a function of the lookup values. Here we convert the values to the month names:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(monthabbr, "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(l))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"12-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{String,1}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," monthabbr(X)"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────┴─────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Cyclic{Dates.DateTime} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},'Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00")'),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Intervals{Start}")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-01-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Jan"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-02-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Feb"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-03-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Mar"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-04-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Apr"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-05-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "May"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-06-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Jun"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-07-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Jul"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-08-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Aug"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-09-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Sep"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-10-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Oct"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-11-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Nov"')]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2000-12-01T00:00:00"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},' "Dec"')])])])],-1),i("p",null,"Now we can select any date and get the month:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2005"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"4"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},'"Apr"')])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DateTime"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"3047"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"9"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},'"Sep"')])])])],-1)])),_:1}),l(e,{label:"NoLookup"},{default:h(()=>a[10]||(a[10]=[i("p",null,[i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.NoLookup"},[i("code",null,"NoLookup(x)")]),s(" no lookup values provided, so "),i("code",null,"Selector"),s("s will not work. When you create a "),i("code",null,"DimArray"),s(" without a lookup array, "),i("code",null,"NoLookup"),s(" will be used. It is also not show in REPL printing.")],-1),i("p",null,[s("Here we create a "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/lookuparrays#DimensionalData.Dimensions.Lookups.NoLookup"},[i("code",null,"NoLookup")]),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," NoLookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"()")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," typeof"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(l)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup{AutoValues}")])])])],-1),i("p",null,"Or even fill in the axis:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," l "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," NoLookup"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(Base"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"OneTo"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"10"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," typeof"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(l)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"NoLookup{Base.OneTo{Int64}}")])])])],-1)])),_:1})]),_:1}),a[13]||(a[13]=k(`

Lookup autodetection

When we define an array, extra properties are detected:

julia
julia> A = DimArray(rand(7, 5), (X(10:10:70), Y([:a, :b, :c, :d, :e])))
╭─────────────────────────╮
+7×5 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Int64} 10:10:70 ForwardOrdered Regular Points,
+Y Categorical{Symbol} [:a, :b, :c, :d, :e] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :b        :c        :d        :e
+ 10    0.441181  0.12452   0.201129  0.12668   0.647225
+ 20    0.621662  0.196478  0.792553  0.575595  0.357367
+ 30    0.72217   0.791844  0.883323  0.915251  0.246886
+ 40    0.896257  0.758149  0.679453  0.506221  0.667841
+ 50    0.301659  0.229418  0.442111  0.680987  0.0429074
+ 60    0.973622  0.228248  0.882656  0.396585  0.870348
+ 70    0.942925  0.749731  0.683795  0.687921  0.825204

This array has a Sampled lookup with ForwardOrdered Regular Points for X, and a Categorical ForwardOrdered for Y.

Most lookup types and properties are detected automatically like this from the arrays and ranges used.

  • Arrays and ranges of String, Symbol and Char are set to Categorical lookup.

    • order is detected as Unordered, ForwardOrdered or ReverseOrdered
  • Arrays and ranges of Number, DateTime and other things are set to Sampled lookups.

    • order is detected as Unordered, ForwardOrdered or ReverseOrdered.

    • sampling is set to Points() unless the values are IntervalSets.Interval, then Intervals(Center()) is used.

    • span is detected as Regular(step(range)) for AbstractRange and Irregular(nothing, nothing) for other AbstractArray, where nothing, nothing are the unknown outer bounds of the lookup. They are not needed for Points as the outer values are the outer bounds. But they can be specified manually for Intervals

    • Empty dimensions or dimension types are assigned NoLookup() ranges that can't be used with selectors as they hold no values.

DimSelector

We can also index with arrays of selectors DimSelectors. These are like CartesianIndices or DimIndices but holding Selectors At, Near or Contains.

julia
julia> A = rand(X(1.0:0.2:2.0), Y(10:2:20))
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.2:2.0 ForwardOrdered Regular Points,
+Y Sampled{Int64} 10:2:20 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  10          12         14          16         18         20
+ 1.0   0.11787     0.664642   0.0831822   0.528009   0.631878   0.990294
+ 1.2   0.0905873   0.30391    0.552153    0.229792   0.29205    0.610173
+ 1.4   0.495624    0.810377   0.578253    0.574678   0.371583   0.460775
+ 1.6   0.263531    0.361536   0.753597    0.568763   0.564657   0.788252
+ 1.8   0.388768    0.44818    0.0300922   0.896624   0.952489   0.216905
+ 2.0   0.422318    0.499307   0.228081    0.823123   0.10454    0.931705

We can define another array with partly matching indices

julia
julia> B = rand(X(1.0:0.04:2.0), Y(20:-1:10))
╭───────────────────────────╮
+26×11 DimArray{Float64,2}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.04:2.0 ForwardOrdered Regular Points,
+Y Sampled{Int64} 20:-1:10 ReverseOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+   20          19         1812          11         10
+ 1.0    0.300304    0.660657   0.677543      0.712342    0.806495   0.727464
+ 1.04   0.421525    0.835674   0.458427      0.248873    0.412078   0.455255
+ 1.08   0.399781    0.824659   0.392334      0.675459    0.95213    0.91666
+ 1.12   0.717006    0.623124   0.482654      0.964964    0.304266   0.313361
+ ⋮                                       ⋱               ⋮
+ 1.84   0.880853    0.578329   0.394576      0.255579    0.750947   0.27206
+ 1.88   0.363918    0.533041   0.545522      0.516268    0.531012   0.503183
+ 1.92   0.259597    0.358535   0.748884      0.575727    0.227865   0.865713
+ 1.96   0.34589     0.94196    0.657054  …   0.728852    0.462859   0.767151
+ 2.0    0.0143204   0.985407   0.476387      0.0417586   0.286      0.777391

And we can simply select values from B with selectors from A:

julia
julia> B[DimSelectors(A)]
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.0, 1.2, …, 1.8, 2.0] ForwardOrdered Irregular Points,
+Y Sampled{Int64} [10, 12, …, 18, 20] ReverseOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  10         12          14         16          18         20
+ 1.0   0.727464   0.712342    0.14203    0.207735    0.677543   0.300304
+ 1.2   0.815253   0.642187    0.49973    0.0387029   0.319496   0.887979
+ 1.4   0.391307   0.197423    0.166425   0.48124     0.300285   0.0574938
+ 1.6   0.49224    0.795274    0.24625    0.735391    0.699976   0.973586
+ 1.8   0.539197   0.0661958   0.811917   0.822008    0.848624   0.930699
+ 2.0   0.777391   0.0417586   0.873218   0.834418    0.476387   0.0143204

If the lookups aren't aligned we can use Near instead of At, which like doing a nearest neighbor interpolation:

julia
julia> C = rand(X(1.0:0.007:2.0), Y(10.0:0.9:30))
╭────────────────────────────╮
+143×23 DimArray{Float64,2}
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.007:1.994 ForwardOrdered Regular Points,
+Y Sampled{Float64} 10.0:0.9:29.8 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    10.0         10.928.0        28.9        29.8
+ 1.0     0.168617     0.417756       0.258764    0.195897    0.747615
+ 1.007   0.395053     0.994295       0.770101    0.403836    0.891596
+ 1.014   0.144422     0.370454       0.878565    0.753744    0.0149561
+ 1.021   0.938771     0.917143       0.679296    0.180397    0.436168
+ ⋮                               ⋱
+ 1.966   0.454047     0.92977        0.662833    0.160403    0.276742
+ 1.973   0.846736     0.0923954  …   0.43915     0.405912    0.245638
+ 1.98    0.946655     0.0506805      0.0821229   0.0787968   0.613895
+ 1.987   0.00686195   0.266013       0.485952    0.193179    0.0628947
+ 1.994   0.84475      0.574619       0.0760101   0.950007    0.662413
julia
julia> C[DimSelectors(A; selectors=Near)]
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.0, 1.203, …, 1.798, 1.994] ForwardOrdered Irregular Points,
+Y Sampled{Float64} [10.0, 11.8, …, 18.1, 19.9] ForwardOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    10.0        11.8        13.6        16.3        18.1       19.9
+ 1.0     0.168617    0.397386    0.133475    0.0630398   0.247976   0.145293
+ 1.203   0.233685    0.243195    0.331147    0.584048    0.717841   0.832538
+ 1.399   0.0164892   0.729706    0.0315018   0.899356    0.847872   0.358513
+ 1.602   0.0426808   0.61781     0.808889    0.140817    0.188976   0.054083
+ 1.798   0.226699    0.0983553   0.661444    0.750622    0.650842   0.986606
+ 1.994   0.84475     0.366873    0.734751    0.590953    0.621527   0.23502
`,22))])}const b=p(g,[["render",y]]);export{C as __pageData,b as default}; diff --git a/previews/PR801/assets/stacks.md.C7pJh52H.js b/previews/PR801/assets/stacks.md.C7pJh52H.js new file mode 100644 index 000000000..010599cb7 --- /dev/null +++ b/previews/PR801/assets/stacks.md.C7pJh52H.js @@ -0,0 +1,368 @@ +import{_ as n,B as d,c as p,a4 as t,G as h,w as l,j as i,a as s,o as r}from"./chunks/framework.D3Ia4FEQ.js";const b=JSON.parse('{"title":"DimStacks","description":"","frontmatter":{},"headers":[],"relativePath":"stacks.md","filePath":"stacks.md","lastUpdated":null}'),g={name:"stacks.md"};function y(f,a,c,o,u,E){const k=d("PluginTabsTab"),e=d("PluginTabs");return r(),p("div",null,[a[25]||(a[25]=t(`

DimStacks

An AbstractDimStack represents a collection of AbstractDimArray layers that share some or all dimensions. For any two layers, a dimension of the same name must have the identical lookup - in fact only one is stored for all layers to enforce this consistency.

julia
julia> using DimensionalData
+
+julia> x, y = X(1.0:10.0), Y(5.0:10.0)
(X 1.0:1.0:10.0,
+Y 5.0:1.0:10.0)
julia
julia> st = DimStack((a=rand(x, y), b=rand(x, y), c=rand(y), d=rand(x)))
╭───────────────╮
+10×6 DimStack
+├───────────────┴──────────────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:1.0:10.0 ForwardOrdered Regular Points,
+Y Sampled{Float64} 5.0:1.0:10.0 ForwardOrdered Regular Points
+├────────────────────────────────────────────────────────────────────── layers ┤
+  :a eltype: Float64 dims: X, Y size: 10×6
+  :b eltype: Float64 dims: X, Y size: 10×6
+  :c eltype: Float64 dims: Y size: 6
+  :d eltype: Float64 dims: X size: 10
+└──────────────────────────────────────────────────────────────────────────────┘

The behaviour of a DimStack is at times like a NamedTuple of DimArray and, others an AbstractArray of NamedTuple.

NamedTuple-like indexing

`,8)),h(e,null,{default:l(()=>[h(k,{label:"getting layers"},{default:l(()=>a[0]||(a[0]=[i("p",null,[s("Layers can be accessed with "),i("code",null,".name"),s(" or "),i("code",null,"[:name]")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 5.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 6.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 7.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 8.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 9.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.111155 0.87656 0.0963009 0.257129 0.11311 0.781497")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.386306 0.668226 0.278077 0.52735 0.775634 0.440884")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.348826 0.691687 0.964227 0.76448 0.0852624 0.52036")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.520184 0.484929 0.013144 0.269905 0.204084 0.117737")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 5.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.451525 0.247586 0.602631 0.793532 0.842029 0.0683416")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 6.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.669966 0.640974 0.0171909 0.749553 0.433769 0.452694")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 7.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.969881 0.130252 0.369225 0.518483 0.0141696 0.714084")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 8.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.517605 0.93358 0.515445 0.0758114 0.193109 0.150559")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.072176 0.474535 0.778122 0.0768485 0.80023 0.91305")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.854239 0.735973 0.0102776 0.0299112 0.537046 0.938732")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 5.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0406084")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 6.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.01576")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 7.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.104261")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 8.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.12714")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.370194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.48022")])])])],-1)])),_:1}),h(k,{label:"subsetting layers"},{default:l(()=>a[1]||(a[1]=[i("p",null,[s("We can subset layers with a "),i("code",null,"Tuple"),s(" of "),i("code",null,"Symbol"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"inverted subsets"},{default:l(()=>a[2]||(a[2]=[i("p",null,[i("code",null,"Not"),s(" works on "),i("code",null,"Symbol"),s(" keys just like it does on "),i("code",null,"Selector"),s(": It inverts the keys to give you a "),i("code",null,"DimStack"),s(" with all the other layers:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"merging"},{default:l(()=>a[3]||(a[3]=[i("p",null,[s("We can merge a "),i("code",null,"DimStack"),s(" with another "),i("code",null,"DimStack"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st2 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"((m"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y), n"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y), o"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(y)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :m"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :n"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :o"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," merge"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, st2)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :m"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :n"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :o"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("p",null,[s("Or merge a "),i("code",null,"DimStack"),s(" with a "),i("code",null,"NamedTuple"),s(" of "),i("code",null,"DimArray"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," merge"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (; d "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(y, x), e "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(y)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :e"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("p",null,"Merging only works when dimensions match:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," merge"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (; d "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'a'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'n'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"ERROR: DimensionMismatch: Found both lengths 6 and 14 for Y.")])])])],-1)])),_:1})]),_:1}),a[26]||(a[26]=i("h2",{id:"Array-like-indexing",tabindex:"-1"},[s("Array-like indexing "),i("a",{class:"header-anchor",href:"#Array-like-indexing","aria-label":'Permalink to "Array-like indexing {#Array-like-indexing}"'},"​")],-1)),h(e,null,{default:l(()=>[h(k,{label:"scalars"},{default:l(()=>a[4]||(a[4]=[i("p",null,[s("Indexing with a scalar returns a "),i("code",null,"NamedTuple"),s(" of values, one for each layer:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"4"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)")])])])],-1)])),_:1}),h(k,{label:"selectors"},{default:l(()=>a[5]||(a[5]=[i("p",null,[s("Selectors for single values also return a "),i("code",null,"NamedTuple")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"20"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.4408839264303761, b = 0.6445457662038467, c = 0.4802202427553709, d = 0.15905863317294833)")])])])],-1)])),_:1}),h(k,{label:"partial indexing"},{default:l(()=>a[6]||(a[6]=[i("p",null,[s("If not all dimensions are scalars, we return another "),i("code",null,"DimStack"),s(". The layers without another dimension are now zero-dimensional:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────┴─────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: ")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"linear indexing"},{default:l(()=>a[7]||(a[7]=[i("p",null,[s("If we index with "),i("code",null,":"),s(" we get a "),i("code",null,"Vector{<:NamedTuple}")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[:]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"60-element Vector{@NamedTuple{a::Float64, b::Float64, c::Float64, d::Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.11115487324489237, b = 0.439711995898844, c = 0.04060837507113502, d = 0.3258728635315493)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.3863063388395396, b = 0.2855663183499576, c = 0.04060837507113502, d = 0.15905863317294833)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.34882573131206984, b = 0.48889263023704055, c = 0.04060837507113502, d = 0.8632634208267141)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5201836703588896, b = 0.48240020633837055, c = 0.04060837507113502, d = 0.2504949184379115)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.45152471334016764, b = 0.8030281996030815, c = 0.04060837507113502, d = 0.5434869639181522)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.66996622586129, b = 0.006378200703587189, c = 0.04060837507113502, d = 0.6702922824659258)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.9698812177371097, b = 0.2868262581079416, c = 0.04060837507113502, d = 0.5663088629322468)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5176046469253345, b = 0.7802406914680406, c = 0.04060837507113502, d = 0.06317733925981239)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.07217595907727536, b = 0.9003647810614493, c = 0.04060837507113502, d = 0.9919365440188083)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.8542391508438596, b = 0.8219054655873324, c = 0.04060837507113502, d = 0.5514523568721104)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.4408839264303761, b = 0.6445457662038467, c = 0.4802202427553709, d = 0.15905863317294833)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5203602669427675, b = 0.4854948068259556, c = 0.4802202427553709, d = 0.8632634208267141)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.11773734015093373, b = 0.08553143289483933, c = 0.4802202427553709, d = 0.2504949184379115)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.06834164575276236, b = 0.3266527246823143, c = 0.4802202427553709, d = 0.5434869639181522)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.4526944925375208, b = 0.5128894732327488, c = 0.4802202427553709, d = 0.6702922824659258)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.7140841681506571, b = 0.13525245310587153, c = 0.4802202427553709, d = 0.5663088629322468)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.15055904027841316, b = 0.19122366809754, c = 0.4802202427553709, d = 0.06317733925981239)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.9130495399200352, b = 0.9436941638102098, c = 0.4802202427553709, d = 0.9919365440188083)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.938732432349465, b = 0.17715541586710937, c = 0.4802202427553709, d = 0.5514523568721104)")])])])],-1)])),_:1})]),_:1}),a[27]||(a[27]=t('

Reducing functions

Base functions like mean, maximum, reverse are applied to all layers of the stack.

julia
using Statistics
',3)),h(e,null,{default:l(()=>[h(k,{label:"maximum"},{default:l(()=>a[8]||(a[8]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," maximum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.9698812177371097, b = 0.9982064541308482, c = 0.4802202427553709, d = 0.9919365440188083)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," maximum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"minimum"},{default:l(()=>a[9]||(a[9]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," minimum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.010277581356302745, b = 0.006378200703587189, c = 0.015759978623873905, d = 0.06317733925981239)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," minimum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"sum"},{default:l(()=>a[10]||(a[10]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 27.590188929977547, b = 29.43471177733076, c = 1.1381833125394196, d = 4.98534418543618)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"prod"},{default:l(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," prod"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 3.0670357162417285e-32, b = 1.1151003460971078e-27, c = 1.5081446040814137e-6, d = 7.991119595116132e-5)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," prod"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"mean"},{default:l(()=>a[12]||(a[12]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.45983648216629247, b = 0.49057852962217935, c = 0.18969721875656995, d = 0.49853441854361796)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"std"},{default:l(()=>a[13]||(a[13]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," std"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.30405878501189054, b = 0.28346307460586856, c = 0.19009332850891253, d = 0.3002782566445145)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," std"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"var"},{default:l(()=>a[14]||(a[14]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," var"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.09245174474290706, b = 0.0803513146650122, c = 0.03613547354359734, d = 0.09016703141346892)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," var"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"reduce"},{default:l(()=>a[15]||(a[15]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reduce"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"+"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 27.590188929977547, b = 29.43471177733076, c = 1.1381833125394196, d = 4.98534418543618)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reduce"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"+"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"extrema"},{default:l(()=>a[16]||(a[16]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extrema"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = (0.010277581356302745, 0.9698812177371097), b = (0.006378200703587189, 0.9982064541308482), c = (0.015759978623873905, 0.4802202427553709), d = (0.06317733925981239, 0.9919365440188083))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extrema"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"dropdims"},{default:l(()=>a[17]||(a[17]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," sum_st "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dropdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(sum_st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────┴────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: ")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[28]||(a[28]=i("p",null,[i("code",null,"broadcast_dims"),s(" broadcasts functions over any mix of "),i("code",null,"AbstractDimStack"),s(" and "),i("code",null,"AbstractDimArray"),s(" returning a new "),i("code",null,"AbstractDimStack"),s(" with layers the size of the largest layer in the broadcast. This will work even if dimension permutation does not match in the objects.")],-1)),h(e,null,{default:l(()=>[h(k,{label:"rotl90"},{default:l(()=>a[18]||(a[18]=[i("p",null,"Only matrix layers can be rotated",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotl90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")])")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotl90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")], "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"rotr90"},{default:l(()=>a[19]||(a[19]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotr90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")])")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotr90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")], "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"rot180"},{default:l(()=>a[20]||(a[20]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rot180"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")])")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rot180"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")], "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"permutedims"},{default:l(()=>a[21]||(a[21]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," permutedims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," permutedims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," permutedims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"transpose"},{default:l(()=>a[22]||(a[22]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," transpose"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"adjoint"},{default:l(()=>a[23]||(a[23]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," adjoint"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"'")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"PermutedDimsArray"},{default:l(()=>a[24]||(a[24]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," PermutedDimsArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," PermutedDimsArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[29]||(a[29]=t(`

Performance

Indexing stack is fast - indexing a single value return a NamedTuple from all layers is usually measures in nanoseconds, and no slower than manually indexing into each parent array directly.

There are some compilation overheads to this though, and stacks with very many layers can take a long time to compile.

julia
julia> using BenchmarkTools
+
+julia> @btime $st[X=1, Y=4]
  4.037 ns (0 allocations: 0 bytes)
+(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
julia
julia> @btime $st[1, 4]
  4.027 ns (0 allocations: 0 bytes)
+(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
`,7))])}const F=n(g,[["render",y]]);export{b as __pageData,F as default}; diff --git a/previews/PR801/assets/stacks.md.C7pJh52H.lean.js b/previews/PR801/assets/stacks.md.C7pJh52H.lean.js new file mode 100644 index 000000000..010599cb7 --- /dev/null +++ b/previews/PR801/assets/stacks.md.C7pJh52H.lean.js @@ -0,0 +1,368 @@ +import{_ as n,B as d,c as p,a4 as t,G as h,w as l,j as i,a as s,o as r}from"./chunks/framework.D3Ia4FEQ.js";const b=JSON.parse('{"title":"DimStacks","description":"","frontmatter":{},"headers":[],"relativePath":"stacks.md","filePath":"stacks.md","lastUpdated":null}'),g={name:"stacks.md"};function y(f,a,c,o,u,E){const k=d("PluginTabsTab"),e=d("PluginTabs");return r(),p("div",null,[a[25]||(a[25]=t(`

DimStacks

An AbstractDimStack represents a collection of AbstractDimArray layers that share some or all dimensions. For any two layers, a dimension of the same name must have the identical lookup - in fact only one is stored for all layers to enforce this consistency.

julia
julia> using DimensionalData
+
+julia> x, y = X(1.0:10.0), Y(5.0:10.0)
(X 1.0:1.0:10.0,
+Y 5.0:1.0:10.0)
julia
julia> st = DimStack((a=rand(x, y), b=rand(x, y), c=rand(y), d=rand(x)))
╭───────────────╮
+10×6 DimStack
+├───────────────┴──────────────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:1.0:10.0 ForwardOrdered Regular Points,
+Y Sampled{Float64} 5.0:1.0:10.0 ForwardOrdered Regular Points
+├────────────────────────────────────────────────────────────────────── layers ┤
+  :a eltype: Float64 dims: X, Y size: 10×6
+  :b eltype: Float64 dims: X, Y size: 10×6
+  :c eltype: Float64 dims: Y size: 6
+  :d eltype: Float64 dims: X size: 10
+└──────────────────────────────────────────────────────────────────────────────┘

The behaviour of a DimStack is at times like a NamedTuple of DimArray and, others an AbstractArray of NamedTuple.

NamedTuple-like indexing

`,8)),h(e,null,{default:l(()=>[h(k,{label:"getting layers"},{default:l(()=>a[0]||(a[0]=[i("p",null,[s("Layers can be accessed with "),i("code",null,".name"),s(" or "),i("code",null,"[:name]")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"."),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,2}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────┴─────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 5.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 6.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 7.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 8.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 9.0"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10.0")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.111155 0.87656 0.0963009 0.257129 0.11311 0.781497")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.386306 0.668226 0.278077 0.52735 0.775634 0.440884")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.348826 0.691687 0.964227 0.76448 0.0852624 0.52036")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.520184 0.484929 0.013144 0.269905 0.204084 0.117737")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 5.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.451525 0.247586 0.602631 0.793532 0.842029 0.0683416")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 6.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.669966 0.640974 0.0171909 0.749553 0.433769 0.452694")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 7.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.969881 0.130252 0.369225 0.518483 0.0141696 0.714084")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 8.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.517605 0.93358 0.515445 0.0758114 0.193109 0.150559")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.072176 0.474535 0.778122 0.0768485 0.80023 0.91305")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.854239 0.735973 0.0102776 0.0299112 0.537046 0.938732")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimArray{Float64,1}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────────────────┴────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 5.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0406084")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 6.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.01576")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 7.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.104261")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 8.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.12714")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.370194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.48022")])])])],-1)])),_:1}),h(k,{label:"subsetting layers"},{default:l(()=>a[1]||(a[1]=[i("p",null,[s("We can subset layers with a "),i("code",null,"Tuple"),s(" of "),i("code",null,"Symbol"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"inverted subsets"},{default:l(()=>a[2]||(a[2]=[i("p",null,[i("code",null,"Not"),s(" works on "),i("code",null,"Symbol"),s(" keys just like it does on "),i("code",null,"Selector"),s(": It inverts the keys to give you a "),i("code",null,"DimStack"),s(" with all the other layers:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st["),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Not"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":c"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"merging"},{default:l(()=>a[3]||(a[3]=[i("p",null,[s("We can merge a "),i("code",null,"DimStack"),s(" with another "),i("code",null,"DimStack"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st2 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"((m"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y), n"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y), o"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(y)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :m"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :n"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :o"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," merge"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, st2)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :m"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :n"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :o"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("p",null,[s("Or merge a "),i("code",null,"DimStack"),s(" with a "),i("code",null,"NamedTuple"),s(" of "),i("code",null,"DimArray"),s(":")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," merge"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (; d "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(y, x), e "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(y)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :e"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("p",null,"Merging only works when dimensions match:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," merge"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (; d "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'a'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":"),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'n'"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"ERROR: DimensionMismatch: Found both lengths 6 and 14 for Y.")])])])],-1)])),_:1})]),_:1}),a[26]||(a[26]=i("h2",{id:"Array-like-indexing",tabindex:"-1"},[s("Array-like indexing "),i("a",{class:"header-anchor",href:"#Array-like-indexing","aria-label":'Permalink to "Array-like indexing {#Array-like-indexing}"'},"​")],-1)),h(e,null,{default:l(()=>[h(k,{label:"scalars"},{default:l(()=>a[4]||(a[4]=[i("p",null,[s("Indexing with a scalar returns a "),i("code",null,"NamedTuple"),s(" of values, one for each layer:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"4"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)")])])])],-1)])),_:1}),h(k,{label:"selectors"},{default:l(()=>a[5]||(a[5]=[i("p",null,[s("Selectors for single values also return a "),i("code",null,"NamedTuple")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"), Y"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"Near"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"20"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.4408839264303761, b = 0.6445457662038467, c = 0.4802202427553709, d = 0.15905863317294833)")])])])],-1)])),_:1}),h(k,{label:"partial indexing"},{default:l(()=>a[6]||(a[6]=[i("p",null,[s("If not all dimensions are scalars, we return another "),i("code",null,"DimStack"),s(". The layers without another dimension are now zero-dimensional:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[X"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"At"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2.0"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────┴─────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: ")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"linear indexing"},{default:l(()=>a[7]||(a[7]=[i("p",null,[s("If we index with "),i("code",null,":"),s(" we get a "),i("code",null,"Vector{<:NamedTuple}")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st[:]")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"60-element Vector{@NamedTuple{a::Float64, b::Float64, c::Float64, d::Float64}}:")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.11115487324489237, b = 0.439711995898844, c = 0.04060837507113502, d = 0.3258728635315493)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.3863063388395396, b = 0.2855663183499576, c = 0.04060837507113502, d = 0.15905863317294833)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.34882573131206984, b = 0.48889263023704055, c = 0.04060837507113502, d = 0.8632634208267141)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5201836703588896, b = 0.48240020633837055, c = 0.04060837507113502, d = 0.2504949184379115)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.45152471334016764, b = 0.8030281996030815, c = 0.04060837507113502, d = 0.5434869639181522)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.66996622586129, b = 0.006378200703587189, c = 0.04060837507113502, d = 0.6702922824659258)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.9698812177371097, b = 0.2868262581079416, c = 0.04060837507113502, d = 0.5663088629322468)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5176046469253345, b = 0.7802406914680406, c = 0.04060837507113502, d = 0.06317733925981239)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.07217595907727536, b = 0.9003647810614493, c = 0.04060837507113502, d = 0.9919365440188083)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.8542391508438596, b = 0.8219054655873324, c = 0.04060837507113502, d = 0.5514523568721104)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.4408839264303761, b = 0.6445457662038467, c = 0.4802202427553709, d = 0.15905863317294833)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5203602669427675, b = 0.4854948068259556, c = 0.4802202427553709, d = 0.8632634208267141)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.11773734015093373, b = 0.08553143289483933, c = 0.4802202427553709, d = 0.2504949184379115)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.06834164575276236, b = 0.3266527246823143, c = 0.4802202427553709, d = 0.5434869639181522)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.4526944925375208, b = 0.5128894732327488, c = 0.4802202427553709, d = 0.6702922824659258)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.7140841681506571, b = 0.13525245310587153, c = 0.4802202427553709, d = 0.5663088629322468)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.15055904027841316, b = 0.19122366809754, c = 0.4802202427553709, d = 0.06317733925981239)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.9130495399200352, b = 0.9436941638102098, c = 0.4802202427553709, d = 0.9919365440188083)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.938732432349465, b = 0.17715541586710937, c = 0.4802202427553709, d = 0.5514523568721104)")])])])],-1)])),_:1})]),_:1}),a[27]||(a[27]=t('

Reducing functions

Base functions like mean, maximum, reverse are applied to all layers of the stack.

julia
using Statistics
',3)),h(e,null,{default:l(()=>[h(k,{label:"maximum"},{default:l(()=>a[8]||(a[8]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," maximum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.9698812177371097, b = 0.9982064541308482, c = 0.4802202427553709, d = 0.9919365440188083)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," maximum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"minimum"},{default:l(()=>a[9]||(a[9]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," minimum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.010277581356302745, b = 0.006378200703587189, c = 0.015759978623873905, d = 0.06317733925981239)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," minimum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"sum"},{default:l(()=>a[10]||(a[10]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 27.590188929977547, b = 29.43471177733076, c = 1.1381833125394196, d = 4.98534418543618)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"prod"},{default:l(()=>a[11]||(a[11]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," prod"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 3.0670357162417285e-32, b = 1.1151003460971078e-27, c = 1.5081446040814137e-6, d = 7.991119595116132e-5)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," prod"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"mean"},{default:l(()=>a[12]||(a[12]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.45983648216629247, b = 0.49057852962217935, c = 0.18969721875656995, d = 0.49853441854361796)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," mean"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"std"},{default:l(()=>a[13]||(a[13]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," std"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.30405878501189054, b = 0.28346307460586856, c = 0.19009332850891253, d = 0.3002782566445145)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," std"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"var"},{default:l(()=>a[14]||(a[14]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," var"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 0.09245174474290706, b = 0.0803513146650122, c = 0.03613547354359734, d = 0.09016703141346892)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," var"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"reduce"},{default:l(()=>a[15]||(a[15]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reduce"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"+"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = 27.590188929977547, b = 29.43471177733076, c = 1.1381833125394196, d = 4.98534418543618)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," reduce"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"+"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"extrema"},{default:l(()=>a[16]||(a[16]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extrema"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"(a = (0.010277581356302745, 0.9698812177371097), b = (0.006378200703587189, 0.9982064541308482), c = (0.015759978623873905, 0.4802202427553709), d = (0.06317733925981239, 0.9919365440188083))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," extrema"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Tuple{Float64, Float64}"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"dropdims"},{default:l(()=>a[17]||(a[17]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," sum_st "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," sum"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"7.5:6.0:7.5"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," dropdims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(sum_st; dims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Y)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭─────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10-element "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├─────────────────────┴────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: ")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[28]||(a[28]=i("p",null,[i("code",null,"broadcast_dims"),s(" broadcasts functions over any mix of "),i("code",null,"AbstractDimStack"),s(" and "),i("code",null,"AbstractDimArray"),s(" returning a new "),i("code",null,"AbstractDimStack"),s(" with layers the size of the largest layer in the broadcast. This will work even if dimension permutation does not match in the objects.")],-1)),h(e,null,{default:l(()=>[h(k,{label:"rotl90"},{default:l(()=>a[18]||(a[18]=[i("p",null,"Only matrix layers can be rotated",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotl90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")])")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotl90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")], "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"rotr90"},{default:l(()=>a[19]||(a[19]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotr90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")])")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rotr90"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")], "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"rot180"},{default:l(()=>a[20]||(a[20]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rot180"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")])")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10.0:-1.0:1.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10.0:-1.0:5.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ReverseOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rot180"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st[("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":a"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":b"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")], "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"permutedims"},{default:l(()=>a[21]||(a[21]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," permutedims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," permutedims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," permutedims"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"transpose"},{default:l(()=>a[22]||(a[22]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," transpose"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"adjoint"},{default:l(()=>a[23]||(a[23]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," adjoint"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"'")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(k,{label:"PermutedDimsArray"},{default:l(()=>a[24]||(a[24]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," PermutedDimsArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, ("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"2"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"1"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," PermutedDimsArray"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st, (Y, X))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────┴──────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"5.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Float64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1.0:1.0:10.0"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"6")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"X"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[29]||(a[29]=t(`

Performance

Indexing stack is fast - indexing a single value return a NamedTuple from all layers is usually measures in nanoseconds, and no slower than manually indexing into each parent array directly.

There are some compilation overheads to this though, and stacks with very many layers can take a long time to compile.

julia
julia> using BenchmarkTools
+
+julia> @btime $st[X=1, Y=4]
  4.037 ns (0 allocations: 0 bytes)
+(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
julia
julia> @btime $st[1, 4]
  4.027 ns (0 allocations: 0 bytes)
+(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
`,7))])}const F=n(g,[["render",y]]);export{b as __pageData,F as default}; diff --git a/previews/PR801/assets/style.CZ8kkPd8.css b/previews/PR801/assets/style.CZ8kkPd8.css new file mode 100644 index 000000000..417d169c2 --- /dev/null +++ b/previews/PR801/assets/style.CZ8kkPd8.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css?family=Space+Mono:regular,italic,700,700italic";@import"https://fonts.googleapis.com/css?family=Space+Grotesk:regular,italic,700,700italic";@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/DimensionalData.jl/previews/PR801/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-b06cdb19]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-b06cdb19],.VPBackdrop.fade-leave-to[data-v-b06cdb19]{opacity:0}.VPBackdrop.fade-leave-active[data-v-b06cdb19]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-b06cdb19]{display:none}}.NotFound[data-v-951cab6c]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-951cab6c]{padding:96px 32px 168px}}.code[data-v-951cab6c]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-951cab6c]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-951cab6c]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-951cab6c]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-951cab6c]{padding-top:20px}.link[data-v-951cab6c]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-951cab6c]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-3f927ebe]{position:relative;z-index:1}.nested[data-v-3f927ebe]{padding-right:16px;padding-left:16px}.outline-link[data-v-3f927ebe]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-3f927ebe]:hover,.outline-link.active[data-v-3f927ebe]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-3f927ebe]{padding-left:13px}.VPDocAsideOutline[data-v-b38bf2ff]{display:none}.VPDocAsideOutline.has-outline[data-v-b38bf2ff]{display:block}.content[data-v-b38bf2ff]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-b38bf2ff]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-b38bf2ff]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-6d7b3c46]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-6d7b3c46]{flex-grow:1}.VPDocAside[data-v-6d7b3c46] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-6d7b3c46] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-6d7b3c46] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-475f71b8]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-475f71b8]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-4f9813fa]{margin-top:64px}.edit-info[data-v-4f9813fa]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-4f9813fa]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-4f9813fa]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-4f9813fa]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-4f9813fa]{margin-right:8px}.prev-next[data-v-4f9813fa]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-4f9813fa]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-4f9813fa]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-4f9813fa]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-4f9813fa]{margin-left:auto;text-align:right}.desc[data-v-4f9813fa]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-4f9813fa]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-83890dd9]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-83890dd9]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-83890dd9]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-83890dd9]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-83890dd9]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-83890dd9]{display:flex;justify-content:center}.VPDoc .aside[data-v-83890dd9]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-83890dd9]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-83890dd9]{max-width:1104px}}.container[data-v-83890dd9]{margin:0 auto;width:100%}.aside[data-v-83890dd9]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-83890dd9]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-83890dd9]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-83890dd9]::-webkit-scrollbar{display:none}.aside-curtain[data-v-83890dd9]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-83890dd9]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-83890dd9]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-83890dd9]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-83890dd9]{order:1;margin:0;min-width:640px}}.content-container[data-v-83890dd9]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-83890dd9]{max-width:688px}.VPButton[data-v-14206e74]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-14206e74]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-14206e74]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-14206e74]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-14206e74]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-14206e74]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-14206e74]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-14206e74]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-14206e74]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-14206e74]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-14206e74]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-14206e74]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-14206e74]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-35a7d0b8]{display:none}.dark .VPImage.light[data-v-35a7d0b8]{display:none}.VPHero[data-v-955009fc]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-955009fc]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-955009fc]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-955009fc]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-955009fc]{flex-direction:row}}.main[data-v-955009fc]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-955009fc]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-955009fc]{text-align:left}}@media (min-width: 960px){.main[data-v-955009fc]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-955009fc]{max-width:592px}}.name[data-v-955009fc],.text[data-v-955009fc]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-955009fc],.VPHero.has-image .text[data-v-955009fc]{margin:0 auto}.name[data-v-955009fc]{color:var(--vp-home-hero-name-color)}.clip[data-v-955009fc]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-955009fc],.text[data-v-955009fc]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-955009fc],.text[data-v-955009fc]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-955009fc],.VPHero.has-image .text[data-v-955009fc]{margin:0}}.tagline[data-v-955009fc]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-955009fc]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-955009fc]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-955009fc]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-955009fc]{margin:0}}.actions[data-v-955009fc]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-955009fc]{justify-content:center}@media (min-width: 640px){.actions[data-v-955009fc]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-955009fc]{justify-content:flex-start}}.action[data-v-955009fc]{flex-shrink:0;padding:6px}.image[data-v-955009fc]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-955009fc]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-955009fc]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-955009fc]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-955009fc]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-955009fc]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-955009fc]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-955009fc]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-955009fc]{width:320px;height:320px}}[data-v-955009fc] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-955009fc] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-955009fc] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-f5e9645b]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-f5e9645b]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-f5e9645b]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-f5e9645b]>.VPImage{margin-bottom:20px}.icon[data-v-f5e9645b]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-f5e9645b]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-f5e9645b]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-f5e9645b]{padding-top:8px}.link-text-value[data-v-f5e9645b]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-f5e9645b]{margin-left:6px}.VPFeatures[data-v-d0a190d7]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-d0a190d7]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-d0a190d7]{padding:0 64px}}.container[data-v-d0a190d7]{margin:0 auto;max-width:1152px}.items[data-v-d0a190d7]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-d0a190d7]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-d0a190d7],.item.grid-4[data-v-d0a190d7],.item.grid-6[data-v-d0a190d7]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-d0a190d7],.item.grid-4[data-v-d0a190d7]{width:50%}.item.grid-3[data-v-d0a190d7],.item.grid-6[data-v-d0a190d7]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-d0a190d7]{width:25%}}.container[data-v-7a48a447]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-7a48a447]{padding:0 48px}}@media (min-width: 960px){.container[data-v-7a48a447]{width:100%;padding:0 64px}}.vp-doc[data-v-7a48a447] .VPHomeSponsors,.vp-doc[data-v-7a48a447] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-7a48a447] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-7a48a447] .VPHomeSponsors a,.vp-doc[data-v-7a48a447] .VPTeamPage a{text-decoration:none}.VPHome[data-v-cbb6ec48]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-cbb6ec48]{margin-bottom:128px}}.VPContent[data-v-91765379]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-91765379]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-91765379]{margin:0}@media (min-width: 960px){.VPContent[data-v-91765379]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-91765379]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-91765379]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-c970a860]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-c970a860]{display:none}.VPFooter[data-v-c970a860] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-c970a860] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-c970a860]{padding:32px}}.container[data-v-c970a860]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-c970a860],.copyright[data-v-c970a860]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-bc9dc845]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-bc9dc845]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-bc9dc845]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-bc9dc845]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-bc9dc845]{color:var(--vp-c-text-1)}.icon[data-v-bc9dc845]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-bc9dc845]{font-size:14px}.icon[data-v-bc9dc845]{font-size:16px}}.open>.icon[data-v-bc9dc845]{transform:rotate(90deg)}.items[data-v-bc9dc845]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-bc9dc845]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-bc9dc845]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-bc9dc845]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-bc9dc845]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-bc9dc845]{transition:all .2s ease-out}.flyout-leave-active[data-v-bc9dc845]{transition:all .15s ease-in}.flyout-enter-from[data-v-bc9dc845],.flyout-leave-to[data-v-bc9dc845]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-070ab83d]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-070ab83d]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-070ab83d]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-070ab83d]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-070ab83d]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-070ab83d]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-070ab83d]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-070ab83d]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-070ab83d]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-070ab83d]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-070ab83d]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-070ab83d]{display:none}}.menu-icon[data-v-070ab83d]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-070ab83d]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-070ab83d]{padding:12px 32px 11px}}.VPSwitch[data-v-4a1c76db]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-4a1c76db]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-4a1c76db]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-4a1c76db]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-4a1c76db] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-4a1c76db] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-e40a8bb6]{opacity:1}.moon[data-v-e40a8bb6],.dark .sun[data-v-e40a8bb6]{opacity:0}.dark .moon[data-v-e40a8bb6]{opacity:1}.dark .VPSwitchAppearance[data-v-e40a8bb6] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-af096f4a]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-af096f4a]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-8b74d055]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-8b74d055]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-8b74d055]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-8b74d055]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-48c802d0]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-48c802d0]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-48c802d0]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-48c802d0]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-7dd3104a]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-7dd3104a] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-7dd3104a] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-7dd3104a] .group:last-child{padding-bottom:0}.VPMenu[data-v-7dd3104a] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-7dd3104a] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-7dd3104a] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-7dd3104a] .action{padding-left:24px}.VPFlyout[data-v-e5380155]{position:relative}.VPFlyout[data-v-e5380155]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-e5380155]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-e5380155]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-e5380155]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-e5380155]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-e5380155],.button[aria-expanded=true]+.menu[data-v-e5380155]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-e5380155]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-e5380155]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-e5380155]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-e5380155]{margin-right:0;font-size:16px}.text-icon[data-v-e5380155]{margin-left:4px;font-size:14px}.icon[data-v-e5380155]{font-size:20px;transition:fill .25s}.menu[data-v-e5380155]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-717b8b75]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-717b8b75]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-717b8b75]>svg,.VPSocialLink[data-v-717b8b75]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-ee7a9424]{display:flex;justify-content:center}.VPNavBarExtra[data-v-925effce]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-925effce]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-925effce]{display:none}}.trans-title[data-v-925effce]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-925effce],.item.social-links[data-v-925effce]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-925effce]{min-width:176px}.appearance-action[data-v-925effce]{margin-right:-2px}.social-links-list[data-v-925effce]{margin:-4px -8px}.VPNavBarHamburger[data-v-5dea55bf]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-5dea55bf]{display:none}}.container[data-v-5dea55bf]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-5dea55bf]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-5dea55bf]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-5dea55bf]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-5dea55bf]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-5dea55bf]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-5dea55bf]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-5dea55bf],.VPNavBarHamburger.active:hover .middle[data-v-5dea55bf],.VPNavBarHamburger.active:hover .bottom[data-v-5dea55bf]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-5dea55bf],.middle[data-v-5dea55bf],.bottom[data-v-5dea55bf]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-5dea55bf]{top:0;left:0;transform:translate(0)}.middle[data-v-5dea55bf]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-5dea55bf]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-ed5ac1f6]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-ed5ac1f6],.VPNavBarMenuLink[data-v-ed5ac1f6]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-e6d46098]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-e6d46098]{display:flex}}/*! @docsearch/css 3.6.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-164c457f]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-164c457f]{display:flex;align-items:center}}.title[data-v-28a961f9]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-28a961f9]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-28a961f9]{border-bottom-color:var(--vp-c-divider)}}[data-v-28a961f9] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-c80d9ad0]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-c80d9ad0]{display:flex;align-items:center}}.title[data-v-c80d9ad0]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-822684d1]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-822684d1]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-822684d1]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-822684d1]:not(.home){background-color:transparent}.VPNavBar[data-v-822684d1]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-822684d1]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-822684d1]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-822684d1]{padding:0}}.container[data-v-822684d1]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-822684d1],.container>.content[data-v-822684d1]{pointer-events:none}.container[data-v-822684d1] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-822684d1]{max-width:100%}}.title[data-v-822684d1]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-822684d1]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-822684d1]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-822684d1]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-822684d1]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-822684d1]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-822684d1]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-822684d1]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-822684d1]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-822684d1]{column-gap:.5rem}}.menu+.translations[data-v-822684d1]:before,.menu+.appearance[data-v-822684d1]:before,.menu+.social-links[data-v-822684d1]:before,.translations+.appearance[data-v-822684d1]:before,.appearance+.social-links[data-v-822684d1]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-822684d1]:before,.translations+.appearance[data-v-822684d1]:before{margin-right:16px}.appearance+.social-links[data-v-822684d1]:before{margin-left:16px}.social-links[data-v-822684d1]{margin-right:-8px}.divider[data-v-822684d1]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-822684d1]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-822684d1]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-822684d1]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-822684d1]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-822684d1]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-822684d1]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-ffb44008]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-ffb44008]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-27d04aeb]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-27d04aeb]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-7179dbb7]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-7179dbb7]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-4b8941ac]{display:block}.title[data-v-4b8941ac]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-875057a5]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-875057a5]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-875057a5]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-875057a5]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-875057a5]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-875057a5]{transform:rotate(45deg)}.button[data-v-875057a5]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-875057a5]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-875057a5]{transition:transform .25s}.group[data-v-875057a5]:first-child{padding-top:0}.group+.group[data-v-875057a5],.group+.item[data-v-875057a5]{padding-top:4px}.VPNavScreenTranslations[data-v-362991c2]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-362991c2]{height:auto}.title[data-v-362991c2]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-362991c2]{font-size:16px}.icon.lang[data-v-362991c2]{margin-right:8px}.icon.chevron[data-v-362991c2]{margin-left:4px}.list[data-v-362991c2]{padding:4px 0 0 24px}.link[data-v-362991c2]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-833aabba]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-833aabba],.VPNavScreen.fade-leave-active[data-v-833aabba]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-833aabba],.VPNavScreen.fade-leave-active .container[data-v-833aabba]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-833aabba],.VPNavScreen.fade-leave-to[data-v-833aabba]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-833aabba],.VPNavScreen.fade-leave-to .container[data-v-833aabba]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-833aabba]{display:none}}.container[data-v-833aabba]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-833aabba],.menu+.appearance[data-v-833aabba],.translations+.appearance[data-v-833aabba]{margin-top:24px}.menu+.social-links[data-v-833aabba]{margin-top:16px}.appearance+.social-links[data-v-833aabba]{margin-top:16px}.VPNav[data-v-f1e365da]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-f1e365da]{position:fixed}}.VPSidebarItem.level-0[data-v-196b2e5f]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-196b2e5f]{padding-bottom:10px}.item[data-v-196b2e5f]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-196b2e5f]{cursor:pointer}.indicator[data-v-196b2e5f]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-196b2e5f],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-196b2e5f],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-196b2e5f],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-196b2e5f]{background-color:var(--vp-c-brand-1)}.link[data-v-196b2e5f]{display:flex;align-items:center;flex-grow:1}.text[data-v-196b2e5f]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-196b2e5f]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-196b2e5f],.VPSidebarItem.level-2 .text[data-v-196b2e5f],.VPSidebarItem.level-3 .text[data-v-196b2e5f],.VPSidebarItem.level-4 .text[data-v-196b2e5f],.VPSidebarItem.level-5 .text[data-v-196b2e5f]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-196b2e5f],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-196b2e5f],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-196b2e5f],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-196b2e5f],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-196b2e5f],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-196b2e5f]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-196b2e5f],.VPSidebarItem.level-1.has-active>.item>.text[data-v-196b2e5f],.VPSidebarItem.level-2.has-active>.item>.text[data-v-196b2e5f],.VPSidebarItem.level-3.has-active>.item>.text[data-v-196b2e5f],.VPSidebarItem.level-4.has-active>.item>.text[data-v-196b2e5f],.VPSidebarItem.level-5.has-active>.item>.text[data-v-196b2e5f],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-196b2e5f],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-196b2e5f],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-196b2e5f],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-196b2e5f],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-196b2e5f],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-196b2e5f]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-196b2e5f],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-196b2e5f],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-196b2e5f],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-196b2e5f],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-196b2e5f],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-196b2e5f]{color:var(--vp-c-brand-1)}.caret[data-v-196b2e5f]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-196b2e5f]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-196b2e5f]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-196b2e5f]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-196b2e5f]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-196b2e5f],.VPSidebarItem.level-2 .items[data-v-196b2e5f],.VPSidebarItem.level-3 .items[data-v-196b2e5f],.VPSidebarItem.level-4 .items[data-v-196b2e5f],.VPSidebarItem.level-5 .items[data-v-196b2e5f]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-196b2e5f]{display:none}.no-transition[data-v-9e426adc] .caret-icon{transition:none}.group+.group[data-v-9e426adc]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-9e426adc]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-18756405]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-18756405]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-18756405]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-18756405]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-18756405]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-18756405]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-18756405]{outline:0}.VPSkipLink[data-v-c3508ec8]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-c3508ec8]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-c3508ec8]{top:14px;left:16px}}.Layout[data-v-a9a9e638]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-db81191c]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-db81191c]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-db81191c]{margin:128px 0}}.VPHomeSponsors[data-v-db81191c]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-db81191c]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-db81191c]{padding:0 64px}}.container[data-v-db81191c]{margin:0 auto;max-width:1152px}.love[data-v-db81191c]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-db81191c]{display:inline-block}.message[data-v-db81191c]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-db81191c]{padding-top:32px}.action[data-v-db81191c]{padding-top:40px;text-align:center}.VPTeamPage[data-v-c2f8e101]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-c2f8e101]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-c2f8e101-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-c2f8e101-s],.VPTeamMembers+.VPTeamPageSection[data-v-c2f8e101-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-c2f8e101-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-c2f8e101-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-c2f8e101-s],.VPTeamMembers+.VPTeamPageSection[data-v-c2f8e101-s]{margin-top:96px}}.VPTeamMembers[data-v-c2f8e101-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-c2f8e101-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-c2f8e101-s]{padding:0 64px}}.VPTeamPageTitle[data-v-e277e15c]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-e277e15c]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-e277e15c]{padding:80px 64px 48px}}.title[data-v-e277e15c]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-e277e15c]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-e277e15c]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-e277e15c]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-d43bc49d]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-d43bc49d]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-d43bc49d]{padding:0 64px}}.title[data-v-d43bc49d]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-d43bc49d]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-d43bc49d]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-d43bc49d]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-d43bc49d]{padding-top:40px}.VPTeamMembersItem[data-v-f9987cb6]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-f9987cb6]{padding:32px}.VPTeamMembersItem.small .data[data-v-f9987cb6]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-f9987cb6]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-f9987cb6]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-f9987cb6]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-f9987cb6]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-f9987cb6]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-f9987cb6]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-f9987cb6]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-f9987cb6]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-f9987cb6]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-f9987cb6]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-f9987cb6]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-f9987cb6]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-f9987cb6]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-f9987cb6]{text-align:center}.avatar[data-v-f9987cb6]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-f9987cb6]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-f9987cb6]{margin:0;font-weight:600}.affiliation[data-v-f9987cb6]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-f9987cb6]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-f9987cb6]:hover{color:var(--vp-c-brand-1)}.desc[data-v-f9987cb6]{margin:0 auto}.desc[data-v-f9987cb6] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-f9987cb6]{display:flex;justify-content:center;height:56px}.sp-link[data-v-f9987cb6]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-f9987cb6]:hover,.sp .sp-link.link[data-v-f9987cb6]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-f9987cb6]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-fba19bad]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-fba19bad]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-fba19bad]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-fba19bad]{max-width:876px}.VPTeamMembers.medium .container[data-v-fba19bad]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-fba19bad]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-fba19bad]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-fba19bad]{max-width:760px}.container[data-v-fba19bad]{display:grid;gap:24px;margin:0 auto;max-width:1152px}:root{--vp-plugin-tabs-tab-text-color: var(--vp-c-text-2);--vp-plugin-tabs-tab-active-text-color: var(--vp-c-text-1);--vp-plugin-tabs-tab-hover-text-color: var(--vp-c-text-1);--vp-plugin-tabs-tab-bg: var(--vp-c-bg-soft);--vp-plugin-tabs-tab-divider: var(--vp-c-divider);--vp-plugin-tabs-tab-active-bar-color: var(--vp-c-brand-1)}.plugin-tabs{margin:16px 0;background-color:var(--vp-plugin-tabs-tab-bg);border-radius:8px}.plugin-tabs--tab-list{position:relative;padding:0 12px;overflow-x:auto;overflow-y:hidden}.plugin-tabs--tab-list:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background-color:var(--vp-plugin-tabs-tab-divider)}.plugin-tabs--tab{position:relative;padding:0 12px;line-height:48px;border-bottom:2px solid transparent;color:var(--vp-plugin-tabs-tab-text-color);font-size:14px;font-weight:500;white-space:nowrap;transition:color .25s}.plugin-tabs--tab[aria-selected=true]{color:var(--vp-plugin-tabs-tab-active-text-color)}.plugin-tabs--tab:hover{color:var(--vp-plugin-tabs-tab-hover-text-color)}.plugin-tabs--tab:after{content:"";position:absolute;bottom:-2px;left:8px;right:8px;height:2px;background-color:transparent;transition:background-color .25s;z-index:1}.plugin-tabs--tab[aria-selected=true]:after{background-color:var(--vp-plugin-tabs-tab-active-bar-color)}.plugin-tabs--content[data-v-9b0d03d2]{padding:16px}.plugin-tabs--content[data-v-9b0d03d2]>:first-child:first-child{margin-top:0}.plugin-tabs--content[data-v-9b0d03d2]>:last-child:last-child{margin-bottom:0}.plugin-tabs--content[data-v-9b0d03d2]>div[class*=language-]{border-radius:8px;margin:16px 0}:root:not(.dark) .plugin-tabs--content[data-v-9b0d03d2] div[class*=language-]{background-color:var(--vp-c-bg)}.VPHero .clip{white-space:pre;max-width:500px}:root{--vp-font-family-base: "Barlow", "Inter var experimental", "Inter var", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--vp-font-family-mono: "Fira Code", Menlo, Monaco, Consolas, "Courier New", monospace}:root{--julia-blue: #5fd7ff ;--julia-purple: #5fd7ff;--julia-red: #CB3C33;--julia-green: #0087d7;--vp-c-brand: #0087d7;--vp-c-brand-light: #0087d7;--vp-c-brand-lighter: #5fd7ff ;--vp-c-brand-lightest: #5fd7ff ;--vp-c-brand-dark: #5fd7ff;--vp-c-brand-darker: #5fd7ff ;--vp-c-brand-dimm: #212425}:root{--vp-button-brand-border: var(--vp-c-brand-light);--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand);--vp-button-brand-hover-border: var(--vp-c-brand-light);--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-light);--vp-button-brand-active-border: var(--vp-c-brand-light);--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-button-brand-bg)}:root{--vp-home-hero-name-color: transparent;--vp-home-hero-name-background: -webkit-linear-gradient( 120deg, #ff875f 30%, #0087d7 );--vp-home-hero-image-background-image: linear-gradient( -45deg, #0087d7 35%, #0087d7 35%, #ff875f );--vp-home-hero-image-filter: blur(40px)}@media (min-width: 640px){:root{--vp-home-hero-image-filter: blur(56px)}}@media (min-width: 960px){:root{--vp-home-hero-image-filter: blur(72px)}}:root.dark{--vp-custom-block-tip-border: var(--vp-c-brand);--vp-custom-block-tip-text: var(--vp-c-brand-lightest);--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);--vp-c-black: hsl(220 20% 9%);--vp-c-black-pure: hsl(220, 24%, 4%);--vp-c-black-soft: hsl(220 16% 13%);--vp-c-black-mute: hsl(220 14% 17%);--vp-c-gray: hsl(220 8% 56%);--vp-c-gray-dark-1: hsl(220 10% 39%);--vp-c-gray-dark-2: hsl(220 12% 28%);--vp-c-gray-dark-3: hsl(220 12% 23%);--vp-c-gray-dark-4: hsl(220 14% 17%);--vp-c-gray-dark-5: hsl(220 16% 13%);--vp-c-bg: hsl(240, 2%, 11%);--vp-custom-block-info-bg: hsl(220 14% 17%);--vp-c-gutter: hsl(220 20% 9%);--vp-c-bg-alt: hsl(220 20% 9%);--vp-c-bg-soft: hsl(220 14% 17%);--vp-c-bg-mute: hsl(220 12% 23%)}.DocSearch{--docsearch-primary-color: var(--vp-c-brand) !important}mjx-container>svg{display:block;margin:auto}mjx-container{padding:.5rem 0}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{margin:auto;display:inline-block}:root{--vp-c-brand-1: #ff875f;--vp-c-brand-2: #ff875f;--vp-c-brand-3: #ff875f;--vp-c-sponsor: #ca2971;--vitest-c-sponsor-hover: #c13071}.dark{--vp-c-brand-1: #0087d7;--vp-c-brand-2: #0087d7;--vp-c-brand-3: #0087d7;--vp-c-sponsor: #ee4e95;--vitest-c-sponsor-hover: #e51370}.VPDoc.has-aside .content-container{max-width:100%!important}.aside{max-width:200px!important;padding-left:0!important}.VPDoc{padding-top:15px!important;padding-left:5px!important}.VPDocOutlineItem li{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:200px}.VPNavBar .title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}@media (max-width: 960px){.VPDoc{padding-left:25px!important}}.VPLocalSearchBox[data-v-5b749456]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-5b749456]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-5b749456]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-5b749456]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-5b749456]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-5b749456]{padding:0 8px}}.search-bar[data-v-5b749456]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-5b749456]{display:block;font-size:18px}.navigate-icon[data-v-5b749456]{display:block;font-size:14px}.search-icon[data-v-5b749456]{margin:8px}@media (max-width: 767px){.search-icon[data-v-5b749456]{display:none}}.search-input[data-v-5b749456]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-5b749456]{padding:6px 4px}}.search-actions[data-v-5b749456]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-5b749456]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-5b749456]{display:none}}.search-actions button[data-v-5b749456]{padding:8px}.search-actions button[data-v-5b749456]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-5b749456]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-5b749456]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-5b749456]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-5b749456]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-5b749456]{display:none}}.search-keyboard-shortcuts kbd[data-v-5b749456]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-5b749456]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-5b749456]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-5b749456]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-5b749456]{margin:8px}}.titles[data-v-5b749456]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-5b749456]{display:flex;align-items:center;gap:4px}.title.main[data-v-5b749456]{font-weight:500}.title-icon[data-v-5b749456]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-5b749456]{opacity:.5}.result.selected[data-v-5b749456]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-5b749456]{position:relative}.excerpt[data-v-5b749456]{opacity:50%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;margin-top:4px}.result.selected .excerpt[data-v-5b749456]{opacity:1}.excerpt[data-v-5b749456] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-5b749456] mark,.excerpt[data-v-5b749456] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-5b749456] .vp-code-group .tabs{display:none}.excerpt[data-v-5b749456] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-5b749456]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-5b749456]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-5b749456],.result.selected .title-icon[data-v-5b749456]{color:var(--vp-c-brand-1)!important}.no-results[data-v-5b749456]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-5b749456]{flex:none} diff --git a/previews/PR801/assets/tables.md.CIG0p5h9.js b/previews/PR801/assets/tables.md.CIG0p5h9.js new file mode 100644 index 000000000..a277537cc --- /dev/null +++ b/previews/PR801/assets/tables.md.CIG0p5h9.js @@ -0,0 +1,165 @@ +import{_ as n,B as e,c as g,a4 as d,G as h,w as t,j as i,a as s,o as p}from"./chunks/framework.D3Ia4FEQ.js";const m=JSON.parse('{"title":"Tables and DataFrames","description":"","frontmatter":{},"headers":[],"relativePath":"tables.md","filePath":"tables.md","lastUpdated":null}'),r={name:"tables.md"};function f(o,a,y,c,b,w){const l=e("PluginTabsTab"),k=e("PluginTabs");return p(),g("div",null,[a[6]||(a[6]=d(`

Tables and DataFrames

Tables.jl provides an ecosystem-wide interface to tabular data in Julia, giving interoperability with DataFrames.jl, CSV.jl and hundreds of other packages that implement the standard.

DimensionalData.jl implements the Tables.jl interface for AbstractDimArray and AbstractDimStack. DimStack layers are unrolled so they are all the same size, and dimensions loop to match the length of the largest layer.

Columns are given the name or the array or the stack layer key. Dimension columns use the Symbol version (the result of DD.name(dimension)).

Looping of dimensions and stack layers is done lazily, and does not allocate unless collected.

Example

julia
using DimensionalData
+using Dates
+using DataFrames

Define some dimensions:

julia
julia> x, y, c = X(1:10), Y(1:10), Dim{:category}('a':'z')
(X        1:10,
+Y        1:10,
+category 'a':1:'z')
`,10)),h(k,null,{default:t(()=>[h(l,{label:"create a `DimArray`"},{default:t(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y, c; name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":data"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"26"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,3}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," data"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────┴──────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}}," ↗ "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"category"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"'a':1:'z'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"["),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},":"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},":"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 1"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"8"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 9"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.921958 0.128827 0.517175 0.947312 0.743407 0.0120967")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.449491 0.176024 0.914911 0.674061 0.291555 0.266342")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.581131 0.436605 0.694066 0.0325131 0.645678 0.620473")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.194849 0.580091 0.176766 0.888721 0.890574 0.985377")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮ ⋱ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 7"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.191934 0.359421 0.51621 0.828161 0.516313 0.74172")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450701 0.341133 0.00110588 0.190482 0.245671 0.819605")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.336376 0.636476 0.45655 0.16484 0.294486 0.457841")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.963657 0.353968 0.199484 … 0.104763 0.887294 0.670607")])])])],-1)])),_:1}),h(l,{label:"create a `DimStack`"},{default:t(()=>a[1]||(a[1]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"((data1 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y), data2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y, c)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"26"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────┴──────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}}," ↗ "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"category"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"'a':1:'z'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :data1"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :data2"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"category"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"26")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[7]||(a[7]=i("h2",{id:"Converting-to-DataFrame",tabindex:"-1"},[s("Converting to DataFrame "),i("a",{class:"header-anchor",href:"#Converting-to-DataFrame","aria-label":'Permalink to "Converting to DataFrame {#Converting-to-DataFrame}"'},"​")],-1)),h(k,null,{default:t(()=>[h(l,{label:"array default"},{default:t(()=>a[2]||(a[2]=[i("p",null,"Arrays will have columns for each dimension, and only one data column",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"──────┼──────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.921958")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.449491")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.581131")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.194849")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.364097")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.022593")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.191934")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.450701")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.236866")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.894053")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.350024")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.417756")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.125477")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.599789")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.363373")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1}),h(l,{label:"stack default"},{default:t(()=>a[3]||(a[3]=[i("p",null,"Stacks will become a table with a column for each dimension, and one for each layer:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"2600×5 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.550148 0.944751")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.0930075 0.159458")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.489525 0.614656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.793832 0.977066")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.00191986 0.798656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.861278 0.673027")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.207584 0.768342")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.0236468 0.0123003")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.871914 0.19857")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.504023 0.694279")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.351006 0.206362")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.856091 0.842866")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.0459964 0.615094")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.00516367 0.768924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1}),h(l,{label:"layersfrom"},{default:t(()=>a[4]||(a[4]=[i("p",null,[s("Using "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimTable"},[i("code",null,"DimTable")]),s(" we can specify that a "),i("code",null,"DimArray"),s(" should take columns from one of the dimensions:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimTable"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; layersfrom"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":category"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"100×28 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_a "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_b "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_c "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_d "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_ ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"─────┼──────────────────────────────────────────────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 0.921958 0.713814 0.884385 0.186811 0.256817 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 0.449491 0.062795 0.195938 0.608366 0.738445")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 0.581131 0.12764 0.182707 0.773256 0.061892")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 0.194849 0.173013 0.493065 0.132989 0.936495")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 0.364097 0.0445446 0.849707 0.153753 0.64534 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 0.022593 0.634377 0.00816974 0.359194 0.719779")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 0.191934 0.307616 0.535124 0.597843 0.666938")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 0.450701 0.868587 0.175544 0.429822 0.296092")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋱")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 94 │ 4 10 0.985377 0.789667 0.956616 0.622735 0.051776 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 95 │ 5 10 0.294893 0.921567 0.656243 0.233997 0.648179")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 96 │ 6 10 0.363442 0.114915 0.121746 0.679632 0.951145")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 97 │ 7 10 0.74172 0.98893 0.456688 0.270915 0.86112")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 98 │ 8 10 0.819605 0.053158 0.960726 0.228415 0.909847 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 99 │ 9 10 0.457841 0.271591 0.488473 0.983904 0.868917")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 100 │ 10 10 0.670607 0.160352 0.227082 0.110425 0.204879")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 22 columns and 85 rows omitted")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; layersfrom"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":category"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────┴─────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :e"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :f"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :g"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :h"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :i"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :j"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :k"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :l"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :m"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :n"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :o"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :p"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :q"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :r"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :s"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :t"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :u"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :v"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :w"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :x"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :z"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(l,{label:"mergedims"},{default:t(()=>a[5]||(a[5]=[i("p",null,[s("Using "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimTable"},[i("code",null,"DimTable")]),s(" we can merge the spatial dimensions so the column is a tuple:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimTable"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; mergedims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":XY"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," XY "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Tuple… "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ (1, 1) a 0.550148 0.944751")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ (2, 1) a 0.0930075 0.159458")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ (3, 1) a 0.489525 0.614656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ (4, 1) a 0.793832 0.977066")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ (5, 1) a 0.00191986 0.798656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ (6, 1) a 0.861278 0.673027")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ (7, 1) a 0.207584 0.768342")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ (8, 1) a 0.0236468 0.0123003")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2594 │ (4, 10) z 0.871914 0.19857")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2595 │ (5, 10) z 0.504023 0.694279")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2596 │ (6, 10) z 0.351006 0.206362")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2597 │ (7, 10) z 0.856091 0.842866")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2598 │ (8, 10) z 0.0459964 0.615094")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2599 │ (9, 10) z 0.00516367 0.768924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2600 │ (10, 10) z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1})]),_:1}),a[8]||(a[8]=d(`

Converting to CSV

We can also write arrays and stacks directly to CSV.jl, or any other data type supporting the Tables.jl interface.

julia
using CSV
+CSV.write("dimstack.csv", st)
+readlines("dimstack.csv")
2601-element Vector{String}:
+ "X,Y,category,data1,data2"
+ "1,1,a,0.5501481631111826,0.9447511416331498"
+ "2,1,a,0.09300753748828394,0.15945803739833375"
+ "3,1,a,0.48952511607945026,0.6146564273146751"
+ "4,1,a,0.7938317326707394,0.9770663775826343"
+ "5,1,a,0.0019198597596568057,0.798655984630017"
+ "6,1,a,0.8612776980335002,0.6730273352488979"
+ "7,1,a,0.20758428874582302,0.7683418213117802"
+ "8,1,a,0.023646798570656102,0.012300334322905893"
+ "9,1,a,0.11925244363082943,0.4278264986513013"
+
+ "2,10,z,0.8146121812750928,0.3434655288098666"
+ "3,10,z,0.38167574879167476,0.24524306337289326"
+ "4,10,z,0.8719143923648308,0.1985699519321249"
+ "5,10,z,0.5040228055200978,0.694278906020718"
+ "6,10,z,0.35100608350331053,0.20636222545147498"
+ "7,10,z,0.8560905731682101,0.8428656510212863"
+ "8,10,z,0.04599641808658339,0.6150940338022266"
+ "9,10,z,0.005163666306917225,0.768924169642427"
+ "10,10,z,0.8288995877624121,0.8136963000324107"
`,4))])}const E=n(r,[["render",f]]);export{m as __pageData,E as default}; diff --git a/previews/PR801/assets/tables.md.CIG0p5h9.lean.js b/previews/PR801/assets/tables.md.CIG0p5h9.lean.js new file mode 100644 index 000000000..a277537cc --- /dev/null +++ b/previews/PR801/assets/tables.md.CIG0p5h9.lean.js @@ -0,0 +1,165 @@ +import{_ as n,B as e,c as g,a4 as d,G as h,w as t,j as i,a as s,o as p}from"./chunks/framework.D3Ia4FEQ.js";const m=JSON.parse('{"title":"Tables and DataFrames","description":"","frontmatter":{},"headers":[],"relativePath":"tables.md","filePath":"tables.md","lastUpdated":null}'),r={name:"tables.md"};function f(o,a,y,c,b,w){const l=e("PluginTabsTab"),k=e("PluginTabs");return p(),g("div",null,[a[6]||(a[6]=d(`

Tables and DataFrames

Tables.jl provides an ecosystem-wide interface to tabular data in Julia, giving interoperability with DataFrames.jl, CSV.jl and hundreds of other packages that implement the standard.

DimensionalData.jl implements the Tables.jl interface for AbstractDimArray and AbstractDimStack. DimStack layers are unrolled so they are all the same size, and dimensions loop to match the length of the largest layer.

Columns are given the name or the array or the stack layer key. Dimension columns use the Symbol version (the result of DD.name(dimension)).

Looping of dimensions and stack layers is done lazily, and does not allocate unless collected.

Example

julia
using DimensionalData
+using Dates
+using DataFrames

Define some dimensions:

julia
julia> x, y, c = X(1:10), Y(1:10), Dim{:category}('a':'z')
(X        1:10,
+Y        1:10,
+category 'a':1:'z')
`,10)),h(k,null,{default:t(()=>[h(l,{label:"create a `DimArray`"},{default:t(()=>a[0]||(a[0]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," A "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y, c; name"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":data"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"26"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimArray{Float64,3}"),i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," data"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────────────────────┴──────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}}," ↗ "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"category"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"'a':1:'z'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"["),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},":"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},":"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"]")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," →"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 1"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 2"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," … "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"8"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 9"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," 10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.921958 0.128827 0.517175 0.947312 0.743407 0.0120967")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.449491 0.176024 0.914911 0.674061 0.291555 0.266342")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 3"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.581131 0.436605 0.694066 0.0325131 0.645678 0.620473")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.194849 0.580091 0.176766 0.888721 0.890574 0.985377")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," ⋮ ⋱ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 7"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.191934 0.359421 0.51621 0.828161 0.516313 0.74172")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 8"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.450701 0.341133 0.00110588 0.190482 0.245671 0.819605")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 9"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.336376 0.636476 0.45655 0.16484 0.294486 0.457841")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.963657 0.353968 0.199484 … 0.104763 0.887294 0.670607")])])])],-1)])),_:1}),h(l,{label:"create a `DimStack`"},{default:t(()=>a[1]||(a[1]=[i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," st "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"((data1 "),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y), data2"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"rand"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(x, y, c)))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭───────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"26"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├───────────────────┴──────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}}," ↗ "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"category"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Categorical{Char} "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"'a':1:'z'"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :data1"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :data2"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"category"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#5fd7ff","--shiki-dark":"#5fd7ff"}},"26")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[7]||(a[7]=i("h2",{id:"Converting-to-DataFrame",tabindex:"-1"},[s("Converting to DataFrame "),i("a",{class:"header-anchor",href:"#Converting-to-DataFrame","aria-label":'Permalink to "Converting to DataFrame {#Converting-to-DataFrame}"'},"​")],-1)),h(k,null,{default:t(()=>[h(l,{label:"array default"},{default:t(()=>a[2]||(a[2]=[i("p",null,"Arrays will have columns for each dimension, and only one data column",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"──────┼──────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.921958")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.449491")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.581131")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.194849")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.364097")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.022593")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.191934")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.450701")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.236866")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.894053")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.350024")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.417756")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.125477")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.599789")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.363373")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1}),h(l,{label:"stack default"},{default:t(()=>a[3]||(a[3]=[i("p",null,"Stacks will become a table with a column for each dimension, and one for each layer:",-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st)")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"2600×5 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.550148 0.944751")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.0930075 0.159458")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.489525 0.614656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.793832 0.977066")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.00191986 0.798656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.861278 0.673027")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.207584 0.768342")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.0236468 0.0123003")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.871914 0.19857")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.504023 0.694279")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.351006 0.206362")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.856091 0.842866")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.0459964 0.615094")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.00516367 0.768924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1}),h(l,{label:"layersfrom"},{default:t(()=>a[4]||(a[4]=[i("p",null,[s("Using "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimTable"},[i("code",null,"DimTable")]),s(" we can specify that a "),i("code",null,"DimArray"),s(" should take columns from one of the dimensions:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimTable"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; layersfrom"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":category"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"100×28 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_a "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_b "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_c "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_d "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category_ ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"─────┼──────────────────────────────────────────────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 0.921958 0.713814 0.884385 0.186811 0.256817 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 0.449491 0.062795 0.195938 0.608366 0.738445")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 0.581131 0.12764 0.182707 0.773256 0.061892")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 0.194849 0.173013 0.493065 0.132989 0.936495")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 0.364097 0.0445446 0.849707 0.153753 0.64534 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 0.022593 0.634377 0.00816974 0.359194 0.719779")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 0.191934 0.307616 0.535124 0.597843 0.666938")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 0.450701 0.868587 0.175544 0.429822 0.296092")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋱")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 94 │ 4 10 0.985377 0.789667 0.956616 0.622735 0.051776 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 95 │ 5 10 0.294893 0.921567 0.656243 0.233997 0.648179")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 96 │ 6 10 0.363442 0.114915 0.121746 0.679632 0.951145")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 97 │ 7 10 0.74172 0.98893 0.456688 0.270915 0.86112")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 98 │ 8 10 0.819605 0.053158 0.960726 0.228415 0.909847 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 99 │ 9 10 0.457841 0.271591 0.488473 0.983904 0.868917")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 100 │ 10 10 0.670607 0.160352 0.227082 0.110425 0.204879")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 22 columns and 85 rows omitted")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DimStack"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(A; layersfrom"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":category"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"╭────────────────╮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"│ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," DimStack"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," │")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────┴─────────────────────────────────────────────────────── dims ┐")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," ↓ "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},",")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}}," → "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," Sampled{Int64} "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"1:10"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," ForwardOrdered"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Regular"),i("span",{style:{"--shiki-light":"#808080","--shiki-dark":"#808080"}}," Points")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"├────────────────────────────────────────────────────────────────────── layers ┤")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :a"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :b"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :c"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :d"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :e"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :f"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :g"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :h"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :i"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :j"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :k"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :l"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :m"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :n"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :o"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :p"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :q"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :r"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :s"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :t"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :u"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :v"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :w"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :x"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#00afaf","--shiki-dark":"#00afaf"}}," :z"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," eltype: "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"Float64"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," dims: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"X"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},", "),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"Y"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}}," size: "),i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}},"10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}},"×"),i("span",{style:{"--shiki-light":"#0087d7","--shiki-dark":"#0087d7"}},"10")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1}),h(l,{label:"mergedims"},{default:t(()=>a[5]||(a[5]=[i("p",null,[s("Using "),i("a",{href:"/DimensionalData.jl/previews/PR801/api/reference#DimensionalData.DimTable"},[i("code",null,"DimTable")]),s(" we can merge the spatial dimensions so the column is a tuple:")],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"julia"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},">"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," DataFrame"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"DimTable"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"(st; mergedims"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"="),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"("),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":X"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},", "),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":Y"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},")"),i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"=>"),i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},":XY"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"))")])])])],-1),i("div",{class:"language- vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"}),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," XY "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Tuple… "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 1 │ (1, 1) a 0.550148 0.944751")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2 │ (2, 1) a 0.0930075 0.159458")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 3 │ (3, 1) a 0.489525 0.614656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 4 │ (4, 1) a 0.793832 0.977066")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 5 │ (5, 1) a 0.00191986 0.798656")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 6 │ (6, 1) a 0.861278 0.673027")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 7 │ (7, 1) a 0.207584 0.768342")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 8 │ (8, 1) a 0.0236468 0.0123003")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2594 │ (4, 10) z 0.871914 0.19857")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2595 │ (5, 10) z 0.504023 0.694279")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2596 │ (6, 10) z 0.351006 0.206362")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2597 │ (7, 10) z 0.856091 0.842866")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2598 │ (8, 10) z 0.0459964 0.615094")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2599 │ (9, 10) z 0.00516367 0.768924")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2600 │ (10, 10) z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-dark":"#39c5cf","--shiki-light-font-weight":"bold","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1})]),_:1}),a[8]||(a[8]=d(`

Converting to CSV

We can also write arrays and stacks directly to CSV.jl, or any other data type supporting the Tables.jl interface.

julia
using CSV
+CSV.write("dimstack.csv", st)
+readlines("dimstack.csv")
2601-element Vector{String}:
+ "X,Y,category,data1,data2"
+ "1,1,a,0.5501481631111826,0.9447511416331498"
+ "2,1,a,0.09300753748828394,0.15945803739833375"
+ "3,1,a,0.48952511607945026,0.6146564273146751"
+ "4,1,a,0.7938317326707394,0.9770663775826343"
+ "5,1,a,0.0019198597596568057,0.798655984630017"
+ "6,1,a,0.8612776980335002,0.6730273352488979"
+ "7,1,a,0.20758428874582302,0.7683418213117802"
+ "8,1,a,0.023646798570656102,0.012300334322905893"
+ "9,1,a,0.11925244363082943,0.4278264986513013"
+
+ "2,10,z,0.8146121812750928,0.3434655288098666"
+ "3,10,z,0.38167574879167476,0.24524306337289326"
+ "4,10,z,0.8719143923648308,0.1985699519321249"
+ "5,10,z,0.5040228055200978,0.694278906020718"
+ "6,10,z,0.35100608350331053,0.20636222545147498"
+ "7,10,z,0.8560905731682101,0.8428656510212863"
+ "8,10,z,0.04599641808658339,0.6150940338022266"
+ "9,10,z,0.005163666306917225,0.768924169642427"
+ "10,10,z,0.8288995877624121,0.8136963000324107"
`,4))])}const E=n(r,[["render",f]]);export{m as __pageData,E as default}; diff --git a/previews/PR801/assets/veptoqy.CZKDtjAN.png b/previews/PR801/assets/veptoqy.CZKDtjAN.png new file mode 100644 index 000000000..1443d43f0 Binary files /dev/null and b/previews/PR801/assets/veptoqy.CZKDtjAN.png differ diff --git a/previews/PR801/assets/ybmzrjc.BIa4VhRY.png b/previews/PR801/assets/ybmzrjc.BIa4VhRY.png new file mode 100644 index 000000000..6f0e615af Binary files /dev/null and b/previews/PR801/assets/ybmzrjc.BIa4VhRY.png differ diff --git a/previews/PR801/assets/yhxwiti.CBNkYhiq.png b/previews/PR801/assets/yhxwiti.CBNkYhiq.png new file mode 100644 index 000000000..5128e884c Binary files /dev/null and b/previews/PR801/assets/yhxwiti.CBNkYhiq.png differ diff --git a/previews/PR801/basics.html b/previews/PR801/basics.html new file mode 100644 index 000000000..a4c35da02 --- /dev/null +++ b/previews/PR801/basics.html @@ -0,0 +1,73 @@ + + + + + + DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Installation

If you want to use this package you need to install it first. You can do it using the following commands:

julia
julia> ] # ']' should be pressed
+pkg> add DimensionalData

or

julia
julia> using Pkg
+julia> Pkg.add("DimensionalData")

Additionally, it is recommended to check the version that you have installed with the status command.

julia
julia> ]
+pkg> status DimensionalData

Basics

Start using the package:

julia
using DimensionalData

and create your first DimArray

julia
julia> A = DimArray(rand(4,5), (a=1:4, b=1:5))
╭─────────────────────────╮
+4×5 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+a Sampled{Int64} 1:4 ForwardOrdered Regular Points,
+b Sampled{Int64} 1:5 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  1         2          3         4         5
+ 1    0.541806  0.0282382  0.762794  0.844547  0.919763
+ 2    0.300768  0.247683   0.388243  0.95636   0.383632
+ 3    0.70597   0.599558   0.803192  0.675435  0.487578
+ 4    0.93479   0.624685   0.774731  0.216524  0.102405

or

julia
julia> C = DimArray(rand(Int8, 10), (alpha='a':'j',))
╭─────────────────────────────╮
+10-element DimArray{Int8,1}
+├─────────────────────────────┴────────────────────────────────────────── dims ┐
+alpha Categorical{Char} 'a':1:'j' ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+ 'a'  112
+ 'b'   85
+ 'c'  -86
+ 'd'  123
+ 'e'   95
+ 'f'   59
+ 'g'  -91
+ 'h'   55
+ 'i'  -78
+ 'j'  -15

or something a little bit more complicated:

julia
julia> data = rand(Int8, 2, 10, 3) .|> abs
2×10×3 Array{Int8, 3}:
+[:, :, 1] =
+  65  110   71  108  76  15  120   65  121  126
+ 125   78  118  101  11  32   87  108   49  115
+
+[:, :, 2] =
+ 106  84  74  80   9   26  35  74  28  47
+  87   1  42  54  15  107  77  23  89  34
+
+[:, :, 3] =
+ 65  66  113  1  123  16  69  104  -128  26
+ 25  13   29  1   21  72  24   48    51  88
julia
julia> B = DimArray(data, (channel=[:left, :right], time=1:10, iter=1:3))
╭─────────────────────────╮
+2×10×3 DimArray{Int8,3}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+channel Categorical{Symbol} [:left, :right] ForwardOrdered,
+time    Sampled{Int64} 1:10 ForwardOrdered Regular Points,
+iter    Sampled{Int64} 1:3 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+        1    2    3    4   5   6    7    8    9   10
+  :left    65  110   71  108  76  15  120   65  121  126
+  :right  125   78  118  101  11  32   87  108   49  115
+ + + + \ No newline at end of file diff --git a/previews/PR801/broadcasts.html b/previews/PR801/broadcasts.html new file mode 100644 index 000000000..b121642d7 --- /dev/null +++ b/previews/PR801/broadcasts.html @@ -0,0 +1,162 @@ + + + + + + Dimensional broadcasts with @d and broadcast_dims | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Dimensional broadcasts with @d and broadcast_dims

Broadcasting over AbstractDimArray works as usual with Base Julia broadcasts, except that dimensions are checked for compatibility with eachother, and that values match. Strict checks can be turned of globally with strict_broadcast!(false). To avoid even dimension name checks, broadcast over parent(dimarray).

The @d macro is a dimension-aware extension to regular dot brodcasting. broadcast_dims and broadcast_dims are analagous to Base julia broadcast.

Because we know the names of the dimensions, there is no ambiguity in which one we mean to broadcast together. This means we can permute and reshape dims so that broadcasts that would fail with a regular Array just work with a DimArray.

As an added bonus, broadcast_dims even works on DimStacks. Currently @d does not work on DimStack.

Example: scaling along the time dimension

Define some dimensions:

julia
using DimensionalData
+using Dates
+using Statistics
julia
julia> x, y, t = X(1:100), Y(1:25), Ti(DateTime(2000):Month(1):DateTime(2000, 12))
(X  1:100,
+Y  1:25,
+Ti Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00"))

A DimArray from 1:12 to scale with:

julia
julia> month_scalars = DimArray(month, t)
╭────────────────────────────────────────╮
+12-element DimArray{Int64,1} month(Ti)
+├────────────────────────────────────────┴─────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00   1
+ 2000-02-01T00:00:00   2
+ 2000-03-01T00:00:00   3
+ 2000-04-01T00:00:00   4
+ 2000-05-01T00:00:00   5
+ 2000-06-01T00:00:00   6
+ 2000-07-01T00:00:00   7
+ 2000-08-01T00:00:00   8
+ 2000-09-01T00:00:00   9
+ 2000-10-01T00:00:00  10
+ 2000-11-01T00:00:00  11
+ 2000-12-01T00:00:00  12

And a larger DimArray for example data:

julia
julia> data = rand(x, y, t)
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

A regular broadcast fails:

julia
julia> scaled = data .* month_scalars
ERROR: DimensionMismatch: arrays could not be broadcast to a common size; got a dimension with lengths 100 and 12

But @d knows to broadcast over the Ti dimension:

julia
julia> scaled = @d data .* month_scalars
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

We can see the means of each month are scaled by the broadcast :

julia
julia> mean(eachslice(data; dims=(X, Y)))
╭────────────────────────────────╮
+12-element DimArray{Float64,1}
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00  0.496108
+ 2000-02-01T00:00:00  0.49795
+ 2000-03-01T00:00:00  0.493708
+ 2000-04-01T00:00:00  0.492377
+ 2000-05-01T00:00:00  0.496201
+ 2000-06-01T00:00:00  0.496665
+ 2000-07-01T00:00:00  0.489762
+ 2000-08-01T00:00:00  0.503719
+ 2000-09-01T00:00:00  0.505946
+ 2000-10-01T00:00:00  0.499719
+ 2000-11-01T00:00:00  0.490968
+ 2000-12-01T00:00:00  0.501068
julia
julia> mean(eachslice(scaled; dims=(X, Y)))
╭────────────────────────────────╮
+12-element DimArray{Float64,1}
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00  0.496108
+ 2000-02-01T00:00:00  0.995899
+ 2000-03-01T00:00:00  1.48113
+ 2000-04-01T00:00:00  1.96951
+ 2000-05-01T00:00:00  2.48101
+ 2000-06-01T00:00:00  2.97999
+ 2000-07-01T00:00:00  3.42833
+ 2000-08-01T00:00:00  4.02976
+ 2000-09-01T00:00:00  4.55351
+ 2000-10-01T00:00:00  4.99719
+ 2000-11-01T00:00:00  5.40065
+ 2000-12-01T00:00:00  6.01282

You can also use broadcast_dims the same way:

julia
julia> broadcast_dims(*, data, month_scalars)
╭───────────────────────────────╮
+100×25×12 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1          2         323          24          25
+   1    0.792885   0.896315  0.28708       0.818644    0.568131    0.967865
+   2    0.0959455  0.164724  0.491767      0.515061    0.0416986   0.31065
+   3    0.23546    0.652353  0.201734      0.568302    0.875221    0.651784
+   4    0.2344     0.390033  0.108592      0.69635     0.655684    0.564589
+   ⋮                                   ⋱                           ⋮
+  97    0.192183   0.76163   0.924417      0.0502944   0.736214    0.959028
+  98    0.204551   0.725738  0.511086      0.566557    0.268319    0.790283
+  99    0.250752   0.612779  0.974596      0.246796    0.555456    0.27181
+ 100    0.295548   0.364488  0.21714   …   0.687223    0.068913    0.453973

And with the @d macro you can set the dimension order and other properties of the output array, by passing a single assignment or a NamedTuple argument to @d after the broadcast:

julia
julia> @d data .* month_scalars dims=(Ti, X, Y)
╭───────────────────────────────╮
+12×100×25 DimArray{Float64,3}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points,
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+                   198         99         100
+  2000-01-01T00:00:00  0.792885      0.204551   0.250752    0.295548
+  2000-02-01T00:00:00  1.27802       0.728611   1.04046     1.10447
+  2000-03-01T00:00:00  1.13589       1.54853    0.686287    0.929592
+  2000-04-01T00:00:00  3.49029       1.09764    3.2115      1.38795
+ ⋮                               ⋱                          ⋮
+  2000-09-01T00:00:00  1.89618       0.203703   4.47963     2.55114
+  2000-10-01T00:00:00  9.58054   …   5.3793     0.118632    7.12731
+  2000-11-01T00:00:00  0.134208      5.08512    6.19995     2.74204
+  2000-12-01T00:00:00  7.60111      11.5008    10.2026      6.54483

Or

julia
julia> @d data .* month_scalars (dims=(Ti, X, Y), name=:scaled)
╭──────────────────────────────────────╮
+12×100×25 DimArray{Float64,3} scaled
+├──────────────────────────────────────┴───────────────────────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Month(1):Dates.DateTime("2000-12-01T00:00:00") ForwardOrdered Regular Points,
+X  Sampled{Int64} 1:100 ForwardOrdered Regular Points,
+Y  Sampled{Int64} 1:25 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+                   198         99         100
+  2000-01-01T00:00:00  0.792885      0.204551   0.250752    0.295548
+  2000-02-01T00:00:00  1.27802       0.728611   1.04046     1.10447
+  2000-03-01T00:00:00  1.13589       1.54853    0.686287    0.929592
+  2000-04-01T00:00:00  3.49029       1.09764    3.2115      1.38795
+ ⋮                               ⋱                          ⋮
+  2000-09-01T00:00:00  1.89618       0.203703   4.47963     2.55114
+  2000-10-01T00:00:00  9.58054   …   5.3793     0.118632    7.12731
+  2000-11-01T00:00:00  0.134208      5.08512    6.19995     2.74204
+  2000-12-01T00:00:00  7.60111      11.5008    10.2026      6.54483
+ + + + \ No newline at end of file diff --git a/previews/PR801/cuda.html b/previews/PR801/cuda.html new file mode 100644 index 000000000..bcf051a89 --- /dev/null +++ b/previews/PR801/cuda.html @@ -0,0 +1,52 @@ + + + + + + CUDA & GPUs | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

CUDA & GPUs

Running regular julia code on GPUs is one of the most amazing things about the language. DimensionalData.jl leans into this as much as possible.

julia
using DimensionalData, CUDA
+
+# Create a Float32 array to use on the GPU
+A = rand(Float32, X(1.0:1000.0), Y(1.0:2000.0))
+
+# Move the parent data to the GPU with `modify` and the `CuArray` constructor:
+cuA = modify(CuArray, A)

The result of a GPU broadcast is still a DimArray:

julia
julia> cuA2 = cuA .* 2
+╭───────────────────────────────╮
+1000×2000 DimArray{Float32,2} │
+├───────────────────────────────┴────────────────────────────── dims ┐
+ X Sampled{Float64} 1.0:1.0:1000.0 ForwardOrdered Regular Points,
+ Y Sampled{Float64} 1.0:1.0:2000.0 ForwardOrdered Regular Points
+└────────────────────────────────────────────────────────────────────┘
+  1.0       2.0        3.0        4.0  1998.0        1999.0        2000.0
+    1.0  1.69506   1.28405    0.989952   0.900394        1.73623       1.30427       1.98193
+    2.0  1.73591   0.929995   0.665742   0.345501        0.162919      1.81708       0.702944
+    3.0  1.24575   1.80455    1.78028    1.49097         0.45804       0.224375      0.0197492
+    4.0  0.374026  1.91495    1.17645    0.995683        0.835288      1.54822       0.487601
+    5.0  1.17673   0.0557598  0.183637   1.90645     0.88058       1.23788       1.59705
+    6.0  1.57019   0.215049   1.9155     0.982762        0.906838      0.1076        0.390081
+                              
+  995.0  1.48275   0.40409    1.37963    1.66622         0.462981      1.4492        1.26917
+  996.0  1.88869   1.86174    0.298383   0.854739     0.778222      1.42151       1.75568
+  997.0  1.88092   1.87436    0.285965   0.304688        1.32669       0.0599431     0.134186
+  998.0  1.18035   1.61025    0.352614   1.75847         0.464554      1.90309       1.30923
+  999.0  1.40584   1.83056    0.0804518  0.177423        1.20779       1.95217       0.881149
+ 1000.0  1.41334   0.719974   0.479126   1.92721         0.0649391     0.642908      1.07277

But the data is on the GPU:

julia
julia> typeof(parent(cuA2))
+CuArray{Float32, 2, CUDA.Mem.DeviceBuffer}

GPU Integration goals

DimensionalData.jl has two GPU-related goals:

  1. Work seamlessly with Base julia broadcasts and other operations that already work on GPU.

  2. Work as arguments to custom GPU kernel functions.

This means any AbstractDimArray must be automatically moved to the GPU and its fields converted to GPU friendly forms whenever required, using Adapt.jl).

  • The array data must converts to the correct GPU array backend when Adapt.adapt(dimarray) is called.

  • All DimensionalData.jl objects, except the actual parent array, need to be immutable isbits or convertible to them. This is one reason DimensionalData.jl uses rebuild and a functional style, rather than in-place modification of fields.

  • Symbols need to be moved to the type system Name{:layer_name}() replaces :layer_name

  • Metadata dicts need to be stripped, they are often too difficult to convert, and not needed on GPU.

As an example, DynamicGrids.jl uses AbstractDimArray for auxiliary model data that are passed into KernelAbstractions.jl/ CUDA.jl kernels.

+ + + + \ No newline at end of file diff --git a/previews/PR801/dimarrays.html b/previews/PR801/dimarrays.html new file mode 100644 index 000000000..7e3797f4c --- /dev/null +++ b/previews/PR801/dimarrays.html @@ -0,0 +1,203 @@ + + + + + + DimArrays | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

DimArrays

DimArrays are wrappers for other kinds of AbstractArray that add named dimension lookups.

Here we define a Matrix of Float64, and give it X and Y dimensions

julia
julia> using DimensionalData
+
+julia> A = rand(5, 10)
5×10 Matrix{Float64}:
+ 0.534915   0.4518     0.194465  0.780132  …  0.476495   0.0239356  0.526295
+ 0.707692   0.454886   0.588506  0.168291     0.222482   0.493417   0.134246
+ 0.0999314  0.0425477  0.44119   0.410463     0.0400372  0.0622255  0.350104
+ 0.132894   0.865298   0.778166  0.723438     0.0740736  0.137619   0.202743
+ 0.966106   0.854076   0.895608  0.147478     0.815365   0.24737    0.860933
julia
julia> da = DimArray(A, (X, Y))
╭──────────────────────────╮
+5×10 DimArray{Float64,2}
+├──────────────────────────┴─────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 0.534915   0.4518     0.194465  0.780132  …  0.476495   0.0239356  0.526295
+ 0.707692   0.454886   0.588506  0.168291     0.222482   0.493417   0.134246
+ 0.0999314  0.0425477  0.44119   0.410463     0.0400372  0.0622255  0.350104
+ 0.132894   0.865298   0.778166  0.723438     0.0740736  0.137619   0.202743
+ 0.966106   0.854076   0.895608  0.147478     0.815365   0.24737    0.860933

We can access a value with the same dimension wrappers:

julia
julia> da[Y(1), X(2)]
0.7076921858340348

There are shortcuts for creating DimArray:

julia
julia> A = rand(5, 10)
5×10 Matrix{Float64}:
+ 0.764613  0.657441   0.625257   0.587556  …  0.344408  0.0140644  0.0127924
+ 0.760205  0.298179   0.545129   0.989571     0.554791  0.0697249  0.949105
+ 0.553558  0.500157   0.295319   0.925873     0.386433  0.392848   0.26069
+ 0.912065  0.917543   0.0965083  0.997672     0.492141  0.625296   0.391155
+ 0.948512  0.0621546  0.167745   0.228964     0.90251   0.710967   0.885914
julia
julia> DimArray(A, (X, Y))
╭──────────────────────────╮
+5×10 DimArray{Float64,2}
+├──────────────────────────┴─────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 0.764613  0.657441   0.625257   0.587556  …  0.344408  0.0140644  0.0127924
+ 0.760205  0.298179   0.545129   0.989571     0.554791  0.0697249  0.949105
+ 0.553558  0.500157   0.295319   0.925873     0.386433  0.392848   0.26069
+ 0.912065  0.917543   0.0965083  0.997672     0.492141  0.625296   0.391155
+ 0.948512  0.0621546  0.167745   0.228964     0.90251   0.710967   0.885914
julia
julia> DimArray(A, (X, Y); name=:DimArray, metadata=Dict())
╭───────────────────────────────────╮
+5×10 DimArray{Float64,2} DimArray
+├───────────────────────────────────┴────────────────────── dims ┐
+X, Y
+├────────────────────────────────────────────────────── metadata ┤
+  Dict{Any, Any}()
+└────────────────────────────────────────────────────────────────┘
+ 0.764613  0.657441   0.625257   0.587556  …  0.344408  0.0140644  0.0127924
+ 0.760205  0.298179   0.545129   0.989571     0.554791  0.0697249  0.949105
+ 0.553558  0.500157   0.295319   0.925873     0.386433  0.392848   0.26069
+ 0.912065  0.917543   0.0965083  0.997672     0.492141  0.625296   0.391155
+ 0.948512  0.0621546  0.167745   0.228964     0.90251   0.710967   0.885914

Constructing DimArray with arbitrary dimension names

For arbitrary names, we can use the Dim{:name} dims by using Symbols, and indexing with keywords:

julia
julia> da1 = DimArray(rand(5, 5), (:a, :b))
╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

and get a value, here another smaller DimArray:

julia
julia> da1[a=3, b=1:3]
╭───────────────────────────────╮
+3-element DimArray{Float64,1}
+├───────────────────────────────┴ dims ┐
+b
+└─────────────────────────────────┘
+ 0.0463176
+ 0.143704
+ 0.965831

Dimensional Indexing

When used for indexing, dimension wrappers free us from knowing the order of our objects axes. These are the same:

julia
julia> da[X(2), Y(1)] == da[Y(1), X(2)]
true

We also can use Tuples of dimensions like CartesianIndex, but they don't have to be in order of consecutive axes.

julia
julia> da2 = rand(X(10), Y(7), Z(5))
╭────────────────────────────╮
+10×7×5 DimArray{Float64,3}
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+X, Y, Z
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 0.0760848  0.0641884  0.680225  0.683696   0.0205228  0.563623  0.673966
+ 0.0992684  0.970459   0.330777  0.241056   0.0196808  0.669021  0.107475
+ 0.206406   0.444708   0.11996   0.322115   0.225865   0.802122  0.421692
+ 0.94412    0.0192911  0.351413  0.468968   0.269685   0.150126  0.215458
+ 0.917457   0.162553   0.184309  0.719495   0.221163   0.4231    0.721331
+ 0.916702   0.794163   0.880796  0.839618   0.380161   0.180894  0.375182
+ 0.48817    0.498764   0.904961  0.392377   0.625435   0.786147  0.769313
+ 0.339888   0.358625   0.290734  0.0778416  0.451425   0.879774  0.605324
+ 0.481184   0.828395   0.870276  0.0323182  0.195774   0.467484  0.255916
+ 0.758865   0.680352   0.679221  0.920736   0.0375522  0.296639  0.139067
julia
julia> da2[(X(3), Z(5))]
╭───────────────────────────────╮
+7-element DimArray{Float64,1}
+├───────────────────────────────┴ dims ┐
+Y
+└─────────────────────────────────┘
+ 0.794017
+ 0.865233
+ 0.0540645
+ 0.0474302
+ 0.521021
+ 0.836107
+ 0.167104

We can index with Vector of Tuple{Vararg(Dimension}} like vectors of CartesianIndex. This will merge the dimensions in the tuples:

julia
julia> inds = [(X(3), Z(5)), (X(7), Z(4)), (X(8), Z(2))]
3-element Vector{Tuple{X{Int64}, Z{Int64}}}:
+ (X 3, Z 5)
+ (X 7, Z 4)
+ (X 8, Z 2)
julia
julia> da2[inds]
╭─────────────────────────╮
+7×3 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+Y ,
+XZ MergedLookup{Tuple{Int64, Int64}} [(3, 5), (7, 4), (8, 2)]X, Z
+└──────────────────────────────────────────────────────────────────────────────┘
+  (3, 5)     (7, 4)    (8, 2)
+ 0.794017   0.690695  0.89862
+ 0.865233   0.992316  0.864765
+ 0.0540645  0.409622  0.575698
+ 0.0474302  0.133195  0.161393
+ 0.521021   0.246162  0.337182
+ 0.836107   0.365341  0.394703
+ 0.167104   0.847018  0.213826

DimIndices can be used like CartesianIndices but again, without the constraint of consecutive dimensions or known order.

julia
julia> da2[DimIndices(dims(da2, (X, Z))), Y(3)]
╭──────────────────────────╮
+10×5 DimArray{Float64,2}
+├──────────────────────────┴─────────────────────────────── dims ┐
+X, Z
+└────────────────────────────────────────────────────────────────┘
+ 0.680225  0.457891   0.230047   0.634499  0.678022
+ 0.330777  0.0275306  0.352138   0.739241  0.353691
+ 0.11996   0.904604   0.708321   0.837335  0.0540645
+ 0.351413  0.853553   0.934609   0.208365  0.803293
+ 0.184309  0.91732    0.615764   0.526688  0.5573
+ 0.880796  0.683091   0.761212   0.956031  0.3162
+ 0.904961  0.589895   0.945371   0.409622  0.110998
+ 0.290734  0.575698   0.497346   0.750906  0.354046
+ 0.870276  0.320667   0.0559616  0.341835  0.234458
+ 0.679221  0.950645   0.727554   0.306208  0.173513

The Dimension indexing layer sits on top of regular indexing and can not be combined with it! Regular indexing specifies order, so doesn't mix well with our dimensions.

Mixing them will throw an error:

julia
julia> da1[X(3), 4]
ERROR: ArgumentError: invalid index: X{Int64}(3) of type X{Int64}

Begin End indexing

julia
julia> da1[X=Begin+1, Y=End]
Warning: (X, Y) dims were not found in object.
+@ DimensionalData.Dimensions ~/work/DimensionalData.jl/DimensionalData.jl/src/Dimensions/primitives.jl:846
+╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

It also works in ranges, even with basic math:

julia
julia> da1[X=Begin:Begin+1, Y=Begin+1:End-1]
Warning: (X, Y) dims were not found in object.
+@ DimensionalData.Dimensions ~/work/DimensionalData.jl/DimensionalData.jl/src/Dimensions/primitives.jl:846
+╭─────────────────────────╮
+5×5 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+a, b
+└────────────────────────────────────────────────────────────────┘
+ 0.88841    0.329515   0.620055  0.20051     0.500642
+ 0.284399   0.152765   0.465631  0.00337686  0.885929
+ 0.0463176  0.143704   0.965831  0.754468    0.0684698
+ 0.257822   0.411529   0.219583  0.6642      0.714286
+ 0.706267   0.0450386  0.441735  0.137131    0.350422

In base julia the keywords begin and end can be used to index the first or last element of an array. But this doesn't work when named indexing is used. Instead you can use the types Begin and End.

Indexing

Indexing AbstractDimArrays works with getindex, setindex! and view. The result is still an AbstracDimArray, unless using all single Int or Selectors that resolve to Int inside Dimension.

dims keywords

In many Julia functions like, size or sum, you can specify the dimension along which to perform the operation as an Int. It is also possible to do this using Dimension types with AbstractDimArray:

julia
julia> da5 = rand(X(3), Y(4), Ti(5))
╭───────────────────────────╮
+3×4×5 DimArray{Float64,3}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X, Y, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 0.0610019  0.578989  0.760111  0.291577
+ 0.980256   0.388907  0.711714  0.827852
+ 0.225583   0.395594  0.433955  0.691887
julia
julia> sum(da5; dims=Ti)
╭───────────────────────────╮
+3×4×1 DimArray{Float64,3}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X, Y, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+ 1.31572  3.28438  1.73011  2.13035
+ 2.5962   1.55745  2.5074   2.07151
+ 2.31468  1.40687  3.06474  3.2858

Dims keywords

Methods where dims, dim types, or Symbols can be used to indicate the array dimension:

  • size, axes, firstindex, lastindex

  • cat, reverse, dropdims

  • reduce, mapreduce

  • sum, prod, maximum, minimum

  • mean, median, extrema, std, var, cor, cov

  • permutedims, adjoint, transpose, Transpose

  • mapslices, eachslice

Performance

Indexing with Dimensions has no runtime cost. Let's benchmark it:

julia
julia> using BenchmarkTools
+
+julia> da4 = ones(X(3), Y(3))
╭─────────────────────────╮
+3×3 DimArray{Float64,2}
+├─────────────────────────┴──────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
+ 1.0  1.0  1.0
julia
julia> @benchmark $da4[X(1), Y(2)]
BenchmarkTools.Trial: 10000 samples with 1000 evaluations.
+ Range (minmax):  3.086 ns17.533 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.105 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.110 ns ±  0.232 ns GC (mean ± σ):  0.00% ± 0.00%
+
+
+
+  3.09 ns      Histogram: log(frequency) by time     3.13 ns <
+
+ Memory estimate: 0 bytes, allocs estimate: 0.

the same as accessing the parent array directly:

julia
julia> @benchmark parent($da4)[1, 2]
BenchmarkTools.Trial: 10000 samples with 1000 evaluations.
+ Range (minmax):  3.095 ns19.307 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.096 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.112 ns ±  0.329 ns GC (mean ± σ):  0.00% ± 0.00%
+
+                                      
+
+  3.1 ns         Histogram: frequency by time        3.13 ns <
+
+ Memory estimate: 0 bytes, allocs estimate: 0.
+ + + + \ No newline at end of file diff --git a/previews/PR801/dimensions.html b/previews/PR801/dimensions.html new file mode 100644 index 000000000..2667338ab --- /dev/null +++ b/previews/PR801/dimensions.html @@ -0,0 +1,27 @@ + + + + + + Dimensions | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Dimensions

Dimensions are "wrapper types" that can be used to wrap any object to associate it with a named dimension.

X, Y, Z, Ti are predefined as types:

julia
julia> using DimensionalData
+
+julia> X(1)
X 1
julia
julia> X(1), Y(2), Z(3)
(X 1, Y 2, Z 3)

You can also make Dim dimensions with any name:

julia
julia> Dim{:a}(1), Dim{:b}(1)
(a 1, b 1)

The wrapped value can be retrieved with val:

julia
julia> val(X(1))
1

DimensionalData.jl uses Dimensions everywhere:

  • Dimension are returned from dims to specify the names of the dimensions of an object

  • they wrap Lookups to associate the lookups with those names

  • to index into these objects, they wrap indices like Int or a Selector

This symmetry means we can ignore how data is organised, and label and access it by name, letting DD work out the details for us.

Dimensions are defined in the Dimensions submodule, some Dimension-specific methods can be brought into scope with:

julia
using DimensionalData.Dimensions
+ + + + \ No newline at end of file diff --git a/previews/PR801/diskarrays.html b/previews/PR801/diskarrays.html new file mode 100644 index 000000000..e6f1898b6 --- /dev/null +++ b/previews/PR801/diskarrays.html @@ -0,0 +1,25 @@ + + + + + + DiskArrays.jl compatibility | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

DiskArrays.jl compatibility

DiskArrays.jl enables lazy, chunked application of:

  • broadcast

  • reductions

  • iteration

  • generators

  • zip

It is rarely used directly, but is present in most disk and cloud based spatial data packages in julia, including: ArchGDAL.jl, NetCDF.jl, Zarr.jl, NCDatasets.lj, GRIBDatasets.jl and CommonDataModel.jl

The combination of DiskArrays.jl and DimensionalData.jl is Julias answer to pythons xarray. Rasters.jl and YAXArrays.jl are user-facing tools building on this combination.

They have no direct dependency relationships, with but are intentionally designed to integrate via both adherence to Julia's AbstractArray interface, and by coordination during development of both packages.

+ + + + \ No newline at end of file diff --git a/previews/PR801/extending_dd.html b/previews/PR801/extending_dd.html new file mode 100644 index 000000000..f0223571d --- /dev/null +++ b/previews/PR801/extending_dd.html @@ -0,0 +1,54 @@ + + + + + + Extending DimensionalData | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Extending DimensionalData

Nearly everything in DimensionalData.jl is designed to be extensible.

  • AbstractDimArray are easily extended to custom array types. Raster or YAXArray are examples from other packages.

  • AbstractDimStack are easily extended to custom mixed array dataset. RasterStack or ArViZ.Dataset are examples.

  • Lookup can have new types added, e.g. to AbstractSampled or AbstractCategorical. Rasters.Projected is a lookup that knows its coordinate reference system, but otherwise behaves as a regular Sampled lookup.

dims, rebuild and format are the key interface methods in most of these cases.

dims

Objects extending DimensionalData.jl that have dimensions must return a Tuple of constructed Dimensions from dims(obj).

Dimension axes

Dimensions return from dims should hold a Lookup or in some cases just an AbstractArray (like with DimIndices). When attached to multi-dimensional objects, lookups must be the same length as the axis of the array it represents, and eachindex(A, i) and eachindex(dim) must return the same values.

This means that if the array has OffsetArrays.jl axes, the array the dimension wraps must also have OffsetArrays.jl axes.

dims keywords

To any dims keyword argument that usually requires the dimension I, objects should accept any Dimension, Type{<:Dimension}, Symbol, Val{:Symbol}, Val{<:Type{<:Dimension}} or also regular Integer.

This is easier than it sounds, calling DD.dims(objs, dims) will return the matching dimension and DD.dimnum(obj, dims) will return the matching Int for any of these inputs as long as dims(obj) is implemented.

rebuild

Rebuild methods are used to rebuild immutable objects with new field values, in a way that is more flexible and extensible than just using ConstructionBase.jl reconstruction. Developers can choose to ignore some of the fields passed by rebuild.

The function signature is always one of:

julia
rebuild(obj, args...)
+rebuild(obj; kw...)

rebuild has keyword versions automatically generated for all objects using ConstructionBase.jl.

These will work without further work as long as your object has the fields used by DimensionalData.jl objects. For example, AbstractDimArray will receive these keywords in rebuild: data, dims, refdims, name, metadata.

If your AbstractDimArray does not have all these fields, you must implement rebuild(x::YourDimArray; kw...) manually.

An argument method is also defined with the same arguments as the keyword version. For AbstractDimArray it should only be used for updating data and dims, any more that that is confusing.

For Dimension and Selector the single argument versions are easiest to use, as there is only one argument.

format

When constructing an AbstractDimArray or AbstractDimStack DimensionalData.format must be called on the dims tuple and the parent array:

julia
format(dims, array)

This lets DimensionalData detect the lookup properties, fill in missing fields of a Lookup, pass keywords from Dimension to detected Lookup constructors, and accept a wider range of dimension inputs like tuples of Symbol and Type.

Not calling format in the outer constructors of an AbstractDimArray has undefined behaviour.

Interfaces.jl interface testing

DimensionalData defines explicit, testable Interfaces.jl interfaces: DimArrayInterface and DimStackInterface.

This is the implementation definition for DimArray:

julia
julia> using DimensionalData, Interfaces
+
+julia> @implements DimensionalData.DimArrayInterface{(:refdims,:name,:metadata)} DimArray [rand(X(10), Y(10)), zeros(Z(10))]

See the DimensionalData.DimArrayInterface docs for options. We can test it with:

julia
julia> Interfaces.test(DimensionalData.DimArrayInterface)

+Testing DimArrayInterface is implemented for DimArray
+
+Mandatory components
+dims: (defines a `dims` method [true, true],
+       dims are updated on getindex [true, true])
+refdims_base: `refdims` returns a tuple of Dimension or empty [true, true]
+ndims: number of dims matches dimensions of array [true, true]
+size: length of dims matches dimensions of array [true, true]
+rebuild_parent: rebuild parent from args [true, true]
+rebuild_dims: rebuild paaarnet and dims from args [true, true]
+rebuild_parent_kw: rebuild parent from args [true, true]
+rebuild_dims_kw: rebuild dims from args [true, true]
+rebuild: all rebuild arguments and keywords are accepted [true, true]
+
+Optional components
+refdims: (refdims are updated in args rebuild [true, true],
+          refdims are updated in kw rebuild [true, true],
+          dropped dimensions are added to refdims [true, true])
+name: (rebuild updates name in arg rebuild [true, true],
+       rebuild updates name in kw rebuild [true, true])
+metadata: (rebuild updates metadata in arg rebuild [true, true],
+           rebuild updates metadata in kw rebuild [true, true])
+
+Implementation summary:
+  DimArray correctly implements DimensionalData.DimArrayInterface: true
+true
+ + + + \ No newline at end of file diff --git a/previews/PR801/favicon.ico b/previews/PR801/favicon.ico new file mode 100644 index 000000000..37b0a2d5a Binary files /dev/null and b/previews/PR801/favicon.ico differ diff --git a/previews/PR801/get_info.html b/previews/PR801/get_info.html new file mode 100644 index 000000000..04ac3d40f --- /dev/null +++ b/previews/PR801/get_info.html @@ -0,0 +1,53 @@ + + + + + + Getters | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Getters

DimensionalData.jl defines consistent methods to retrieve information from objects like DimArray, DimStack, Tuples of Dimension, Dimension and Lookup.

First we will define an example DimArray.

julia
using DimensionalData
+using DimensionalData.Lookups
+x, y = X(10:-1:1), Y(100.0:10:200.0)
(↓ X 10:-1:1,
+→ Y 100.0:10.0:200.0)
julia
julia> A = rand(x, y)
╭───────────────────────────╮
+10×11 DimArray{Float64,2}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points,
+Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  100.0         110.0180.0       190.0       200.0
+ 10      0.664038      0.464482        0.868966    0.530653    0.418968
+  9      0.00832284    0.0980829       0.314535    0.322005    0.674881
+  8      0.639212      0.233778        0.315591    0.190225    0.475569
+  7      0.602315      0.0372362       0.950143    0.062593    0.948976
+  6      0.375166      0.423798   …    0.640311    0.932968    0.98985
+  5      0.153219      0.635963        0.293126    0.68781     0.309301
+  4      0.00508449    0.829714        0.727149    0.585756    0.921145
+  3      0.946824      0.906705        0.899632    0.471877    0.633956
+  2      0.876112      0.831617        0.128932    0.428951    0.243803
+  1      0.749253      0.864128   …    0.715102    0.921012    0.566574

dims retrieves dimensions from any object that has them.

What makes it so useful is you can filter which dimensions you want in what order, using any Dimension, Type{Dimension} or Symbol.

julia
julia> dims(A)
(X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points,
+Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points)
julia
julia> dims(A, Y)
Y Sampled{Float64} ForwardOrdered Regular Points
+wrapping: 100.0:10.0:200.0
julia
julia> dims(A, Y())
Y Sampled{Float64} ForwardOrdered Regular Points
+wrapping: 100.0:10.0:200.0
julia
julia> dims(A, :Y)
Y Sampled{Float64} ForwardOrdered Regular Points
+wrapping: 100.0:10.0:200.0
julia
julia> dims(A, (X,))
(X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points)
julia
julia> dims(A, (Y, X))
(Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points,
+X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points)
julia
julia> dims(A, reverse(dims(A)))
(Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points,
+X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points)
julia
julia> dims(A, isregular)
(X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points,
+Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points)

Predicates

These always return true or false. With multiple dimensions, fale means !all and true means all.

dims and all other methods listed above can use predicates to filter the returned dimensions.

julia
julia> issampled(A)
true
julia
julia> issampled(dims(A))
true
julia
julia> issampled(A, Y)
true
julia
julia> issampled(lookup(A, Y))
true
julia
julia> dims(A, issampled)
(X Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points,
+Y Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points)
julia
julia> otherdims(A, issampled)
()
julia
julia> lookup(A, issampled)
Sampled{Int64} 10:-1:1 ReverseOrdered Regular Points,
+Sampled{Float64} 100.0:10.0:200.0 ForwardOrdered Regular Points
+ + + + \ No newline at end of file diff --git a/previews/PR801/groupby.html b/previews/PR801/groupby.html new file mode 100644 index 000000000..8b38200f2 --- /dev/null +++ b/previews/PR801/groupby.html @@ -0,0 +1,142 @@ + + + + + + Group By | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Group By

DimensionalData.jl provides a groupby function for dimensional grouping. This guide will cover:

  • simple grouping with a function

  • grouping with Bins

  • grouping with another existing AbstractDimArry or Dimension

Grouping functions

Lets look at the kind of functions that can be used to group DateTime. Other types will follow the same principles, but are usually simpler.

First load some packages:

julia
using DimensionalData
+using Dates
+using Statistics
+const DD = DimensionalData

Now create a demo DateTime range

julia
julia> tempo = range(DateTime(2000), step=Hour(1), length=365*24*2)
Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00")

Lets see how some common functions work.

The hour function will transform values to hour of the day - the integers 0:23

julia
julia> hour.(tempo)
17520-element Vector{Int64}:
+  0
+  1
+  2
+  3
+  4
+  5
+  6
+  7
+  8
+  9
+
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23

Tuple groupings

julia
julia> yearmonth.(tempo)
17520-element Vector{Tuple{Int64, Int64}}:
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+ (2000, 1)
+
+ (2001, 12)
+ (2001, 12)
+ (2001, 12)
+ (2001, 12)
+ (2001, 12)
+ (2001, 12)
+ (2001, 12)
+ (2001, 12)
+ (2001, 12)

Grouping and reducing

Lets define an array with a time dimension of the times used above:

julia
julia> A = rand(X(1:0.01:2), Ti(tempo))
╭───────────────────────────────╮
+101×17520 DimArray{Float64,2}
+├───────────────────────────────┴──────────────────────────────────────── dims ┐
+X  Sampled{Float64} 1.0:0.01:2.0 ForwardOrdered Regular Points,
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00") ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    2000-01-01T00:00:00   2000-01-01T01:00:002001-12-30T23:00:00
+ 1.0   0.247032              0.706417                 0.10748
+ 1.01  0.749267              0.559878                 0.916216
+ 1.02  0.694796              0.981865                 0.842792
+ 1.03  0.214909              0.313279                 0.683712
+ ⋮                                                 ⋱  ⋮
+ 1.96  0.899864              0.819928                 0.313711
+ 1.97  0.581748              0.0446036                0.762533
+ 1.98  0.645795              0.442542                 0.522989
+ 1.99  0.460633              0.346013              …  0.639499
+ 2.0   0.0403793             0.561611                 0.736525

Group by month, using the month function:

julia
julia> groups = groupby(A, Ti=>month)
╭───────────────────────────────────────────────────╮
+12-element DimGroupByArray{DimArray{Float64,1},1}
+├───────────────────────────────────────────────────┴──────────────────── dims ┐
+Ti Sampled{Int64} [1, 2, …, 11, 12] ForwardOrdered Irregular Points
+├──────────────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+├────────────────────────────────────────────────────────────────── group dims ┤
+X, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+  1  101×1488 DimArray
+  2  101×1368 DimArray
+  3  101×1488 DimArray
+
+ 11  101×1440 DimArray
+ 12  101×1464 DimArray

We can take the mean of each group by broadcasting over them:

julia
julia> mean.(groups)
╭────────────────────────────────╮
+12-element DimArray{Float64,1}
+├────────────────────────────────┴─────────────────────────────────────── dims ┐
+Ti Sampled{Int64} [1, 2, …, 11, 12] ForwardOrdered Irregular Points
+├──────────────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>month
+└──────────────────────────────────────────────────────────────────────────────┘
+  1  0.500757
+  2  0.498832
+  3  0.498388
+  4  0.500913
+
+ 10  0.500277
+ 11  0.498996
+ 12  0.500093

Binning

Sometimes we want to further aggregate our groups after running a function, or just bin the raw data directly. We can use the Bins wrapper to do this.

For quick analysis, we can break our groups into N bins.

julia
julia> groupby(A, Ti=>Bins(month, 4))
╭──────────────────────────────────────────────────╮
+4-element DimGroupByArray{DimArray{Float64,1},1}
+├──────────────────────────────────────────────────┴───────────────────── dims ┐
+Ti Sampled{IntervalSets.Interval{:closed, :open, Float64}} [1.0 .. 3.75275 (closed-open), 3.75275 .. 6.5055 (closed-open), 6.5055 .. 9.25825 (closed-open), 9.25825 .. 12.011 (closed-open)] ForwardOrdered Irregular Intervals{Start}
+├──────────────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>Bins(month, 4)…
+├────────────────────────────────────────────────────────────────── group dims ┤
+X, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+ 1.0 .. 3.75275 (closed-open)     101×4344 DimArray
+ 3.75275 .. 6.5055 (closed-open)  101×4368 DimArray
+ 6.5055 .. 9.25825 (closed-open)  101×4416 DimArray
+ 9.25825 .. 12.011 (closed-open)  101×4392 DimArray

Doing this requires slightly padding the bin edges, so the lookup of the output is less than ideal.

Select by Dimension

We can also select by Dimensions and any objects with dims methods.

Trivially, grouping by an objects own dimension is similar to eachslice:

julia
julia> groupby(A, dims(A, Ti))
╭──────────────────────────────────────────────────────╮
+17520-element DimGroupByArray{DimArray{Float64,1},1}
+├──────────────────────────────────────────────────────┴───────────────── dims ┐
+Ti Sampled{Dates.DateTime} Dates.DateTime("2000-01-01T00:00:00"):Dates.Hour(1):Dates.DateTime("2001-12-30T23:00:00") ForwardOrdered Regular Points
+├──────────────────────────────────────────────────────────────────── metadata ┤
+  Dict{Symbol, Any} with 1 entry:
+  :groupby => :Ti=>[DateTime("2000-01-01T00:00:00"), DateTime("2000-01-01T01:00…
+├────────────────────────────────────────────────────────────────── group dims ┤
+X, Ti
+└──────────────────────────────────────────────────────────────────────────────┘
+ 2000-01-01T00:00:00  101×1 DimArray
+ 2000-01-01T01:00:00  101×1 DimArray
+ 2000-01-01T02:00:00  101×1 DimArray
+
+ 2001-12-30T22:00:00  101×1 DimArray
+ 2001-12-30T23:00:00  101×1 DimArray

TODO: Apply custom function (i.e. normalization) to grouped output.

+ + + + \ No newline at end of file diff --git a/previews/PR801/hashmap.json b/previews/PR801/hashmap.json new file mode 100644 index 000000000..2dc48d442 --- /dev/null +++ b/previews/PR801/hashmap.json @@ -0,0 +1 @@ +{"api_dimensions.md":"MWHKMaKb","api_lookuparrays.md":"BF14Z7at","api_reference.md":"CQevsPbp","basics.md":"LP9Fcdo1","broadcasts.md":"5J_tBPs5","cuda.md":"Rut_ExXL","dimarrays.md":"7pjFj3JZ","dimensions.md":"CBs16yaQ","diskarrays.md":"64JEAR8Z","extending_dd.md":"DvBZFGy6","get_info.md":"D5VYRM01","groupby.md":"_-rDFlY6","index.md":"Co6U3z_V","integrations.md":"DnteQbzv","object_modification.md":"C6yYw2Ar","plots.md":"BM84STtN","selectors.md":"DMIZn364","stacks.md":"C7pJh52H","tables.md":"CIG0p5h9"} diff --git a/previews/PR801/index.html b/previews/PR801/index.html new file mode 100644 index 000000000..c1b1ee5fc --- /dev/null +++ b/previews/PR801/index.html @@ -0,0 +1,25 @@ + + + + + + DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

DimensionalData.jl

Julia datasets with named dimensions

High performance named indexing for Julia

+ + + + \ No newline at end of file diff --git a/previews/PR801/integrations.html b/previews/PR801/integrations.html new file mode 100644 index 000000000..25ff9664e --- /dev/null +++ b/previews/PR801/integrations.html @@ -0,0 +1,25 @@ + + + + + + Integrations | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Integrations

Rasters.jl

Rasters.jl extends DD for geospatial data manipulation, providing file load/save for a wide range of raster data sources and common GIS tools like polygon rasterization and masking. Raster types are aware of crs and their missingval (which is often not missing for performance and storage reasons).

Rasters.jl is also the reason DimensionalData.jl exists at all! But it always made sense to separate out spatial indexing from GIS tools and dependencies.

A Raster is a AbstractDimArray, a RasterStack is a AbstractDimStack, and Projected and Mapped are AbstractSample lookups.

YAXArrays.jl

YAXArrays.jl is another spatial data package aimed more at (very) large datasets. It's functionality is slowly converging with Rasters.jl (both wrapping DiskArray.jl/DimensionalData.jl) and we work closely with the developers.

YAXArray is a AbstractDimArray and inherits its behaviours.

ClimateBase.jl

ClimateBase.jl Extends DD with methods for analysis of climate data.

ArviZ.jl

ArviZ.jl Is a Julia package for exploratory analysis of Bayesian models.

An ArviZ.Dataset is an AbstractDimStack!

JuMP.jl

JuMP.jl is a powerful optimization DSL. It defines its own named array types but now accepts any AbstractDimArray too, through a package extension.

CryoGrid.jl

CryoGrid.jl A Julia implementation of the CryoGrid permafrost model.

CryoGridOutput uses DimArray for views into output data.

DynamicGrids.jl

DynamicGrids.jl is a spatial simulation engine, for cellular automata and spatial process models.

All DynamicGrids.jl Outputs are <: AbstractDimArray, and AbstractDimArray are used for auxiliary data to allow temporal synchronisation during simulations. Notably, this all works on GPUs!

AstroImages.jl

AstroImages.jl Provides tools to load and visualise astronomical images. AstroImage is <: AbstractDimArray.

TimeseriesTools.jl

TimeseriesTools.jl Uses DimArray for time-series data.

+ + + + \ No newline at end of file diff --git a/previews/PR801/logo.png b/previews/PR801/logo.png new file mode 100644 index 000000000..fa8f3725a Binary files /dev/null and b/previews/PR801/logo.png differ diff --git a/previews/PR801/logo.svg b/previews/PR801/logo.svg new file mode 100644 index 000000000..47f6888d2 --- /dev/null +++ b/previews/PR801/logo.svg @@ -0,0 +1,18874 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/previews/PR801/object_modification.html b/previews/PR801/object_modification.html new file mode 100644 index 000000000..f45e8ad0b --- /dev/null +++ b/previews/PR801/object_modification.html @@ -0,0 +1,78 @@ + + + + + + Modifying objects | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Modifying objects

DimensionalData.jl objects are all struct rather than mutable struct. The only things you can modify in-place are the values of the contained arrays or metadata Dicts if they exist.

Everything else must be rebuilt and assigned to a variable.

modify

Modify the inner arrays of a AbstractDimArray or AbstractDimStack, with modify. This can be useful to e.g. replace all arrays with CuArray moving the data to the GPU, collect all inner arrays to Array without losing the outer DimArray wrappers, and similar things.

julia
julia> using DimensionalData
+
+julia> A = falses(X(3), Y(5))
╭──────────────────────╮
+3×5 DimArray{Bool,2}
+├──────────────────────┴─────────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 0  0  0  0  0
+ 0  0  0  0  0
+ 0  0  0  0  0
julia
julia> parent(A)
3×5 BitMatrix:
+ 0  0  0  0  0
+ 0  0  0  0  0
+ 0  0  0  0  0
julia
julia> A_mod = modify(Array, A)
╭──────────────────────╮
+3×5 DimArray{Bool,2}
+├──────────────────────┴─────────────────────────────────── dims ┐
+X, Y
+└────────────────────────────────────────────────────────────────┘
+ 0  0  0  0  0
+ 0  0  0  0  0
+ 0  0  0  0  0
julia
julia> parent(A_mod)
3×5 Matrix{Bool}:
+ 0  0  0  0  0
+ 0  0  0  0  0
+ 0  0  0  0  0

reorder

reorder is like reverse but declarative, rather than imperative: we tell it how we want the object to be, not what to do.

Reorder a specific dimension

julia
julia> using DimensionalData.Lookups;
+
+julia> A = rand(X(1.0:3.0), Y('a':'n'));
+
+julia> reorder(A, X => ReverseOrdered())
╭──────────────────────────╮
+3×14 DimArray{Float64,2}
+├──────────────────────────┴───────────────────────────────────────────── dims ┐
+X Sampled{Float64} 3.0:-1.0:1.0 ReverseOrdered Regular Points,
+Y Categorical{Char} 'a':1:'n' ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   'a'       'b'        'c''l'       'm'       'n'
+ 3.0  0.338844  0.461631   0.207882     0.804846  0.69461   0.340557
+ 2.0  0.668984  0.803446   0.406397     0.138819  0.21316   0.907202
+ 1.0  0.450109  0.0702987  0.28035      0.183103  0.770553  0.352592

mergedims

mergedims is like reshape, but simultaneously merges multiple dimensions into a single combined dimension with a lookup holding Tuples of the values of both dimensions.

rebuild

rebuild is one of the core functions of DimensionalData.jl. Basically everything uses it somewhere. And you can too, with a few caveats.

Warning

rebuild assumes you know what you are doing. You can quite easily set values to things that don't make sense. The constructor may check a few things, like the number of dimensions matches the axes of the array. But not much else.

julia
julia> A1 = rebuild(A; name=:my_array)
╭───────────────────────────────────╮
+3×14 DimArray{Float64,2} my_array
+├───────────────────────────────────┴──────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:1.0:3.0 ForwardOrdered Regular Points,
+Y Categorical{Char} 'a':1:'n' ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   'a'       'b'        'c''l'       'm'       'n'
+ 1.0  0.450109  0.0702987  0.28035      0.183103  0.770553  0.352592
+ 2.0  0.668984  0.803446   0.406397     0.138819  0.21316   0.907202
+ 3.0  0.338844  0.461631   0.207882     0.804846  0.69461   0.340557
julia
julia> name(A1)
:my_array

The most common use internally is the arg version on Dimension. This is very useful in dimension-based algorithms as a way to transform a dimension wrapper from one object to another:

julia
julia> d = X(1)
X 1
julia
julia> rebuild(d, 1:10)
X 1:10

rebuild applications are listed here. AbstractDimArray and AbstractDimStack always accept these keywords or arguments, but those in [ ] brackets may be thrown away if not needed. Keywords in ( ) will error if used where they are not accepted.

TypeKeywordsArguments
AbstractDimArraydata, dims, [refdims, name, metadata]as with kw, in order
AbstractDimStackdata, dims, [refdims], layerdims, [metadata, layermetadata]as with kw, in order
Dimensionvalval
Selectorval, (atol)val
Lookupdata, (order, span, sampling, metadata)keywords only

rebuild magic

rebuild with keywords will even work on objects DD doesn't know about!

julia
julia> nt = (a = 1, b = 2)
(a = 1, b = 2)
julia
julia> rebuild(nt, a = 99)
(a = 99, b = 2)

Really, the keyword version is just ConstructionBase.setproperties underneath, but wrapped so objects can customise the DD interface without changing the more generic ConstructionBase.jl behaviours and breaking e.g. Accessors.jl in the process.

set

set gives us a way to set the values of the immutable objects in DD, like Dimension and LookupArray. Unlike rebuild it tries its best to do the right thing. You don't have to specify what field you want to set. Just pass in the object you want to be part of the lookup. Usually, there is no possible ambiguity.

set is still improving. Sometimes it may not do the right thing. If you think this is the case, create a GitHub issue.

julia
julia> set(A, Y => Z)
╭──────────────────────────╮
+3×14 DimArray{Float64,2}
+├──────────────────────────┴───────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:1.0:3.0 ForwardOrdered Regular Points,
+Z Categorical{Char} 'a':1:'n' ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   'a'       'b'        'c''l'       'm'       'n'
+ 1.0  0.450109  0.0702987  0.28035      0.183103  0.770553  0.352592
+ 2.0  0.668984  0.803446   0.406397     0.138819  0.21316   0.907202
+ 3.0  0.338844  0.461631   0.207882     0.804846  0.69461   0.340557
+ + + + \ No newline at end of file diff --git a/previews/PR801/plots.html b/previews/PR801/plots.html new file mode 100644 index 000000000..3464ebff6 --- /dev/null +++ b/previews/PR801/plots.html @@ -0,0 +1,29 @@ + + + + + + Plots.jl | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Plots.jl

Plots.jl and Makie.jl functions mostly work out of the box on AbstractDimArray, although not with the same results - they choose to follow each packages default behaviour as much as possible.

This will plot a line plot with 'a', 'b' and 'c' in the legend, and values 1-10 on the labelled X axis:

Plots.jl support is deprecated, as development is moving to Makie.jl

Makie.jl

Makie.jl functions also mostly work with AbstractDimArray and will permute and reorder axes into the right places, especially if X/Y/Z/Ti dimensions are used.

In Makie a DimMatrix will plot as a heatmap by default, but it will have labels and axes in the right places:

julia
using DimensionalData, CairoMakie
+
+A = rand(X(10:10:100), Y([:a, :b, :c]))
+Makie.plot(A; colormap=:inferno)

Other plots also work, here DD ignores the axis order and instead favours the categorical variable for the X axis:

julia
Makie.rainclouds(A)

Test series plots

default colormap

julia
B = rand(X(10:10:100), Y([:a, :b, :c, :d, :e, :f, :g, :h, :i, :j]))
+Makie.series(B)

A different colormap

The colormap is controlled by the color argument, which can take as an input a named colormap, i.e. :plasma or a list of colours.

julia
Makie.series(B; color=:plasma)

julia
Makie.series(A; color=[:red, :blue, :orange])

with markers

julia
Makie.series(A; color=[:red, :blue, :orange], markersize=15)

A lot more is planned for Makie.jl plots in future!

+ + + + \ No newline at end of file diff --git a/previews/PR801/selectors.html b/previews/PR801/selectors.html new file mode 100644 index 000000000..a2d0987f2 --- /dev/null +++ b/previews/PR801/selectors.html @@ -0,0 +1,143 @@ + + + + + + Selectors | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Selectors

As well as choosing dimensions by name, we can also select values in them.

First, we can create DimArray with lookup values as well as dimension names:

julia
using DimensionalData
julia
julia> A = rand(X(1.0:0.2:2.0), Y([:a, :b, :c]))
╭─────────────────────────╮
+6×3 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.2:2.0 ForwardOrdered Regular Points,
+Y Categorical{Symbol} [:a, :b, :c] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :b         :c
+ 1.0  0.772277  0.536911   0.101231
+ 1.2  0.711133  0.0653496  0.339858
+ 1.4  0.883222  0.748041   0.191494
+ 1.6  0.802776  0.621603   0.341976
+ 1.8  0.156538  0.768488   0.87255
+ 2.0  0.969079  0.869012   0.415714

Then we can use Selector to select values from the array:

At(x) gets the index or indices exactly matching the passed in value/s.

julia
julia> A[X=At(1.2), Y=At(:c)]
0.33985840915074383

Or within a tolerance:

julia
julia> A[X=At(0.99:0.201:1.5; atol=0.05)]
╭─────────────────────────╮
+3×3 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.0, 1.2, 1.4] ForwardOrdered Irregular Points,
+Y Categorical{Symbol} [:a, :b, :c] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :b         :c
+ 1.0  0.772277  0.536911   0.101231
+ 1.2  0.711133  0.0653496  0.339858
+ 1.4  0.883222  0.748041   0.191494

At can also take vectors and ranges:

julia
julia> A[X=At(1.2:0.2:1.5), Y=At([:a, :c])]
╭─────────────────────────╮
+2×2 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.2, 1.4] ForwardOrdered Irregular Points,
+Y Categorical{Symbol} [:a, :c] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :c
+ 1.2  0.711133  0.339858
+ 1.4  0.883222  0.191494

Lookups

Selectors find indices in the Lookup of each dimension. Lookups wrap other AbstractArray (often AbstractRange) but add additional traits to facilitate fast lookups or specifying point or interval behaviour. These are usually detected automatically.

julia
using DimensionalData.Lookups

Sampled(x) lookups hold values sampled along an axis. They may be Ordered/Unordered, Intervals/Points, and Regular/Irregular.

Most of these properties are usually detected automatically, but here we create a Sampled lookup manually:

julia
julia> l = Sampled(10.0:10.0:100.0; order=ForwardOrdered(), span=Regular(10.0), sampling=Intervals(Start()))
Sampled{Float64} ForwardOrdered Regular Intervals{Start}
+wrapping: 10.0:10.0:100.0

To specify Irregular Intervals we should include the outer bounds of the lookup, as we cant determine them from the vector.

julia
julia> l = Sampled([13, 8, 5, 3, 2, 1]; order=ForwardOrdered(), span=Irregular(1, 21), sampling=Intervals(Start()))
Sampled{Int64} ForwardOrdered Irregular Intervals{Start}
+wrapping: 6-element Vector{Int64}:
+ 13
+  8
+  5
+  3
+  2
+  1

Lookup autodetection

When we define an array, extra properties are detected:

julia
julia> A = DimArray(rand(7, 5), (X(10:10:70), Y([:a, :b, :c, :d, :e])))
╭─────────────────────────╮
+7×5 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Int64} 10:10:70 ForwardOrdered Regular Points,
+Y Categorical{Symbol} [:a, :b, :c, :d, :e] ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+   :a        :b        :c        :d        :e
+ 10    0.441181  0.12452   0.201129  0.12668   0.647225
+ 20    0.621662  0.196478  0.792553  0.575595  0.357367
+ 30    0.72217   0.791844  0.883323  0.915251  0.246886
+ 40    0.896257  0.758149  0.679453  0.506221  0.667841
+ 50    0.301659  0.229418  0.442111  0.680987  0.0429074
+ 60    0.973622  0.228248  0.882656  0.396585  0.870348
+ 70    0.942925  0.749731  0.683795  0.687921  0.825204

This array has a Sampled lookup with ForwardOrdered Regular Points for X, and a Categorical ForwardOrdered for Y.

Most lookup types and properties are detected automatically like this from the arrays and ranges used.

  • Arrays and ranges of String, Symbol and Char are set to Categorical lookup.

    • order is detected as Unordered, ForwardOrdered or ReverseOrdered
  • Arrays and ranges of Number, DateTime and other things are set to Sampled lookups.

    • order is detected as Unordered, ForwardOrdered or ReverseOrdered.

    • sampling is set to Points() unless the values are IntervalSets.Interval, then Intervals(Center()) is used.

    • span is detected as Regular(step(range)) for AbstractRange and Irregular(nothing, nothing) for other AbstractArray, where nothing, nothing are the unknown outer bounds of the lookup. They are not needed for Points as the outer values are the outer bounds. But they can be specified manually for Intervals

    • Empty dimensions or dimension types are assigned NoLookup() ranges that can't be used with selectors as they hold no values.

DimSelector

We can also index with arrays of selectors DimSelectors. These are like CartesianIndices or DimIndices but holding Selectors At, Near or Contains.

julia
julia> A = rand(X(1.0:0.2:2.0), Y(10:2:20))
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.2:2.0 ForwardOrdered Regular Points,
+Y Sampled{Int64} 10:2:20 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  10          12         14          16         18         20
+ 1.0   0.11787     0.664642   0.0831822   0.528009   0.631878   0.990294
+ 1.2   0.0905873   0.30391    0.552153    0.229792   0.29205    0.610173
+ 1.4   0.495624    0.810377   0.578253    0.574678   0.371583   0.460775
+ 1.6   0.263531    0.361536   0.753597    0.568763   0.564657   0.788252
+ 1.8   0.388768    0.44818    0.0300922   0.896624   0.952489   0.216905
+ 2.0   0.422318    0.499307   0.228081    0.823123   0.10454    0.931705

We can define another array with partly matching indices

julia
julia> B = rand(X(1.0:0.04:2.0), Y(20:-1:10))
╭───────────────────────────╮
+26×11 DimArray{Float64,2}
+├───────────────────────────┴──────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.04:2.0 ForwardOrdered Regular Points,
+Y Sampled{Int64} 20:-1:10 ReverseOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+   20          19         1812          11         10
+ 1.0    0.300304    0.660657   0.677543      0.712342    0.806495   0.727464
+ 1.04   0.421525    0.835674   0.458427      0.248873    0.412078   0.455255
+ 1.08   0.399781    0.824659   0.392334      0.675459    0.95213    0.91666
+ 1.12   0.717006    0.623124   0.482654      0.964964    0.304266   0.313361
+ ⋮                                       ⋱               ⋮
+ 1.84   0.880853    0.578329   0.394576      0.255579    0.750947   0.27206
+ 1.88   0.363918    0.533041   0.545522      0.516268    0.531012   0.503183
+ 1.92   0.259597    0.358535   0.748884      0.575727    0.227865   0.865713
+ 1.96   0.34589     0.94196    0.657054  …   0.728852    0.462859   0.767151
+ 2.0    0.0143204   0.985407   0.476387      0.0417586   0.286      0.777391

And we can simply select values from B with selectors from A:

julia
julia> B[DimSelectors(A)]
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.0, 1.2, …, 1.8, 2.0] ForwardOrdered Irregular Points,
+Y Sampled{Int64} [10, 12, …, 18, 20] ReverseOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  10         12          14         16          18         20
+ 1.0   0.727464   0.712342    0.14203    0.207735    0.677543   0.300304
+ 1.2   0.815253   0.642187    0.49973    0.0387029   0.319496   0.887979
+ 1.4   0.391307   0.197423    0.166425   0.48124     0.300285   0.0574938
+ 1.6   0.49224    0.795274    0.24625    0.735391    0.699976   0.973586
+ 1.8   0.539197   0.0661958   0.811917   0.822008    0.848624   0.930699
+ 2.0   0.777391   0.0417586   0.873218   0.834418    0.476387   0.0143204

If the lookups aren't aligned we can use Near instead of At, which like doing a nearest neighbor interpolation:

julia
julia> C = rand(X(1.0:0.007:2.0), Y(10.0:0.9:30))
╭────────────────────────────╮
+143×23 DimArray{Float64,2}
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:0.007:1.994 ForwardOrdered Regular Points,
+Y Sampled{Float64} 10.0:0.9:29.8 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    10.0         10.928.0        28.9        29.8
+ 1.0     0.168617     0.417756       0.258764    0.195897    0.747615
+ 1.007   0.395053     0.994295       0.770101    0.403836    0.891596
+ 1.014   0.144422     0.370454       0.878565    0.753744    0.0149561
+ 1.021   0.938771     0.917143       0.679296    0.180397    0.436168
+ ⋮                               ⋱
+ 1.966   0.454047     0.92977        0.662833    0.160403    0.276742
+ 1.973   0.846736     0.0923954  …   0.43915     0.405912    0.245638
+ 1.98    0.946655     0.0506805      0.0821229   0.0787968   0.613895
+ 1.987   0.00686195   0.266013       0.485952    0.193179    0.0628947
+ 1.994   0.84475      0.574619       0.0760101   0.950007    0.662413
julia
julia> C[DimSelectors(A; selectors=Near)]
╭─────────────────────────╮
+6×6 DimArray{Float64,2}
+├─────────────────────────┴────────────────────────────────────────────── dims ┐
+X Sampled{Float64} [1.0, 1.203, …, 1.798, 1.994] ForwardOrdered Irregular Points,
+Y Sampled{Float64} [10.0, 11.8, …, 18.1, 19.9] ForwardOrdered Irregular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+    10.0        11.8        13.6        16.3        18.1       19.9
+ 1.0     0.168617    0.397386    0.133475    0.0630398   0.247976   0.145293
+ 1.203   0.233685    0.243195    0.331147    0.584048    0.717841   0.832538
+ 1.399   0.0164892   0.729706    0.0315018   0.899356    0.847872   0.358513
+ 1.602   0.0426808   0.61781     0.808889    0.140817    0.188976   0.054083
+ 1.798   0.226699    0.0983553   0.661444    0.750622    0.650842   0.986606
+ 1.994   0.84475     0.366873    0.734751    0.590953    0.621527   0.23502
+ + + + \ No newline at end of file diff --git a/previews/PR801/siteinfo.js b/previews/PR801/siteinfo.js new file mode 100644 index 000000000..eae5db24c --- /dev/null +++ b/previews/PR801/siteinfo.js @@ -0,0 +1 @@ +var DOCUMENTER_CURRENT_VERSION = "previews/PR801"; diff --git a/previews/PR801/stacks.html b/previews/PR801/stacks.html new file mode 100644 index 000000000..f6b3d91e5 --- /dev/null +++ b/previews/PR801/stacks.html @@ -0,0 +1,94 @@ + + + + + + DimStacks | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

DimStacks

An AbstractDimStack represents a collection of AbstractDimArray layers that share some or all dimensions. For any two layers, a dimension of the same name must have the identical lookup - in fact only one is stored for all layers to enforce this consistency.

julia
julia> using DimensionalData
+
+julia> x, y = X(1.0:10.0), Y(5.0:10.0)
(X 1.0:1.0:10.0,
+Y 5.0:1.0:10.0)
julia
julia> st = DimStack((a=rand(x, y), b=rand(x, y), c=rand(y), d=rand(x)))
╭───────────────╮
+10×6 DimStack
+├───────────────┴──────────────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:1.0:10.0 ForwardOrdered Regular Points,
+Y Sampled{Float64} 5.0:1.0:10.0 ForwardOrdered Regular Points
+├────────────────────────────────────────────────────────────────────── layers ┤
+  :a eltype: Float64 dims: X, Y size: 10×6
+  :b eltype: Float64 dims: X, Y size: 10×6
+  :c eltype: Float64 dims: Y size: 6
+  :d eltype: Float64 dims: X size: 10
+└──────────────────────────────────────────────────────────────────────────────┘

The behaviour of a DimStack is at times like a NamedTuple of DimArray and, others an AbstractArray of NamedTuple.

NamedTuple-like indexing

Layers can be accessed with .name or [:name]

julia
julia> st.a
╭────────────────────────────╮
+10×6 DimArray{Float64,2} a
+├────────────────────────────┴─────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:1.0:10.0 ForwardOrdered Regular Points,
+Y Sampled{Float64} 5.0:1.0:10.0 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  5.0       6.0       7.0        8.0        9.0        10.0
+  1.0  0.111155  0.87656   0.0963009  0.257129   0.11311     0.781497
+  2.0  0.386306  0.668226  0.278077   0.52735    0.775634    0.440884
+  3.0  0.348826  0.691687  0.964227   0.76448    0.0852624   0.52036
+  4.0  0.520184  0.484929  0.013144   0.269905   0.204084    0.117737
+  5.0  0.451525  0.247586  0.602631   0.793532   0.842029    0.0683416
+  6.0  0.669966  0.640974  0.0171909  0.749553   0.433769    0.452694
+  7.0  0.969881  0.130252  0.369225   0.518483   0.0141696   0.714084
+  8.0  0.517605  0.93358   0.515445   0.0758114  0.193109    0.150559
+  9.0  0.072176  0.474535  0.778122   0.0768485  0.80023     0.91305
+ 10.0  0.854239  0.735973  0.0102776  0.0299112  0.537046    0.938732
julia
julia> st[:c]
╭─────────────────────────────────╮
+6-element DimArray{Float64,1} c
+├─────────────────────────────────┴────────────────────────────────────── dims ┐
+Y Sampled{Float64} 5.0:1.0:10.0 ForwardOrdered Regular Points
+└──────────────────────────────────────────────────────────────────────────────┘
+  5.0  0.0406084
+  6.0  0.01576
+  7.0  0.104261
+  8.0  0.12714
+  9.0  0.370194
+ 10.0  0.48022

Array-like indexing

Indexing with a scalar returns a NamedTuple of values, one for each layer:

julia
julia> st[X=1, Y=4]
(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)

Reducing functions

Base functions like mean, maximum, reverse are applied to all layers of the stack.

julia
using Statistics
julia
julia> maximum(st)
(a = 0.9698812177371097, b = 0.9982064541308482, c = 0.4802202427553709, d = 0.9919365440188083)
julia
julia> maximum(st; dims=Y)
╭───────────────╮
+10×1 DimStack
+├───────────────┴──────────────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 1.0:1.0:10.0 ForwardOrdered Regular Points,
+Y Sampled{Float64} 7.5:6.0:7.5 ForwardOrdered Regular Points
+├────────────────────────────────────────────────────────────────────── layers ┤
+  :a eltype: Float64 dims: X, Y size: 10×1
+  :b eltype: Float64 dims: X, Y size: 10×1
+  :c eltype: Float64 dims: Y size: 1
+  :d eltype: Float64 dims: X size: 10
+└──────────────────────────────────────────────────────────────────────────────┘

broadcast_dims broadcasts functions over any mix of AbstractDimStack and AbstractDimArray returning a new AbstractDimStack with layers the size of the largest layer in the broadcast. This will work even if dimension permutation does not match in the objects.

Only matrix layers can be rotated

julia
julia> rotl90(st[(:a, :b)])
╭───────────────╮
+6×10 DimStack
+├───────────────┴──────────────────────────────────────────────────────── dims ┐
+Y Sampled{Float64} 10.0:-1.0:5.0 ReverseOrdered Regular Points,
+X Sampled{Float64} 1.0:1.0:10.0 ForwardOrdered Regular Points
+├────────────────────────────────────────────────────────────────────── layers ┤
+  :a eltype: Float64 dims: Y, X size: 6×10
+  :b eltype: Float64 dims: Y, X size: 6×10
+└──────────────────────────────────────────────────────────────────────────────┘
julia
julia> rotl90(st[(:a, :b)], 2)
╭───────────────╮
+10×6 DimStack
+├───────────────┴──────────────────────────────────────────────────────── dims ┐
+X Sampled{Float64} 10.0:-1.0:1.0 ReverseOrdered Regular Points,
+Y Sampled{Float64} 10.0:-1.0:5.0 ReverseOrdered Regular Points
+├────────────────────────────────────────────────────────────────────── layers ┤
+  :a eltype: Float64 dims: X, Y size: 10×6
+  :b eltype: Float64 dims: X, Y size: 10×6
+└──────────────────────────────────────────────────────────────────────────────┘

Performance

Indexing stack is fast - indexing a single value return a NamedTuple from all layers is usually measures in nanoseconds, and no slower than manually indexing into each parent array directly.

There are some compilation overheads to this though, and stacks with very many layers can take a long time to compile.

julia
julia> using BenchmarkTools
+
+julia> @btime $st[X=1, Y=4]
  4.037 ns (0 allocations: 0 bytes)
+(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
julia
julia> @btime $st[1, 4]
  4.027 ns (0 allocations: 0 bytes)
+(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
+ + + + \ No newline at end of file diff --git a/previews/PR801/tables.html b/previews/PR801/tables.html new file mode 100644 index 000000000..492d1570d --- /dev/null +++ b/previews/PR801/tables.html @@ -0,0 +1,88 @@ + + + + + + Tables and DataFrames | DimensionalData.jl + + + + + + + + + + + + + + +
Skip to content

Tables and DataFrames

Tables.jl provides an ecosystem-wide interface to tabular data in Julia, giving interoperability with DataFrames.jl, CSV.jl and hundreds of other packages that implement the standard.

DimensionalData.jl implements the Tables.jl interface for AbstractDimArray and AbstractDimStack. DimStack layers are unrolled so they are all the same size, and dimensions loop to match the length of the largest layer.

Columns are given the name or the array or the stack layer key. Dimension columns use the Symbol version (the result of DD.name(dimension)).

Looping of dimensions and stack layers is done lazily, and does not allocate unless collected.

Example

julia
using DimensionalData
+using Dates
+using DataFrames

Define some dimensions:

julia
julia> x, y, c = X(1:10), Y(1:10), Dim{:category}('a':'z')
(X        1:10,
+Y        1:10,
+category 'a':1:'z')
julia
julia> A = rand(x, y, c; name=:data)
╭───────────────────────────────────╮
+10×10×26 DimArray{Float64,3} data
+├───────────────────────────────────┴──────────────────────────────────── dims ┐
+X        Sampled{Int64} 1:10 ForwardOrdered Regular Points,
+Y        Sampled{Int64} 1:10 ForwardOrdered Regular Points,
+category Categorical{Char} 'a':1:'z' ForwardOrdered
+└──────────────────────────────────────────────────────────────────────────────┘
+[:, :, 1]
+  1         2         38          9         10
+  1    0.921958  0.128827  0.517175       0.947312   0.743407   0.0120967
+  2    0.449491  0.176024  0.914911       0.674061   0.291555   0.266342
+  3    0.581131  0.436605  0.694066       0.0325131  0.645678   0.620473
+  4    0.194849  0.580091  0.176766       0.888721   0.890574   0.985377
+  ⋮                                    ⋱                        ⋮
+  7    0.191934  0.359421  0.51621        0.828161   0.516313   0.74172
+  8    0.450701  0.341133  0.00110588     0.190482   0.245671   0.819605
+  9    0.336376  0.636476  0.45655        0.16484    0.294486   0.457841
+ 10    0.963657  0.353968  0.199484    …  0.104763   0.887294   0.670607

Converting to DataFrame

Arrays will have columns for each dimension, and only one data column

julia
julia> DataFrame(A)
2600×4 DataFrame
+  Row │ X      Y      category  data
+ Int64  Int64  Char      Float64
+──────┼──────────────────────────────────
+    1 │     1      1  a         0.921958
+    2 │     2      1  a         0.449491
+    3 │     3      1  a         0.581131
+    4 │     4      1  a         0.194849
+    5 │     5      1  a         0.364097
+    6 │     6      1  a         0.022593
+    7 │     7      1  a         0.191934
+    8 │     8      1  a         0.450701
+  ⋮   │   ⋮      ⋮       ⋮         ⋮
+ 2594 │     4     10  z         0.236866
+ 2595 │     5     10  z         0.894053
+ 2596 │     6     10  z         0.350024
+ 2597 │     7     10  z         0.417756
+ 2598 │     8     10  z         0.125477
+ 2599 │     9     10  z         0.599789
+ 2600 │    10     10  z         0.363373
+                        2585 rows omitted

Converting to CSV

We can also write arrays and stacks directly to CSV.jl, or any other data type supporting the Tables.jl interface.

julia
using CSV
+CSV.write("dimstack.csv", st)
+readlines("dimstack.csv")
2601-element Vector{String}:
+ "X,Y,category,data1,data2"
+ "1,1,a,0.5501481631111826,0.9447511416331498"
+ "2,1,a,0.09300753748828394,0.15945803739833375"
+ "3,1,a,0.48952511607945026,0.6146564273146751"
+ "4,1,a,0.7938317326707394,0.9770663775826343"
+ "5,1,a,0.0019198597596568057,0.798655984630017"
+ "6,1,a,0.8612776980335002,0.6730273352488979"
+ "7,1,a,0.20758428874582302,0.7683418213117802"
+ "8,1,a,0.023646798570656102,0.012300334322905893"
+ "9,1,a,0.11925244363082943,0.4278264986513013"
+
+ "2,10,z,0.8146121812750928,0.3434655288098666"
+ "3,10,z,0.38167574879167476,0.24524306337289326"
+ "4,10,z,0.8719143923648308,0.1985699519321249"
+ "5,10,z,0.5040228055200978,0.694278906020718"
+ "6,10,z,0.35100608350331053,0.20636222545147498"
+ "7,10,z,0.8560905731682101,0.8428656510212863"
+ "8,10,z,0.04599641808658339,0.6150940338022266"
+ "9,10,z,0.005163666306917225,0.768924169642427"
+ "10,10,z,0.8288995877624121,0.8136963000324107"
+ + + + \ No newline at end of file