diff --git a/dev/404.html b/dev/404.html index c54ac9b2b..51a70fc24 100644 --- a/dev/404.html +++ b/dev/404.html @@ -5,10 +5,10 @@ 404 | DimensionalData.jl - - + + - + @@ -18,7 +18,7 @@
- + \ No newline at end of file diff --git a/dev/api/dimensions.html b/dev/api/dimensions.html index c2772a0d2..1b8ee41bf 100644 --- a/dev/api/dimensions.html +++ b/dev/api/dimensions.html @@ -5,14 +5,14 @@ Dimensions | DimensionalData.jl - - + + - + - - - + + + @@ -20,8 +20,8 @@ -
Skip to content

Dimensions

Dimensions are kept in the sub-module Dimensions.

DimensionalData.Dimensions Module
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.Dimension Type
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
+    
Skip to content

Dimensions

Dimensions are kept in the sub-module Dimensions.

DimensionalData.Dimensions Module
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.Dimension Type
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'])
@@ -73,21 +73,21 @@
  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.DependentDim Type
julia
DependentDim <: Dimension

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

source

DimensionalData.Dimensions.IndependentDim Type
julia
IndependentDim <: Dimension

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

source

DimensionalData.Dimensions.XDim Type
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source

DimensionalData.Dimensions.YDim Type
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source

DimensionalData.Dimensions.ZDim Type
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source

DimensionalData.Dimensions.TimeDim Type
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.X Type
julia
X <: XDim
+ 4    0.0                   0.0                      0.0

source

DimensionalData.Dimensions.DependentDim Type
julia
DependentDim <: Dimension

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

source

DimensionalData.Dimensions.IndependentDim Type
julia
IndependentDim <: Dimension

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

source

DimensionalData.Dimensions.XDim Type
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source

DimensionalData.Dimensions.YDim Type
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source

DimensionalData.Dimensions.ZDim Type
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source

DimensionalData.Dimensions.TimeDim Type
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.X Type
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.Y Type
julia
Y <: YDim
+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.Y Type
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.Z Type
julia
Z <: ZDim
+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.Z Type
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.Ti Type

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.Dim Type
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.AnonDim Type
julia
AnonDim <: Dimension
+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.Ti Type

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.Dim Type
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.AnonDim Type
julia
AnonDim <: Dimension
 
-AnonDim()

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

source

DimensionalData.Dimensions.@dim Macro
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
+AnonDim()

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

source

DimensionalData.Dimensions.@dim Macro
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.dims Function
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}}
+# output

source

Exported methods

These are widely useful methods for working with dimensions.

DimensionalData.Dimensions.dims Function
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))
@@ -101,7 +101,7 @@
  1.0  1.0  1.0
 
 julia> dims(A, (X, Y))
-( X,  Y)

source

DimensionalData.Dimensions.otherdims Function
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
+( X,  Y)

source

DimensionalData.Dimensions.otherdims Function
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));
 
@@ -109,7 +109,7 @@
 ( Y,  Z)
 
 julia> otherdims(A, (Y, Z))
-( X)

source

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

source

DimensionalData.Dimensions.dimnum Function
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));
@@ -118,7 +118,7 @@
 (3, 1, 2)
 
 julia> dimnum(A, Y)
-2

source

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

source

DimensionalData.Dimensions.hasdim Function
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
 
@@ -131,13 +131,13 @@
 (true, true, true)
 
 julia> hasdim(A, Ti)
-false

source

Non-exported methods

DimensionalData.Dimensions.lookup Function
julia
lookup(x::Dimension) => Lookup
+false

source

Non-exported methods

DimensionalData.Dimensions.lookup Function
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.label Function
julia
label(x) => String
+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.label Function
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.format Function
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.dims2indices Function
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.selectindices Function
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.commondims Function
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
+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.format Function
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.dims2indices Function
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.selectindices Function
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.commondims Function
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));
 
@@ -148,9 +148,9 @@
 ( X,  Z)
 
 julia> commondims(A, Ti)
-()

source

DimensionalData.Dimensions.name2dim Function
julia
name2dim(s::Symbol) => Dimension
+()

source

DimensionalData.Dimensions.name2dim Function
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.reducedims Function
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.swapdims Function
julia
swapdims(x::T, newdims) => T
+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.reducedims Function
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.swapdims Function
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}))
@@ -163,21 +163,21 @@
 └───────────────────────────┘
 [:, :, 1]
  1.0  1.0  1.0  1.0
- 1.0  1.0  1.0  1.0

source

DimensionalData.Dimensions.slicedims Function
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.comparedims Function
julia
comparedims(A::AbstractDimArray...; kw...)
+ 1.0  1.0  1.0  1.0

source

DimensionalData.Dimensions.slicedims Function
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.comparedims Function
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.combinedims Function
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.sortdims Function
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.basetypeof Function
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.basedims Function
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.setdims Function
julia
setdims(X, newdims) => AbstractArray
+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.combinedims Function
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.sortdims Function
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.basetypeof Function
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.basedims Function
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.setdims Function
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.dimsmatch Function
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

- +wrapping: 'a':1:'j'

source

DimensionalData.Dimensions.dimsmatch Function
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/dev/api/lookuparrays.html b/dev/api/lookuparrays.html index f1d0ff3e8..5b4005d35 100644 --- a/dev/api/lookuparrays.html +++ b/dev/api/lookuparrays.html @@ -5,14 +5,14 @@ Lookups | DimensionalData.jl - - + + - + - - - + + + @@ -20,8 +20,8 @@ -
Skip to content

Lookups

DimensionalData.Dimensions.Lookups Module
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.Lookup Type
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.Aligned Type
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.AbstractSampled Type
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.Sampled Type
julia
Sampled <: AbstractSampled
+    
Skip to content

Lookups

DimensionalData.Dimensions.Lookups Module
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.Lookup Type
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.Aligned Type
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.AbstractSampled Type
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.Sampled Type
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
@@ -42,9 +42,9 @@
   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.AbstractCyclic Type
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source

DimensionalData.Dimensions.Lookups.Cyclic Type
julia
Cyclic <: AbstractCyclic
+  20    1.0  1.0  1.0   1.0

source

DimensionalData.Dimensions.Lookups.AbstractCyclic Type
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source

DimensionalData.Dimensions.Lookups.Cyclic Type
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.AbstractCategorical Type
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.Categorical Type
julia
Categorical <: AbstractCategorical
+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.AbstractCategorical Type
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.Categorical Type
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
@@ -56,7 +56,7 @@
 # output
 
 Categorical{String} ["one", "two", "three"] Unordered,
-Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source

DimensionalData.Dimensions.Lookups.Unaligned Type
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.Transformed Type
julia
Transformed <: Unaligned
+Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source

DimensionalData.Dimensions.Lookups.Unaligned Type
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.Transformed Type
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
 
@@ -69,9 +69,9 @@
 da[X(At(6.0)), Y(At(2.0))]
 
 # output
-9

source

DimensionalData.Dimensions.MergedLookup Type
julia
MergedLookup <: Lookup
+9

source

DimensionalData.Dimensions.MergedLookup Type
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.NoLookup Type
julia
NoLookup <: 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.NoLookup Type
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
 
@@ -86,26 +86,26 @@
 
 # output
 
-NoLookup, NoLookup

source

DimensionalData.Dimensions.Lookups.AutoLookup Type
julia
AutoLookup <: Lookup
+NoLookup, NoLookup

source

DimensionalData.Dimensions.Lookups.AutoLookup Type
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.AutoValues Type
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.val Function
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.bounds Function
julia
bounds(xs, [dims::Tuple]) => Tuple{Vararg{Tuple{T,T}}}
+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.AutoValues Type
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.val Function
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.bounds Function
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.hasselection Function
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.sampling Function
julia
sampling(x, [dims::Tuple]) => Tuple
+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.hasselection Function
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.sampling Function
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.span Function
julia
span(x, [dims::Tuple]) => Tuple
+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.span Function
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.order Function
julia
order(x, [dims::Tuple]) => Tuple
+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.order Function
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.locus Function
julia
locus(x, [dims::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.locus Function
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.shiftlocus Function
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.Selector Type
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.IntSelector Type
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source

DimensionalData.Dimensions.Lookups.ArraySelector Type
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source

DimensionalData.Dimensions.Lookups.At Type
julia
At <: IntSelector
+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.shiftlocus Function
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.Selector Type
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.IntSelector Type
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source

DimensionalData.Dimensions.Lookups.ArraySelector Type
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source

DimensionalData.Dimensions.Lookups.At Type
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
@@ -115,7 +115,7 @@
 
 # output
 
-5

source

DimensionalData.Dimensions.Lookups.Near Type
julia
Near <: IntSelector
+5

source

DimensionalData.Dimensions.Lookups.Near Type
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
@@ -124,7 +124,7 @@
 A[X(Near(23)), Y(Near(5.1))]
 
 # output
-4

source

DimensionalData.Dimensions.Lookups.Between Type
julia
Between <: ArraySelector
+4

source

DimensionalData.Dimensions.Lookups.Between Type
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
 
@@ -140,7 +140,7 @@
  Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
 └────────────────────────────────────────────────────────────┘
   5  6
- 20    4  5

source

DimensionalData.Dimensions.Lookups.Touches Type
julia
Touches <: ArraySelector
+ 20    4  5

source

DimensionalData.Dimensions.Lookups.Touches Type
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
 
@@ -155,7 +155,7 @@
  Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
 └────────────────────────────────────────────────────────────┘
   5  6
- 20    4  5

source

DimensionalData.Dimensions.Lookups.Contains Type
julia
Contains <: IntSelector
+ 20    4  5

source

DimensionalData.Dimensions.Lookups.Contains Type
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
@@ -165,7 +165,7 @@
 A[X(Contains(8)), Y(Contains(6.8))]
 
 # output
-3

source

DimensionalData.Dimensions.Lookups.Where Type
julia
Where <: ArraySelector
+3

source

DimensionalData.Dimensions.Lookups.Where Type
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
 
@@ -181,7 +181,7 @@
  Y Sampled{Int64} [19, 21] ForwardOrdered Irregular Points
 └─────────────────────────────────────────────────────────────┘
   19  21
- 20     4   6

source

DimensionalData.Dimensions.Lookups.All Type
julia
All <: Selector
+ 20     4   6

source

DimensionalData.Dimensions.Lookups.All Type
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
 
@@ -199,46 +199,46 @@
 └──────────────────────────────────────────────────────────────────────────────┘
   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.LookupTrait Type
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.Order Type
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.Ordered Type
julia
Ordered <: Order

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

source

DimensionalData.Dimensions.Lookups.ForwardOrdered Type
julia
ForwardOrdered <: Ordered
+ 50.0    3    6    57    60

source

Lookup traits

DimensionalData.Dimensions.Lookups.LookupTrait Type
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.Order Type
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.Ordered Type
julia
Ordered <: Order

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

source

DimensionalData.Dimensions.Lookups.ForwardOrdered Type
julia
ForwardOrdered <: Ordered
 
-ForwardOrdered()

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

source

DimensionalData.Dimensions.Lookups.ReverseOrdered Type
julia
ReverseOrdered <: Ordered
+ForwardOrdered()

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

source

DimensionalData.Dimensions.Lookups.ReverseOrdered Type
julia
ReverseOrdered <: Ordered
 
-ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source

DimensionalData.Dimensions.Lookups.Unordered Type
julia
Unordered <: Order
+ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source

DimensionalData.Dimensions.Lookups.Unordered Type
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.AutoOrder Type
julia
AutoOrder <: 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.AutoOrder Type
julia
AutoOrder <: Order
 
-AutoOrder()

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

source

Span

DimensionalData.Dimensions.Lookups.Span Type
julia
Span <: LookupTrait

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

source

DimensionalData.Dimensions.Lookups.Regular Type
julia
Regular <: Span
+AutoOrder()

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

source

Span

DimensionalData.Dimensions.Lookups.Span Type
julia
Span <: LookupTrait

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

source

DimensionalData.Dimensions.Lookups.Regular Type
julia
Regular <: Span
 
-Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source

DimensionalData.Dimensions.Lookups.Irregular Type
julia
Irregular <: Span
+Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source

DimensionalData.Dimensions.Lookups.Irregular Type
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.Explicit Type
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.AutoSpan Type
julia
AutoSpan <: Span
+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.Explicit Type
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.AutoSpan Type
julia
AutoSpan <: Span
 
-AutoSpan()

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

source

Sampling

DimensionalData.Dimensions.Lookups.Sampling Type
julia
Sampling <: LookupTrait

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

source

DimensionalData.Dimensions.Lookups.Points Type
julia
Points <: Sampling
+AutoSpan()

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

source

Sampling

DimensionalData.Dimensions.Lookups.Sampling Type
julia
Sampling <: LookupTrait

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

source

DimensionalData.Dimensions.Lookups.Points Type
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.Intervals Type
julia
Intervals <: Sampling
+Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source

DimensionalData.Dimensions.Lookups.Intervals Type
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.Position Type
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.Center Type
julia
Center <: Position
+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.Position Type
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.Center Type
julia
Center <: Position
 
-Center()

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

source

DimensionalData.Dimensions.Lookups.Start Type
julia
Start <: Position
+Center()

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

source

DimensionalData.Dimensions.Lookups.Start Type
julia
Start <: Position
 
-Start()

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

source

DimensionalData.Dimensions.Lookups.Begin Type
julia
Begin <: Position
+Start()

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

source

DimensionalData.Dimensions.Lookups.Begin Type
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.End Type
julia
End <: 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.End Type
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.AutoPosition Type
julia
AutoPosition <: 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.AutoPosition Type
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.AbstractMetadata Type
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.Metadata Type
julia
Metadata <: AbstractMetadata
+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.AbstractMetadata Type
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.Metadata Type
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.NoMetadata Type
julia
NoMetadata <: AbstractMetadata
+Metadata{X}(; kw...) => Metadata{NamedTuple}

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

source

DimensionalData.Dimensions.Lookups.NoMetadata Type
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.units Function
julia
units(x) => Union{Nothing,Any}
+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.units Function
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

- +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/dev/api/reference.html b/dev/api/reference.html index e4cf799e6..e293a7d5c 100644 --- a/dev/api/reference.html +++ b/dev/api/reference.html @@ -5,14 +5,14 @@ API Reference | DimensionalData.jl - - + + - + - - - + + + @@ -20,7 +20,7 @@ -
Skip to content

API Reference

Arrays

DimensionalData.AbstractBasicDimArray Type
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.AbstractDimArray Type
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.DimArray Type
julia
DimArray <: AbstractDimArray
+    
Skip to content

API Reference

Arrays

DimensionalData.AbstractBasicDimArray Type
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.AbstractDimArray Type
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.DimArray Type
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
@@ -49,7 +49,7 @@
  20  0.774092
  30  0.823656
  40  0.637077
- 50  0.692235

source

Shorthand AbstractDimArray constructors:

Base.fill Function
julia
Base.fill(x, dims::Dimension...; kw...) => DimArray
+ 50  0.692235

source

Shorthand AbstractDimArray constructors:

Base.fill Function
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))
@@ -59,7 +59,7 @@
  X,  Y
 └──────────────────────┘
  0  0  0  0
- 1  0  0  1

source

Base.rand Function
julia
Base.rand(x, dims::Dimension...; kw...) => DimArray
+ 1  0  0  1

source

Base.rand Function
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
@@ -83,7 +83,7 @@
   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.zeros Function
julia
Base.zeros(x, dims::Dimension...; kw...) => DimArray
+  :c    0.512083    0.427328    0.311448

source

Base.zeros Function
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))
@@ -105,7 +105,7 @@
   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.ones Function
julia
Base.ones(x, dims::Dimension...; kw...) => DimArray
+  :c    0.0    0.0    0.0

source

Base.ones Function
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))
@@ -127,8 +127,8 @@
   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.dims Function
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}}
+  :c    1.0    1.0    1.0

source

Functions for getting information from objects:

DimensionalData.Dimensions.dims Function
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))
@@ -142,13 +142,13 @@
  1.0  1.0  1.0
 
 julia> dims(A, (X, Y))
-( X,  Y)

source

DimensionalData.Dimensions.refdims Function
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.metadata Function
julia
metadata(x) => (object metadata)
+( X,  Y)

source

DimensionalData.Dimensions.refdims Function
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.metadata Function
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.name Function
julia
name(x) => Symbol
+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.name Function
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.otherdims Function
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
+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.otherdims Function
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));
 
@@ -156,7 +156,7 @@
 ( Y,  Z)
 
 julia> otherdims(A, (Y, Z))
-( X)

source

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

source

DimensionalData.Dimensions.dimnum Function
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));
@@ -165,7 +165,7 @@
 (3, 1, 2)
 
 julia> dimnum(A, Y)
-2

source

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

source

DimensionalData.Dimensions.hasdim Function
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
 
@@ -178,7 +178,7 @@
 (true, true, true)
 
 julia> hasdim(A, Ti)
-false

source

Multi-array datasets

DimensionalData.AbstractDimStack Type
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.DimStack Type
julia
DimStack <: AbstractDimStack
+false

source

Multi-array datasets

DimensionalData.AbstractDimStack Type
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.DimStack Type
julia
DimStack <: AbstractDimStack
 
 DimStack(data::AbstractDimArray...; kw...)
 DimStack(data::Tuple{Vararg{AbstractDimArray}}; kw...)
@@ -205,7 +205,7 @@
 (one = 4.0, two = 8.0, three = 12.0)
 
 julia> s[X(At(:a))] isa DimStack
-true

source

Dimension generators

DimensionalData.DimIndices Type
julia
DimIndices <: AbstractArray
+true

source

Dimension generators

DimensionalData.DimIndices Type
julia
DimIndices <: AbstractArray
 
 DimIndices(x)
 DimIndices(dims::Tuple)
@@ -242,7 +242,7 @@
 └─────────────────────────────────────────────────────────────────┘
    'a'       'c'
  0.0  0.9063    0.0991336
- 0.6  0.745673  0.692209

source

DimensionalData.DimSelectors Type
julia
DimSelectors <: AbstractArray
+ 0.6  0.745673  0.692209

source

DimensionalData.DimSelectors Type
julia
DimSelectors <: AbstractArray
 
 DimSelectors(x; selectors, atol...)
 DimSelectors(dims::Tuple; selectors, atol...)
@@ -260,11 +260,11 @@
   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.DimPoints Type
julia
DimPoints <: AbstractArray
+ 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.DimPoints Type
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.AbstractDimTable Type
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source

DimensionalData.DimTable Type
julia
DimTable <: AbstractDimTable
+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.AbstractDimTable Type
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source

DimensionalData.DimTable Type
julia
DimTable <: AbstractDimTable
 
 DimTable(s::AbstractDimStack; mergedims=nothing)
 DimTable(x::AbstractDimArray; layersfrom=nothing, mergedims=nothing)
@@ -294,7 +294,7 @@
  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
  1.0  1.0  1.0  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.groupby Function
julia
groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Pair...)
+julia>

source

Group by methods

For transforming DimensionalData objects:

DataAPI.groupby Function
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)));
@@ -347,8 +347,8 @@
 
  10        0.501105     0.500644
  11        0.498606     0.498801
- 12        0.501643     0.499298

source

DimensionalData.DimGroupByArray Type
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.Bins Type
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.ranges Function
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source

DimensionalData.intervals Function
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source

DimensionalData.CyclicBins Type
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.seasons Function
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.months Function
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.hours Function
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.set Function
julia
set(x, val)
+ 12        0.501643     0.499298

source

DimensionalData.DimGroupByArray Type
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.Bins Type
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.ranges Function
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source

DimensionalData.intervals Function
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source

DimensionalData.CyclicBins Type
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.seasons Function
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.months Function
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.hours Function
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.set Function
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
@@ -409,11 +409,11 @@
   -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.rebuild Function
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.modify Function
julia
modify(f, A::AbstractDimArray) => AbstractDimArray
+ 30.0    0.0    0.0  0.0   0.0

source

DimensionalData.Dimensions.Lookups.rebuild Function
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.modify Function
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.@d Macro
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
+modify(CuArray, A)

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

source

DimensionalData.@d Macro
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))
 
@@ -425,7 +425,7 @@
 
 @d @. da1 * da2
 # Use parentheses areound `@.` if you need to pass options
-@d (@. da1 * da2 .+ 5) dims=(Y, X)

source

DimensionalData.broadcast_dims Function
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.mergedims Function
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
+@d (@. da1 * da2 .+ 5) dims=(Y, X)

source

DimensionalData.broadcast_dims Function
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.mergedims Function
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,
@@ -434,9 +434,9 @@
 
 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.unmergedims Function
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.reorder Function
julia
reorder(A::Union{AbstractDimArray,AbstractDimStack}, order::Pair...)
+ 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.unmergedims Function
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.reorder Function
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
 
@@ -450,7 +450,7 @@
 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_broadcast Function
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_matmul Function
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.cat Function
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.eachslice Function
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((
+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_broadcast Function
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_matmul Function
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.cat Function
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.eachslice Function
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))
        ));
@@ -473,17 +473,17 @@
 ├──────────────────────────────────────────────── 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.AbstractName Type
julia
AbstractName

Abstract supertype for name wrappers.

source

DimensionalData.Name Type
julia
Name <: AbstractName
+└────────────────────────────────────────────────────────┘

source

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

Name

DimensionalData.AbstractName Type
julia
AbstractName

Abstract supertype for name wrappers.

source

DimensionalData.Name Type
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.NoName Type
julia
NoName <: AbstractName
+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.NoName Type
julia
NoName <: AbstractName
 
-NoName()

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

source

Internal interface

DimensionalData.DimArrayInterface Type
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.DimStackInterface Type
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_arrays Function
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_main Function
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_after Function
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_title Function
julia
refdims_title(A::AbstractDimArray)
+NoName()

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

source

Internal interface

DimensionalData.DimArrayInterface Type
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.DimStackInterface Type
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_arrays Function
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_main Function
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_after Function
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_title Function
julia
refdims_title(A::AbstractDimArray)
 refdims_title(refdims::Tuple)
-refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source

- +refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source

+ \ No newline at end of file diff --git a/dev/assets/api_dimensions.md.SBrxkSyF.js b/dev/assets/api_dimensions.md.0EpvcW_-.js similarity index 97% rename from dev/assets/api_dimensions.md.SBrxkSyF.js rename to dev/assets/api_dimensions.md.0EpvcW_-.js index c54b7eba0..da9b460d2 100644 --- a/dev/assets/api_dimensions.md.SBrxkSyF.js +++ b/dev/assets/api_dimensions.md.0EpvcW_-.js @@ -1,5 +1,5 @@ -import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framework.B8l2DGq3.js";const ss=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"api/dimensions.md","filePath":"api/dimensions.md","lastUpdated":null}'),d={name:"api/dimensions.md"},o={class:"jldocstring custom-block",open:""},r={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""};function $(K,s,W,J,H,Q){const n=h("Badge");return k(),p("div",null,[s[108]||(s[108]=i("h1",{id:"dimensions",tabindex:"-1"},[a("Dimensions "),i("a",{class:"header-anchor",href:"#dimensions","aria-label":'Permalink to "Dimensions"'},"​")],-1)),s[109]||(s[109]=i("p",null,[a("Dimensions are kept in the sub-module "),i("code",null,"Dimensions"),a(".")],-1)),i("details",o,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions",href:"#DimensionalData.Dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,5))]),s[110]||(s[110]=i("p",null,"Dimensions have a type-hierarchy that organises plotting and dimension matching.",-1)),i("details",r,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Dimension",href:"#DimensionalData.Dimensions.Dimension"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dimension")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t(`
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
+import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framework.BAAK0EyE.js";const ss=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"api/dimensions.md","filePath":"api/dimensions.md","lastUpdated":null}'),d={name:"api/dimensions.md"},o={class:"jldocstring custom-block",open:""},r={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""};function $(K,s,W,J,H,Q){const n=h("Badge");return k(),p("div",null,[s[108]||(s[108]=i("h1",{id:"dimensions",tabindex:"-1"},[a("Dimensions "),i("a",{class:"header-anchor",href:"#dimensions","aria-label":'Permalink to "Dimensions"'},"​")],-1)),s[109]||(s[109]=i("p",null,[a("Dimensions are kept in the sub-module "),i("code",null,"Dimensions"),a(".")],-1)),i("details",o,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions",href:"#DimensionalData.Dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,5))]),s[110]||(s[110]=i("p",null,"Dimensions have a type-hierarchy that organises plotting and dimension matching.",-1)),i("details",r,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Dimension",href:"#DimensionalData.Dimensions.Dimension"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dimension")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t(`
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'])
@@ -51,21 +51,21 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
  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

`,13))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.DependentDim",href:"#DimensionalData.Dimensions.DependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.DependentDim")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
julia
DependentDim <: Dimension

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

source

',3))]),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.IndependentDim",href:"#DimensionalData.Dimensions.IndependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.IndependentDim")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
julia
IndependentDim <: Dimension

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

source

',3))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.XDim",href:"#DimensionalData.Dimensions.XDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.XDim")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t('
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source

',3))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.YDim",href:"#DimensionalData.Dimensions.YDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.YDim")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source

',3))]),i("details",m,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.ZDim",href:"#DimensionalData.Dimensions.ZDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.ZDim")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t('
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source

',3))]),i("details",F,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.TimeDim",href:"#DimensionalData.Dimensions.TimeDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.TimeDim")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',4))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.X",href:"#DimensionalData.Dimensions.X"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.X")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
julia
X <: XDim
+ 4    0.0                   0.0                      0.0

source

`,13))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.DependentDim",href:"#DimensionalData.Dimensions.DependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.DependentDim")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
julia
DependentDim <: Dimension

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

source

',3))]),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.IndependentDim",href:"#DimensionalData.Dimensions.IndependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.IndependentDim")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
julia
IndependentDim <: Dimension

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

source

',3))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.XDim",href:"#DimensionalData.Dimensions.XDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.XDim")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t('
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source

',3))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.YDim",href:"#DimensionalData.Dimensions.YDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.YDim")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source

',3))]),i("details",m,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.ZDim",href:"#DimensionalData.Dimensions.ZDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.ZDim")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t('
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source

',3))]),i("details",F,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.TimeDim",href:"#DimensionalData.Dimensions.TimeDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.TimeDim")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',4))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.X",href:"#DimensionalData.Dimensions.X"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.X")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
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

`,7))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Y",href:"#DimensionalData.Dimensions.Y"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Y")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t(`
julia
Y <: YDim
+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

`,7))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Y",href:"#DimensionalData.Dimensions.Y"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Y")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t(`
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

`,7))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Z",href:"#DimensionalData.Dimensions.Z"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Z")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
julia
Z <: ZDim
+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

`,7))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Z",href:"#DimensionalData.Dimensions.Z"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Z")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
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

`,7))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.Ti",href:"#DimensionalData.Dimensions.Ti"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Ti")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t('

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

',9))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Dim",href:"#DimensionalData.Dimensions.Dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dim")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
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

`,5))]),i("details",j,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.AnonDim",href:"#DimensionalData.Dimensions.AnonDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.AnonDim")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
julia
AnonDim <: Dimension
+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

`,7))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.Ti",href:"#DimensionalData.Dimensions.Ti"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Ti")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t('

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

',9))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Dim",href:"#DimensionalData.Dimensions.Dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dim")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
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

`,5))]),i("details",j,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.AnonDim",href:"#DimensionalData.Dimensions.AnonDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.AnonDim")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
julia
AnonDim <: Dimension
 
-AnonDim()

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

source

`,3))]),i("details",B,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.@dim",href:"#DimensionalData.Dimensions.@dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.@dim")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[44]||(s[44]=t(`
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
+AnonDim()

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

source

`,3))]),i("details",B,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.@dim",href:"#DimensionalData.Dimensions.@dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.@dim")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[44]||(s[44]=t(`
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

`,8))]),s[111]||(s[111]=i("h3",{id:"Exported-methods",tabindex:"-1"},[a("Exported methods "),i("a",{class:"header-anchor",href:"#Exported-methods","aria-label":'Permalink to "Exported methods {#Exported-methods}"'},"​")],-1)),s[112]||(s[112]=i("p",null,"These are widely useful methods for working with dimensions.",-1)),i("details",v,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.dims-api-dimensions",href:"#DimensionalData.Dimensions.dims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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}}
+# output

source

`,8))]),s[111]||(s[111]=i("h3",{id:"Exported-methods",tabindex:"-1"},[a("Exported methods "),i("a",{class:"header-anchor",href:"#Exported-methods","aria-label":'Permalink to "Exported methods {#Exported-methods}"'},"​")],-1)),s[112]||(s[112]=i("p",null,"These are widely useful methods for working with dimensions.",-1)),i("details",v,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.dims-api-dimensions",href:"#DimensionalData.Dimensions.dims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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))
@@ -79,7 +79,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
  1.0  1.0  1.0
 
 julia> dims(A, (X, Y))
-( X,  Y)

source

`,13))]),i("details",A,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.otherdims-api-dimensions",href:"#DimensionalData.Dimensions.otherdims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
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
+( X,  Y)

source

`,13))]),i("details",A,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.otherdims-api-dimensions",href:"#DimensionalData.Dimensions.otherdims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
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));
 
@@ -87,7 +87,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 ( Y,  Z)
 
 julia> otherdims(A, (Y, Z))
-( X)

source

`,8))]),i("details",T,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.dimnum-api-dimensions",href:"#DimensionalData.Dimensions.dimnum-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
julia
dimnum(x, query::Tuple) => NTuple{Int}
+( X)

source

`,8))]),i("details",T,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.dimnum-api-dimensions",href:"#DimensionalData.Dimensions.dimnum-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
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));
@@ -96,7 +96,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 (3, 1, 2)
 
 julia> dimnum(A, Y)
-2

source

`,8))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.hasdim-api-dimensions",href:"#DimensionalData.Dimensions.hasdim-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+2

source

`,8))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.hasdim-api-dimensions",href:"#DimensionalData.Dimensions.hasdim-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
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
 
@@ -109,13 +109,13 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 (true, true, true)
 
 julia> hasdim(A, Ti)
-false

source

`,8))]),s[113]||(s[113]=i("h3",{id:"Non-exported-methods",tabindex:"-1"},[a("Non-exported methods "),i("a",{class:"header-anchor",href:"#Non-exported-methods","aria-label":'Permalink to "Non-exported methods {#Non-exported-methods}"'},"​")],-1)),i("details",w,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.lookup",href:"#DimensionalData.Dimensions.lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.lookup")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
julia
lookup(x::Dimension) => Lookup
+false

source

`,8))]),s[113]||(s[113]=i("h3",{id:"Non-exported-methods",tabindex:"-1"},[a("Non-exported methods "),i("a",{class:"header-anchor",href:"#Non-exported-methods","aria-label":'Permalink to "Non-exported methods {#Non-exported-methods}"'},"​")],-1)),i("details",w,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.lookup",href:"#DimensionalData.Dimensions.lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.lookup")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
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

`,5))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.label",href:"#DimensionalData.Dimensions.label"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.label")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
julia
label(x) => String
+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

`,5))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.label",href:"#DimensionalData.Dimensions.label"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.label")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
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

`,4))]),i("details",q,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.format",href:"#DimensionalData.Dimensions.format"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.format")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t('
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

',5))]),i("details",X,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.dims2indices",href:"#DimensionalData.Dimensions.dims2indices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims2indices")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
julia
dims2indices(dim::Dimension, I) => NTuple{Union{Colon,AbstractArray,Int}}

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

source

',3))]),i("details",Y,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.selectindices",href:"#DimensionalData.Dimensions.Lookups.selectindices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.selectindices")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[71]||(s[71]=t('
julia
selectindices(lookups, selectors)

Converts Selector to regular indices.

source

',3))]),s[114]||(s[114]=i("h3",{id:"Primitive-methods",tabindex:"-1"},[a("Primitive methods "),i("a",{class:"header-anchor",href:"#Primitive-methods","aria-label":'Permalink to "Primitive methods {#Primitive-methods}"'},"​")],-1)),s[115]||(s[115]=i("p",null,"These low-level methods are really for internal use, but can be useful for writing dimensional algorithms.",-1)),s[116]||(s[116]=i("p",null,"They are not guaranteed to keep their interface, but usually will.",-1)),i("details",O,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.commondims",href:"#DimensionalData.Dimensions.commondims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.commondims")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=t(`
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
+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

`,4))]),i("details",q,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.format",href:"#DimensionalData.Dimensions.format"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.format")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t('
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

',5))]),i("details",X,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.dims2indices",href:"#DimensionalData.Dimensions.dims2indices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims2indices")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
julia
dims2indices(dim::Dimension, I) => NTuple{Union{Colon,AbstractArray,Int}}

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

source

',3))]),i("details",Y,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.selectindices",href:"#DimensionalData.Dimensions.Lookups.selectindices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.selectindices")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[71]||(s[71]=t('
julia
selectindices(lookups, selectors)

Converts Selector to regular indices.

source

',3))]),s[114]||(s[114]=i("h3",{id:"Primitive-methods",tabindex:"-1"},[a("Primitive methods "),i("a",{class:"header-anchor",href:"#Primitive-methods","aria-label":'Permalink to "Primitive methods {#Primitive-methods}"'},"​")],-1)),s[115]||(s[115]=i("p",null,"These low-level methods are really for internal use, but can be useful for writing dimensional algorithms.",-1)),s[116]||(s[116]=i("p",null,"They are not guaranteed to keep their interface, but usually will.",-1)),i("details",O,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.commondims",href:"#DimensionalData.Dimensions.commondims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.commondims")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=t(`
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));
 
@@ -126,9 +126,9 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 ( X,  Z)
 
 julia> commondims(A, Ti)
-()

source

`,6))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.name2dim",href:"#DimensionalData.Dimensions.name2dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name2dim")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=t(`
julia
name2dim(s::Symbol) => Dimension
+()

source

`,6))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.name2dim",href:"#DimensionalData.Dimensions.name2dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name2dim")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=t(`
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

`,4))]),i("details",S,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.reducedims",href:"#DimensionalData.Dimensions.reducedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.reducedims")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[80]||(s[80]=t('
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

',4))]),i("details",Z,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.swapdims",href:"#DimensionalData.Dimensions.swapdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.swapdims")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=t(`
julia
swapdims(x::T, newdims) => T
+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

`,4))]),i("details",S,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.reducedims",href:"#DimensionalData.Dimensions.reducedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.reducedims")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[80]||(s[80]=t('
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

',4))]),i("details",Z,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.swapdims",href:"#DimensionalData.Dimensions.swapdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.swapdims")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=t(`
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}))
@@ -141,17 +141,17 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 └───────────────────────────┘
 [:, :, 1]
  1.0  1.0  1.0  1.0
- 1.0  1.0  1.0  1.0

source

`,8))]),i("details",I,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.slicedims",href:"#DimensionalData.Dimensions.slicedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.slicedims")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=t(`
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

`,7))]),i("details",N,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.comparedims",href:"#DimensionalData.Dimensions.comparedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.comparedims")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=t(`
julia
comparedims(A::AbstractDimArray...; kw...)
+ 1.0  1.0  1.0  1.0

source

`,8))]),i("details",I,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.slicedims",href:"#DimensionalData.Dimensions.slicedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.slicedims")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=t(`
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

`,7))]),i("details",N,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.comparedims",href:"#DimensionalData.Dimensions.comparedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.comparedims")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=t(`
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

`,8))]),i("details",P,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.combinedims",href:"#DimensionalData.Dimensions.combinedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.combinedims")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=t('
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

',4))]),i("details",V,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.sortdims",href:"#DimensionalData.Dimensions.sortdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.sortdims")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=t('
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

',5))]),i("details",M,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.basetypeof",href:"#DimensionalData.Dimensions.Lookups.basetypeof"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.basetypeof")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=t('
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

',4))]),i("details",R,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.basedims",href:"#DimensionalData.Dimensions.basedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.basedims")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[101]||(s[101]=t(`
julia
basedims(ds::Tuple)
-basedims(d::Union{Dimension,Symbol,Type})

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

See basetypeof

source

`,4))]),i("details",G,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.setdims",href:"#DimensionalData.Dimensions.setdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.setdims")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=t(`
julia
setdims(X, newdims) => AbstractArray
+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

`,8))]),i("details",P,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.combinedims",href:"#DimensionalData.Dimensions.combinedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.combinedims")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=t('
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

',4))]),i("details",V,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.sortdims",href:"#DimensionalData.Dimensions.sortdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.sortdims")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=t('
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

',5))]),i("details",M,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.basetypeof",href:"#DimensionalData.Dimensions.Lookups.basetypeof"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.basetypeof")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=t('
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

',4))]),i("details",R,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.basedims",href:"#DimensionalData.Dimensions.basedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.basedims")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[101]||(s[101]=t(`
julia
basedims(ds::Tuple)
+basedims(d::Union{Dimension,Symbol,Type})

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

See basetypeof

source

`,4))]),i("details",G,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.setdims",href:"#DimensionalData.Dimensions.setdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.setdims")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=t(`
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

`,7))]),i("details",U,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.dimsmatch",href:"#DimensionalData.Dimensions.dimsmatch"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimsmatch")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=t(`
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

`,4))])])}const is=l(d,[["render",$]]);export{ss as __pageData,is as default}; +wrapping: 'a':1:'j'

source

`,7))]),i("details",U,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.dimsmatch",href:"#DimensionalData.Dimensions.dimsmatch"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimsmatch")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=t(`
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

`,4))])])}const is=l(d,[["render",$]]);export{ss as __pageData,is as default}; diff --git a/dev/assets/api_dimensions.md.SBrxkSyF.lean.js b/dev/assets/api_dimensions.md.0EpvcW_-.lean.js similarity index 97% rename from dev/assets/api_dimensions.md.SBrxkSyF.lean.js rename to dev/assets/api_dimensions.md.0EpvcW_-.lean.js index c54b7eba0..da9b460d2 100644 --- a/dev/assets/api_dimensions.md.SBrxkSyF.lean.js +++ b/dev/assets/api_dimensions.md.0EpvcW_-.lean.js @@ -1,5 +1,5 @@ -import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framework.B8l2DGq3.js";const ss=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"api/dimensions.md","filePath":"api/dimensions.md","lastUpdated":null}'),d={name:"api/dimensions.md"},o={class:"jldocstring custom-block",open:""},r={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""};function $(K,s,W,J,H,Q){const n=h("Badge");return k(),p("div",null,[s[108]||(s[108]=i("h1",{id:"dimensions",tabindex:"-1"},[a("Dimensions "),i("a",{class:"header-anchor",href:"#dimensions","aria-label":'Permalink to "Dimensions"'},"​")],-1)),s[109]||(s[109]=i("p",null,[a("Dimensions are kept in the sub-module "),i("code",null,"Dimensions"),a(".")],-1)),i("details",o,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions",href:"#DimensionalData.Dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,5))]),s[110]||(s[110]=i("p",null,"Dimensions have a type-hierarchy that organises plotting and dimension matching.",-1)),i("details",r,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Dimension",href:"#DimensionalData.Dimensions.Dimension"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dimension")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t(`
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
+import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framework.BAAK0EyE.js";const ss=JSON.parse('{"title":"Dimensions","description":"","frontmatter":{},"headers":[],"relativePath":"api/dimensions.md","filePath":"api/dimensions.md","lastUpdated":null}'),d={name:"api/dimensions.md"},o={class:"jldocstring custom-block",open:""},r={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""};function $(K,s,W,J,H,Q){const n=h("Badge");return k(),p("div",null,[s[108]||(s[108]=i("h1",{id:"dimensions",tabindex:"-1"},[a("Dimensions "),i("a",{class:"header-anchor",href:"#dimensions","aria-label":'Permalink to "Dimensions"'},"​")],-1)),s[109]||(s[109]=i("p",null,[a("Dimensions are kept in the sub-module "),i("code",null,"Dimensions"),a(".")],-1)),i("details",o,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions",href:"#DimensionalData.Dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,5))]),s[110]||(s[110]=i("p",null,"Dimensions have a type-hierarchy that organises plotting and dimension matching.",-1)),i("details",r,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Dimension",href:"#DimensionalData.Dimensions.Dimension"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dimension")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t(`
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'])
@@ -51,21 +51,21 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
  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

`,13))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.DependentDim",href:"#DimensionalData.Dimensions.DependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.DependentDim")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
julia
DependentDim <: Dimension

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

source

',3))]),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.IndependentDim",href:"#DimensionalData.Dimensions.IndependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.IndependentDim")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
julia
IndependentDim <: Dimension

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

source

',3))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.XDim",href:"#DimensionalData.Dimensions.XDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.XDim")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t('
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source

',3))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.YDim",href:"#DimensionalData.Dimensions.YDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.YDim")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source

',3))]),i("details",m,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.ZDim",href:"#DimensionalData.Dimensions.ZDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.ZDim")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t('
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source

',3))]),i("details",F,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.TimeDim",href:"#DimensionalData.Dimensions.TimeDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.TimeDim")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',4))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.X",href:"#DimensionalData.Dimensions.X"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.X")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
julia
X <: XDim
+ 4    0.0                   0.0                      0.0

source

`,13))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.DependentDim",href:"#DimensionalData.Dimensions.DependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.DependentDim")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
julia
DependentDim <: Dimension

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

source

',3))]),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.IndependentDim",href:"#DimensionalData.Dimensions.IndependentDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.IndependentDim")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
julia
IndependentDim <: Dimension

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

source

',3))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.XDim",href:"#DimensionalData.Dimensions.XDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.XDim")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t('
julia
XDim <: IndependentDim

Abstract supertype for all X dimensions.

source

',3))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.YDim",href:"#DimensionalData.Dimensions.YDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.YDim")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
YDim <: DependentDim

Abstract supertype for all Y dimensions.

source

',3))]),i("details",m,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.ZDim",href:"#DimensionalData.Dimensions.ZDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.ZDim")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t('
julia
ZDim <: DependentDim

Abstract supertype for all Z dimensions.

source

',3))]),i("details",F,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.TimeDim",href:"#DimensionalData.Dimensions.TimeDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.TimeDim")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',4))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.X",href:"#DimensionalData.Dimensions.X"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.X")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
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

`,7))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Y",href:"#DimensionalData.Dimensions.Y"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Y")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t(`
julia
Y <: YDim
+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

`,7))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Y",href:"#DimensionalData.Dimensions.Y"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Y")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t(`
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

`,7))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Z",href:"#DimensionalData.Dimensions.Z"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Z")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
julia
Z <: ZDim
+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

`,7))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Z",href:"#DimensionalData.Dimensions.Z"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Z")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
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

`,7))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.Ti",href:"#DimensionalData.Dimensions.Ti"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Ti")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t('

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

',9))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Dim",href:"#DimensionalData.Dimensions.Dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dim")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
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

`,5))]),i("details",j,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.AnonDim",href:"#DimensionalData.Dimensions.AnonDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.AnonDim")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
julia
AnonDim <: Dimension
+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

`,7))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.Ti",href:"#DimensionalData.Dimensions.Ti"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Ti")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t('

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

',9))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Dim",href:"#DimensionalData.Dimensions.Dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Dim")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
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

`,5))]),i("details",j,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.AnonDim",href:"#DimensionalData.Dimensions.AnonDim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.AnonDim")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
julia
AnonDim <: Dimension
 
-AnonDim()

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

source

`,3))]),i("details",B,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.@dim",href:"#DimensionalData.Dimensions.@dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.@dim")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[44]||(s[44]=t(`
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
+AnonDim()

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

source

`,3))]),i("details",B,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.@dim",href:"#DimensionalData.Dimensions.@dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.@dim")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[44]||(s[44]=t(`
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

`,8))]),s[111]||(s[111]=i("h3",{id:"Exported-methods",tabindex:"-1"},[a("Exported methods "),i("a",{class:"header-anchor",href:"#Exported-methods","aria-label":'Permalink to "Exported methods {#Exported-methods}"'},"​")],-1)),s[112]||(s[112]=i("p",null,"These are widely useful methods for working with dimensions.",-1)),i("details",v,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.dims-api-dimensions",href:"#DimensionalData.Dimensions.dims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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}}
+# output

source

`,8))]),s[111]||(s[111]=i("h3",{id:"Exported-methods",tabindex:"-1"},[a("Exported methods "),i("a",{class:"header-anchor",href:"#Exported-methods","aria-label":'Permalink to "Exported methods {#Exported-methods}"'},"​")],-1)),s[112]||(s[112]=i("p",null,"These are widely useful methods for working with dimensions.",-1)),i("details",v,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.dims-api-dimensions",href:"#DimensionalData.Dimensions.dims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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))
@@ -79,7 +79,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
  1.0  1.0  1.0
 
 julia> dims(A, (X, Y))
-( X,  Y)

source

`,13))]),i("details",A,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.otherdims-api-dimensions",href:"#DimensionalData.Dimensions.otherdims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
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
+( X,  Y)

source

`,13))]),i("details",A,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.otherdims-api-dimensions",href:"#DimensionalData.Dimensions.otherdims-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
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));
 
@@ -87,7 +87,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 ( Y,  Z)
 
 julia> otherdims(A, (Y, Z))
-( X)

source

`,8))]),i("details",T,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.dimnum-api-dimensions",href:"#DimensionalData.Dimensions.dimnum-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
julia
dimnum(x, query::Tuple) => NTuple{Int}
+( X)

source

`,8))]),i("details",T,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.dimnum-api-dimensions",href:"#DimensionalData.Dimensions.dimnum-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
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));
@@ -96,7 +96,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 (3, 1, 2)
 
 julia> dimnum(A, Y)
-2

source

`,8))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.hasdim-api-dimensions",href:"#DimensionalData.Dimensions.hasdim-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+2

source

`,8))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.hasdim-api-dimensions",href:"#DimensionalData.Dimensions.hasdim-api-dimensions"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
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
 
@@ -109,13 +109,13 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 (true, true, true)
 
 julia> hasdim(A, Ti)
-false

source

`,8))]),s[113]||(s[113]=i("h3",{id:"Non-exported-methods",tabindex:"-1"},[a("Non-exported methods "),i("a",{class:"header-anchor",href:"#Non-exported-methods","aria-label":'Permalink to "Non-exported methods {#Non-exported-methods}"'},"​")],-1)),i("details",w,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.lookup",href:"#DimensionalData.Dimensions.lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.lookup")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
julia
lookup(x::Dimension) => Lookup
+false

source

`,8))]),s[113]||(s[113]=i("h3",{id:"Non-exported-methods",tabindex:"-1"},[a("Non-exported methods "),i("a",{class:"header-anchor",href:"#Non-exported-methods","aria-label":'Permalink to "Non-exported methods {#Non-exported-methods}"'},"​")],-1)),i("details",w,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.lookup",href:"#DimensionalData.Dimensions.lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.lookup")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
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

`,5))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.label",href:"#DimensionalData.Dimensions.label"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.label")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
julia
label(x) => String
+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

`,5))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.label",href:"#DimensionalData.Dimensions.label"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.label")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
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

`,4))]),i("details",q,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.format",href:"#DimensionalData.Dimensions.format"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.format")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t('
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

',5))]),i("details",X,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.dims2indices",href:"#DimensionalData.Dimensions.dims2indices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims2indices")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
julia
dims2indices(dim::Dimension, I) => NTuple{Union{Colon,AbstractArray,Int}}

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

source

',3))]),i("details",Y,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.selectindices",href:"#DimensionalData.Dimensions.Lookups.selectindices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.selectindices")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[71]||(s[71]=t('
julia
selectindices(lookups, selectors)

Converts Selector to regular indices.

source

',3))]),s[114]||(s[114]=i("h3",{id:"Primitive-methods",tabindex:"-1"},[a("Primitive methods "),i("a",{class:"header-anchor",href:"#Primitive-methods","aria-label":'Permalink to "Primitive methods {#Primitive-methods}"'},"​")],-1)),s[115]||(s[115]=i("p",null,"These low-level methods are really for internal use, but can be useful for writing dimensional algorithms.",-1)),s[116]||(s[116]=i("p",null,"They are not guaranteed to keep their interface, but usually will.",-1)),i("details",O,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.commondims",href:"#DimensionalData.Dimensions.commondims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.commondims")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=t(`
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
+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

`,4))]),i("details",q,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.format",href:"#DimensionalData.Dimensions.format"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.format")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t('
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

',5))]),i("details",X,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.dims2indices",href:"#DimensionalData.Dimensions.dims2indices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims2indices")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
julia
dims2indices(dim::Dimension, I) => NTuple{Union{Colon,AbstractArray,Int}}

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

source

',3))]),i("details",Y,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.selectindices",href:"#DimensionalData.Dimensions.Lookups.selectindices"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.selectindices")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[71]||(s[71]=t('
julia
selectindices(lookups, selectors)

Converts Selector to regular indices.

source

',3))]),s[114]||(s[114]=i("h3",{id:"Primitive-methods",tabindex:"-1"},[a("Primitive methods "),i("a",{class:"header-anchor",href:"#Primitive-methods","aria-label":'Permalink to "Primitive methods {#Primitive-methods}"'},"​")],-1)),s[115]||(s[115]=i("p",null,"These low-level methods are really for internal use, but can be useful for writing dimensional algorithms.",-1)),s[116]||(s[116]=i("p",null,"They are not guaranteed to keep their interface, but usually will.",-1)),i("details",O,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.commondims",href:"#DimensionalData.Dimensions.commondims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.commondims")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=t(`
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));
 
@@ -126,9 +126,9 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 ( X,  Z)
 
 julia> commondims(A, Ti)
-()

source

`,6))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.name2dim",href:"#DimensionalData.Dimensions.name2dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name2dim")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=t(`
julia
name2dim(s::Symbol) => Dimension
+()

source

`,6))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.name2dim",href:"#DimensionalData.Dimensions.name2dim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name2dim")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=t(`
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

`,4))]),i("details",S,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.reducedims",href:"#DimensionalData.Dimensions.reducedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.reducedims")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[80]||(s[80]=t('
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

',4))]),i("details",Z,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.swapdims",href:"#DimensionalData.Dimensions.swapdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.swapdims")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=t(`
julia
swapdims(x::T, newdims) => T
+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

`,4))]),i("details",S,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.reducedims",href:"#DimensionalData.Dimensions.reducedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.reducedims")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[80]||(s[80]=t('
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

',4))]),i("details",Z,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.swapdims",href:"#DimensionalData.Dimensions.swapdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.swapdims")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=t(`
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}))
@@ -141,17 +141,17 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as h,o as k}from"./chunks/framewo
 └───────────────────────────┘
 [:, :, 1]
  1.0  1.0  1.0  1.0
- 1.0  1.0  1.0  1.0

source

`,8))]),i("details",I,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.slicedims",href:"#DimensionalData.Dimensions.slicedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.slicedims")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=t(`
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

`,7))]),i("details",N,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.comparedims",href:"#DimensionalData.Dimensions.comparedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.comparedims")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=t(`
julia
comparedims(A::AbstractDimArray...; kw...)
+ 1.0  1.0  1.0  1.0

source

`,8))]),i("details",I,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.slicedims",href:"#DimensionalData.Dimensions.slicedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.slicedims")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=t(`
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

`,7))]),i("details",N,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.comparedims",href:"#DimensionalData.Dimensions.comparedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.comparedims")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=t(`
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

`,8))]),i("details",P,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.combinedims",href:"#DimensionalData.Dimensions.combinedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.combinedims")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=t('
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

',4))]),i("details",V,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.sortdims",href:"#DimensionalData.Dimensions.sortdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.sortdims")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=t('
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

',5))]),i("details",M,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.basetypeof",href:"#DimensionalData.Dimensions.Lookups.basetypeof"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.basetypeof")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=t('
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

',4))]),i("details",R,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.basedims",href:"#DimensionalData.Dimensions.basedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.basedims")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[101]||(s[101]=t(`
julia
basedims(ds::Tuple)
-basedims(d::Union{Dimension,Symbol,Type})

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

See basetypeof

source

`,4))]),i("details",G,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.setdims",href:"#DimensionalData.Dimensions.setdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.setdims")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=t(`
julia
setdims(X, newdims) => AbstractArray
+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

`,8))]),i("details",P,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.combinedims",href:"#DimensionalData.Dimensions.combinedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.combinedims")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=t('
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

',4))]),i("details",V,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.sortdims",href:"#DimensionalData.Dimensions.sortdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.sortdims")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=t('
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

',5))]),i("details",M,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.basetypeof",href:"#DimensionalData.Dimensions.Lookups.basetypeof"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.basetypeof")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=t('
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

',4))]),i("details",R,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.basedims",href:"#DimensionalData.Dimensions.basedims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.basedims")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[101]||(s[101]=t(`
julia
basedims(ds::Tuple)
+basedims(d::Union{Dimension,Symbol,Type})

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

See basetypeof

source

`,4))]),i("details",G,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.setdims",href:"#DimensionalData.Dimensions.setdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.setdims")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=t(`
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

`,7))]),i("details",U,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.dimsmatch",href:"#DimensionalData.Dimensions.dimsmatch"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimsmatch")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=t(`
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

`,4))])])}const is=l(d,[["render",$]]);export{ss as __pageData,is as default}; +wrapping: 'a':1:'j'

source

`,7))]),i("details",U,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.dimsmatch",href:"#DimensionalData.Dimensions.dimsmatch"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimsmatch")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=t(`
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

`,4))])])}const is=l(d,[["render",$]]);export{ss as __pageData,is as default}; diff --git a/dev/assets/api_lookuparrays.md.4gWyIReH.js b/dev/assets/api_lookuparrays.md.QQHTyv_S.js similarity index 96% rename from dev/assets/api_lookuparrays.md.4gWyIReH.js rename to dev/assets/api_lookuparrays.md.QQHTyv_S.js index 3453e5208..7e142badc 100644 --- a/dev/assets/api_lookuparrays.md.4gWyIReH.js +++ b/dev/assets/api_lookuparrays.md.QQHTyv_S.js @@ -1,5 +1,5 @@ -import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framework.B8l2DGq3.js";const bs=JSON.parse('{"title":"Lookups","description":"","frontmatter":{},"headers":[],"relativePath":"api/lookuparrays.md","filePath":"api/lookuparrays.md","lastUpdated":null}'),k={name:"api/lookuparrays.md"},r={class:"jldocstring custom-block",open:""},d={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},os={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""},gs={class:"jldocstring custom-block",open:""},cs={class:"jldocstring custom-block",open:""};function us(ys,s,Es,ms,Ds,Fs){const n=o("Badge");return h(),p("div",null,[s[174]||(s[174]=i("h1",{id:"lookups",tabindex:"-1"},[a("Lookups "),i("a",{class:"header-anchor",href:"#lookups","aria-label":'Permalink to "Lookups"'},"​")],-1)),i("details",r,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions.Lookups",href:"#DimensionalData.Dimensions.Lookups"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,7))]),i("details",d,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Lookups.Lookup",href:"#DimensionalData.Dimensions.Lookups.Lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Lookup")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t('
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

',4))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.Lookups.Aligned",href:"#DimensionalData.Dimensions.Lookups.Aligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Aligned")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
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

',4))]),i("details",c,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractSampled",href:"#DimensionalData.Dimensions.Lookups.AbstractSampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractSampled")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
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

',4))]),i("details",u,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampled",href:"#DimensionalData.Dimensions.Lookups.Sampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampled")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t(`
julia
Sampled <: AbstractSampled
+import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framework.BAAK0EyE.js";const bs=JSON.parse('{"title":"Lookups","description":"","frontmatter":{},"headers":[],"relativePath":"api/lookuparrays.md","filePath":"api/lookuparrays.md","lastUpdated":null}'),k={name:"api/lookuparrays.md"},r={class:"jldocstring custom-block",open:""},d={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},os={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""},gs={class:"jldocstring custom-block",open:""},cs={class:"jldocstring custom-block",open:""};function us(ys,s,Es,ms,Ds,Fs){const n=o("Badge");return h(),p("div",null,[s[174]||(s[174]=i("h1",{id:"lookups",tabindex:"-1"},[a("Lookups "),i("a",{class:"header-anchor",href:"#lookups","aria-label":'Permalink to "Lookups"'},"​")],-1)),i("details",r,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions.Lookups",href:"#DimensionalData.Dimensions.Lookups"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,7))]),i("details",d,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Lookups.Lookup",href:"#DimensionalData.Dimensions.Lookups.Lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Lookup")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t('
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

',4))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.Lookups.Aligned",href:"#DimensionalData.Dimensions.Lookups.Aligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Aligned")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
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

',4))]),i("details",c,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractSampled",href:"#DimensionalData.Dimensions.Lookups.AbstractSampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractSampled")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
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

',4))]),i("details",u,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampled",href:"#DimensionalData.Dimensions.Lookups.Sampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampled")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t(`
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
@@ -20,9 +20,9 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
   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

`,11))]),i("details",y,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCyclic",href:"#DimensionalData.Dimensions.Lookups.AbstractCyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCyclic")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source

',4))]),i("details",E,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.Lookups.Cyclic",href:"#DimensionalData.Dimensions.Lookups.Cyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Cyclic")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t(`
julia
Cyclic <: AbstractCyclic
+  20    1.0  1.0  1.0   1.0

source

`,11))]),i("details",y,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCyclic",href:"#DimensionalData.Dimensions.Lookups.AbstractCyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCyclic")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source

',4))]),i("details",E,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.Lookups.Cyclic",href:"#DimensionalData.Dimensions.Lookups.Cyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Cyclic")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t(`
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

`,8))]),i("details",m,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCategorical",href:"#DimensionalData.Dimensions.Lookups.AbstractCategorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCategorical")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',5))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.Lookups.Categorical",href:"#DimensionalData.Dimensions.Lookups.Categorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Categorical")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
julia
Categorical <: AbstractCategorical
+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

`,8))]),i("details",m,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCategorical",href:"#DimensionalData.Dimensions.Lookups.AbstractCategorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCategorical")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',5))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.Lookups.Categorical",href:"#DimensionalData.Dimensions.Lookups.Categorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Categorical")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
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
@@ -34,7 +34,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 # output
 
 Categorical{String} ["one", "two", "three"] Unordered,
-Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source

`,10))]),i("details",F,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unaligned",href:"#DimensionalData.Dimensions.Lookups.Unaligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unaligned")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t('
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

',4))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Lookups.Transformed",href:"#DimensionalData.Dimensions.Lookups.Transformed"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Transformed")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
julia
Transformed <: Unaligned
+Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source

`,10))]),i("details",F,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unaligned",href:"#DimensionalData.Dimensions.Lookups.Unaligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unaligned")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t('
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

',4))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Lookups.Transformed",href:"#DimensionalData.Dimensions.Lookups.Transformed"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Transformed")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
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
 
@@ -47,9 +47,9 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 da[X(At(6.0)), Y(At(2.0))]
 
 # output
-9

source

`,10))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.MergedLookup",href:"#DimensionalData.Dimensions.MergedLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.MergedLookup")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t(`
julia
MergedLookup <: Lookup
+9

source

`,10))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.MergedLookup",href:"#DimensionalData.Dimensions.MergedLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.MergedLookup")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t(`
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

`,8))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoLookup",href:"#DimensionalData.Dimensions.Lookups.NoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoLookup")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
julia
NoLookup <: 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

`,8))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoLookup",href:"#DimensionalData.Dimensions.Lookups.NoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoLookup")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
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
 
@@ -64,26 +64,26 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 
 # output
 
-NoLookup, NoLookup

source

`,8))]),i("details",v,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoLookup",href:"#DimensionalData.Dimensions.Lookups.AutoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoLookup")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
julia
AutoLookup <: Lookup
+NoLookup, NoLookup

source

`,8))]),i("details",v,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoLookup",href:"#DimensionalData.Dimensions.Lookups.AutoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoLookup")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
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

`,4))]),i("details",j,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoValues",href:"#DimensionalData.Dimensions.Lookups.AutoValues"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoValues")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=t('
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

',3))]),s[175]||(s[175]=i("p",null,[a("The generic value getter "),i("code",null,"val")],-1)),i("details",B,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.Lookups.val",href:"#DimensionalData.Dimensions.Lookups.val"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.val")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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

`,5))]),s[176]||(s[176]=i("p",null,"Lookup methods:",-1)),i("details",L,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.Lookups.bounds",href:"#DimensionalData.Dimensions.Lookups.bounds"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.bounds")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
julia
bounds(xs, [dims::Tuple]) => Tuple{Vararg{Tuple{T,T}}}
+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

`,4))]),i("details",j,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoValues",href:"#DimensionalData.Dimensions.Lookups.AutoValues"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoValues")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=t('
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

',3))]),s[175]||(s[175]=i("p",null,[a("The generic value getter "),i("code",null,"val")],-1)),i("details",B,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.Lookups.val",href:"#DimensionalData.Dimensions.Lookups.val"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.val")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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

`,5))]),s[176]||(s[176]=i("p",null,"Lookup methods:",-1)),i("details",L,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.Lookups.bounds",href:"#DimensionalData.Dimensions.Lookups.bounds"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.bounds")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
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

`,5))]),i("details",A,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.Lookups.hasselection",href:"#DimensionalData.Dimensions.Lookups.hasselection"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.hasselection")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
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

`,3))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.Lookups.sampling",href:"#DimensionalData.Dimensions.Lookups.sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.sampling")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
julia
sampling(x, [dims::Tuple]) => Tuple
+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

`,5))]),i("details",A,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.Lookups.hasselection",href:"#DimensionalData.Dimensions.Lookups.hasselection"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.hasselection")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
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

`,3))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.Lookups.sampling",href:"#DimensionalData.Dimensions.Lookups.sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.sampling")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
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

`,4))]),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.Lookups.span",href:"#DimensionalData.Dimensions.Lookups.span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.span")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
julia
span(x, [dims::Tuple]) => Tuple
+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

`,4))]),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.Lookups.span",href:"#DimensionalData.Dimensions.Lookups.span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.span")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
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

`,4))]),i("details",w,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.Lookups.order",href:"#DimensionalData.Dimensions.Lookups.order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.order")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
julia
order(x, [dims::Tuple]) => Tuple
+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

`,4))]),i("details",w,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.Lookups.order",href:"#DimensionalData.Dimensions.Lookups.order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.order")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
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

`,4))]),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.Lookups.locus",href:"#DimensionalData.Dimensions.Lookups.locus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.locus")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t(`
julia
locus(x, [dims::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

`,4))]),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.Lookups.locus",href:"#DimensionalData.Dimensions.Lookups.locus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.locus")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t(`
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

`,4))]),i("details",O,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.Lookups.shiftlocus",href:"#DimensionalData.Dimensions.Lookups.shiftlocus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.shiftlocus")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
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

',4))]),s[177]||(s[177]=i("h2",{id:"selectors",tabindex:"-1"},[a("Selectors "),i("a",{class:"header-anchor",href:"#selectors","aria-label":'Permalink to "Selectors"'},"​")],-1)),i("details",I,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.Selector",href:"#DimensionalData.Dimensions.Lookups.Selector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Selector")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=t('
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

',10))]),i("details",q,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.Lookups.IntSelector",href:"#DimensionalData.Dimensions.Lookups.IntSelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.IntSelector")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[74]||(s[74]=t('
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source

',5))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.Lookups.ArraySelector",href:"#DimensionalData.Dimensions.Lookups.ArraySelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ArraySelector")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[77]||(s[77]=t('
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source

',5))]),i("details",P,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.Lookups.At",href:"#DimensionalData.Dimensions.Lookups.At"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.At")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=t(`
julia
At <: IntSelector
+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

`,4))]),i("details",O,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.Lookups.shiftlocus",href:"#DimensionalData.Dimensions.Lookups.shiftlocus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.shiftlocus")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
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

',4))]),s[177]||(s[177]=i("h2",{id:"selectors",tabindex:"-1"},[a("Selectors "),i("a",{class:"header-anchor",href:"#selectors","aria-label":'Permalink to "Selectors"'},"​")],-1)),i("details",I,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.Selector",href:"#DimensionalData.Dimensions.Lookups.Selector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Selector")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=t('
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

',10))]),i("details",q,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.Lookups.IntSelector",href:"#DimensionalData.Dimensions.Lookups.IntSelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.IntSelector")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[74]||(s[74]=t('
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source

',5))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.Lookups.ArraySelector",href:"#DimensionalData.Dimensions.Lookups.ArraySelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ArraySelector")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[77]||(s[77]=t('
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source

',5))]),i("details",P,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.Lookups.At",href:"#DimensionalData.Dimensions.Lookups.At"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.At")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=t(`
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
@@ -93,7 +93,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 
 # output
 
-5

source

`,7))]),i("details",N,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.Lookups.Near",href:"#DimensionalData.Dimensions.Lookups.Near"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Near")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[83]||(s[83]=t(`
julia
Near <: IntSelector
+5

source

`,7))]),i("details",N,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.Lookups.Near",href:"#DimensionalData.Dimensions.Lookups.Near"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Near")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[83]||(s[83]=t(`
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
@@ -102,7 +102,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 A[X(Near(23)), Y(Near(5.1))]
 
 # output
-4

source

`,7))]),i("details",R,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.Lookups.Between",href:"#DimensionalData.Dimensions.Lookups.Between"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Between")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[86]||(s[86]=t(`
julia
Between <: ArraySelector
+4

source

`,7))]),i("details",R,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.Lookups.Between",href:"#DimensionalData.Dimensions.Lookups.Between"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Between")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[86]||(s[86]=t(`
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
 
@@ -118,7 +118,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
  Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
 └────────────────────────────────────────────────────────────┘
   5  6
- 20    4  5

source

`,10))]),i("details",M,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.Lookups.Touches",href:"#DimensionalData.Dimensions.Lookups.Touches"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Touches")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[89]||(s[89]=t(`
julia
Touches <: ArraySelector
+ 20    4  5

source

`,10))]),i("details",M,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.Lookups.Touches",href:"#DimensionalData.Dimensions.Lookups.Touches"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Touches")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[89]||(s[89]=t(`
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
 
@@ -133,7 +133,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
  Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
 └────────────────────────────────────────────────────────────┘
   5  6
- 20    4  5

source

`,7))]),i("details",U,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.Contains",href:"#DimensionalData.Dimensions.Lookups.Contains"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Contains")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[92]||(s[92]=t(`
julia
Contains <: IntSelector
+ 20    4  5

source

`,7))]),i("details",U,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.Contains",href:"#DimensionalData.Dimensions.Lookups.Contains"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Contains")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[92]||(s[92]=t(`
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
@@ -143,7 +143,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 A[X(Contains(8)), Y(Contains(6.8))]
 
 # output
-3

source

`,7))]),i("details",X,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.Where",href:"#DimensionalData.Dimensions.Lookups.Where"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Where")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[95]||(s[95]=t(`
julia
Where <: ArraySelector
+3

source

`,7))]),i("details",X,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.Where",href:"#DimensionalData.Dimensions.Lookups.Where"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Where")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[95]||(s[95]=t(`
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
 
@@ -159,7 +159,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
  Y Sampled{Int64} [19, 21] ForwardOrdered Irregular Points
 └─────────────────────────────────────────────────────────────┘
   19  21
- 20     4   6

source

`,5))]),i("details",Y,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.All",href:"#DimensionalData.Dimensions.Lookups.All"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.All")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[98]||(s[98]=t(`
julia
All <: Selector
+ 20     4   6

source

`,5))]),i("details",Y,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.All",href:"#DimensionalData.Dimensions.Lookups.All"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.All")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[98]||(s[98]=t(`
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
 
@@ -177,42 +177,42 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 └──────────────────────────────────────────────────────────────────────────────┘
   1 s  6 s  91 s  96 s
  10.0    1    2    19    20
- 50.0    3    6    57    60

source

`,5))]),s[178]||(s[178]=i("h2",{id:"Lookup-traits",tabindex:"-1"},[a("Lookup traits "),i("a",{class:"header-anchor",href:"#Lookup-traits","aria-label":'Permalink to "Lookup traits {#Lookup-traits}"'},"​")],-1)),i("details",V,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.Lookups.LookupTrait",href:"#DimensionalData.Dimensions.Lookups.LookupTrait"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.LookupTrait")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[101]||(s[101]=t('
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

',5))]),s[179]||(s[179]=i("h3",{id:"order",tabindex:"-1"},[a("Order "),i("a",{class:"header-anchor",href:"#order","aria-label":'Permalink to "Order"'},"​")],-1)),i("details",W,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.Lookups.Order",href:"#DimensionalData.Dimensions.Lookups.Order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Order")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[104]||(s[104]=t('
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

',3))]),i("details",G,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.Lookups.Ordered",href:"#DimensionalData.Dimensions.Lookups.Ordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Ordered")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[107]||(s[107]=t('
julia
Ordered <: Order

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

source

',3))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.Dimensions.Lookups.ForwardOrdered",href:"#DimensionalData.Dimensions.Lookups.ForwardOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ForwardOrdered")],-1)),s[109]||(s[109]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[110]||(s[110]=t(`
julia
ForwardOrdered <: Ordered
+ 50.0    3    6    57    60

source

`,5))]),s[178]||(s[178]=i("h2",{id:"Lookup-traits",tabindex:"-1"},[a("Lookup traits "),i("a",{class:"header-anchor",href:"#Lookup-traits","aria-label":'Permalink to "Lookup traits {#Lookup-traits}"'},"​")],-1)),i("details",V,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.Lookups.LookupTrait",href:"#DimensionalData.Dimensions.Lookups.LookupTrait"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.LookupTrait")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[101]||(s[101]=t('
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

',5))]),s[179]||(s[179]=i("h3",{id:"order",tabindex:"-1"},[a("Order "),i("a",{class:"header-anchor",href:"#order","aria-label":'Permalink to "Order"'},"​")],-1)),i("details",W,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.Lookups.Order",href:"#DimensionalData.Dimensions.Lookups.Order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Order")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[104]||(s[104]=t('
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

',3))]),i("details",G,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.Lookups.Ordered",href:"#DimensionalData.Dimensions.Lookups.Ordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Ordered")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[107]||(s[107]=t('
julia
Ordered <: Order

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

source

',3))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.Dimensions.Lookups.ForwardOrdered",href:"#DimensionalData.Dimensions.Lookups.ForwardOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ForwardOrdered")],-1)),s[109]||(s[109]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[110]||(s[110]=t(`
julia
ForwardOrdered <: Ordered
 
-ForwardOrdered()

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

source

`,3))]),i("details",$,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.Dimensions.Lookups.ReverseOrdered",href:"#DimensionalData.Dimensions.Lookups.ReverseOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ReverseOrdered")],-1)),s[112]||(s[112]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[113]||(s[113]=t(`
julia
ReverseOrdered <: Ordered
+ForwardOrdered()

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

source

`,3))]),i("details",$,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.Dimensions.Lookups.ReverseOrdered",href:"#DimensionalData.Dimensions.Lookups.ReverseOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ReverseOrdered")],-1)),s[112]||(s[112]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[113]||(s[113]=t(`
julia
ReverseOrdered <: Ordered
 
-ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source

`,3))]),i("details",H,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unordered",href:"#DimensionalData.Dimensions.Lookups.Unordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unordered")],-1)),s[115]||(s[115]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[116]||(s[116]=t(`
julia
Unordered <: Order
+ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source

`,3))]),i("details",H,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unordered",href:"#DimensionalData.Dimensions.Lookups.Unordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unordered")],-1)),s[115]||(s[115]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[116]||(s[116]=t(`
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

`,4))]),i("details",J,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoOrder",href:"#DimensionalData.Dimensions.Lookups.AutoOrder"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoOrder")],-1)),s[118]||(s[118]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[119]||(s[119]=t(`
julia
AutoOrder <: 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

`,4))]),i("details",J,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoOrder",href:"#DimensionalData.Dimensions.Lookups.AutoOrder"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoOrder")],-1)),s[118]||(s[118]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[119]||(s[119]=t(`
julia
AutoOrder <: Order
 
-AutoOrder()

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

source

`,3))]),s[180]||(s[180]=i("h3",{id:"span",tabindex:"-1"},[a("Span "),i("a",{class:"header-anchor",href:"#span","aria-label":'Permalink to "Span"'},"​")],-1)),i("details",Q,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.Dimensions.Lookups.Span",href:"#DimensionalData.Dimensions.Lookups.Span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Span")],-1)),s[121]||(s[121]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[122]||(s[122]=t('
julia
Span <: LookupTrait

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

source

',3))]),i("details",Z,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.Dimensions.Lookups.Regular",href:"#DimensionalData.Dimensions.Lookups.Regular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Regular")],-1)),s[124]||(s[124]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[125]||(s[125]=t(`
julia
Regular <: Span
+AutoOrder()

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

source

`,3))]),s[180]||(s[180]=i("h3",{id:"span",tabindex:"-1"},[a("Span "),i("a",{class:"header-anchor",href:"#span","aria-label":'Permalink to "Span"'},"​")],-1)),i("details",Q,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.Dimensions.Lookups.Span",href:"#DimensionalData.Dimensions.Lookups.Span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Span")],-1)),s[121]||(s[121]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[122]||(s[122]=t('
julia
Span <: LookupTrait

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

source

',3))]),i("details",Z,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.Dimensions.Lookups.Regular",href:"#DimensionalData.Dimensions.Lookups.Regular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Regular")],-1)),s[124]||(s[124]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[125]||(s[125]=t(`
julia
Regular <: Span
 
-Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source

`,3))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.Dimensions.Lookups.Irregular",href:"#DimensionalData.Dimensions.Lookups.Irregular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Irregular")],-1)),s[127]||(s[127]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[128]||(s[128]=t(`
julia
Irregular <: Span
+Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source

`,3))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.Dimensions.Lookups.Irregular",href:"#DimensionalData.Dimensions.Lookups.Irregular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Irregular")],-1)),s[127]||(s[127]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[128]||(s[128]=t(`
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

`,3))]),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"DimensionalData.Dimensions.Lookups.Explicit",href:"#DimensionalData.Dimensions.Lookups.Explicit"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Explicit")],-1)),s[130]||(s[130]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[131]||(s[131]=t('
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

',4))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoSpan",href:"#DimensionalData.Dimensions.Lookups.AutoSpan"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoSpan")],-1)),s[133]||(s[133]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[134]||(s[134]=t(`
julia
AutoSpan <: Span
+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

`,3))]),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"DimensionalData.Dimensions.Lookups.Explicit",href:"#DimensionalData.Dimensions.Lookups.Explicit"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Explicit")],-1)),s[130]||(s[130]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[131]||(s[131]=t('
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

',4))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoSpan",href:"#DimensionalData.Dimensions.Lookups.AutoSpan"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoSpan")],-1)),s[133]||(s[133]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[134]||(s[134]=t(`
julia
AutoSpan <: Span
 
-AutoSpan()

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

source

`,3))]),s[181]||(s[181]=i("h3",{id:"sampling",tabindex:"-1"},[a("Sampling "),i("a",{class:"header-anchor",href:"#sampling","aria-label":'Permalink to "Sampling"'},"​")],-1)),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampling",href:"#DimensionalData.Dimensions.Lookups.Sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampling")],-1)),s[136]||(s[136]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[137]||(s[137]=t('
julia
Sampling <: LookupTrait

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

source

',3))]),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.Dimensions.Lookups.Points",href:"#DimensionalData.Dimensions.Lookups.Points"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Points")],-1)),s[139]||(s[139]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=t(`
julia
Points <: Sampling
+AutoSpan()

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

source

`,3))]),s[181]||(s[181]=i("h3",{id:"sampling",tabindex:"-1"},[a("Sampling "),i("a",{class:"header-anchor",href:"#sampling","aria-label":'Permalink to "Sampling"'},"​")],-1)),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampling",href:"#DimensionalData.Dimensions.Lookups.Sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampling")],-1)),s[136]||(s[136]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[137]||(s[137]=t('
julia
Sampling <: LookupTrait

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

source

',3))]),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.Dimensions.Lookups.Points",href:"#DimensionalData.Dimensions.Lookups.Points"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Points")],-1)),s[139]||(s[139]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=t(`
julia
Points <: Sampling
 
-Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source

`,4))]),i("details",es,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Dimensions.Lookups.Intervals",href:"#DimensionalData.Dimensions.Lookups.Intervals"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Intervals")],-1)),s[142]||(s[142]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=t(`
julia
Intervals <: Sampling
+Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source

`,4))]),i("details",es,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Dimensions.Lookups.Intervals",href:"#DimensionalData.Dimensions.Lookups.Intervals"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Intervals")],-1)),s[142]||(s[142]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=t(`
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

`,4))]),s[182]||(s[182]=i("h3",{id:"positions",tabindex:"-1"},[a("Positions "),i("a",{class:"header-anchor",href:"#positions","aria-label":'Permalink to "Positions"'},"​")],-1)),i("details",ts,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.Dimensions.Lookups.Position",href:"#DimensionalData.Dimensions.Lookups.Position"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Position")],-1)),s[145]||(s[145]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=t('
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

',5))]),i("details",ls,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.Dimensions.Lookups.Center",href:"#DimensionalData.Dimensions.Lookups.Center"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Center")],-1)),s[148]||(s[148]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=t(`
julia
Center <: Position
+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

`,4))]),s[182]||(s[182]=i("h3",{id:"positions",tabindex:"-1"},[a("Positions "),i("a",{class:"header-anchor",href:"#positions","aria-label":'Permalink to "Positions"'},"​")],-1)),i("details",ts,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.Dimensions.Lookups.Position",href:"#DimensionalData.Dimensions.Lookups.Position"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Position")],-1)),s[145]||(s[145]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=t('
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

',5))]),i("details",ls,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.Dimensions.Lookups.Center",href:"#DimensionalData.Dimensions.Lookups.Center"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Center")],-1)),s[148]||(s[148]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=t(`
julia
Center <: Position
 
-Center()

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

source

`,3))]),i("details",ps,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.Dimensions.Lookups.Start",href:"#DimensionalData.Dimensions.Lookups.Start"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Start")],-1)),s[151]||(s[151]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=t(`
julia
Start <: Position
+Center()

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

source

`,3))]),i("details",ps,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.Dimensions.Lookups.Start",href:"#DimensionalData.Dimensions.Lookups.Start"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Start")],-1)),s[151]||(s[151]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=t(`
julia
Start <: Position
 
-Start()

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

source

`,3))]),i("details",os,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.Dimensions.Lookups.Begin",href:"#DimensionalData.Dimensions.Lookups.Begin"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Begin")],-1)),s[154]||(s[154]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[155]||(s[155]=t(`
julia
Begin <: Position
+Start()

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

source

`,3))]),i("details",os,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.Dimensions.Lookups.Begin",href:"#DimensionalData.Dimensions.Lookups.Begin"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Begin")],-1)),s[154]||(s[154]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[155]||(s[155]=t(`
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

`,4))]),i("details",hs,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.Dimensions.Lookups.End",href:"#DimensionalData.Dimensions.Lookups.End"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.End")],-1)),s[157]||(s[157]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[158]||(s[158]=t(`
julia
End <: 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

`,4))]),i("details",hs,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.Dimensions.Lookups.End",href:"#DimensionalData.Dimensions.Lookups.End"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.End")],-1)),s[157]||(s[157]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[158]||(s[158]=t(`
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

`,4))]),i("details",ks,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoPosition",href:"#DimensionalData.Dimensions.Lookups.AutoPosition"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoPosition")],-1)),s[160]||(s[160]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[161]||(s[161]=t(`
julia
AutoPosition <: 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

`,4))]),i("details",ks,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoPosition",href:"#DimensionalData.Dimensions.Lookups.AutoPosition"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoPosition")],-1)),s[160]||(s[160]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[161]||(s[161]=t(`
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

`,3))]),s[183]||(s[183]=i("h2",{id:"metadata",tabindex:"-1"},[a("Metadata "),i("a",{class:"header-anchor",href:"#metadata","aria-label":'Permalink to "Metadata"'},"​")],-1)),i("details",rs,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractMetadata",href:"#DimensionalData.Dimensions.Lookups.AbstractMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractMetadata")],-1)),s[163]||(s[163]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[164]||(s[164]=t('
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

',5))]),i("details",ds,[i("summary",null,[s[165]||(s[165]=i("a",{id:"DimensionalData.Dimensions.Lookups.Metadata",href:"#DimensionalData.Dimensions.Lookups.Metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Metadata")],-1)),s[166]||(s[166]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[167]||(s[167]=t(`
julia
Metadata <: AbstractMetadata
+AutoPosition()

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

source

`,3))]),s[183]||(s[183]=i("h2",{id:"metadata",tabindex:"-1"},[a("Metadata "),i("a",{class:"header-anchor",href:"#metadata","aria-label":'Permalink to "Metadata"'},"​")],-1)),i("details",rs,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractMetadata",href:"#DimensionalData.Dimensions.Lookups.AbstractMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractMetadata")],-1)),s[163]||(s[163]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[164]||(s[164]=t('
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

',5))]),i("details",ds,[i("summary",null,[s[165]||(s[165]=i("a",{id:"DimensionalData.Dimensions.Lookups.Metadata",href:"#DimensionalData.Dimensions.Lookups.Metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Metadata")],-1)),s[166]||(s[166]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[167]||(s[167]=t(`
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

`,3))]),i("details",gs,[i("summary",null,[s[168]||(s[168]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoMetadata",href:"#DimensionalData.Dimensions.Lookups.NoMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoMetadata")],-1)),s[169]||(s[169]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[170]||(s[170]=t(`
julia
NoMetadata <: AbstractMetadata
+Metadata{X}(; kw...) => Metadata{NamedTuple}

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

source

`,3))]),i("details",gs,[i("summary",null,[s[168]||(s[168]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoMetadata",href:"#DimensionalData.Dimensions.Lookups.NoMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoMetadata")],-1)),s[169]||(s[169]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[170]||(s[170]=t(`
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

`,3))]),i("details",cs,[i("summary",null,[s[171]||(s[171]=i("a",{id:"DimensionalData.Dimensions.Lookups.units",href:"#DimensionalData.Dimensions.Lookups.units"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.units")],-1)),s[172]||(s[172]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[173]||(s[173]=t(`
julia
units(x) => Union{Nothing,Any}
+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

`,3))]),i("details",cs,[i("summary",null,[s[171]||(s[171]=i("a",{id:"DimensionalData.Dimensions.Lookups.units",href:"#DimensionalData.Dimensions.Lookups.units"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.units")],-1)),s[172]||(s[172]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[173]||(s[173]=t(`
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

`,5))])])}const fs=l(k,[["render",us]]);export{bs as __pageData,fs as default}; +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

`,5))])])}const fs=l(k,[["render",us]]);export{bs as __pageData,fs as default}; diff --git a/dev/assets/api_lookuparrays.md.4gWyIReH.lean.js b/dev/assets/api_lookuparrays.md.QQHTyv_S.lean.js similarity index 96% rename from dev/assets/api_lookuparrays.md.4gWyIReH.lean.js rename to dev/assets/api_lookuparrays.md.QQHTyv_S.lean.js index 3453e5208..7e142badc 100644 --- a/dev/assets/api_lookuparrays.md.4gWyIReH.lean.js +++ b/dev/assets/api_lookuparrays.md.QQHTyv_S.lean.js @@ -1,5 +1,5 @@ -import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framework.B8l2DGq3.js";const bs=JSON.parse('{"title":"Lookups","description":"","frontmatter":{},"headers":[],"relativePath":"api/lookuparrays.md","filePath":"api/lookuparrays.md","lastUpdated":null}'),k={name:"api/lookuparrays.md"},r={class:"jldocstring custom-block",open:""},d={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},os={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""},gs={class:"jldocstring custom-block",open:""},cs={class:"jldocstring custom-block",open:""};function us(ys,s,Es,ms,Ds,Fs){const n=o("Badge");return h(),p("div",null,[s[174]||(s[174]=i("h1",{id:"lookups",tabindex:"-1"},[a("Lookups "),i("a",{class:"header-anchor",href:"#lookups","aria-label":'Permalink to "Lookups"'},"​")],-1)),i("details",r,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions.Lookups",href:"#DimensionalData.Dimensions.Lookups"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,7))]),i("details",d,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Lookups.Lookup",href:"#DimensionalData.Dimensions.Lookups.Lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Lookup")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t('
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

',4))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.Lookups.Aligned",href:"#DimensionalData.Dimensions.Lookups.Aligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Aligned")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
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

',4))]),i("details",c,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractSampled",href:"#DimensionalData.Dimensions.Lookups.AbstractSampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractSampled")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
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

',4))]),i("details",u,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampled",href:"#DimensionalData.Dimensions.Lookups.Sampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampled")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t(`
julia
Sampled <: AbstractSampled
+import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framework.BAAK0EyE.js";const bs=JSON.parse('{"title":"Lookups","description":"","frontmatter":{},"headers":[],"relativePath":"api/lookuparrays.md","filePath":"api/lookuparrays.md","lastUpdated":null}'),k={name:"api/lookuparrays.md"},r={class:"jldocstring custom-block",open:""},d={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},os={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""},gs={class:"jldocstring custom-block",open:""},cs={class:"jldocstring custom-block",open:""};function us(ys,s,Es,ms,Ds,Fs){const n=o("Badge");return h(),p("div",null,[s[174]||(s[174]=i("h1",{id:"lookups",tabindex:"-1"},[a("Lookups "),i("a",{class:"header-anchor",href:"#lookups","aria-label":'Permalink to "Lookups"'},"​")],-1)),i("details",r,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.Dimensions.Lookups",href:"#DimensionalData.Dimensions.Lookups"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups")],-1)),s[1]||(s[1]=a()),e(n,{type:"info",class:"jlObjectType jlModule",text:"Module"})]),s[2]||(s[2]=t(`
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

`,7))]),i("details",d,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.Dimensions.Lookups.Lookup",href:"#DimensionalData.Dimensions.Lookups.Lookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Lookup")],-1)),s[4]||(s[4]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=t('
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

',4))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.Dimensions.Lookups.Aligned",href:"#DimensionalData.Dimensions.Lookups.Aligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Aligned")],-1)),s[7]||(s[7]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=t('
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

',4))]),i("details",c,[i("summary",null,[s[9]||(s[9]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractSampled",href:"#DimensionalData.Dimensions.Lookups.AbstractSampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractSampled")],-1)),s[10]||(s[10]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[11]||(s[11]=t('
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

',4))]),i("details",u,[i("summary",null,[s[12]||(s[12]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampled",href:"#DimensionalData.Dimensions.Lookups.Sampled"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampled")],-1)),s[13]||(s[13]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[14]||(s[14]=t(`
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
@@ -20,9 +20,9 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
   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

`,11))]),i("details",y,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCyclic",href:"#DimensionalData.Dimensions.Lookups.AbstractCyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCyclic")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source

',4))]),i("details",E,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.Lookups.Cyclic",href:"#DimensionalData.Dimensions.Lookups.Cyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Cyclic")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t(`
julia
Cyclic <: AbstractCyclic
+  20    1.0  1.0  1.0   1.0

source

`,11))]),i("details",y,[i("summary",null,[s[15]||(s[15]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCyclic",href:"#DimensionalData.Dimensions.Lookups.AbstractCyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCyclic")],-1)),s[16]||(s[16]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[17]||(s[17]=t('
julia
AbstractCyclic <: AbstractSampled

An abstract supertype for cyclic lookups.

These are AbstractSampled lookups that are cyclic for Selectors.

source

',4))]),i("details",E,[i("summary",null,[s[18]||(s[18]=i("a",{id:"DimensionalData.Dimensions.Lookups.Cyclic",href:"#DimensionalData.Dimensions.Lookups.Cyclic"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Cyclic")],-1)),s[19]||(s[19]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[20]||(s[20]=t(`
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

`,8))]),i("details",m,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCategorical",href:"#DimensionalData.Dimensions.Lookups.AbstractCategorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCategorical")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',5))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.Lookups.Categorical",href:"#DimensionalData.Dimensions.Lookups.Categorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Categorical")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
julia
Categorical <: AbstractCategorical
+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

`,8))]),i("details",m,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractCategorical",href:"#DimensionalData.Dimensions.Lookups.AbstractCategorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractCategorical")],-1)),s[22]||(s[22]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[23]||(s[23]=t('
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

',5))]),i("details",D,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.Lookups.Categorical",href:"#DimensionalData.Dimensions.Lookups.Categorical"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Categorical")],-1)),s[25]||(s[25]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[26]||(s[26]=t(`
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
@@ -34,7 +34,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 # output
 
 Categorical{String} ["one", "two", "three"] Unordered,
-Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source

`,10))]),i("details",F,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unaligned",href:"#DimensionalData.Dimensions.Lookups.Unaligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unaligned")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t('
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

',4))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Lookups.Transformed",href:"#DimensionalData.Dimensions.Lookups.Transformed"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Transformed")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
julia
Transformed <: Unaligned
+Categorical{Symbol} [:a, :b, :c, :d] ForwardOrdered

source

`,10))]),i("details",F,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unaligned",href:"#DimensionalData.Dimensions.Lookups.Unaligned"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unaligned")],-1)),s[28]||(s[28]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[29]||(s[29]=t('
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

',4))]),i("details",C,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.Lookups.Transformed",href:"#DimensionalData.Dimensions.Lookups.Transformed"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Transformed")],-1)),s[31]||(s[31]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[32]||(s[32]=t(`
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
 
@@ -47,9 +47,9 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 da[X(At(6.0)), Y(At(2.0))]
 
 # output
-9

source

`,10))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.MergedLookup",href:"#DimensionalData.Dimensions.MergedLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.MergedLookup")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t(`
julia
MergedLookup <: Lookup
+9

source

`,10))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.MergedLookup",href:"#DimensionalData.Dimensions.MergedLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.MergedLookup")],-1)),s[34]||(s[34]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[35]||(s[35]=t(`
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

`,8))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoLookup",href:"#DimensionalData.Dimensions.Lookups.NoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoLookup")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
julia
NoLookup <: 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

`,8))]),i("details",f,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoLookup",href:"#DimensionalData.Dimensions.Lookups.NoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoLookup")],-1)),s[37]||(s[37]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[38]||(s[38]=t(`
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
 
@@ -64,26 +64,26 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 
 # output
 
-NoLookup, NoLookup

source

`,8))]),i("details",v,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoLookup",href:"#DimensionalData.Dimensions.Lookups.AutoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoLookup")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
julia
AutoLookup <: Lookup
+NoLookup, NoLookup

source

`,8))]),i("details",v,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoLookup",href:"#DimensionalData.Dimensions.Lookups.AutoLookup"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoLookup")],-1)),s[40]||(s[40]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[41]||(s[41]=t(`
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

`,4))]),i("details",j,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoValues",href:"#DimensionalData.Dimensions.Lookups.AutoValues"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoValues")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=t('
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

',3))]),s[175]||(s[175]=i("p",null,[a("The generic value getter "),i("code",null,"val")],-1)),i("details",B,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.Lookups.val",href:"#DimensionalData.Dimensions.Lookups.val"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.val")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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

`,5))]),s[176]||(s[176]=i("p",null,"Lookup methods:",-1)),i("details",L,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.Lookups.bounds",href:"#DimensionalData.Dimensions.Lookups.bounds"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.bounds")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
julia
bounds(xs, [dims::Tuple]) => Tuple{Vararg{Tuple{T,T}}}
+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

`,4))]),i("details",j,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoValues",href:"#DimensionalData.Dimensions.Lookups.AutoValues"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoValues")],-1)),s[43]||(s[43]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=t('
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

',3))]),s[175]||(s[175]=i("p",null,[a("The generic value getter "),i("code",null,"val")],-1)),i("details",B,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.Dimensions.Lookups.val",href:"#DimensionalData.Dimensions.Lookups.val"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.val")],-1)),s[46]||(s[46]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[47]||(s[47]=t(`
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

`,5))]),s[176]||(s[176]=i("p",null,"Lookup methods:",-1)),i("details",L,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.Dimensions.Lookups.bounds",href:"#DimensionalData.Dimensions.Lookups.bounds"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.bounds")],-1)),s[49]||(s[49]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[50]||(s[50]=t(`
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

`,5))]),i("details",A,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.Lookups.hasselection",href:"#DimensionalData.Dimensions.Lookups.hasselection"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.hasselection")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
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

`,3))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.Lookups.sampling",href:"#DimensionalData.Dimensions.Lookups.sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.sampling")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
julia
sampling(x, [dims::Tuple]) => Tuple
+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

`,5))]),i("details",A,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.Dimensions.Lookups.hasselection",href:"#DimensionalData.Dimensions.Lookups.hasselection"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.hasselection")],-1)),s[52]||(s[52]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[53]||(s[53]=t(`
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

`,3))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.Dimensions.Lookups.sampling",href:"#DimensionalData.Dimensions.Lookups.sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.sampling")],-1)),s[55]||(s[55]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[56]||(s[56]=t(`
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

`,4))]),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.Lookups.span",href:"#DimensionalData.Dimensions.Lookups.span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.span")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
julia
span(x, [dims::Tuple]) => Tuple
+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

`,4))]),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.Dimensions.Lookups.span",href:"#DimensionalData.Dimensions.Lookups.span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.span")],-1)),s[58]||(s[58]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[59]||(s[59]=t(`
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

`,4))]),i("details",w,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.Lookups.order",href:"#DimensionalData.Dimensions.Lookups.order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.order")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
julia
order(x, [dims::Tuple]) => Tuple
+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

`,4))]),i("details",w,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.Dimensions.Lookups.order",href:"#DimensionalData.Dimensions.Lookups.order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.order")],-1)),s[61]||(s[61]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[62]||(s[62]=t(`
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

`,4))]),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.Lookups.locus",href:"#DimensionalData.Dimensions.Lookups.locus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.locus")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t(`
julia
locus(x, [dims::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

`,4))]),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DimensionalData.Dimensions.Lookups.locus",href:"#DimensionalData.Dimensions.Lookups.locus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.locus")],-1)),s[64]||(s[64]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=t(`
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

`,4))]),i("details",O,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.Lookups.shiftlocus",href:"#DimensionalData.Dimensions.Lookups.shiftlocus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.shiftlocus")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
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

',4))]),s[177]||(s[177]=i("h2",{id:"selectors",tabindex:"-1"},[a("Selectors "),i("a",{class:"header-anchor",href:"#selectors","aria-label":'Permalink to "Selectors"'},"​")],-1)),i("details",I,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.Selector",href:"#DimensionalData.Dimensions.Lookups.Selector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Selector")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=t('
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

',10))]),i("details",q,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.Lookups.IntSelector",href:"#DimensionalData.Dimensions.Lookups.IntSelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.IntSelector")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[74]||(s[74]=t('
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source

',5))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.Lookups.ArraySelector",href:"#DimensionalData.Dimensions.Lookups.ArraySelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ArraySelector")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[77]||(s[77]=t('
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source

',5))]),i("details",P,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.Lookups.At",href:"#DimensionalData.Dimensions.Lookups.At"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.At")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=t(`
julia
At <: IntSelector
+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

`,4))]),i("details",O,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.Dimensions.Lookups.shiftlocus",href:"#DimensionalData.Dimensions.Lookups.shiftlocus"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.shiftlocus")],-1)),s[67]||(s[67]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[68]||(s[68]=t('
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

',4))]),s[177]||(s[177]=i("h2",{id:"selectors",tabindex:"-1"},[a("Selectors "),i("a",{class:"header-anchor",href:"#selectors","aria-label":'Permalink to "Selectors"'},"​")],-1)),i("details",I,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Dimensions.Lookups.Selector",href:"#DimensionalData.Dimensions.Lookups.Selector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Selector")],-1)),s[70]||(s[70]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=t('
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

',10))]),i("details",q,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.Dimensions.Lookups.IntSelector",href:"#DimensionalData.Dimensions.Lookups.IntSelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.IntSelector")],-1)),s[73]||(s[73]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[74]||(s[74]=t('
julia
IntSelector <: Selector

Abstract supertype for Selectors that return a single Int index.

IntSelectors provided by DimensionalData are:

source

',5))]),i("details",z,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.Dimensions.Lookups.ArraySelector",href:"#DimensionalData.Dimensions.Lookups.ArraySelector"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ArraySelector")],-1)),s[76]||(s[76]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[77]||(s[77]=t('
julia
ArraySelector <: Selector

Abstract supertype for Selectors that return an AbstractArray.

ArraySelectors provided by DimensionalData are:

source

',5))]),i("details",P,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.Dimensions.Lookups.At",href:"#DimensionalData.Dimensions.Lookups.At"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.At")],-1)),s[79]||(s[79]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=t(`
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
@@ -93,7 +93,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 
 # output
 
-5

source

`,7))]),i("details",N,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.Lookups.Near",href:"#DimensionalData.Dimensions.Lookups.Near"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Near")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[83]||(s[83]=t(`
julia
Near <: IntSelector
+5

source

`,7))]),i("details",N,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.Dimensions.Lookups.Near",href:"#DimensionalData.Dimensions.Lookups.Near"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Near")],-1)),s[82]||(s[82]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[83]||(s[83]=t(`
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
@@ -102,7 +102,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 A[X(Near(23)), Y(Near(5.1))]
 
 # output
-4

source

`,7))]),i("details",R,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.Lookups.Between",href:"#DimensionalData.Dimensions.Lookups.Between"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Between")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[86]||(s[86]=t(`
julia
Between <: ArraySelector
+4

source

`,7))]),i("details",R,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.Dimensions.Lookups.Between",href:"#DimensionalData.Dimensions.Lookups.Between"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Between")],-1)),s[85]||(s[85]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[86]||(s[86]=t(`
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
 
@@ -118,7 +118,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
  Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
 └────────────────────────────────────────────────────────────┘
   5  6
- 20    4  5

source

`,10))]),i("details",M,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.Lookups.Touches",href:"#DimensionalData.Dimensions.Lookups.Touches"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Touches")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[89]||(s[89]=t(`
julia
Touches <: ArraySelector
+ 20    4  5

source

`,10))]),i("details",M,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.Dimensions.Lookups.Touches",href:"#DimensionalData.Dimensions.Lookups.Touches"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Touches")],-1)),s[88]||(s[88]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[89]||(s[89]=t(`
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
 
@@ -133,7 +133,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
  Y Sampled{Int64} 5:6 ForwardOrdered Regular Points
 └────────────────────────────────────────────────────────────┘
   5  6
- 20    4  5

source

`,7))]),i("details",U,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.Contains",href:"#DimensionalData.Dimensions.Lookups.Contains"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Contains")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[92]||(s[92]=t(`
julia
Contains <: IntSelector
+ 20    4  5

source

`,7))]),i("details",U,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.Contains",href:"#DimensionalData.Dimensions.Lookups.Contains"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Contains")],-1)),s[91]||(s[91]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[92]||(s[92]=t(`
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
@@ -143,7 +143,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 A[X(Contains(8)), Y(Contains(6.8))]
 
 # output
-3

source

`,7))]),i("details",X,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.Where",href:"#DimensionalData.Dimensions.Lookups.Where"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Where")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[95]||(s[95]=t(`
julia
Where <: ArraySelector
+3

source

`,7))]),i("details",X,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.Where",href:"#DimensionalData.Dimensions.Lookups.Where"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Where")],-1)),s[94]||(s[94]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[95]||(s[95]=t(`
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
 
@@ -159,7 +159,7 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
  Y Sampled{Int64} [19, 21] ForwardOrdered Irregular Points
 └─────────────────────────────────────────────────────────────┘
   19  21
- 20     4   6

source

`,5))]),i("details",Y,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.All",href:"#DimensionalData.Dimensions.Lookups.All"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.All")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[98]||(s[98]=t(`
julia
All <: Selector
+ 20     4   6

source

`,5))]),i("details",Y,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.Dimensions.Lookups.All",href:"#DimensionalData.Dimensions.Lookups.All"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.All")],-1)),s[97]||(s[97]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[98]||(s[98]=t(`
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
 
@@ -177,42 +177,42 @@ import{_ as l,c as p,j as i,a,G as e,a4 as t,B as o,o as h}from"./chunks/framewo
 └──────────────────────────────────────────────────────────────────────────────┘
   1 s  6 s  91 s  96 s
  10.0    1    2    19    20
- 50.0    3    6    57    60

source

`,5))]),s[178]||(s[178]=i("h2",{id:"Lookup-traits",tabindex:"-1"},[a("Lookup traits "),i("a",{class:"header-anchor",href:"#Lookup-traits","aria-label":'Permalink to "Lookup traits {#Lookup-traits}"'},"​")],-1)),i("details",V,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.Lookups.LookupTrait",href:"#DimensionalData.Dimensions.Lookups.LookupTrait"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.LookupTrait")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[101]||(s[101]=t('
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

',5))]),s[179]||(s[179]=i("h3",{id:"order",tabindex:"-1"},[a("Order "),i("a",{class:"header-anchor",href:"#order","aria-label":'Permalink to "Order"'},"​")],-1)),i("details",W,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.Lookups.Order",href:"#DimensionalData.Dimensions.Lookups.Order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Order")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[104]||(s[104]=t('
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

',3))]),i("details",G,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.Lookups.Ordered",href:"#DimensionalData.Dimensions.Lookups.Ordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Ordered")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[107]||(s[107]=t('
julia
Ordered <: Order

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

source

',3))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.Dimensions.Lookups.ForwardOrdered",href:"#DimensionalData.Dimensions.Lookups.ForwardOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ForwardOrdered")],-1)),s[109]||(s[109]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[110]||(s[110]=t(`
julia
ForwardOrdered <: Ordered
+ 50.0    3    6    57    60

source

`,5))]),s[178]||(s[178]=i("h2",{id:"Lookup-traits",tabindex:"-1"},[a("Lookup traits "),i("a",{class:"header-anchor",href:"#Lookup-traits","aria-label":'Permalink to "Lookup traits {#Lookup-traits}"'},"​")],-1)),i("details",V,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.Dimensions.Lookups.LookupTrait",href:"#DimensionalData.Dimensions.Lookups.LookupTrait"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.LookupTrait")],-1)),s[100]||(s[100]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[101]||(s[101]=t('
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

',5))]),s[179]||(s[179]=i("h3",{id:"order",tabindex:"-1"},[a("Order "),i("a",{class:"header-anchor",href:"#order","aria-label":'Permalink to "Order"'},"​")],-1)),i("details",W,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.Dimensions.Lookups.Order",href:"#DimensionalData.Dimensions.Lookups.Order"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Order")],-1)),s[103]||(s[103]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[104]||(s[104]=t('
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

',3))]),i("details",G,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.Dimensions.Lookups.Ordered",href:"#DimensionalData.Dimensions.Lookups.Ordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Ordered")],-1)),s[106]||(s[106]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[107]||(s[107]=t('
julia
Ordered <: Order

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

source

',3))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.Dimensions.Lookups.ForwardOrdered",href:"#DimensionalData.Dimensions.Lookups.ForwardOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ForwardOrdered")],-1)),s[109]||(s[109]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[110]||(s[110]=t(`
julia
ForwardOrdered <: Ordered
 
-ForwardOrdered()

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

source

`,3))]),i("details",$,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.Dimensions.Lookups.ReverseOrdered",href:"#DimensionalData.Dimensions.Lookups.ReverseOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ReverseOrdered")],-1)),s[112]||(s[112]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[113]||(s[113]=t(`
julia
ReverseOrdered <: Ordered
+ForwardOrdered()

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

source

`,3))]),i("details",$,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.Dimensions.Lookups.ReverseOrdered",href:"#DimensionalData.Dimensions.Lookups.ReverseOrdered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.ReverseOrdered")],-1)),s[112]||(s[112]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[113]||(s[113]=t(`
julia
ReverseOrdered <: Ordered
 
-ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source

`,3))]),i("details",H,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unordered",href:"#DimensionalData.Dimensions.Lookups.Unordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unordered")],-1)),s[115]||(s[115]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[116]||(s[116]=t(`
julia
Unordered <: Order
+ReverseOrdered()

Indicates that the Lookup index is in the reverse order.

source

`,3))]),i("details",H,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.Dimensions.Lookups.Unordered",href:"#DimensionalData.Dimensions.Lookups.Unordered"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Unordered")],-1)),s[115]||(s[115]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[116]||(s[116]=t(`
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

`,4))]),i("details",J,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoOrder",href:"#DimensionalData.Dimensions.Lookups.AutoOrder"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoOrder")],-1)),s[118]||(s[118]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[119]||(s[119]=t(`
julia
AutoOrder <: 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

`,4))]),i("details",J,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoOrder",href:"#DimensionalData.Dimensions.Lookups.AutoOrder"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoOrder")],-1)),s[118]||(s[118]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[119]||(s[119]=t(`
julia
AutoOrder <: Order
 
-AutoOrder()

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

source

`,3))]),s[180]||(s[180]=i("h3",{id:"span",tabindex:"-1"},[a("Span "),i("a",{class:"header-anchor",href:"#span","aria-label":'Permalink to "Span"'},"​")],-1)),i("details",Q,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.Dimensions.Lookups.Span",href:"#DimensionalData.Dimensions.Lookups.Span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Span")],-1)),s[121]||(s[121]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[122]||(s[122]=t('
julia
Span <: LookupTrait

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

source

',3))]),i("details",Z,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.Dimensions.Lookups.Regular",href:"#DimensionalData.Dimensions.Lookups.Regular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Regular")],-1)),s[124]||(s[124]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[125]||(s[125]=t(`
julia
Regular <: Span
+AutoOrder()

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

source

`,3))]),s[180]||(s[180]=i("h3",{id:"span",tabindex:"-1"},[a("Span "),i("a",{class:"header-anchor",href:"#span","aria-label":'Permalink to "Span"'},"​")],-1)),i("details",Q,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.Dimensions.Lookups.Span",href:"#DimensionalData.Dimensions.Lookups.Span"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Span")],-1)),s[121]||(s[121]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[122]||(s[122]=t('
julia
Span <: LookupTrait

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

source

',3))]),i("details",Z,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.Dimensions.Lookups.Regular",href:"#DimensionalData.Dimensions.Lookups.Regular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Regular")],-1)),s[124]||(s[124]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[125]||(s[125]=t(`
julia
Regular <: Span
 
-Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source

`,3))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.Dimensions.Lookups.Irregular",href:"#DimensionalData.Dimensions.Lookups.Irregular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Irregular")],-1)),s[127]||(s[127]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[128]||(s[128]=t(`
julia
Irregular <: Span
+Regular(step=AutoStep())

Points or Intervals that have a fixed, regular step.

source

`,3))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.Dimensions.Lookups.Irregular",href:"#DimensionalData.Dimensions.Lookups.Irregular"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Irregular")],-1)),s[127]||(s[127]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[128]||(s[128]=t(`
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

`,3))]),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"DimensionalData.Dimensions.Lookups.Explicit",href:"#DimensionalData.Dimensions.Lookups.Explicit"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Explicit")],-1)),s[130]||(s[130]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[131]||(s[131]=t('
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

',4))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoSpan",href:"#DimensionalData.Dimensions.Lookups.AutoSpan"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoSpan")],-1)),s[133]||(s[133]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[134]||(s[134]=t(`
julia
AutoSpan <: Span
+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

`,3))]),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"DimensionalData.Dimensions.Lookups.Explicit",href:"#DimensionalData.Dimensions.Lookups.Explicit"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Explicit")],-1)),s[130]||(s[130]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[131]||(s[131]=t('
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

',4))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoSpan",href:"#DimensionalData.Dimensions.Lookups.AutoSpan"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoSpan")],-1)),s[133]||(s[133]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[134]||(s[134]=t(`
julia
AutoSpan <: Span
 
-AutoSpan()

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

source

`,3))]),s[181]||(s[181]=i("h3",{id:"sampling",tabindex:"-1"},[a("Sampling "),i("a",{class:"header-anchor",href:"#sampling","aria-label":'Permalink to "Sampling"'},"​")],-1)),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampling",href:"#DimensionalData.Dimensions.Lookups.Sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampling")],-1)),s[136]||(s[136]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[137]||(s[137]=t('
julia
Sampling <: LookupTrait

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

source

',3))]),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.Dimensions.Lookups.Points",href:"#DimensionalData.Dimensions.Lookups.Points"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Points")],-1)),s[139]||(s[139]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=t(`
julia
Points <: Sampling
+AutoSpan()

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

source

`,3))]),s[181]||(s[181]=i("h3",{id:"sampling",tabindex:"-1"},[a("Sampling "),i("a",{class:"header-anchor",href:"#sampling","aria-label":'Permalink to "Sampling"'},"​")],-1)),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"DimensionalData.Dimensions.Lookups.Sampling",href:"#DimensionalData.Dimensions.Lookups.Sampling"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Sampling")],-1)),s[136]||(s[136]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[137]||(s[137]=t('
julia
Sampling <: LookupTrait

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

source

',3))]),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.Dimensions.Lookups.Points",href:"#DimensionalData.Dimensions.Lookups.Points"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Points")],-1)),s[139]||(s[139]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=t(`
julia
Points <: Sampling
 
-Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source

`,4))]),i("details",es,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Dimensions.Lookups.Intervals",href:"#DimensionalData.Dimensions.Lookups.Intervals"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Intervals")],-1)),s[142]||(s[142]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=t(`
julia
Intervals <: Sampling
+Points()

Sampling lookup where single samples at exact points.

These are always plotted at the center of array cells.

source

`,4))]),i("details",es,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Dimensions.Lookups.Intervals",href:"#DimensionalData.Dimensions.Lookups.Intervals"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Intervals")],-1)),s[142]||(s[142]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=t(`
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

`,4))]),s[182]||(s[182]=i("h3",{id:"positions",tabindex:"-1"},[a("Positions "),i("a",{class:"header-anchor",href:"#positions","aria-label":'Permalink to "Positions"'},"​")],-1)),i("details",ts,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.Dimensions.Lookups.Position",href:"#DimensionalData.Dimensions.Lookups.Position"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Position")],-1)),s[145]||(s[145]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=t('
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

',5))]),i("details",ls,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.Dimensions.Lookups.Center",href:"#DimensionalData.Dimensions.Lookups.Center"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Center")],-1)),s[148]||(s[148]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=t(`
julia
Center <: Position
+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

`,4))]),s[182]||(s[182]=i("h3",{id:"positions",tabindex:"-1"},[a("Positions "),i("a",{class:"header-anchor",href:"#positions","aria-label":'Permalink to "Positions"'},"​")],-1)),i("details",ts,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.Dimensions.Lookups.Position",href:"#DimensionalData.Dimensions.Lookups.Position"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Position")],-1)),s[145]||(s[145]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=t('
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

',5))]),i("details",ls,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.Dimensions.Lookups.Center",href:"#DimensionalData.Dimensions.Lookups.Center"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Center")],-1)),s[148]||(s[148]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=t(`
julia
Center <: Position
 
-Center()

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

source

`,3))]),i("details",ps,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.Dimensions.Lookups.Start",href:"#DimensionalData.Dimensions.Lookups.Start"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Start")],-1)),s[151]||(s[151]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=t(`
julia
Start <: Position
+Center()

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

source

`,3))]),i("details",ps,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.Dimensions.Lookups.Start",href:"#DimensionalData.Dimensions.Lookups.Start"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Start")],-1)),s[151]||(s[151]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=t(`
julia
Start <: Position
 
-Start()

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

source

`,3))]),i("details",os,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.Dimensions.Lookups.Begin",href:"#DimensionalData.Dimensions.Lookups.Begin"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Begin")],-1)),s[154]||(s[154]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[155]||(s[155]=t(`
julia
Begin <: Position
+Start()

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

source

`,3))]),i("details",os,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.Dimensions.Lookups.Begin",href:"#DimensionalData.Dimensions.Lookups.Begin"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Begin")],-1)),s[154]||(s[154]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[155]||(s[155]=t(`
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

`,4))]),i("details",hs,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.Dimensions.Lookups.End",href:"#DimensionalData.Dimensions.Lookups.End"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.End")],-1)),s[157]||(s[157]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[158]||(s[158]=t(`
julia
End <: 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

`,4))]),i("details",hs,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.Dimensions.Lookups.End",href:"#DimensionalData.Dimensions.Lookups.End"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.End")],-1)),s[157]||(s[157]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[158]||(s[158]=t(`
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

`,4))]),i("details",ks,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoPosition",href:"#DimensionalData.Dimensions.Lookups.AutoPosition"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoPosition")],-1)),s[160]||(s[160]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[161]||(s[161]=t(`
julia
AutoPosition <: 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

`,4))]),i("details",ks,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.Dimensions.Lookups.AutoPosition",href:"#DimensionalData.Dimensions.Lookups.AutoPosition"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AutoPosition")],-1)),s[160]||(s[160]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[161]||(s[161]=t(`
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

`,3))]),s[183]||(s[183]=i("h2",{id:"metadata",tabindex:"-1"},[a("Metadata "),i("a",{class:"header-anchor",href:"#metadata","aria-label":'Permalink to "Metadata"'},"​")],-1)),i("details",rs,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractMetadata",href:"#DimensionalData.Dimensions.Lookups.AbstractMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractMetadata")],-1)),s[163]||(s[163]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[164]||(s[164]=t('
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

',5))]),i("details",ds,[i("summary",null,[s[165]||(s[165]=i("a",{id:"DimensionalData.Dimensions.Lookups.Metadata",href:"#DimensionalData.Dimensions.Lookups.Metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Metadata")],-1)),s[166]||(s[166]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[167]||(s[167]=t(`
julia
Metadata <: AbstractMetadata
+AutoPosition()

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

source

`,3))]),s[183]||(s[183]=i("h2",{id:"metadata",tabindex:"-1"},[a("Metadata "),i("a",{class:"header-anchor",href:"#metadata","aria-label":'Permalink to "Metadata"'},"​")],-1)),i("details",rs,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.Dimensions.Lookups.AbstractMetadata",href:"#DimensionalData.Dimensions.Lookups.AbstractMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.AbstractMetadata")],-1)),s[163]||(s[163]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[164]||(s[164]=t('
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

',5))]),i("details",ds,[i("summary",null,[s[165]||(s[165]=i("a",{id:"DimensionalData.Dimensions.Lookups.Metadata",href:"#DimensionalData.Dimensions.Lookups.Metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.Metadata")],-1)),s[166]||(s[166]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[167]||(s[167]=t(`
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

`,3))]),i("details",gs,[i("summary",null,[s[168]||(s[168]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoMetadata",href:"#DimensionalData.Dimensions.Lookups.NoMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoMetadata")],-1)),s[169]||(s[169]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[170]||(s[170]=t(`
julia
NoMetadata <: AbstractMetadata
+Metadata{X}(; kw...) => Metadata{NamedTuple}

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

source

`,3))]),i("details",gs,[i("summary",null,[s[168]||(s[168]=i("a",{id:"DimensionalData.Dimensions.Lookups.NoMetadata",href:"#DimensionalData.Dimensions.Lookups.NoMetadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.NoMetadata")],-1)),s[169]||(s[169]=a()),e(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[170]||(s[170]=t(`
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

`,3))]),i("details",cs,[i("summary",null,[s[171]||(s[171]=i("a",{id:"DimensionalData.Dimensions.Lookups.units",href:"#DimensionalData.Dimensions.Lookups.units"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.units")],-1)),s[172]||(s[172]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[173]||(s[173]=t(`
julia
units(x) => Union{Nothing,Any}
+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

`,3))]),i("details",cs,[i("summary",null,[s[171]||(s[171]=i("a",{id:"DimensionalData.Dimensions.Lookups.units",href:"#DimensionalData.Dimensions.Lookups.units"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.units")],-1)),s[172]||(s[172]=a()),e(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[173]||(s[173]=t(`
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

`,5))])])}const fs=l(k,[["render",us]]);export{bs as __pageData,fs as default}; +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

`,5))])])}const fs=l(k,[["render",us]]);export{bs as __pageData,fs as default}; diff --git a/dev/assets/api_reference.md.Cbzd03zL.js b/dev/assets/api_reference.md.CbFETIiO.js similarity index 98% rename from dev/assets/api_reference.md.Cbzd03zL.js rename to dev/assets/api_reference.md.CbFETIiO.js index ce337a054..b7f4d5607 100644 --- a/dev/assets/api_reference.md.Cbzd03zL.js +++ b/dev/assets/api_reference.md.CbFETIiO.js @@ -1,4 +1,4 @@ -import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framework.B8l2DGq3.js";const ms=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api/reference.md","filePath":"api/reference.md","lastUpdated":null}'),d={name:"api/reference.md"},r={class:"jldocstring custom-block",open:""},o={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""};function os(gs,s,Es,ys,cs,Fs){const n=k("Badge");return p(),h("div",null,[s[165]||(s[165]=i("h1",{id:"API-Reference",tabindex:"-1"},[a("API Reference "),i("a",{class:"header-anchor",href:"#API-Reference","aria-label":'Permalink to "API Reference {#API-Reference}"'},"​")],-1)),s[166]||(s[166]=i("h2",{id:"arrays",tabindex:"-1"},[a("Arrays "),i("a",{class:"header-anchor",href:"#arrays","aria-label":'Permalink to "Arrays"'},"​")],-1)),i("details",r,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.AbstractBasicDimArray",href:"#DimensionalData.AbstractBasicDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractBasicDimArray")],-1)),s[1]||(s[1]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[2]||(s[2]=l('
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

',4))]),i("details",o,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.AbstractDimArray",href:"#DimensionalData.AbstractDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimArray")],-1)),s[4]||(s[4]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=l('
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

',8))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.DimArray",href:"#DimensionalData.DimArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimArray")],-1)),s[7]||(s[7]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=l(`
julia
DimArray <: AbstractDimArray
+import{_ as h,c as e,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framework.BAAK0EyE.js";const ms=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api/reference.md","filePath":"api/reference.md","lastUpdated":null}'),r={name:"api/reference.md"},d={class:"jldocstring custom-block",open:""},o={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""};function os(gs,s,Es,ys,cs,Fs){const n=k("Badge");return p(),e("div",null,[s[165]||(s[165]=i("h1",{id:"API-Reference",tabindex:"-1"},[a("API Reference "),i("a",{class:"header-anchor",href:"#API-Reference","aria-label":'Permalink to "API Reference {#API-Reference}"'},"​")],-1)),s[166]||(s[166]=i("h2",{id:"arrays",tabindex:"-1"},[a("Arrays "),i("a",{class:"header-anchor",href:"#arrays","aria-label":'Permalink to "Arrays"'},"​")],-1)),i("details",d,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.AbstractBasicDimArray",href:"#DimensionalData.AbstractBasicDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractBasicDimArray")],-1)),s[1]||(s[1]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[2]||(s[2]=l('
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

',4))]),i("details",o,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.AbstractDimArray",href:"#DimensionalData.AbstractDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimArray")],-1)),s[4]||(s[4]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=l('
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

',8))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.DimArray",href:"#DimensionalData.DimArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimArray")],-1)),s[7]||(s[7]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=l(`
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
@@ -27,7 +27,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  20  0.774092
  30  0.823656
  40  0.637077
- 50  0.692235

source

`,10))]),s[167]||(s[167]=i("p",null,[a("Shorthand "),i("code",null,"AbstractDimArray"),a(" constructors:")],-1)),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"Base.fill",href:"#Base.fill"},[i("span",{class:"jlbinding"},"Base.fill")],-1)),s[10]||(s[10]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=l(`
julia
Base.fill(x, dims::Dimension...; kw...) => DimArray
+ 50  0.692235

source

`,10))]),s[167]||(s[167]=i("p",null,[a("Shorthand "),i("code",null,"AbstractDimArray"),a(" constructors:")],-1)),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"Base.fill",href:"#Base.fill"},[i("span",{class:"jlbinding"},"Base.fill")],-1)),s[10]||(s[10]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=l(`
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))
@@ -37,7 +37,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  X,  Y
 └──────────────────────┘
  0  0  0  0
- 1  0  0  1

source

`,8))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"Base.rand",href:"#Base.rand"},[i("span",{class:"jlbinding"},"Base.rand")],-1)),s[13]||(s[13]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[14]||(s[14]=l(`
julia
Base.rand(x, dims::Dimension...; kw...) => DimArray
+ 1  0  0  1

source

`,8))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"Base.rand",href:"#Base.rand"},[i("span",{class:"jlbinding"},"Base.rand")],-1)),s[13]||(s[13]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[14]||(s[14]=l(`
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
@@ -61,7 +61,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,8))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"Base.zeros",href:"#Base.zeros"},[i("span",{class:"jlbinding"},"Base.zeros")],-1)),s[16]||(s[16]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[17]||(s[17]=l(`
julia
Base.zeros(x, dims::Dimension...; kw...) => DimArray
+  :c    0.512083    0.427328    0.311448

source

`,8))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"Base.zeros",href:"#Base.zeros"},[i("span",{class:"jlbinding"},"Base.zeros")],-1)),s[16]||(s[16]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[17]||(s[17]=l(`
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))
@@ -83,7 +83,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,8))]),i("details",F,[i("summary",null,[s[18]||(s[18]=i("a",{id:"Base.ones",href:"#Base.ones"},[i("span",{class:"jlbinding"},"Base.ones")],-1)),s[19]||(s[19]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[20]||(s[20]=l(`
julia
Base.ones(x, dims::Dimension...; kw...) => DimArray
+  :c    0.0    0.0    0.0

source

`,8))]),i("details",F,[i("summary",null,[s[18]||(s[18]=i("a",{id:"Base.ones",href:"#Base.ones"},[i("span",{class:"jlbinding"},"Base.ones")],-1)),s[19]||(s[19]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[20]||(s[20]=l(`
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))
@@ -105,8 +105,8 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,8))]),s[168]||(s[168]=i("p",null,"Functions for getting information from objects:",-1)),i("details",C,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.dims",href:"#DimensionalData.Dimensions.dims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[22]||(s[22]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[23]||(s[23]=l(`
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}}
+  :c    1.0    1.0    1.0

source

`,8))]),s[168]||(s[168]=i("p",null,"Functions for getting information from objects:",-1)),i("details",C,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.dims",href:"#DimensionalData.Dimensions.dims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[22]||(s[22]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[23]||(s[23]=l(`
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))
@@ -120,13 +120,13 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  1.0  1.0  1.0
 
 julia> dims(A, (X, Y))
-( X,  Y)

source

`,13))]),i("details",m,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.refdims",href:"#DimensionalData.Dimensions.refdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.refdims")],-1)),s[25]||(s[25]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[26]||(s[26]=l(`
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

`,5))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.metadata",href:"#DimensionalData.Dimensions.Lookups.metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.metadata")],-1)),s[28]||(s[28]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[29]||(s[29]=l(`
julia
metadata(x) => (object metadata)
+( X,  Y)

source

`,13))]),i("details",m,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.refdims",href:"#DimensionalData.Dimensions.refdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.refdims")],-1)),s[25]||(s[25]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[26]||(s[26]=l(`
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

`,5))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.metadata",href:"#DimensionalData.Dimensions.Lookups.metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.metadata")],-1)),s[28]||(s[28]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[29]||(s[29]=l(`
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

`,4))]),i("details",D,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.name",href:"#DimensionalData.Dimensions.name"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name")],-1)),s[31]||(s[31]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[32]||(s[32]=l(`
julia
name(x) => Symbol
+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

`,4))]),i("details",D,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.name",href:"#DimensionalData.Dimensions.name"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name")],-1)),s[31]||(s[31]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[32]||(s[32]=l(`
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

`,4))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.otherdims",href:"#DimensionalData.Dimensions.otherdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[34]||(s[34]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[35]||(s[35]=l(`
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
+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

`,4))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.otherdims",href:"#DimensionalData.Dimensions.otherdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[34]||(s[34]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[35]||(s[35]=l(`
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));
 
@@ -134,7 +134,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 ( Y,  Z)
 
 julia> otherdims(A, (Y, Z))
-( X)

source

`,8))]),i("details",B,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.dimnum",href:"#DimensionalData.Dimensions.dimnum"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[37]||(s[37]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[38]||(s[38]=l(`
julia
dimnum(x, query::Tuple) => NTuple{Int}
+( X)

source

`,8))]),i("details",B,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.dimnum",href:"#DimensionalData.Dimensions.dimnum"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[37]||(s[37]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[38]||(s[38]=l(`
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));
@@ -143,7 +143,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 (3, 1, 2)
 
 julia> dimnum(A, Y)
-2

source

`,8))]),i("details",A,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.hasdim",href:"#DimensionalData.Dimensions.hasdim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[40]||(s[40]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[41]||(s[41]=l(`
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+2

source

`,8))]),i("details",A,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.hasdim",href:"#DimensionalData.Dimensions.hasdim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[40]||(s[40]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[41]||(s[41]=l(`
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
 
@@ -156,7 +156,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 (true, true, true)
 
 julia> hasdim(A, Ti)
-false

source

`,8))]),s[169]||(s[169]=i("h2",{id:"Multi-array-datasets",tabindex:"-1"},[a("Multi-array datasets "),i("a",{class:"header-anchor",href:"#Multi-array-datasets","aria-label":'Permalink to "Multi-array datasets {#Multi-array-datasets}"'},"​")],-1)),i("details",f,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.AbstractDimStack",href:"#DimensionalData.AbstractDimStack"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimStack")],-1)),s[43]||(s[43]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=l('
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

',10))]),i("details",j,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.DimStack",href:"#DimensionalData.DimStack"},[i("span",{class:"jlbinding"},"DimensionalData.DimStack")],-1)),s[46]||(s[46]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[47]||(s[47]=l(`
julia
DimStack <: AbstractDimStack
+false

source

`,8))]),s[169]||(s[169]=i("h2",{id:"Multi-array-datasets",tabindex:"-1"},[a("Multi-array datasets "),i("a",{class:"header-anchor",href:"#Multi-array-datasets","aria-label":'Permalink to "Multi-array datasets {#Multi-array-datasets}"'},"​")],-1)),i("details",f,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.AbstractDimStack",href:"#DimensionalData.AbstractDimStack"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimStack")],-1)),s[43]||(s[43]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=l('
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

',10))]),i("details",j,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.DimStack",href:"#DimensionalData.DimStack"},[i("span",{class:"jlbinding"},"DimensionalData.DimStack")],-1)),s[46]||(s[46]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[47]||(s[47]=l(`
julia
DimStack <: AbstractDimStack
 
 DimStack(data::AbstractDimArray...; kw...)
 DimStack(data::Tuple{Vararg{AbstractDimArray}}; kw...)
@@ -183,7 +183,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 (one = 4.0, two = 8.0, three = 12.0)
 
 julia> s[X(At(:a))] isa DimStack
-true

source

`,16))]),s[170]||(s[170]=i("h2",{id:"Dimension-generators",tabindex:"-1"},[a("Dimension generators "),i("a",{class:"header-anchor",href:"#Dimension-generators","aria-label":'Permalink to "Dimension generators {#Dimension-generators}"'},"​")],-1)),i("details",v,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.DimIndices",href:"#DimensionalData.DimIndices"},[i("span",{class:"jlbinding"},"DimensionalData.DimIndices")],-1)),s[49]||(s[49]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[50]||(s[50]=l(`
julia
DimIndices <: AbstractArray
+true

source

`,16))]),s[170]||(s[170]=i("h2",{id:"Dimension-generators",tabindex:"-1"},[a("Dimension generators "),i("a",{class:"header-anchor",href:"#Dimension-generators","aria-label":'Permalink to "Dimension generators {#Dimension-generators}"'},"​")],-1)),i("details",v,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.DimIndices",href:"#DimensionalData.DimIndices"},[i("span",{class:"jlbinding"},"DimensionalData.DimIndices")],-1)),s[49]||(s[49]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[50]||(s[50]=l(`
julia
DimIndices <: AbstractArray
 
 DimIndices(x)
 DimIndices(dims::Tuple)
@@ -220,7 +220,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 └─────────────────────────────────────────────────────────────────┘
    'a'       'c'
  0.0  0.9063    0.0991336
- 0.6  0.745673  0.692209

source

`,9))]),i("details",w,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.DimSelectors",href:"#DimensionalData.DimSelectors"},[i("span",{class:"jlbinding"},"DimensionalData.DimSelectors")],-1)),s[52]||(s[52]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[53]||(s[53]=l(`
julia
DimSelectors <: AbstractArray
+ 0.6  0.745673  0.692209

source

`,9))]),i("details",w,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.DimSelectors",href:"#DimensionalData.DimSelectors"},[i("span",{class:"jlbinding"},"DimensionalData.DimSelectors")],-1)),s[52]||(s[52]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[53]||(s[53]=l(`
julia
DimSelectors <: AbstractArray
 
 DimSelectors(x; selectors, atol...)
 DimSelectors(dims::Tuple; selectors, atol...)
@@ -238,11 +238,11 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,10))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.DimPoints",href:"#DimensionalData.DimPoints"},[i("span",{class:"jlbinding"},"DimensionalData.DimPoints")],-1)),s[55]||(s[55]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[56]||(s[56]=l(`
julia
DimPoints <: AbstractArray
+ 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

`,10))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.DimPoints",href:"#DimensionalData.DimPoints"},[i("span",{class:"jlbinding"},"DimensionalData.DimPoints")],-1)),s[55]||(s[55]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[56]||(s[56]=l(`
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

`,6))]),s[171]||(s[171]=i("h2",{id:"Tables.jl/TableTraits.jl-interface",tabindex:"-1"},[a("Tables.jl/TableTraits.jl interface "),i("a",{class:"header-anchor",href:"#Tables.jl/TableTraits.jl-interface","aria-label":'Permalink to "Tables.jl/TableTraits.jl interface {#Tables.jl/TableTraits.jl-interface}"'},"​")],-1)),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.AbstractDimTable",href:"#DimensionalData.AbstractDimTable"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimTable")],-1)),s[58]||(s[58]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[59]||(s[59]=l('
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source

',3))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.DimTable",href:"#DimensionalData.DimTable"},[i("span",{class:"jlbinding"},"DimensionalData.DimTable")],-1)),s[61]||(s[61]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[62]||(s[62]=l(`
julia
DimTable <: AbstractDimTable
+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

`,6))]),s[171]||(s[171]=i("h2",{id:"Tables.jl/TableTraits.jl-interface",tabindex:"-1"},[a("Tables.jl/TableTraits.jl interface "),i("a",{class:"header-anchor",href:"#Tables.jl/TableTraits.jl-interface","aria-label":'Permalink to "Tables.jl/TableTraits.jl interface {#Tables.jl/TableTraits.jl-interface}"'},"​")],-1)),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.AbstractDimTable",href:"#DimensionalData.AbstractDimTable"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimTable")],-1)),s[58]||(s[58]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[59]||(s[59]=l('
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source

',3))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.DimTable",href:"#DimensionalData.DimTable"},[i("span",{class:"jlbinding"},"DimensionalData.DimTable")],-1)),s[61]||(s[61]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[62]||(s[62]=l(`
julia
DimTable <: AbstractDimTable
 
 DimTable(s::AbstractDimStack; mergedims=nothing)
 DimTable(x::AbstractDimArray; layersfrom=nothing, mergedims=nothing)
@@ -272,7 +272,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
  1.0  1.0  1.0  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

`,10))]),s[172]||(s[172]=i("h1",{id:"Group-by-methods",tabindex:"-1"},[a("Group by methods "),i("a",{class:"header-anchor",href:"#Group-by-methods","aria-label":'Permalink to "Group by methods {#Group-by-methods}"'},"​")],-1)),s[173]||(s[173]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DataAPI.groupby",href:"#DataAPI.groupby"},[i("span",{class:"jlbinding"},"DataAPI.groupby")],-1)),s[64]||(s[64]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=l(`
julia
groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Pair...)
+julia>

source

`,10))]),s[172]||(s[172]=i("h1",{id:"Group-by-methods",tabindex:"-1"},[a("Group by methods "),i("a",{class:"header-anchor",href:"#Group-by-methods","aria-label":'Permalink to "Group by methods {#Group-by-methods}"'},"​")],-1)),s[173]||(s[173]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DataAPI.groupby",href:"#DataAPI.groupby"},[i("span",{class:"jlbinding"},"DataAPI.groupby")],-1)),s[64]||(s[64]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=l(`
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)));
@@ -325,8 +325,8 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 
  10        0.501105     0.500644
  11        0.498606     0.498801
- 12        0.501643     0.499298

source

`,18))]),i("details",I,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.DimGroupByArray",href:"#DimensionalData.DimGroupByArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimGroupByArray")],-1)),s[67]||(s[67]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[68]||(s[68]=l('
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

',5))]),i("details",O,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Bins",href:"#DimensionalData.Bins"},[i("span",{class:"jlbinding"},"DimensionalData.Bins")],-1)),s[70]||(s[70]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=l(`
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

`,7))]),i("details",N,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.ranges",href:"#DimensionalData.ranges"},[i("span",{class:"jlbinding"},"DimensionalData.ranges")],-1)),s[73]||(s[73]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=l('
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",q,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.intervals",href:"#DimensionalData.intervals"},[i("span",{class:"jlbinding"},"DimensionalData.intervals")],-1)),s[76]||(s[76]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=l('
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",z,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.CyclicBins",href:"#DimensionalData.CyclicBins"},[i("span",{class:"jlbinding"},"DimensionalData.CyclicBins")],-1)),s[79]||(s[79]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=l('
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

',7))]),i("details",X,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.seasons",href:"#DimensionalData.seasons"},[i("span",{class:"jlbinding"},"DimensionalData.seasons")],-1)),s[82]||(s[82]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=l('
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

',5))]),i("details",Y,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.months",href:"#DimensionalData.months"},[i("span",{class:"jlbinding"},"DimensionalData.months")],-1)),s[85]||(s[85]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=l('
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

',6))]),i("details",P,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.hours",href:"#DimensionalData.hours"},[i("span",{class:"jlbinding"},"DimensionalData.hours")],-1)),s[88]||(s[88]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=l('
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

',6))]),s[174]||(s[174]=i("h1",{id:"Utility-methods",tabindex:"-1"},[a("Utility methods "),i("a",{class:"header-anchor",href:"#Utility-methods","aria-label":'Permalink to "Utility methods {#Utility-methods}"'},"​")],-1)),s[175]||(s[175]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",R,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.set",href:"#DimensionalData.Dimensions.Lookups.set"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.set")],-1)),s[91]||(s[91]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=l(`
julia
set(x, val)
+ 12        0.501643     0.499298

source

`,18))]),i("details",I,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.DimGroupByArray",href:"#DimensionalData.DimGroupByArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimGroupByArray")],-1)),s[67]||(s[67]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[68]||(s[68]=l('
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

',5))]),i("details",O,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Bins",href:"#DimensionalData.Bins"},[i("span",{class:"jlbinding"},"DimensionalData.Bins")],-1)),s[70]||(s[70]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=l(`
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

`,7))]),i("details",N,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.ranges",href:"#DimensionalData.ranges"},[i("span",{class:"jlbinding"},"DimensionalData.ranges")],-1)),s[73]||(s[73]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=l('
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",q,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.intervals",href:"#DimensionalData.intervals"},[i("span",{class:"jlbinding"},"DimensionalData.intervals")],-1)),s[76]||(s[76]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=l('
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",z,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.CyclicBins",href:"#DimensionalData.CyclicBins"},[i("span",{class:"jlbinding"},"DimensionalData.CyclicBins")],-1)),s[79]||(s[79]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=l('
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

',7))]),i("details",X,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.seasons",href:"#DimensionalData.seasons"},[i("span",{class:"jlbinding"},"DimensionalData.seasons")],-1)),s[82]||(s[82]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=l('
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

',5))]),i("details",Y,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.months",href:"#DimensionalData.months"},[i("span",{class:"jlbinding"},"DimensionalData.months")],-1)),s[85]||(s[85]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=l('
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

',6))]),i("details",P,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.hours",href:"#DimensionalData.hours"},[i("span",{class:"jlbinding"},"DimensionalData.hours")],-1)),s[88]||(s[88]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=l('
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

',6))]),s[174]||(s[174]=i("h1",{id:"Utility-methods",tabindex:"-1"},[a("Utility methods "),i("a",{class:"header-anchor",href:"#Utility-methods","aria-label":'Permalink to "Utility methods {#Utility-methods}"'},"​")],-1)),s[175]||(s[175]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",R,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.set",href:"#DimensionalData.Dimensions.Lookups.set"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.set")],-1)),s[91]||(s[91]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=l(`
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
@@ -387,11 +387,11 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   -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

`,20))]),i("details",G,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.rebuild",href:"#DimensionalData.Dimensions.Lookups.rebuild"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.rebuild")],-1)),s[94]||(s[94]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=l('
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

',18))]),i("details",V,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.modify",href:"#DimensionalData.modify"},[i("span",{class:"jlbinding"},"DimensionalData.modify")],-1)),s[97]||(s[97]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=l(`
julia
modify(f, A::AbstractDimArray) => AbstractDimArray
+ 30.0    0.0    0.0  0.0   0.0

source

`,20))]),i("details",G,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.rebuild",href:"#DimensionalData.Dimensions.Lookups.rebuild"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.rebuild")],-1)),s[94]||(s[94]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=l('
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

',18))]),i("details",V,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.modify",href:"#DimensionalData.modify"},[i("span",{class:"jlbinding"},"DimensionalData.modify")],-1)),s[97]||(s[97]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=l(`
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

`,8))]),i("details",M,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.@d",href:"#DimensionalData.@d"},[i("span",{class:"jlbinding"},"DimensionalData.@d")],-1)),s[100]||(s[100]=a()),t(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[101]||(s[101]=l(`
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
+modify(CuArray, A)

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

source

`,8))]),i("details",M,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.@d",href:"#DimensionalData.@d"},[i("span",{class:"jlbinding"},"DimensionalData.@d")],-1)),s[100]||(s[100]=a()),t(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[101]||(s[101]=l(`
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))
 
@@ -403,7 +403,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 
 @d @. da1 * da2
 # Use parentheses areound \`@.\` if you need to pass options
-@d (@. da1 * da2 .+ 5) dims=(Y, X)

source

`,13))]),i("details",U,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.broadcast_dims",href:"#DimensionalData.broadcast_dims"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims")],-1)),s[103]||(s[103]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=l('
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

',6))]),i("details",Z,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.broadcast_dims!",href:"#DimensionalData.broadcast_dims!"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims!")],-1)),s[106]||(s[106]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=l('
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

',6))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.mergedims",href:"#DimensionalData.mergedims"},[i("span",{class:"jlbinding"},"DimensionalData.mergedims")],-1)),s[109]||(s[109]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[110]||(s[110]=l(`
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
+@d (@. da1 * da2 .+ 5) dims=(Y, X)

source

`,13))]),i("details",U,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.broadcast_dims",href:"#DimensionalData.broadcast_dims"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims")],-1)),s[103]||(s[103]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=l('
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

',6))]),i("details",Z,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.broadcast_dims!",href:"#DimensionalData.broadcast_dims!"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims!")],-1)),s[106]||(s[106]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=l('
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

',6))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.mergedims",href:"#DimensionalData.mergedims"},[i("span",{class:"jlbinding"},"DimensionalData.mergedims")],-1)),s[109]||(s[109]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[110]||(s[110]=l(`
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,
@@ -412,9 +412,9 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 
 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

`,11))]),i("details",W,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.unmergedims",href:"#DimensionalData.unmergedims"},[i("span",{class:"jlbinding"},"DimensionalData.unmergedims")],-1)),s[112]||(s[112]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[113]||(s[113]=l(`
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

`,6))]),i("details",J,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.reorder",href:"#DimensionalData.reorder"},[i("span",{class:"jlbinding"},"DimensionalData.reorder")],-1)),s[115]||(s[115]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[116]||(s[116]=l(`
julia
reorder(A::Union{AbstractDimArray,AbstractDimStack}, order::Pair...)
+ 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

`,11))]),i("details",W,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.unmergedims",href:"#DimensionalData.unmergedims"},[i("span",{class:"jlbinding"},"DimensionalData.unmergedims")],-1)),s[112]||(s[112]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[113]||(s[113]=l(`
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

`,6))]),i("details",J,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.reorder",href:"#DimensionalData.reorder"},[i("span",{class:"jlbinding"},"DimensionalData.reorder")],-1)),s[115]||(s[115]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[116]||(s[116]=l(`
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
 
@@ -428,7 +428,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 reorder(rev, da) == da
 
 # output
-true

source

`,7))]),s[176]||(s[176]=i("h1",{id:"Global-lookup-strictness-settings",tabindex:"-1"},[a("Global lookup strictness settings "),i("a",{class:"header-anchor",href:"#Global-lookup-strictness-settings","aria-label":'Permalink to "Global lookup strictness settings {#Global-lookup-strictness-settings}"'},"​")],-1)),s[177]||(s[177]=i("p",null,[a("Control how strict DimensionalData when comparing "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Lookup"},[i("code",null,"Lookup")]),a("s before doing broadcasts and matrix multipications.")],-1)),s[178]||(s[178]=i("p",null,[a("In some cases (especially "),i("code",null,"DimVector"),a(" and small "),i("code",null,"DimArray"),a(") 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.")],-1)),i("details",$,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.strict_broadcast",href:"#DimensionalData.strict_broadcast"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast")],-1)),s[118]||(s[118]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[119]||(s[119]=l('
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

',6))]),i("details",H,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.strict_broadcast!",href:"#DimensionalData.strict_broadcast!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast!")],-1)),s[121]||(s[121]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[122]||(s[122]=l('
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

',6))]),i("details",Q,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.strict_matmul",href:"#DimensionalData.strict_matmul"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul")],-1)),s[124]||(s[124]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[125]||(s[125]=l('
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

',5))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.strict_matmul!",href:"#DimensionalData.strict_matmul!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul!")],-1)),s[127]||(s[127]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[128]||(s[128]=l('
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

',5))]),s[179]||(s[179]=i("p",null,"Base methods",-1)),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"Base.cat",href:"#Base.cat"},[i("span",{class:"jlbinding"},"Base.cat")],-1)),s[130]||(s[130]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[131]||(s[131]=l('
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

',8))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"Base.copy!",href:"#Base.copy!"},[i("span",{class:"jlbinding"},"Base.copy!")],-1)),s[133]||(s[133]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[134]||(s[134]=l('
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

',12))]),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"Base.eachslice",href:"#Base.eachslice"},[i("span",{class:"jlbinding"},"Base.eachslice")],-1)),s[136]||(s[136]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[137]||(s[137]=l(`
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((
+true

source

`,7))]),s[176]||(s[176]=i("h1",{id:"Global-lookup-strictness-settings",tabindex:"-1"},[a("Global lookup strictness settings "),i("a",{class:"header-anchor",href:"#Global-lookup-strictness-settings","aria-label":'Permalink to "Global lookup strictness settings {#Global-lookup-strictness-settings}"'},"​")],-1)),s[177]||(s[177]=i("p",null,[a("Control how strict DimensionalData when comparing "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Lookup"},[i("code",null,"Lookup")]),a("s before doing broadcasts and matrix multipications.")],-1)),s[178]||(s[178]=i("p",null,[a("In some cases (especially "),i("code",null,"DimVector"),a(" and small "),i("code",null,"DimArray"),a(") 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.")],-1)),i("details",$,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.strict_broadcast",href:"#DimensionalData.strict_broadcast"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast")],-1)),s[118]||(s[118]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[119]||(s[119]=l('
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

',6))]),i("details",H,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.strict_broadcast!",href:"#DimensionalData.strict_broadcast!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast!")],-1)),s[121]||(s[121]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[122]||(s[122]=l('
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

',6))]),i("details",Q,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.strict_matmul",href:"#DimensionalData.strict_matmul"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul")],-1)),s[124]||(s[124]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[125]||(s[125]=l('
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

',5))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.strict_matmul!",href:"#DimensionalData.strict_matmul!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul!")],-1)),s[127]||(s[127]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[128]||(s[128]=l('
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

',5))]),s[179]||(s[179]=i("p",null,"Base methods",-1)),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"Base.cat",href:"#Base.cat"},[i("span",{class:"jlbinding"},"Base.cat")],-1)),s[130]||(s[130]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[131]||(s[131]=l('
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

',8))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"Base.copy!",href:"#Base.copy!"},[i("span",{class:"jlbinding"},"Base.copy!")],-1)),s[133]||(s[133]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[134]||(s[134]=l('
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

',12))]),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"Base.eachslice",href:"#Base.eachslice"},[i("span",{class:"jlbinding"},"Base.eachslice")],-1)),s[136]||(s[136]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[137]||(s[137]=l(`
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))
        ));
@@ -451,13 +451,13 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 ├──────────────────────────────────────────────── layers ┤
   :x eltype: Float64 dims: Y size: 3
   :y eltype: Float64 dims: Y, Ti size: 3×5
-└────────────────────────────────────────────────────────┘

source

`,10))]),s[180]||(s[180]=i("p",null,[a("Most base methods work as expected, using "),i("code",null,"Dimension"),a(" wherever a "),i("code",null,"dims"),a(" keyword is used. They are not all specifically documented here.")],-1)),s[181]||(s[181]=i("h2",{id:"name",tabindex:"-1"},[a("Name "),i("a",{class:"header-anchor",href:"#name","aria-label":'Permalink to "Name"'},"​")],-1)),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.AbstractName",href:"#DimensionalData.AbstractName"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractName")],-1)),s[139]||(s[139]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=l('
julia
AbstractName

Abstract supertype for name wrappers.

source

',3))]),i("details",ts,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Name",href:"#DimensionalData.Name"},[i("span",{class:"jlbinding"},"DimensionalData.Name")],-1)),s[142]||(s[142]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=l(`
julia
Name <: AbstractName
+└────────────────────────────────────────────────────────┘

source

`,10))]),s[180]||(s[180]=i("p",null,[a("Most base methods work as expected, using "),i("code",null,"Dimension"),a(" wherever a "),i("code",null,"dims"),a(" keyword is used. They are not all specifically documented here.")],-1)),s[181]||(s[181]=i("h2",{id:"name",tabindex:"-1"},[a("Name "),i("a",{class:"header-anchor",href:"#name","aria-label":'Permalink to "Name"'},"​")],-1)),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.AbstractName",href:"#DimensionalData.AbstractName"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractName")],-1)),s[139]||(s[139]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=l('
julia
AbstractName

Abstract supertype for name wrappers.

source

',3))]),i("details",ts,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Name",href:"#DimensionalData.Name"},[i("span",{class:"jlbinding"},"DimensionalData.Name")],-1)),s[142]||(s[142]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=l(`
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

`,3))]),i("details",ls,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.NoName",href:"#DimensionalData.NoName"},[i("span",{class:"jlbinding"},"DimensionalData.NoName")],-1)),s[145]||(s[145]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=l(`
julia
NoName <: AbstractName
+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

`,3))]),i("details",ls,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.NoName",href:"#DimensionalData.NoName"},[i("span",{class:"jlbinding"},"DimensionalData.NoName")],-1)),s[145]||(s[145]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=l(`
julia
NoName <: AbstractName
 
-NoName()

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

source

`,3))]),s[182]||(s[182]=i("h2",{id:"Internal-interface",tabindex:"-1"},[a("Internal interface "),i("a",{class:"header-anchor",href:"#Internal-interface","aria-label":'Permalink to "Internal interface {#Internal-interface}"'},"​")],-1)),i("details",es,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.DimArrayInterface",href:"#DimensionalData.DimArrayInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimArrayInterface")],-1)),s[148]||(s[148]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=l('
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

',11))]),i("details",hs,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.DimStackInterface",href:"#DimensionalData.DimStackInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimStackInterface")],-1)),s[151]||(s[151]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=l('
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

',11))]),i("details",ks,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.rebuild_from_arrays",href:"#DimensionalData.rebuild_from_arrays"},[i("span",{class:"jlbinding"},"DimensionalData.rebuild_from_arrays")],-1)),s[154]||(s[154]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[155]||(s[155]=l('
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

',6))]),i("details",ps,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.show_main",href:"#DimensionalData.show_main"},[i("span",{class:"jlbinding"},"DimensionalData.show_main")],-1)),s[157]||(s[157]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[158]||(s[158]=l(`
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

`,6))]),i("details",ds,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.show_after",href:"#DimensionalData.show_after"},[i("span",{class:"jlbinding"},"DimensionalData.show_after")],-1)),s[160]||(s[160]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[161]||(s[161]=l(`
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

`,11))]),i("details",rs,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.refdims_title",href:"#DimensionalData.refdims_title"},[i("span",{class:"jlbinding"},"DimensionalData.refdims_title")],-1)),s[163]||(s[163]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[164]||(s[164]=l(`
julia
refdims_title(A::AbstractDimArray)
+NoName()

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

source

`,3))]),s[182]||(s[182]=i("h2",{id:"Internal-interface",tabindex:"-1"},[a("Internal interface "),i("a",{class:"header-anchor",href:"#Internal-interface","aria-label":'Permalink to "Internal interface {#Internal-interface}"'},"​")],-1)),i("details",hs,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.DimArrayInterface",href:"#DimensionalData.DimArrayInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimArrayInterface")],-1)),s[148]||(s[148]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=l('
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

',11))]),i("details",es,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.DimStackInterface",href:"#DimensionalData.DimStackInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimStackInterface")],-1)),s[151]||(s[151]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=l('
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

',11))]),i("details",ks,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.rebuild_from_arrays",href:"#DimensionalData.rebuild_from_arrays"},[i("span",{class:"jlbinding"},"DimensionalData.rebuild_from_arrays")],-1)),s[154]||(s[154]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[155]||(s[155]=l('
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

',6))]),i("details",ps,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.show_main",href:"#DimensionalData.show_main"},[i("span",{class:"jlbinding"},"DimensionalData.show_main")],-1)),s[157]||(s[157]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[158]||(s[158]=l(`
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

`,6))]),i("details",rs,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.show_after",href:"#DimensionalData.show_after"},[i("span",{class:"jlbinding"},"DimensionalData.show_after")],-1)),s[160]||(s[160]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[161]||(s[161]=l(`
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

`,11))]),i("details",ds,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.refdims_title",href:"#DimensionalData.refdims_title"},[i("span",{class:"jlbinding"},"DimensionalData.refdims_title")],-1)),s[163]||(s[163]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[164]||(s[164]=l(`
julia
refdims_title(A::AbstractDimArray)
 refdims_title(refdims::Tuple)
-refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source

`,3))])])}const us=e(d,[["render",os]]);export{ms as __pageData,us as default}; +refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source

`,3))])])}const us=h(r,[["render",os]]);export{ms as __pageData,us as default}; diff --git a/dev/assets/api_reference.md.Cbzd03zL.lean.js b/dev/assets/api_reference.md.CbFETIiO.lean.js similarity index 98% rename from dev/assets/api_reference.md.Cbzd03zL.lean.js rename to dev/assets/api_reference.md.CbFETIiO.lean.js index ce337a054..b7f4d5607 100644 --- a/dev/assets/api_reference.md.Cbzd03zL.lean.js +++ b/dev/assets/api_reference.md.CbFETIiO.lean.js @@ -1,4 +1,4 @@ -import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framework.B8l2DGq3.js";const ms=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api/reference.md","filePath":"api/reference.md","lastUpdated":null}'),d={name:"api/reference.md"},r={class:"jldocstring custom-block",open:""},o={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""};function os(gs,s,Es,ys,cs,Fs){const n=k("Badge");return p(),h("div",null,[s[165]||(s[165]=i("h1",{id:"API-Reference",tabindex:"-1"},[a("API Reference "),i("a",{class:"header-anchor",href:"#API-Reference","aria-label":'Permalink to "API Reference {#API-Reference}"'},"​")],-1)),s[166]||(s[166]=i("h2",{id:"arrays",tabindex:"-1"},[a("Arrays "),i("a",{class:"header-anchor",href:"#arrays","aria-label":'Permalink to "Arrays"'},"​")],-1)),i("details",r,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.AbstractBasicDimArray",href:"#DimensionalData.AbstractBasicDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractBasicDimArray")],-1)),s[1]||(s[1]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[2]||(s[2]=l('
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

',4))]),i("details",o,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.AbstractDimArray",href:"#DimensionalData.AbstractDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimArray")],-1)),s[4]||(s[4]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=l('
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

',8))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.DimArray",href:"#DimensionalData.DimArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimArray")],-1)),s[7]||(s[7]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=l(`
julia
DimArray <: AbstractDimArray
+import{_ as h,c as e,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framework.BAAK0EyE.js";const ms=JSON.parse('{"title":"API Reference","description":"","frontmatter":{},"headers":[],"relativePath":"api/reference.md","filePath":"api/reference.md","lastUpdated":null}'),r={name:"api/reference.md"},d={class:"jldocstring custom-block",open:""},o={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""},E={class:"jldocstring custom-block",open:""},y={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},F={class:"jldocstring custom-block",open:""},C={class:"jldocstring custom-block",open:""},m={class:"jldocstring custom-block",open:""},u={class:"jldocstring custom-block",open:""},D={class:"jldocstring custom-block",open:""},b={class:"jldocstring custom-block",open:""},B={class:"jldocstring custom-block",open:""},A={class:"jldocstring custom-block",open:""},f={class:"jldocstring custom-block",open:""},j={class:"jldocstring custom-block",open:""},v={class:"jldocstring custom-block",open:""},w={class:"jldocstring custom-block",open:""},x={class:"jldocstring custom-block",open:""},T={class:"jldocstring custom-block",open:""},L={class:"jldocstring custom-block",open:""},S={class:"jldocstring custom-block",open:""},I={class:"jldocstring custom-block",open:""},O={class:"jldocstring custom-block",open:""},N={class:"jldocstring custom-block",open:""},q={class:"jldocstring custom-block",open:""},z={class:"jldocstring custom-block",open:""},X={class:"jldocstring custom-block",open:""},Y={class:"jldocstring custom-block",open:""},P={class:"jldocstring custom-block",open:""},R={class:"jldocstring custom-block",open:""},G={class:"jldocstring custom-block",open:""},V={class:"jldocstring custom-block",open:""},M={class:"jldocstring custom-block",open:""},U={class:"jldocstring custom-block",open:""},Z={class:"jldocstring custom-block",open:""},K={class:"jldocstring custom-block",open:""},W={class:"jldocstring custom-block",open:""},J={class:"jldocstring custom-block",open:""},$={class:"jldocstring custom-block",open:""},H={class:"jldocstring custom-block",open:""},Q={class:"jldocstring custom-block",open:""},_={class:"jldocstring custom-block",open:""},ss={class:"jldocstring custom-block",open:""},is={class:"jldocstring custom-block",open:""},as={class:"jldocstring custom-block",open:""},ns={class:"jldocstring custom-block",open:""},ts={class:"jldocstring custom-block",open:""},ls={class:"jldocstring custom-block",open:""},hs={class:"jldocstring custom-block",open:""},es={class:"jldocstring custom-block",open:""},ks={class:"jldocstring custom-block",open:""},ps={class:"jldocstring custom-block",open:""},rs={class:"jldocstring custom-block",open:""},ds={class:"jldocstring custom-block",open:""};function os(gs,s,Es,ys,cs,Fs){const n=k("Badge");return p(),e("div",null,[s[165]||(s[165]=i("h1",{id:"API-Reference",tabindex:"-1"},[a("API Reference "),i("a",{class:"header-anchor",href:"#API-Reference","aria-label":'Permalink to "API Reference {#API-Reference}"'},"​")],-1)),s[166]||(s[166]=i("h2",{id:"arrays",tabindex:"-1"},[a("Arrays "),i("a",{class:"header-anchor",href:"#arrays","aria-label":'Permalink to "Arrays"'},"​")],-1)),i("details",d,[i("summary",null,[s[0]||(s[0]=i("a",{id:"DimensionalData.AbstractBasicDimArray",href:"#DimensionalData.AbstractBasicDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractBasicDimArray")],-1)),s[1]||(s[1]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[2]||(s[2]=l('
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

',4))]),i("details",o,[i("summary",null,[s[3]||(s[3]=i("a",{id:"DimensionalData.AbstractDimArray",href:"#DimensionalData.AbstractDimArray"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimArray")],-1)),s[4]||(s[4]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[5]||(s[5]=l('
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

',8))]),i("details",g,[i("summary",null,[s[6]||(s[6]=i("a",{id:"DimensionalData.DimArray",href:"#DimensionalData.DimArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimArray")],-1)),s[7]||(s[7]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[8]||(s[8]=l(`
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
@@ -27,7 +27,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  20  0.774092
  30  0.823656
  40  0.637077
- 50  0.692235

source

`,10))]),s[167]||(s[167]=i("p",null,[a("Shorthand "),i("code",null,"AbstractDimArray"),a(" constructors:")],-1)),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"Base.fill",href:"#Base.fill"},[i("span",{class:"jlbinding"},"Base.fill")],-1)),s[10]||(s[10]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=l(`
julia
Base.fill(x, dims::Dimension...; kw...) => DimArray
+ 50  0.692235

source

`,10))]),s[167]||(s[167]=i("p",null,[a("Shorthand "),i("code",null,"AbstractDimArray"),a(" constructors:")],-1)),i("details",E,[i("summary",null,[s[9]||(s[9]=i("a",{id:"Base.fill",href:"#Base.fill"},[i("span",{class:"jlbinding"},"Base.fill")],-1)),s[10]||(s[10]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=l(`
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))
@@ -37,7 +37,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  X,  Y
 └──────────────────────┘
  0  0  0  0
- 1  0  0  1

source

`,8))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"Base.rand",href:"#Base.rand"},[i("span",{class:"jlbinding"},"Base.rand")],-1)),s[13]||(s[13]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[14]||(s[14]=l(`
julia
Base.rand(x, dims::Dimension...; kw...) => DimArray
+ 1  0  0  1

source

`,8))]),i("details",y,[i("summary",null,[s[12]||(s[12]=i("a",{id:"Base.rand",href:"#Base.rand"},[i("span",{class:"jlbinding"},"Base.rand")],-1)),s[13]||(s[13]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[14]||(s[14]=l(`
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
@@ -61,7 +61,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,8))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"Base.zeros",href:"#Base.zeros"},[i("span",{class:"jlbinding"},"Base.zeros")],-1)),s[16]||(s[16]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[17]||(s[17]=l(`
julia
Base.zeros(x, dims::Dimension...; kw...) => DimArray
+  :c    0.512083    0.427328    0.311448

source

`,8))]),i("details",c,[i("summary",null,[s[15]||(s[15]=i("a",{id:"Base.zeros",href:"#Base.zeros"},[i("span",{class:"jlbinding"},"Base.zeros")],-1)),s[16]||(s[16]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[17]||(s[17]=l(`
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))
@@ -83,7 +83,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,8))]),i("details",F,[i("summary",null,[s[18]||(s[18]=i("a",{id:"Base.ones",href:"#Base.ones"},[i("span",{class:"jlbinding"},"Base.ones")],-1)),s[19]||(s[19]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[20]||(s[20]=l(`
julia
Base.ones(x, dims::Dimension...; kw...) => DimArray
+  :c    0.0    0.0    0.0

source

`,8))]),i("details",F,[i("summary",null,[s[18]||(s[18]=i("a",{id:"Base.ones",href:"#Base.ones"},[i("span",{class:"jlbinding"},"Base.ones")],-1)),s[19]||(s[19]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[20]||(s[20]=l(`
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))
@@ -105,8 +105,8 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,8))]),s[168]||(s[168]=i("p",null,"Functions for getting information from objects:",-1)),i("details",C,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.dims",href:"#DimensionalData.Dimensions.dims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[22]||(s[22]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[23]||(s[23]=l(`
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}}
+  :c    1.0    1.0    1.0

source

`,8))]),s[168]||(s[168]=i("p",null,"Functions for getting information from objects:",-1)),i("details",C,[i("summary",null,[s[21]||(s[21]=i("a",{id:"DimensionalData.Dimensions.dims",href:"#DimensionalData.Dimensions.dims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dims")],-1)),s[22]||(s[22]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[23]||(s[23]=l(`
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))
@@ -120,13 +120,13 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  1.0  1.0  1.0
 
 julia> dims(A, (X, Y))
-( X,  Y)

source

`,13))]),i("details",m,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.refdims",href:"#DimensionalData.Dimensions.refdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.refdims")],-1)),s[25]||(s[25]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[26]||(s[26]=l(`
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

`,5))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.metadata",href:"#DimensionalData.Dimensions.Lookups.metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.metadata")],-1)),s[28]||(s[28]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[29]||(s[29]=l(`
julia
metadata(x) => (object metadata)
+( X,  Y)

source

`,13))]),i("details",m,[i("summary",null,[s[24]||(s[24]=i("a",{id:"DimensionalData.Dimensions.refdims",href:"#DimensionalData.Dimensions.refdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.refdims")],-1)),s[25]||(s[25]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[26]||(s[26]=l(`
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

`,5))]),i("details",u,[i("summary",null,[s[27]||(s[27]=i("a",{id:"DimensionalData.Dimensions.Lookups.metadata",href:"#DimensionalData.Dimensions.Lookups.metadata"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.metadata")],-1)),s[28]||(s[28]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[29]||(s[29]=l(`
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

`,4))]),i("details",D,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.name",href:"#DimensionalData.Dimensions.name"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name")],-1)),s[31]||(s[31]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[32]||(s[32]=l(`
julia
name(x) => Symbol
+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

`,4))]),i("details",D,[i("summary",null,[s[30]||(s[30]=i("a",{id:"DimensionalData.Dimensions.name",href:"#DimensionalData.Dimensions.name"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.name")],-1)),s[31]||(s[31]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[32]||(s[32]=l(`
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

`,4))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.otherdims",href:"#DimensionalData.Dimensions.otherdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[34]||(s[34]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[35]||(s[35]=l(`
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
+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

`,4))]),i("details",b,[i("summary",null,[s[33]||(s[33]=i("a",{id:"DimensionalData.Dimensions.otherdims",href:"#DimensionalData.Dimensions.otherdims"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.otherdims")],-1)),s[34]||(s[34]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[35]||(s[35]=l(`
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));
 
@@ -134,7 +134,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 ( Y,  Z)
 
 julia> otherdims(A, (Y, Z))
-( X)

source

`,8))]),i("details",B,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.dimnum",href:"#DimensionalData.Dimensions.dimnum"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[37]||(s[37]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[38]||(s[38]=l(`
julia
dimnum(x, query::Tuple) => NTuple{Int}
+( X)

source

`,8))]),i("details",B,[i("summary",null,[s[36]||(s[36]=i("a",{id:"DimensionalData.Dimensions.dimnum",href:"#DimensionalData.Dimensions.dimnum"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.dimnum")],-1)),s[37]||(s[37]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[38]||(s[38]=l(`
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));
@@ -143,7 +143,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 (3, 1, 2)
 
 julia> dimnum(A, Y)
-2

source

`,8))]),i("details",A,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.hasdim",href:"#DimensionalData.Dimensions.hasdim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[40]||(s[40]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[41]||(s[41]=l(`
julia
hasdim([f], x, query::Tuple) => NTuple{Bool}
+2

source

`,8))]),i("details",A,[i("summary",null,[s[39]||(s[39]=i("a",{id:"DimensionalData.Dimensions.hasdim",href:"#DimensionalData.Dimensions.hasdim"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.hasdim")],-1)),s[40]||(s[40]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[41]||(s[41]=l(`
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
 
@@ -156,7 +156,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 (true, true, true)
 
 julia> hasdim(A, Ti)
-false

source

`,8))]),s[169]||(s[169]=i("h2",{id:"Multi-array-datasets",tabindex:"-1"},[a("Multi-array datasets "),i("a",{class:"header-anchor",href:"#Multi-array-datasets","aria-label":'Permalink to "Multi-array datasets {#Multi-array-datasets}"'},"​")],-1)),i("details",f,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.AbstractDimStack",href:"#DimensionalData.AbstractDimStack"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimStack")],-1)),s[43]||(s[43]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=l('
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

',10))]),i("details",j,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.DimStack",href:"#DimensionalData.DimStack"},[i("span",{class:"jlbinding"},"DimensionalData.DimStack")],-1)),s[46]||(s[46]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[47]||(s[47]=l(`
julia
DimStack <: AbstractDimStack
+false

source

`,8))]),s[169]||(s[169]=i("h2",{id:"Multi-array-datasets",tabindex:"-1"},[a("Multi-array datasets "),i("a",{class:"header-anchor",href:"#Multi-array-datasets","aria-label":'Permalink to "Multi-array datasets {#Multi-array-datasets}"'},"​")],-1)),i("details",f,[i("summary",null,[s[42]||(s[42]=i("a",{id:"DimensionalData.AbstractDimStack",href:"#DimensionalData.AbstractDimStack"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimStack")],-1)),s[43]||(s[43]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[44]||(s[44]=l('
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

',10))]),i("details",j,[i("summary",null,[s[45]||(s[45]=i("a",{id:"DimensionalData.DimStack",href:"#DimensionalData.DimStack"},[i("span",{class:"jlbinding"},"DimensionalData.DimStack")],-1)),s[46]||(s[46]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[47]||(s[47]=l(`
julia
DimStack <: AbstractDimStack
 
 DimStack(data::AbstractDimArray...; kw...)
 DimStack(data::Tuple{Vararg{AbstractDimArray}}; kw...)
@@ -183,7 +183,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 (one = 4.0, two = 8.0, three = 12.0)
 
 julia> s[X(At(:a))] isa DimStack
-true

source

`,16))]),s[170]||(s[170]=i("h2",{id:"Dimension-generators",tabindex:"-1"},[a("Dimension generators "),i("a",{class:"header-anchor",href:"#Dimension-generators","aria-label":'Permalink to "Dimension generators {#Dimension-generators}"'},"​")],-1)),i("details",v,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.DimIndices",href:"#DimensionalData.DimIndices"},[i("span",{class:"jlbinding"},"DimensionalData.DimIndices")],-1)),s[49]||(s[49]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[50]||(s[50]=l(`
julia
DimIndices <: AbstractArray
+true

source

`,16))]),s[170]||(s[170]=i("h2",{id:"Dimension-generators",tabindex:"-1"},[a("Dimension generators "),i("a",{class:"header-anchor",href:"#Dimension-generators","aria-label":'Permalink to "Dimension generators {#Dimension-generators}"'},"​")],-1)),i("details",v,[i("summary",null,[s[48]||(s[48]=i("a",{id:"DimensionalData.DimIndices",href:"#DimensionalData.DimIndices"},[i("span",{class:"jlbinding"},"DimensionalData.DimIndices")],-1)),s[49]||(s[49]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[50]||(s[50]=l(`
julia
DimIndices <: AbstractArray
 
 DimIndices(x)
 DimIndices(dims::Tuple)
@@ -220,7 +220,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 └─────────────────────────────────────────────────────────────────┘
    'a'       'c'
  0.0  0.9063    0.0991336
- 0.6  0.745673  0.692209

source

`,9))]),i("details",w,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.DimSelectors",href:"#DimensionalData.DimSelectors"},[i("span",{class:"jlbinding"},"DimensionalData.DimSelectors")],-1)),s[52]||(s[52]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[53]||(s[53]=l(`
julia
DimSelectors <: AbstractArray
+ 0.6  0.745673  0.692209

source

`,9))]),i("details",w,[i("summary",null,[s[51]||(s[51]=i("a",{id:"DimensionalData.DimSelectors",href:"#DimensionalData.DimSelectors"},[i("span",{class:"jlbinding"},"DimensionalData.DimSelectors")],-1)),s[52]||(s[52]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[53]||(s[53]=l(`
julia
DimSelectors <: AbstractArray
 
 DimSelectors(x; selectors, atol...)
 DimSelectors(dims::Tuple; selectors, atol...)
@@ -238,11 +238,11 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   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

`,10))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.DimPoints",href:"#DimensionalData.DimPoints"},[i("span",{class:"jlbinding"},"DimensionalData.DimPoints")],-1)),s[55]||(s[55]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[56]||(s[56]=l(`
julia
DimPoints <: AbstractArray
+ 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

`,10))]),i("details",x,[i("summary",null,[s[54]||(s[54]=i("a",{id:"DimensionalData.DimPoints",href:"#DimensionalData.DimPoints"},[i("span",{class:"jlbinding"},"DimensionalData.DimPoints")],-1)),s[55]||(s[55]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[56]||(s[56]=l(`
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

`,6))]),s[171]||(s[171]=i("h2",{id:"Tables.jl/TableTraits.jl-interface",tabindex:"-1"},[a("Tables.jl/TableTraits.jl interface "),i("a",{class:"header-anchor",href:"#Tables.jl/TableTraits.jl-interface","aria-label":'Permalink to "Tables.jl/TableTraits.jl interface {#Tables.jl/TableTraits.jl-interface}"'},"​")],-1)),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.AbstractDimTable",href:"#DimensionalData.AbstractDimTable"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimTable")],-1)),s[58]||(s[58]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[59]||(s[59]=l('
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source

',3))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.DimTable",href:"#DimensionalData.DimTable"},[i("span",{class:"jlbinding"},"DimensionalData.DimTable")],-1)),s[61]||(s[61]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[62]||(s[62]=l(`
julia
DimTable <: AbstractDimTable
+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

`,6))]),s[171]||(s[171]=i("h2",{id:"Tables.jl/TableTraits.jl-interface",tabindex:"-1"},[a("Tables.jl/TableTraits.jl interface "),i("a",{class:"header-anchor",href:"#Tables.jl/TableTraits.jl-interface","aria-label":'Permalink to "Tables.jl/TableTraits.jl interface {#Tables.jl/TableTraits.jl-interface}"'},"​")],-1)),i("details",T,[i("summary",null,[s[57]||(s[57]=i("a",{id:"DimensionalData.AbstractDimTable",href:"#DimensionalData.AbstractDimTable"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractDimTable")],-1)),s[58]||(s[58]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[59]||(s[59]=l('
julia
AbstractDimTable <: Tables.AbstractColumns

Abstract supertype for dim tables

source

',3))]),i("details",L,[i("summary",null,[s[60]||(s[60]=i("a",{id:"DimensionalData.DimTable",href:"#DimensionalData.DimTable"},[i("span",{class:"jlbinding"},"DimensionalData.DimTable")],-1)),s[61]||(s[61]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[62]||(s[62]=l(`
julia
DimTable <: AbstractDimTable
 
 DimTable(s::AbstractDimStack; mergedims=nothing)
 DimTable(x::AbstractDimArray; layersfrom=nothing, mergedims=nothing)
@@ -272,7 +272,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
  1.0  1.0  1.0  1.0  1.0  1.0  1.0  1.0     1.0  1.0  1.0  1.0  1.0  1.0  1.0
  1.0  1.0  1.0  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

`,10))]),s[172]||(s[172]=i("h1",{id:"Group-by-methods",tabindex:"-1"},[a("Group by methods "),i("a",{class:"header-anchor",href:"#Group-by-methods","aria-label":'Permalink to "Group by methods {#Group-by-methods}"'},"​")],-1)),s[173]||(s[173]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DataAPI.groupby",href:"#DataAPI.groupby"},[i("span",{class:"jlbinding"},"DataAPI.groupby")],-1)),s[64]||(s[64]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=l(`
julia
groupby(A::Union{AbstractDimArray,AbstractDimStack}, dims::Pair...)
+julia>

source

`,10))]),s[172]||(s[172]=i("h1",{id:"Group-by-methods",tabindex:"-1"},[a("Group by methods "),i("a",{class:"header-anchor",href:"#Group-by-methods","aria-label":'Permalink to "Group by methods {#Group-by-methods}"'},"​")],-1)),s[173]||(s[173]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",S,[i("summary",null,[s[63]||(s[63]=i("a",{id:"DataAPI.groupby",href:"#DataAPI.groupby"},[i("span",{class:"jlbinding"},"DataAPI.groupby")],-1)),s[64]||(s[64]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[65]||(s[65]=l(`
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)));
@@ -325,8 +325,8 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 
  10        0.501105     0.500644
  11        0.498606     0.498801
- 12        0.501643     0.499298

source

`,18))]),i("details",I,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.DimGroupByArray",href:"#DimensionalData.DimGroupByArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimGroupByArray")],-1)),s[67]||(s[67]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[68]||(s[68]=l('
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

',5))]),i("details",O,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Bins",href:"#DimensionalData.Bins"},[i("span",{class:"jlbinding"},"DimensionalData.Bins")],-1)),s[70]||(s[70]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=l(`
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

`,7))]),i("details",N,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.ranges",href:"#DimensionalData.ranges"},[i("span",{class:"jlbinding"},"DimensionalData.ranges")],-1)),s[73]||(s[73]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=l('
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",q,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.intervals",href:"#DimensionalData.intervals"},[i("span",{class:"jlbinding"},"DimensionalData.intervals")],-1)),s[76]||(s[76]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=l('
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",z,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.CyclicBins",href:"#DimensionalData.CyclicBins"},[i("span",{class:"jlbinding"},"DimensionalData.CyclicBins")],-1)),s[79]||(s[79]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=l('
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

',7))]),i("details",X,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.seasons",href:"#DimensionalData.seasons"},[i("span",{class:"jlbinding"},"DimensionalData.seasons")],-1)),s[82]||(s[82]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=l('
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

',5))]),i("details",Y,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.months",href:"#DimensionalData.months"},[i("span",{class:"jlbinding"},"DimensionalData.months")],-1)),s[85]||(s[85]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=l('
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

',6))]),i("details",P,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.hours",href:"#DimensionalData.hours"},[i("span",{class:"jlbinding"},"DimensionalData.hours")],-1)),s[88]||(s[88]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=l('
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

',6))]),s[174]||(s[174]=i("h1",{id:"Utility-methods",tabindex:"-1"},[a("Utility methods "),i("a",{class:"header-anchor",href:"#Utility-methods","aria-label":'Permalink to "Utility methods {#Utility-methods}"'},"​")],-1)),s[175]||(s[175]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",R,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.set",href:"#DimensionalData.Dimensions.Lookups.set"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.set")],-1)),s[91]||(s[91]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=l(`
julia
set(x, val)
+ 12        0.501643     0.499298

source

`,18))]),i("details",I,[i("summary",null,[s[66]||(s[66]=i("a",{id:"DimensionalData.DimGroupByArray",href:"#DimensionalData.DimGroupByArray"},[i("span",{class:"jlbinding"},"DimensionalData.DimGroupByArray")],-1)),s[67]||(s[67]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[68]||(s[68]=l('
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

',5))]),i("details",O,[i("summary",null,[s[69]||(s[69]=i("a",{id:"DimensionalData.Bins",href:"#DimensionalData.Bins"},[i("span",{class:"jlbinding"},"DimensionalData.Bins")],-1)),s[70]||(s[70]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[71]||(s[71]=l(`
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

`,7))]),i("details",N,[i("summary",null,[s[72]||(s[72]=i("a",{id:"DimensionalData.ranges",href:"#DimensionalData.ranges"},[i("span",{class:"jlbinding"},"DimensionalData.ranges")],-1)),s[73]||(s[73]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[74]||(s[74]=l('
julia
ranges(A::AbstractRange{<:Integer})

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",q,[i("summary",null,[s[75]||(s[75]=i("a",{id:"DimensionalData.intervals",href:"#DimensionalData.intervals"},[i("span",{class:"jlbinding"},"DimensionalData.intervals")],-1)),s[76]||(s[76]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[77]||(s[77]=l('
julia
intervals(A::AbstractRange)

Generate a Vector of UnitRange with length step(A)

source

',3))]),i("details",z,[i("summary",null,[s[78]||(s[78]=i("a",{id:"DimensionalData.CyclicBins",href:"#DimensionalData.CyclicBins"},[i("span",{class:"jlbinding"},"DimensionalData.CyclicBins")],-1)),s[79]||(s[79]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[80]||(s[80]=l('
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

',7))]),i("details",X,[i("summary",null,[s[81]||(s[81]=i("a",{id:"DimensionalData.seasons",href:"#DimensionalData.seasons"},[i("span",{class:"jlbinding"},"DimensionalData.seasons")],-1)),s[82]||(s[82]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[83]||(s[83]=l('
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

',5))]),i("details",Y,[i("summary",null,[s[84]||(s[84]=i("a",{id:"DimensionalData.months",href:"#DimensionalData.months"},[i("span",{class:"jlbinding"},"DimensionalData.months")],-1)),s[85]||(s[85]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[86]||(s[86]=l('
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

',6))]),i("details",P,[i("summary",null,[s[87]||(s[87]=i("a",{id:"DimensionalData.hours",href:"#DimensionalData.hours"},[i("span",{class:"jlbinding"},"DimensionalData.hours")],-1)),s[88]||(s[88]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[89]||(s[89]=l('
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

',6))]),s[174]||(s[174]=i("h1",{id:"Utility-methods",tabindex:"-1"},[a("Utility methods "),i("a",{class:"header-anchor",href:"#Utility-methods","aria-label":'Permalink to "Utility methods {#Utility-methods}"'},"​")],-1)),s[175]||(s[175]=i("p",null,"For transforming DimensionalData objects:",-1)),i("details",R,[i("summary",null,[s[90]||(s[90]=i("a",{id:"DimensionalData.Dimensions.Lookups.set",href:"#DimensionalData.Dimensions.Lookups.set"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.set")],-1)),s[91]||(s[91]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[92]||(s[92]=l(`
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
@@ -387,11 +387,11 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
   -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

`,20))]),i("details",G,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.rebuild",href:"#DimensionalData.Dimensions.Lookups.rebuild"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.rebuild")],-1)),s[94]||(s[94]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=l('
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

',18))]),i("details",V,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.modify",href:"#DimensionalData.modify"},[i("span",{class:"jlbinding"},"DimensionalData.modify")],-1)),s[97]||(s[97]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=l(`
julia
modify(f, A::AbstractDimArray) => AbstractDimArray
+ 30.0    0.0    0.0  0.0   0.0

source

`,20))]),i("details",G,[i("summary",null,[s[93]||(s[93]=i("a",{id:"DimensionalData.Dimensions.Lookups.rebuild",href:"#DimensionalData.Dimensions.Lookups.rebuild"},[i("span",{class:"jlbinding"},"DimensionalData.Dimensions.Lookups.rebuild")],-1)),s[94]||(s[94]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[95]||(s[95]=l('
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

',18))]),i("details",V,[i("summary",null,[s[96]||(s[96]=i("a",{id:"DimensionalData.modify",href:"#DimensionalData.modify"},[i("span",{class:"jlbinding"},"DimensionalData.modify")],-1)),s[97]||(s[97]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[98]||(s[98]=l(`
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

`,8))]),i("details",M,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.@d",href:"#DimensionalData.@d"},[i("span",{class:"jlbinding"},"DimensionalData.@d")],-1)),s[100]||(s[100]=a()),t(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[101]||(s[101]=l(`
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
+modify(CuArray, A)

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

source

`,8))]),i("details",M,[i("summary",null,[s[99]||(s[99]=i("a",{id:"DimensionalData.@d",href:"#DimensionalData.@d"},[i("span",{class:"jlbinding"},"DimensionalData.@d")],-1)),s[100]||(s[100]=a()),t(n,{type:"info",class:"jlObjectType jlMacro",text:"Macro"})]),s[101]||(s[101]=l(`
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))
 
@@ -403,7 +403,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 
 @d @. da1 * da2
 # Use parentheses areound \`@.\` if you need to pass options
-@d (@. da1 * da2 .+ 5) dims=(Y, X)

source

`,13))]),i("details",U,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.broadcast_dims",href:"#DimensionalData.broadcast_dims"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims")],-1)),s[103]||(s[103]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=l('
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

',6))]),i("details",Z,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.broadcast_dims!",href:"#DimensionalData.broadcast_dims!"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims!")],-1)),s[106]||(s[106]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=l('
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

',6))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.mergedims",href:"#DimensionalData.mergedims"},[i("span",{class:"jlbinding"},"DimensionalData.mergedims")],-1)),s[109]||(s[109]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[110]||(s[110]=l(`
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
+@d (@. da1 * da2 .+ 5) dims=(Y, X)

source

`,13))]),i("details",U,[i("summary",null,[s[102]||(s[102]=i("a",{id:"DimensionalData.broadcast_dims",href:"#DimensionalData.broadcast_dims"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims")],-1)),s[103]||(s[103]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[104]||(s[104]=l('
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

',6))]),i("details",Z,[i("summary",null,[s[105]||(s[105]=i("a",{id:"DimensionalData.broadcast_dims!",href:"#DimensionalData.broadcast_dims!"},[i("span",{class:"jlbinding"},"DimensionalData.broadcast_dims!")],-1)),s[106]||(s[106]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[107]||(s[107]=l('
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

',6))]),i("details",K,[i("summary",null,[s[108]||(s[108]=i("a",{id:"DimensionalData.mergedims",href:"#DimensionalData.mergedims"},[i("span",{class:"jlbinding"},"DimensionalData.mergedims")],-1)),s[109]||(s[109]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[110]||(s[110]=l(`
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,
@@ -412,9 +412,9 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 
 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

`,11))]),i("details",W,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.unmergedims",href:"#DimensionalData.unmergedims"},[i("span",{class:"jlbinding"},"DimensionalData.unmergedims")],-1)),s[112]||(s[112]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[113]||(s[113]=l(`
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

`,6))]),i("details",J,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.reorder",href:"#DimensionalData.reorder"},[i("span",{class:"jlbinding"},"DimensionalData.reorder")],-1)),s[115]||(s[115]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[116]||(s[116]=l(`
julia
reorder(A::Union{AbstractDimArray,AbstractDimStack}, order::Pair...)
+ 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

`,11))]),i("details",W,[i("summary",null,[s[111]||(s[111]=i("a",{id:"DimensionalData.unmergedims",href:"#DimensionalData.unmergedims"},[i("span",{class:"jlbinding"},"DimensionalData.unmergedims")],-1)),s[112]||(s[112]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[113]||(s[113]=l(`
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

`,6))]),i("details",J,[i("summary",null,[s[114]||(s[114]=i("a",{id:"DimensionalData.reorder",href:"#DimensionalData.reorder"},[i("span",{class:"jlbinding"},"DimensionalData.reorder")],-1)),s[115]||(s[115]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[116]||(s[116]=l(`
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
 
@@ -428,7 +428,7 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 reorder(rev, da) == da
 
 # output
-true

source

`,7))]),s[176]||(s[176]=i("h1",{id:"Global-lookup-strictness-settings",tabindex:"-1"},[a("Global lookup strictness settings "),i("a",{class:"header-anchor",href:"#Global-lookup-strictness-settings","aria-label":'Permalink to "Global lookup strictness settings {#Global-lookup-strictness-settings}"'},"​")],-1)),s[177]||(s[177]=i("p",null,[a("Control how strict DimensionalData when comparing "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Lookup"},[i("code",null,"Lookup")]),a("s before doing broadcasts and matrix multipications.")],-1)),s[178]||(s[178]=i("p",null,[a("In some cases (especially "),i("code",null,"DimVector"),a(" and small "),i("code",null,"DimArray"),a(") 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.")],-1)),i("details",$,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.strict_broadcast",href:"#DimensionalData.strict_broadcast"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast")],-1)),s[118]||(s[118]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[119]||(s[119]=l('
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

',6))]),i("details",H,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.strict_broadcast!",href:"#DimensionalData.strict_broadcast!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast!")],-1)),s[121]||(s[121]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[122]||(s[122]=l('
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

',6))]),i("details",Q,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.strict_matmul",href:"#DimensionalData.strict_matmul"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul")],-1)),s[124]||(s[124]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[125]||(s[125]=l('
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

',5))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.strict_matmul!",href:"#DimensionalData.strict_matmul!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul!")],-1)),s[127]||(s[127]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[128]||(s[128]=l('
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

',5))]),s[179]||(s[179]=i("p",null,"Base methods",-1)),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"Base.cat",href:"#Base.cat"},[i("span",{class:"jlbinding"},"Base.cat")],-1)),s[130]||(s[130]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[131]||(s[131]=l('
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

',8))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"Base.copy!",href:"#Base.copy!"},[i("span",{class:"jlbinding"},"Base.copy!")],-1)),s[133]||(s[133]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[134]||(s[134]=l('
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

',12))]),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"Base.eachslice",href:"#Base.eachslice"},[i("span",{class:"jlbinding"},"Base.eachslice")],-1)),s[136]||(s[136]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[137]||(s[137]=l(`
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((
+true

source

`,7))]),s[176]||(s[176]=i("h1",{id:"Global-lookup-strictness-settings",tabindex:"-1"},[a("Global lookup strictness settings "),i("a",{class:"header-anchor",href:"#Global-lookup-strictness-settings","aria-label":'Permalink to "Global lookup strictness settings {#Global-lookup-strictness-settings}"'},"​")],-1)),s[177]||(s[177]=i("p",null,[a("Control how strict DimensionalData when comparing "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Lookup"},[i("code",null,"Lookup")]),a("s before doing broadcasts and matrix multipications.")],-1)),s[178]||(s[178]=i("p",null,[a("In some cases (especially "),i("code",null,"DimVector"),a(" and small "),i("code",null,"DimArray"),a(") 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.")],-1)),i("details",$,[i("summary",null,[s[117]||(s[117]=i("a",{id:"DimensionalData.strict_broadcast",href:"#DimensionalData.strict_broadcast"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast")],-1)),s[118]||(s[118]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[119]||(s[119]=l('
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

',6))]),i("details",H,[i("summary",null,[s[120]||(s[120]=i("a",{id:"DimensionalData.strict_broadcast!",href:"#DimensionalData.strict_broadcast!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_broadcast!")],-1)),s[121]||(s[121]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[122]||(s[122]=l('
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

',6))]),i("details",Q,[i("summary",null,[s[123]||(s[123]=i("a",{id:"DimensionalData.strict_matmul",href:"#DimensionalData.strict_matmul"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul")],-1)),s[124]||(s[124]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[125]||(s[125]=l('
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

',5))]),i("details",_,[i("summary",null,[s[126]||(s[126]=i("a",{id:"DimensionalData.strict_matmul!",href:"#DimensionalData.strict_matmul!"},[i("span",{class:"jlbinding"},"DimensionalData.strict_matmul!")],-1)),s[127]||(s[127]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[128]||(s[128]=l('
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

',5))]),s[179]||(s[179]=i("p",null,"Base methods",-1)),i("details",ss,[i("summary",null,[s[129]||(s[129]=i("a",{id:"Base.cat",href:"#Base.cat"},[i("span",{class:"jlbinding"},"Base.cat")],-1)),s[130]||(s[130]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[131]||(s[131]=l('
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

',8))]),i("details",is,[i("summary",null,[s[132]||(s[132]=i("a",{id:"Base.copy!",href:"#Base.copy!"},[i("span",{class:"jlbinding"},"Base.copy!")],-1)),s[133]||(s[133]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[134]||(s[134]=l('
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

',12))]),i("details",as,[i("summary",null,[s[135]||(s[135]=i("a",{id:"Base.eachslice",href:"#Base.eachslice"},[i("span",{class:"jlbinding"},"Base.eachslice")],-1)),s[136]||(s[136]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[137]||(s[137]=l(`
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))
        ));
@@ -451,13 +451,13 @@ import{_ as e,c as h,j as i,a,G as t,a4 as l,B as k,o as p}from"./chunks/framewo
 ├──────────────────────────────────────────────── layers ┤
   :x eltype: Float64 dims: Y size: 3
   :y eltype: Float64 dims: Y, Ti size: 3×5
-└────────────────────────────────────────────────────────┘

source

`,10))]),s[180]||(s[180]=i("p",null,[a("Most base methods work as expected, using "),i("code",null,"Dimension"),a(" wherever a "),i("code",null,"dims"),a(" keyword is used. They are not all specifically documented here.")],-1)),s[181]||(s[181]=i("h2",{id:"name",tabindex:"-1"},[a("Name "),i("a",{class:"header-anchor",href:"#name","aria-label":'Permalink to "Name"'},"​")],-1)),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.AbstractName",href:"#DimensionalData.AbstractName"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractName")],-1)),s[139]||(s[139]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=l('
julia
AbstractName

Abstract supertype for name wrappers.

source

',3))]),i("details",ts,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Name",href:"#DimensionalData.Name"},[i("span",{class:"jlbinding"},"DimensionalData.Name")],-1)),s[142]||(s[142]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=l(`
julia
Name <: AbstractName
+└────────────────────────────────────────────────────────┘

source

`,10))]),s[180]||(s[180]=i("p",null,[a("Most base methods work as expected, using "),i("code",null,"Dimension"),a(" wherever a "),i("code",null,"dims"),a(" keyword is used. They are not all specifically documented here.")],-1)),s[181]||(s[181]=i("h2",{id:"name",tabindex:"-1"},[a("Name "),i("a",{class:"header-anchor",href:"#name","aria-label":'Permalink to "Name"'},"​")],-1)),i("details",ns,[i("summary",null,[s[138]||(s[138]=i("a",{id:"DimensionalData.AbstractName",href:"#DimensionalData.AbstractName"},[i("span",{class:"jlbinding"},"DimensionalData.AbstractName")],-1)),s[139]||(s[139]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[140]||(s[140]=l('
julia
AbstractName

Abstract supertype for name wrappers.

source

',3))]),i("details",ts,[i("summary",null,[s[141]||(s[141]=i("a",{id:"DimensionalData.Name",href:"#DimensionalData.Name"},[i("span",{class:"jlbinding"},"DimensionalData.Name")],-1)),s[142]||(s[142]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[143]||(s[143]=l(`
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

`,3))]),i("details",ls,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.NoName",href:"#DimensionalData.NoName"},[i("span",{class:"jlbinding"},"DimensionalData.NoName")],-1)),s[145]||(s[145]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=l(`
julia
NoName <: AbstractName
+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

`,3))]),i("details",ls,[i("summary",null,[s[144]||(s[144]=i("a",{id:"DimensionalData.NoName",href:"#DimensionalData.NoName"},[i("span",{class:"jlbinding"},"DimensionalData.NoName")],-1)),s[145]||(s[145]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[146]||(s[146]=l(`
julia
NoName <: AbstractName
 
-NoName()

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

source

`,3))]),s[182]||(s[182]=i("h2",{id:"Internal-interface",tabindex:"-1"},[a("Internal interface "),i("a",{class:"header-anchor",href:"#Internal-interface","aria-label":'Permalink to "Internal interface {#Internal-interface}"'},"​")],-1)),i("details",es,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.DimArrayInterface",href:"#DimensionalData.DimArrayInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimArrayInterface")],-1)),s[148]||(s[148]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=l('
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

',11))]),i("details",hs,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.DimStackInterface",href:"#DimensionalData.DimStackInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimStackInterface")],-1)),s[151]||(s[151]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=l('
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

',11))]),i("details",ks,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.rebuild_from_arrays",href:"#DimensionalData.rebuild_from_arrays"},[i("span",{class:"jlbinding"},"DimensionalData.rebuild_from_arrays")],-1)),s[154]||(s[154]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[155]||(s[155]=l('
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

',6))]),i("details",ps,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.show_main",href:"#DimensionalData.show_main"},[i("span",{class:"jlbinding"},"DimensionalData.show_main")],-1)),s[157]||(s[157]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[158]||(s[158]=l(`
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

`,6))]),i("details",ds,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.show_after",href:"#DimensionalData.show_after"},[i("span",{class:"jlbinding"},"DimensionalData.show_after")],-1)),s[160]||(s[160]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[161]||(s[161]=l(`
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

`,11))]),i("details",rs,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.refdims_title",href:"#DimensionalData.refdims_title"},[i("span",{class:"jlbinding"},"DimensionalData.refdims_title")],-1)),s[163]||(s[163]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[164]||(s[164]=l(`
julia
refdims_title(A::AbstractDimArray)
+NoName()

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

source

`,3))]),s[182]||(s[182]=i("h2",{id:"Internal-interface",tabindex:"-1"},[a("Internal interface "),i("a",{class:"header-anchor",href:"#Internal-interface","aria-label":'Permalink to "Internal interface {#Internal-interface}"'},"​")],-1)),i("details",hs,[i("summary",null,[s[147]||(s[147]=i("a",{id:"DimensionalData.DimArrayInterface",href:"#DimensionalData.DimArrayInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimArrayInterface")],-1)),s[148]||(s[148]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[149]||(s[149]=l('
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

',11))]),i("details",es,[i("summary",null,[s[150]||(s[150]=i("a",{id:"DimensionalData.DimStackInterface",href:"#DimensionalData.DimStackInterface"},[i("span",{class:"jlbinding"},"DimensionalData.DimStackInterface")],-1)),s[151]||(s[151]=a()),t(n,{type:"info",class:"jlObjectType jlType",text:"Type"})]),s[152]||(s[152]=l('
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

',11))]),i("details",ks,[i("summary",null,[s[153]||(s[153]=i("a",{id:"DimensionalData.rebuild_from_arrays",href:"#DimensionalData.rebuild_from_arrays"},[i("span",{class:"jlbinding"},"DimensionalData.rebuild_from_arrays")],-1)),s[154]||(s[154]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[155]||(s[155]=l('
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

',6))]),i("details",ps,[i("summary",null,[s[156]||(s[156]=i("a",{id:"DimensionalData.show_main",href:"#DimensionalData.show_main"},[i("span",{class:"jlbinding"},"DimensionalData.show_main")],-1)),s[157]||(s[157]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[158]||(s[158]=l(`
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

`,6))]),i("details",rs,[i("summary",null,[s[159]||(s[159]=i("a",{id:"DimensionalData.show_after",href:"#DimensionalData.show_after"},[i("span",{class:"jlbinding"},"DimensionalData.show_after")],-1)),s[160]||(s[160]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[161]||(s[161]=l(`
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

`,11))]),i("details",ds,[i("summary",null,[s[162]||(s[162]=i("a",{id:"DimensionalData.refdims_title",href:"#DimensionalData.refdims_title"},[i("span",{class:"jlbinding"},"DimensionalData.refdims_title")],-1)),s[163]||(s[163]=a()),t(n,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[164]||(s[164]=l(`
julia
refdims_title(A::AbstractDimArray)
 refdims_title(refdims::Tuple)
-refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source

`,3))])])}const us=e(d,[["render",os]]);export{ms as __pageData,us as default}; +refdims_title(refdim::Dimension)

Generate a title string based on reference dimension values.

source

`,3))])])}const us=h(r,[["render",os]]);export{ms as __pageData,us as default}; diff --git a/dev/assets/app.DC0kJGHo.js b/dev/assets/app.DAF6qinH.js similarity index 90% rename from dev/assets/app.DC0kJGHo.js rename to dev/assets/app.DAF6qinH.js index ac0ba290c..75641df83 100644 --- a/dev/assets/app.DC0kJGHo.js +++ b/dev/assets/app.DAF6qinH.js @@ -1 +1 @@ -import{R as p}from"./chunks/theme.b8NutB4I.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.B8l2DGq3.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}; +import{R as p}from"./chunks/theme.By8UT2IG.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.BAAK0EyE.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/dev/assets/basics.md.1otrM5SC.js b/dev/assets/basics.md.NNYczrui.js similarity index 73% rename from dev/assets/basics.md.1otrM5SC.js rename to dev/assets/basics.md.NNYczrui.js index 4705299d3..39e7485aa 100644 --- a/dev/assets/basics.md.1otrM5SC.js +++ b/dev/assets/basics.md.NNYczrui.js @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.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
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.BAAK0EyE.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))
╭─────────────────────────╮
@@ -7,36 +7,36 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.js";const y
 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',))
╭─────────────────────────────╮
+  1          2         3          4          5
+ 1    0.0333106  0.758203  0.973154   0.0710221  0.868064
+ 2    0.52849    0.571821  0.920182   0.545156   0.106593
+ 3    0.70366    0.539028  0.0670111  0.404635   0.799977
+ 4    0.68316    0.965008  0.0781957  0.130775   0.570914

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}:
+ 'a'  -21
+ 'b'  101
+ 'c'   51
+ 'd'  -35
+ 'e'  106
+ 'f'   88
+ 'g'  -98
+ 'h'   14
+ 'i'  -73
+ 'j'  -54

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
+ 46  76  38  32  120  122  29  57   9  23
+ 78  26   6  50   16  125  11  98  39  95
 
 [:, :, 2] =
- 106  84  74  80   9   26  35  74  28  47
-  87   1  42  54  15  107  77  23  89  34
+  50  101  46  48  76  17    1   69  11  112
+ 105   15  50  90   5  70  107  120  86   15
 
 [:, :, 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))
╭─────────────────────────╮
+ 38  59   41  47  41   11  117   82   74   61
+ 76  72  112  89  39  109   86  117  117  120
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,
@@ -44,6 +44,6 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.js";const y
 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}; + 1 2 3 4 5 6 7 8 9 10 + :left 46 76 38 32 120 122 29 57 9 23 + :right 78 26 6 50 16 125 11 98 39 95
`,21)]))}const f=i(l,[["render",k]]);export{y as __pageData,f as default}; diff --git a/dev/assets/basics.md.1otrM5SC.lean.js b/dev/assets/basics.md.NNYczrui.lean.js similarity index 73% rename from dev/assets/basics.md.1otrM5SC.lean.js rename to dev/assets/basics.md.NNYczrui.lean.js index 4705299d3..39e7485aa 100644 --- a/dev/assets/basics.md.1otrM5SC.lean.js +++ b/dev/assets/basics.md.NNYczrui.lean.js @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.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
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.BAAK0EyE.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))
╭─────────────────────────╮
@@ -7,36 +7,36 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.js";const y
 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',))
╭─────────────────────────────╮
+  1          2         3          4          5
+ 1    0.0333106  0.758203  0.973154   0.0710221  0.868064
+ 2    0.52849    0.571821  0.920182   0.545156   0.106593
+ 3    0.70366    0.539028  0.0670111  0.404635   0.799977
+ 4    0.68316    0.965008  0.0781957  0.130775   0.570914

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}:
+ 'a'  -21
+ 'b'  101
+ 'c'   51
+ 'd'  -35
+ 'e'  106
+ 'f'   88
+ 'g'  -98
+ 'h'   14
+ 'i'  -73
+ 'j'  -54

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
+ 46  76  38  32  120  122  29  57   9  23
+ 78  26   6  50   16  125  11  98  39  95
 
 [:, :, 2] =
- 106  84  74  80   9   26  35  74  28  47
-  87   1  42  54  15  107  77  23  89  34
+  50  101  46  48  76  17    1   69  11  112
+ 105   15  50  90   5  70  107  120  86   15
 
 [:, :, 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))
╭─────────────────────────╮
+ 38  59   41  47  41   11  117   82   74   61
+ 76  72  112  89  39  109   86  117  117  120
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,
@@ -44,6 +44,6 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.js";const y
 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}; + 1 2 3 4 5 6 7 8 9 10 + :left 46 76 38 32 120 122 29 57 9 23 + :right 78 26 6 50 16 125 11 98 39 95
`,21)]))}const f=i(l,[["render",k]]);export{y as __pageData,f as default}; diff --git a/dev/assets/broadcasts.md.CVzEqDHf.js b/dev/assets/broadcasts.md.Dz88oNfL.js similarity index 79% rename from dev/assets/broadcasts.md.CVzEqDHf.js rename to dev/assets/broadcasts.md.Dz88oNfL.js index 25f8fd840..e477dfcd8 100644 --- a/dev/assets/broadcasts.md.CVzEqDHf.js +++ b/dev/assets/broadcasts.md.Dz88oNfL.js @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.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
+import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.BAAK0EyE.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 t(l,s,k,p,d,f){return n(),a("div",null,s[0]||(s[0]=[e(`

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 each other, and that values match. Strict checks can be turned off 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 broadcasting. broadcast_dims is analogous to Base Julia's broadcast.

Because we know the names of the dimensions, there is no ambiguity in which ones 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,
@@ -26,16 +26,16 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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
╭───────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

A regular broadcast fails:

julia
julia> scaled = data .* month_scalars
ERROR: DimensionMismatch: arrays could not be broadcast to a common size: a has axes DimensionalData.Dimensions.DimUnitRange(Base.OneTo(100), X{Sampled{Int64, UnitRange{Int64}, ForwardOrdered, Regular{Int64}, Points, NoMetadata}}([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100])) and b has axes DimensionalData.Dimensions.DimUnitRange(Base.OneTo(12), Ti{Sampled{Dates.DateTime, StepRange{Dates.DateTime, Dates.Month}, ForwardOrdered, Regular{Dates.Month}, Points, NoMetadata}}([Dates.DateTime("2000-01-01T00:00:00"), Dates.DateTime("2000-02-01T00:00:00"), Dates.DateTime("2000-03-01T00:00:00"), Dates.DateTime("2000-04-01T00:00:00"), Dates.DateTime("2000-05-01T00:00:00"), Dates.DateTime("2000-06-01T00:00:00"), Dates.DateTime("2000-07-01T00:00:00"), Dates.DateTime("2000-08-01T00:00:00"), Dates.DateTime("2000-09-01T00:00:00"), Dates.DateTime("2000-10-01T00:00:00"), Dates.DateTime("2000-11-01T00:00:00"), Dates.DateTime("2000-12-01T00:00:00")]))

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,
@@ -43,48 +43,48 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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)))
╭────────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

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)))
╭────────────────────────────────╮
+ 2000-01-01T00:00:00  0.50854
+ 2000-02-01T00:00:00  0.499674
+ 2000-03-01T00:00:00  0.510863
+ 2000-04-01T00:00:00  0.500818
+ 2000-05-01T00:00:00  0.501124
+ 2000-06-01T00:00:00  0.495215
+ 2000-07-01T00:00:00  0.489497
+ 2000-08-01T00:00:00  0.500495
+ 2000-09-01T00:00:00  0.491479
+ 2000-10-01T00:00:00  0.499282
+ 2000-11-01T00:00:00  0.491202
+ 2000-12-01T00:00:00  0.485718
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)
╭───────────────────────────────╮
+ 2000-01-01T00:00:00  0.50854
+ 2000-02-01T00:00:00  0.999348
+ 2000-03-01T00:00:00  1.53259
+ 2000-04-01T00:00:00  2.00327
+ 2000-05-01T00:00:00  2.50562
+ 2000-06-01T00:00:00  2.97129
+ 2000-07-01T00:00:00  3.42648
+ 2000-08-01T00:00:00  4.00396
+ 2000-09-01T00:00:00  4.42331
+ 2000-10-01T00:00:00  4.99282
+ 2000-11-01T00:00:00  5.40322
+ 2000-12-01T00:00:00  5.82862

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,
@@ -92,16 +92,16 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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)
╭───────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

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,
@@ -109,16 +109,16 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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)
╭──────────────────────────────────────╮
+                   198         99          100
+  2000-01-01T00:00:00  0.624685      0.844262   0.0471885    0.0442448
+  2000-02-01T00:00:00  0.547848      1.79785    0.187495     0.441762
+  2000-03-01T00:00:00  2.49232       1.15489    2.82356      0.921936
+  2000-04-01T00:00:00  0.439142      2.61341    1.59542      2.24247
+ ⋮                               ⋱                           ⋮
+  2000-09-01T00:00:00  3.27042       6.61858    3.10246      5.93972
+  2000-10-01T00:00:00  0.12404   …   2.53632    7.83904      6.55713
+  2000-11-01T00:00:00  1.79388       2.5891     2.14203      5.52389
+  2000-12-01T00:00:00  8.84219       6.15004    5.04169      6.10415

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,
@@ -126,13 +126,13 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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}; + 198 99 100 + 2000-01-01T00:00:00 0.624685 0.844262 0.0471885 0.0442448 + 2000-02-01T00:00:00 0.547848 1.79785 0.187495 0.441762 + 2000-03-01T00:00:00 2.49232 1.15489 2.82356 0.921936 + 2000-04-01T00:00:00 0.439142 2.61341 1.59542 2.24247 + ⋮ ⋱ ⋮ + 2000-09-01T00:00:00 3.27042 6.61858 3.10246 5.93972 + 2000-10-01T00:00:00 0.12404 … 2.53632 7.83904 6.55713 + 2000-11-01T00:00:00 1.79388 2.5891 2.14203 5.52389 + 2000-12-01T00:00:00 8.84219 6.15004 5.04169 6.10415
`,36)]))}const y=i(h,[["render",t]]);export{g as __pageData,y as default}; diff --git a/dev/assets/broadcasts.md.CVzEqDHf.lean.js b/dev/assets/broadcasts.md.Dz88oNfL.lean.js similarity index 79% rename from dev/assets/broadcasts.md.CVzEqDHf.lean.js rename to dev/assets/broadcasts.md.Dz88oNfL.lean.js index 25f8fd840..e477dfcd8 100644 --- a/dev/assets/broadcasts.md.CVzEqDHf.lean.js +++ b/dev/assets/broadcasts.md.Dz88oNfL.lean.js @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.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
+import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.BAAK0EyE.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 t(l,s,k,p,d,f){return n(),a("div",null,s[0]||(s[0]=[e(`

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 each other, and that values match. Strict checks can be turned off 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 broadcasting. broadcast_dims is analogous to Base Julia's broadcast.

Because we know the names of the dimensions, there is no ambiguity in which ones 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,
@@ -26,16 +26,16 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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
╭───────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

A regular broadcast fails:

julia
julia> scaled = data .* month_scalars
ERROR: DimensionMismatch: arrays could not be broadcast to a common size: a has axes DimensionalData.Dimensions.DimUnitRange(Base.OneTo(100), X{Sampled{Int64, UnitRange{Int64}, ForwardOrdered, Regular{Int64}, Points, NoMetadata}}([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100])) and b has axes DimensionalData.Dimensions.DimUnitRange(Base.OneTo(12), Ti{Sampled{Dates.DateTime, StepRange{Dates.DateTime, Dates.Month}, ForwardOrdered, Regular{Dates.Month}, Points, NoMetadata}}([Dates.DateTime("2000-01-01T00:00:00"), Dates.DateTime("2000-02-01T00:00:00"), Dates.DateTime("2000-03-01T00:00:00"), Dates.DateTime("2000-04-01T00:00:00"), Dates.DateTime("2000-05-01T00:00:00"), Dates.DateTime("2000-06-01T00:00:00"), Dates.DateTime("2000-07-01T00:00:00"), Dates.DateTime("2000-08-01T00:00:00"), Dates.DateTime("2000-09-01T00:00:00"), Dates.DateTime("2000-10-01T00:00:00"), Dates.DateTime("2000-11-01T00:00:00"), Dates.DateTime("2000-12-01T00:00:00")]))

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,
@@ -43,48 +43,48 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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)))
╭────────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

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)))
╭────────────────────────────────╮
+ 2000-01-01T00:00:00  0.50854
+ 2000-02-01T00:00:00  0.499674
+ 2000-03-01T00:00:00  0.510863
+ 2000-04-01T00:00:00  0.500818
+ 2000-05-01T00:00:00  0.501124
+ 2000-06-01T00:00:00  0.495215
+ 2000-07-01T00:00:00  0.489497
+ 2000-08-01T00:00:00  0.500495
+ 2000-09-01T00:00:00  0.491479
+ 2000-10-01T00:00:00  0.499282
+ 2000-11-01T00:00:00  0.491202
+ 2000-12-01T00:00:00  0.485718
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)
╭───────────────────────────────╮
+ 2000-01-01T00:00:00  0.50854
+ 2000-02-01T00:00:00  0.999348
+ 2000-03-01T00:00:00  1.53259
+ 2000-04-01T00:00:00  2.00327
+ 2000-05-01T00:00:00  2.50562
+ 2000-06-01T00:00:00  2.97129
+ 2000-07-01T00:00:00  3.42648
+ 2000-08-01T00:00:00  4.00396
+ 2000-09-01T00:00:00  4.42331
+ 2000-10-01T00:00:00  4.99282
+ 2000-11-01T00:00:00  5.40322
+ 2000-12-01T00:00:00  5.82862

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,
@@ -92,16 +92,16 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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)
╭───────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

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,
@@ -109,16 +109,16 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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)
╭──────────────────────────────────────╮
+                   198         99          100
+  2000-01-01T00:00:00  0.624685      0.844262   0.0471885    0.0442448
+  2000-02-01T00:00:00  0.547848      1.79785    0.187495     0.441762
+  2000-03-01T00:00:00  2.49232       1.15489    2.82356      0.921936
+  2000-04-01T00:00:00  0.439142      2.61341    1.59542      2.24247
+ ⋮                               ⋱                           ⋮
+  2000-09-01T00:00:00  3.27042       6.61858    3.10246      5.93972
+  2000-10-01T00:00:00  0.12404   …   2.53632    7.83904      6.55713
+  2000-11-01T00:00:00  1.79388       2.5891     2.14203      5.52389
+  2000-12-01T00:00:00  8.84219       6.15004    5.04169      6.10415

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,
@@ -126,13 +126,13 @@ import{_ as i,c as a,a4 as n,o as e}from"./chunks/framework.B8l2DGq3.js";const g
 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}; + 198 99 100 + 2000-01-01T00:00:00 0.624685 0.844262 0.0471885 0.0442448 + 2000-02-01T00:00:00 0.547848 1.79785 0.187495 0.441762 + 2000-03-01T00:00:00 2.49232 1.15489 2.82356 0.921936 + 2000-04-01T00:00:00 0.439142 2.61341 1.59542 2.24247 + ⋮ ⋱ ⋮ + 2000-09-01T00:00:00 3.27042 6.61858 3.10246 5.93972 + 2000-10-01T00:00:00 0.12404 … 2.53632 7.83904 6.55713 + 2000-11-01T00:00:00 1.79388 2.5891 2.14203 5.52389 + 2000-12-01T00:00:00 8.84219 6.15004 5.04169 6.10415
`,36)]))}const y=i(h,[["render",t]]);export{g as __pageData,y as default}; diff --git a/dev/assets/chunks/@localSearchIndexroot.CMyb46FE.js b/dev/assets/chunks/@localSearchIndexroot.CMyb46FE.js deleted file mode 100644 index ec0f7f773..000000000 --- a/dev/assets/chunks/@localSearchIndexroot.CMyb46FE.js +++ /dev/null @@ -1 +0,0 @@ -const e='{"documentCount":86,"nextId":86,"documentIds":{"0":"/DimensionalData.jl/dev/api/dimensions#dimensions","1":"/DimensionalData.jl/dev/api/dimensions#Exported-methods","2":"/DimensionalData.jl/dev/api/dimensions#Non-exported-methods","3":"/DimensionalData.jl/dev/api/dimensions#Primitive-methods","4":"/DimensionalData.jl/dev/api/lookuparrays#lookups","5":"/DimensionalData.jl/dev/api/lookuparrays#selectors","6":"/DimensionalData.jl/dev/api/lookuparrays#Lookup-traits","7":"/DimensionalData.jl/dev/api/lookuparrays#order","8":"/DimensionalData.jl/dev/api/lookuparrays#span","9":"/DimensionalData.jl/dev/api/lookuparrays#sampling","10":"/DimensionalData.jl/dev/api/lookuparrays#positions","11":"/DimensionalData.jl/dev/api/lookuparrays#metadata","12":"/DimensionalData.jl/dev/basics#installation","13":"/DimensionalData.jl/dev/basics#basics","14":"/DimensionalData.jl/dev/api/reference#API-Reference","15":"/DimensionalData.jl/dev/api/reference#arrays","16":"/DimensionalData.jl/dev/api/reference#Multi-array-datasets","17":"/DimensionalData.jl/dev/api/reference#Dimension-generators","18":"/DimensionalData.jl/dev/api/reference#Tables.jl/TableTraits.jl-interface","19":"/DimensionalData.jl/dev/api/reference#Group-by-methods","20":"/DimensionalData.jl/dev/api/reference#Utility-methods","21":"/DimensionalData.jl/dev/api/reference#Global-lookup-strictness-settings","22":"/DimensionalData.jl/dev/api/reference#name","23":"/DimensionalData.jl/dev/api/reference#Internal-interface","24":"/DimensionalData.jl/dev/broadcasts#Dimensional-broadcasts-with-@d-and-broadcast_dims","25":"/DimensionalData.jl/dev/broadcasts#Example:-scaling-along-the-time-dimension","26":"/DimensionalData.jl/dev/cuda#CUDA-and-GPUs","27":"/DimensionalData.jl/dev/cuda#GPU-Integration-goals","28":"/DimensionalData.jl/dev/dimarrays#dimarrays","29":"/DimensionalData.jl/dev/dimarrays#Constructing-DimArray-with-arbitrary-dimension-names","30":"/DimensionalData.jl/dev/dimarrays#Dimensional-Indexing","31":"/DimensionalData.jl/dev/dimarrays#Begin-End-indexing","32":"/DimensionalData.jl/dev/dimarrays#dims-keywords","33":"/DimensionalData.jl/dev/dimarrays#performance","34":"/DimensionalData.jl/dev/dimensions#dimensions","35":"/DimensionalData.jl/dev/diskarrays#DiskArrays.jl-compatibility","36":"/DimensionalData.jl/dev/extending_dd#Extending-DimensionalData","37":"/DimensionalData.jl/dev/extending_dd#dims","38":"/DimensionalData.jl/dev/extending_dd#Dimension-axes","39":"/DimensionalData.jl/dev/extending_dd#dims-keywords","40":"/DimensionalData.jl/dev/extending_dd#rebuild","41":"/DimensionalData.jl/dev/extending_dd#format","42":"/DimensionalData.jl/dev/extending_dd#Interfaces.jl-interface-testing","43":"/DimensionalData.jl/dev/groupby#Group-By","44":"/DimensionalData.jl/dev/groupby#Grouping-functions","45":"/DimensionalData.jl/dev/groupby#Grouping-and-reducing","46":"/DimensionalData.jl/dev/groupby#binning","47":"/DimensionalData.jl/dev/groupby#Select-by-Dimension","48":"/DimensionalData.jl/dev/get_info#getters","49":"/DimensionalData.jl/dev/get_info#predicates","50":"/DimensionalData.jl/dev/integrations#integrations","51":"/DimensionalData.jl/dev/integrations#rasters-jl","52":"/DimensionalData.jl/dev/integrations#yaxarrays-jl","53":"/DimensionalData.jl/dev/integrations#climatebase-jl","54":"/DimensionalData.jl/dev/integrations#arviz-jl","55":"/DimensionalData.jl/dev/integrations#jump-jl","56":"/DimensionalData.jl/dev/integrations#cryogrid-jl","57":"/DimensionalData.jl/dev/integrations#dynamicgrids-jl","58":"/DimensionalData.jl/dev/integrations#astroimages-jl","59":"/DimensionalData.jl/dev/integrations#timeseriestools-jl","60":"/DimensionalData.jl/dev/object_modification#Modifying-objects","61":"/DimensionalData.jl/dev/object_modification#modify","62":"/DimensionalData.jl/dev/object_modification#reorder","63":"/DimensionalData.jl/dev/object_modification#mergedims","64":"/DimensionalData.jl/dev/object_modification#rebuild","65":"/DimensionalData.jl/dev/object_modification#rebuild-magic","66":"/DimensionalData.jl/dev/object_modification#set","67":"/DimensionalData.jl/dev/plots#plots-jl","68":"/DimensionalData.jl/dev/plots#makie-jl","69":"/DimensionalData.jl/dev/plots#Test-series-plots","70":"/DimensionalData.jl/dev/plots#default-colormap","71":"/DimensionalData.jl/dev/plots#A-different-colormap","72":"/DimensionalData.jl/dev/plots#with-markers","73":"/DimensionalData.jl/dev/selectors#selectors","74":"/DimensionalData.jl/dev/selectors#lookups","75":"/DimensionalData.jl/dev/selectors#Lookup-autodetection","76":"/DimensionalData.jl/dev/selectors#DimSelector","77":"/DimensionalData.jl/dev/stacks#dimstacks","78":"/DimensionalData.jl/dev/stacks#NamedTuple-like-indexing","79":"/DimensionalData.jl/dev/stacks#Array-like-indexing","80":"/DimensionalData.jl/dev/stacks#Reducing-functions","81":"/DimensionalData.jl/dev/stacks#performance","82":"/DimensionalData.jl/dev/tables#Tables-and-DataFrames","83":"/DimensionalData.jl/dev/tables#example","84":"/DimensionalData.jl/dev/tables#Converting-to-DataFrame","85":"/DimensionalData.jl/dev/tables#Converting-to-CSV"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,303],"1":[2,1,130],"2":[3,1,134],"3":[2,1,346],"4":[1,1,486],"5":[1,1,329],"6":[2,1,38],"7":[1,3,70],"8":[1,3,90],"9":[1,3,63],"10":[1,3,97],"11":[1,1,144],"12":[1,1,40],"13":[1,1,161],"14":[2,1,1],"15":[1,2,335],"16":[3,2,223],"17":[2,2,230],"18":[4,2,112],"19":[3,1,346],"20":[2,1,407],"21":[4,1,234],"22":[1,4,59],"23":[2,4,179],"24":[7,1,87],"25":[6,7,245],"26":[3,1,176],"27":[3,3,110],"28":[1,1,222],"29":[6,1,75],"30":[2,1,256],"31":[3,1,129],"32":[2,1,118],"33":[1,1,93],"34":[1,1,102],"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":[2,1,22],"44":[2,2,114],"45":[3,2,207],"46":[1,2,287],"47":[3,2,141],"48":[1,1,216],"49":[1,1,59],"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,68],"82":[3,1,71],"83":[1,3,115],"84":[3,3,251],"85":[3,3,85]},"averageFieldLength":[2.0232558139534884,1.744186046511628,125.18604651162791],"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":"API Reference","titles":[]},"15":{"title":"Arrays","titles":["API Reference"]},"16":{"title":"Multi-array datasets","titles":["API Reference"]},"17":{"title":"Dimension generators","titles":["API Reference"]},"18":{"title":"Tables.jl/TableTraits.jl interface","titles":["API Reference"]},"19":{"title":"Group by methods","titles":[]},"20":{"title":"Utility methods","titles":[]},"21":{"title":"Global lookup strictness settings","titles":[]},"22":{"title":"Name","titles":["Global lookup strictness settings"]},"23":{"title":"Internal interface","titles":["Global lookup strictness settings"]},"24":{"title":"Dimensional broadcasts with @d and broadcast_dims","titles":[]},"25":{"title":"Example: scaling along the time dimension","titles":["Dimensional broadcasts with @d and broadcast_dims"]},"26":{"title":"CUDA & GPUs","titles":[]},"27":{"title":"GPU Integration goals","titles":["CUDA & GPUs"]},"28":{"title":"DimArrays","titles":[]},"29":{"title":"Constructing DimArray with arbitrary dimension names","titles":["DimArrays"]},"30":{"title":"Dimensional Indexing","titles":["DimArrays"]},"31":{"title":"Begin End indexing","titles":["DimArrays"]},"32":{"title":"dims keywords","titles":["DimArrays"]},"33":{"title":"Performance","titles":["DimArrays"]},"34":{"title":"Dimensions","titles":[]},"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":"Group By","titles":[]},"44":{"title":"Grouping functions","titles":["Group By"]},"45":{"title":"Grouping and reducing","titles":["Group By"]},"46":{"title":"Binning","titles":["Group By"]},"47":{"title":"Select by Dimension","titles":["Group By"]},"48":{"title":"Getters","titles":[]},"49":{"title":"Predicates","titles":["Getters"]},"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":{"46":1}}],["quarters",{"2":{"19":1}}],["quantity",{"2":{"5":1}}],["quot",{"2":{"3":2,"6":2,"15":4,"34":2}}],["query",{"2":{"1":16,"3":6,"15":16,"48":1}}],["─────┼──────────────────────────────────────────────────────────────────────────",{"2":{"84":1}}],["──────┼───────────────────────────────────────────",{"2":{"84":1}}],["──────┼───────────────────────────────────────────────",{"2":{"84":1}}],["──────┼──────────────────────────────────",{"2":{"84":1}}],["⋯",{"2":{"84":6}}],["$st",{"2":{"81":2}}],["$da4",{"2":{"33":2}}],["▃",{"2":{"33":1}}],["▆█",{"2":{"33":2}}],["▂",{"2":{"33":3}}],["▇▃▁▁▁▁▁▁▁▁▁▁▁▁█▆▁▁▁▁▁▁▁▁▁▁▁▁▃▂▁▁▁▁▁▁▁▁▁▁▁▁▃▂▁▁▁▁▁▁▁▁▁▁▁▁▂▂",{"2":{"33":1}}],["██▁▁▁▁▁▁▁▁▁██▁▁▁▁▁▁▁▁▁▁██▁▁▁▁▁▁▁▁▁██▁▁▁▁▁▁▁▁▁▁▄▅▁▁▁▁▁▁▁▁▁▄",{"2":{"33":1}}],["█",{"2":{"33":2}}],["σ",{"2":{"33":4}}],["±",{"2":{"33":8}}],["┊",{"2":{"33":6}}],["~",{"2":{"31":2}}],["└",{"2":{"31":2}}],["└──────────────────────┘",{"2":{"15":4}}],["└─────────────────────────────────┘",{"2":{"29":1,"30":1}}],["└────────────────────────────────────────────────────────┘",{"2":{"21":1}}],["└───────────────────────────────────────────────────────────┘",{"2":{"15":1}}],["└────────────────────────────────────────────────────────────────┘",{"2":{"28":11,"29":1,"30":1,"31":2,"33":1,"61":3,"66":1}}],["└────────────────────────────────────────────────────────────────────┘",{"2":{"26":1}}],["└────────────────────────────────────────────────────────────────────────┘",{"2":{"19":1}}],["└─────────────────────────────────────────────────────────────────────────┘",{"2":{"17":1,"20":3}}],["└───────────────────────────────────────────────────────────────────────────┘",{"2":{"20":1}}],["└──────────────────────────────────────────────────────────────────────────────┘",{"2":{"0":3,"5":1,"13":3,"25":8,"30":2,"32":2,"45":8,"46":11,"47":3,"48":1,"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":{"19":2}}],["└─────────────────────────────────────────────────────────────────────┘",{"2":{"15":3,"20":1}}],["└─────────────────────────────────────────────────────────────────┘",{"2":{"17":2}}],["└─────────────────────────────────────────────────────────────┘",{"2":{"5":1,"15":1}}],["└────────────────────────────────────────────────────────────┘",{"2":{"5":2}}],["└─────────────────────────────────────────────┘",{"2":{"17":1}}],["└─────────────────────────────┘",{"2":{"18":1}}],["└───────────────────────────┘",{"2":{"1":1,"3":1,"15":1}}],["┌",{"2":{"31":2}}],["⋱",{"2":{"25":5,"26":1,"45":1,"47":2,"76":2,"83":1,"84":1}}],["├───────────────┴────────────────────────────────────────────────────────",{"2":{"77":1,"78":6,"80":24}}],["├────────────────┴───────────────────────────────────────────────────────",{"2":{"84":1}}],["├───────────────────┴────────────────────────────────────────────────────",{"2":{"83":1}}],["├────────────────────┴───────────────────────────────────────────────────",{"2":{"79":1}}],["├─────────────────────┴──────────────────────────────────────────────────",{"2":{"80":1}}],["├──────────────────────┴───────────────────────────────────",{"2":{"61":2}}],["├────────────────────────┴─────────────────────────────────",{"2":{"28":1}}],["├─────────────────────────┴────────────────────────────────",{"2":{"29":1,"31":2,"33":1}}],["├─────────────────────────┴─────────────────────────────────",{"2":{"17":2}}],["├─────────────────────────┴─────────────────────────────────────────",{"2":{"17":1,"20":3}}],["├─────────────────────────┴───────────────────────────────────────────",{"2":{"20":1}}],["├─────────────────────────┴──────────────────────────────────────────────",{"2":{"13":2,"30":1,"73":13,"75":1,"76":3}}],["├─────────────────────────┴──────────────────────────────────────────",{"2":{"4":1}}],["├─────────────────────────┴─────────────────────────────────────",{"2":{"15":3,"20":1}}],["├───────────────────────────┴────────────────────────────────────────────",{"2":{"32":2,"48":1,"76":1}}],["├─────────────────────────────┴────────────────────────────",{"2":{"28":1}}],["├─────────────────────────────┴──────────────────────────────────────────",{"2":{"13":1}}],["├───────────────────────────────┴",{"2":{"29":1,"30":1}}],["├───────────────────────────────┴──────────────────────────",{"2":{"28":2}}],["├───────────────────────────────┴──────────────────────────────",{"2":{"26":1}}],["├───────────────────────────────┴────────────────────────────────────────",{"2":{"25":4,"45":1,"46":3,"73":2}}],["├─────────────────────────────────┴──────────────────────────────────────",{"2":{"45":3,"78":1}}],["├───────────────────────────────────┴────────────────────────────────────",{"2":{"64":1,"83":1}}],["├───────────────────────────────────┴──────────────────────",{"2":{"28":1}}],["├──────────────────────────────────────┴─────────────────────────────────",{"2":{"25":1}}],["├────────────────────────────────────────────┴───────────────────────────",{"2":{"74":1}}],["├──────────────────────────────────────────────────┴─────────────────────",{"2":{"46":7}}],["├────────────────────────────────────────────────────────",{"2":{"61":1}}],["├───────────────────────────────────────────────────────────",{"2":{"19":1}}],["├──────────────────────────────────────────────────────────────────",{"2":{"45":1,"46":8,"47":1}}],["├──────────────────────────────────────────────────────────────────────",{"2":{"77":1,"78":6,"79":1,"80":25,"83":1,"84":1}}],["├────────────────────────────────────────────────────────────────────",{"2":{"45":7,"46":11,"47":2,"64":1}}],["├──────────────────────────────────────────────────────────────",{"2":{"19":1}}],["├─────────────────────────────────────────────────────────────",{"2":{"19":2}}],["├──────────────────────────────────────────────────────┴─────────────────",{"2":{"47":1}}],["├──────────────────────────────────────────────────────",{"2":{"28":5}}],["├───────────────────────────────────────────────────┴────────────────────",{"2":{"45":1,"46":1}}],["├───────────────────────────────────────────────────┴─────────────",{"2":{"19":1}}],["├────────────────────────────────────────────────",{"2":{"21":1}}],["├────────────────────────────────────────┴───────────────────────────────",{"2":{"25":1}}],["├───────────────────────────────────────",{"2":{"17":1}}],["├───────────────────────────────────────┴─────────────",{"2":{"15":1}}],["├───────────────────────────────────────┴───────────────",{"2":{"15":1}}],["├────────────────────────────────┴─────────────────────────",{"2":{"28":1}}],["├────────────────────────────────┴────────────────────────────────",{"2":{"19":1}}],["├────────────────────────────────┴───────────────────────────────────────",{"2":{"0":1,"25":2,"45":3}}],["├────────────────────────────┴───────────────────────────────────────────",{"2":{"0":1,"30":1,"47":2,"76":1,"78":1}}],["├──────────────────────────┴───────────────────────────────",{"2":{"28":5,"30":1,"66":1}}],["├──────────────────────────┴───────────────────────────────────────",{"2":{"19":1}}],["├──────────────────────────┴─────────────────────────────────────────────",{"2":{"0":1,"62":2,"64":1,"66":5}}],["├───────────────────────",{"2":{"18":1}}],["├───────────────────────┴────────────────────────────────────────────────",{"2":{"5":1}}],["├───────────────────────┴───────────────────────────────",{"2":{"5":1}}],["├───────────────────────┴──────────────────────────────",{"2":{"5":2}}],["├─────────────────────",{"2":{"1":1,"3":1,"15":1}}],["├────────────────",{"2":{"15":4}}],["├──────────────┴───────────────────────────────────────────",{"2":{"61":1}}],["├──────────────┴───────────────────────────────────",{"2":{"21":1}}],["╭────────────────╮",{"2":{"84":1}}],["╭───────────────────╮",{"2":{"83":1}}],["╭─────────────────────╮",{"2":{"80":1}}],["╭──────────────────────╮",{"2":{"15":4,"61":2}}],["╭────────────────────────╮",{"2":{"28":1}}],["╭─────────────────────────╮",{"2":{"4":1,"13":2,"15":3,"17":3,"20":5,"29":1,"30":1,"31":2,"33":1,"73":13,"75":1,"76":3}}],["╭───────────────────────────╮",{"2":{"1":1,"3":1,"15":1,"32":2,"48":1,"76":1}}],["╭───────────────────────────────╮",{"2":{"25":4,"26":1,"28":2,"29":1,"30":1,"45":1,"46":3,"73":2}}],["╭─────────────────────────────────╮",{"2":{"45":3,"78":1}}],["╭───────────────────────────────────╮",{"2":{"28":1,"64":1,"83":1}}],["╭──────────────────────────────────────╮",{"2":{"25":1}}],["╭────────────────────────────────────────────╮",{"2":{"74":1}}],["╭──────────────────────────────────────────────────────╮",{"2":{"47":1}}],["╭───────────────────────────────────────────────────╮",{"2":{"19":1,"45":1,"46":1}}],["╭──────────────────────────────────────────────────╮",{"2":{"46":7}}],["╭─────────────────────────────────────────────╮",{"2":{"17":1}}],["╭────────────────────────────────────────╮",{"2":{"25":1}}],["╭───────────────────────────────────────╮",{"2":{"15":2}}],["╭────────────────────────────────╮",{"2":{"0":1,"19":1,"25":2,"28":1,"45":3}}],["╭─────────────────────────────╮",{"2":{"13":1,"18":1,"28":1}}],["╭────────────────────────────╮",{"2":{"0":1,"30":1,"47":2,"76":1,"78":1}}],["╭──────────────────────────╮",{"2":{"0":1,"19":1,"28":5,"30":1,"62":2,"64":1,"66":6}}],["╭───────────────────────╮",{"2":{"5":4}}],["╭────────────────────╮",{"2":{"79":1}}],["╭───────────────╮",{"2":{"77":1,"78":6,"80":24}}],["╭──────────────╮",{"2":{"21":1,"61":1}}],["+",{"2":{"20":3,"80":2}}],["⋮",{"2":{"19":3,"25":10,"26":1,"44":8,"45":9,"46":3,"47":3,"76":3,"79":1,"83":2,"84":24,"85":1}}],["|>",{"2":{"13":1}}],["𝐓",{"2":{"5":2}}],[">=",{"2":{"73":1}}],[">",{"2":{"5":3,"16":1,"46":2,"73":1}}],["94",{"2":{"84":1}}],["9447511416331498",{"2":{"85":1}}],["944751",{"2":{"84":2}}],["94412",{"2":{"30":1}}],["947312",{"2":{"83":1}}],["947741",{"2":{"28":1}}],["9436941638102098",{"2":{"79":1}}],["946655",{"2":{"76":1}}],["946824",{"2":{"48":1}}],["94196",{"2":{"76":1}}],["941133",{"2":{"17":1}}],["942925",{"2":{"75":1}}],["948976",{"2":{"48":1}}],["948512",{"2":{"28":3}}],["94018e",{"2":{"45":1}}],["945371",{"2":{"30":1}}],["949105",{"2":{"28":3}}],["925267535912165",{"2":{"79":1,"81":2}}],["925873",{"2":{"28":3}}],["92",{"2":{"76":1}}],["921567",{"2":{"84":1}}],["921958",{"2":{"83":1,"84":2}}],["921012",{"2":{"48":1}}],["921145",{"2":{"48":1}}],["920736",{"2":{"30":1}}],["92721",{"2":{"26":1}}],["92977",{"2":{"76":1}}],["929995",{"2":{"26":1}}],["929592",{"2":{"25":2}}],["924417",{"2":{"25":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":{"30":1}}],["993498",{"2":{"28":1}}],["999193",{"2":{"45":1}}],["99903",{"2":{"45":1}}],["99999",{"2":{"45":1}}],["999983",{"2":{"45":1}}],["999708",{"2":{"45":1}}],["999815",{"2":{"45":1}}],["999816",{"2":{"28":1}}],["999846",{"2":{"45":1}}],["999678",{"2":{"28":1}}],["999",{"2":{"26":1}}],["9982064541308482",{"2":{"80":2}}],["998",{"2":{"26":1}}],["997672",{"2":{"28":3}}],["997",{"2":{"26":1}}],["99719",{"2":{"25":1}}],["996",{"2":{"26":1}}],["995",{"2":{"26":1}}],["995683",{"2":{"26":1}}],["995899",{"2":{"25":1}}],["99",{"2":{"25":5,"45":1,"47":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":{"45":1}}],["98193",{"2":{"26":1}}],["980256",{"2":{"32":1}}],["98985",{"2":{"48":1}}],["989571",{"2":{"28":3}}],["989952",{"2":{"26":1}}],["982762",{"2":{"26":1}}],["98",{"2":{"25":5,"45":1,"47":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":{"30":1}}],["97999",{"2":{"25":1}}],["974596",{"2":{"25":3}}],["97",{"2":{"25":3,"45":2,"47":1,"84":1}}],["936495",{"2":{"84":1}}],["938732432349465",{"2":{"79":1}}],["938732",{"2":{"78":1}}],["938771",{"2":{"76":1}}],["93358",{"2":{"78":1}}],["931705",{"2":{"76":1}}],["932968",{"2":{"48":1}}],["930699",{"2":{"76":1}}],["930599",{"2":{"47":1}}],["930332",{"2":{"17":1}}],["934609",{"2":{"30":1}}],["93479",{"2":{"13":1}}],["935096",{"2":{"28":1}}],["909847",{"2":{"84":1}}],["9003647810614493",{"2":{"79":1}}],["900394",{"2":{"26":1}}],["907202",{"2":{"62":2,"64":2,"66":6}}],["904604",{"2":{"30":1}}],["904961",{"2":{"30":2}}],["90251",{"2":{"28":3}}],["90309",{"2":{"26":1}}],["906705",{"2":{"48":1}}],["906838",{"2":{"26":1}}],["90645",{"2":{"26":1}}],["9063",{"2":{"17":2}}],["90u",{"2":{"5":1}}],["951145",{"2":{"84":1}}],["95213",{"2":{"76":1}}],["95217",{"2":{"26":1}}],["952489",{"2":{"76":1}}],["950007",{"2":{"76":1}}],["950143",{"2":{"48":1}}],["950645",{"2":{"30":1}}],["956616",{"2":{"84":1}}],["956031",{"2":{"30":1}}],["95636",{"2":{"13":1}}],["959028",{"2":{"25":3}}],["959434",{"2":{"17":1}}],["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":{"28":2}}],["9698812177371097",{"2":{"79":1,"80":2}}],["969881",{"2":{"78":1}}],["969079",{"2":{"73":3}}],["96951",{"2":{"25":1}}],["965831",{"2":{"29":2,"31":2}}],["967865",{"2":{"25":3}}],["96",{"2":{"5":2,"45":2,"47":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":{"45":1}}],["916702",{"2":{"30":1}}],["917143",{"2":{"76":1}}],["91732",{"2":{"30":1}}],["917457",{"2":{"30":1}}],["917672",{"2":{"28":1}}],["917543",{"2":{"28":3}}],["912065",{"2":{"28":3}}],["919763",{"2":{"13":1}}],["91",{"2":{"5":2,"13":1}}],["9",{"2":{"4":2,"13":2,"17":2,"20":2,"25":3,"44":1,"46":18,"48":7,"74":1,"76":6,"78":3,"83":2,"84":4,"85":2}}],["7×5",{"2":{"75":1}}],["7×3",{"2":{"30":1}}],["750622",{"2":{"76":1}}],["750947",{"2":{"76":1}}],["750906",{"2":{"30":1}}],["753744",{"2":{"76":1}}],["753597",{"2":{"76":1}}],["75275",{"2":{"46":4}}],["758149",{"2":{"75":1}}],["758865",{"2":{"30":1}}],["75847",{"2":{"26":1}}],["754468",{"2":{"29":1,"31":2}}],["75568",{"2":{"26":1}}],["70",{"2":{"75":3}}],["706417",{"2":{"45":1}}],["706267",{"2":{"29":1,"31":2}}],["708321",{"2":{"30":1}}],["704858",{"2":{"28":1}}],["7076921858340348",{"2":{"28":1}}],["707692",{"2":{"28":2}}],["702944",{"2":{"26":1}}],["70597",{"2":{"13":1}}],["738445",{"2":{"84":1}}],["734751",{"2":{"76":1}}],["73",{"2":{"46":1}}],["730",{"2":{"45":2}}],["73011",{"2":{"32":1}}],["736525",{"2":{"45":1}}],["73623",{"2":{"26":1}}],["736214",{"2":{"25":3}}],["735973",{"2":{"78":1}}],["73591",{"2":{"26":1}}],["735391",{"2":{"76":1}}],["735",{"2":{"33":1}}],["739241",{"2":{"30":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}}],["791844",{"2":{"75":1}}],["792553",{"2":{"75":1}}],["792885",{"2":{"25":5}}],["795274",{"2":{"76":1}}],["795",{"2":{"33":1}}],["794017",{"2":{"30":2}}],["794163",{"2":{"30":1}}],["790283",{"2":{"25":3}}],["729706",{"2":{"76":1}}],["728852",{"2":{"76":1}}],["728611",{"2":{"25":2}}],["72217",{"2":{"75":1}}],["727464",{"2":{"76":2}}],["727149",{"2":{"48":1}}],["727997",{"2":{"47":1}}],["727554",{"2":{"30":1}}],["721331",{"2":{"30":1}}],["724709",{"2":{"28":1}}],["723438",{"2":{"28":2}}],["725738",{"2":{"25":3}}],["72",{"2":{"13":1,"46":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":{"28":2}}],["778222",{"2":{"26":1}}],["774092",{"2":{"15":1,"17":1}}],["774731",{"2":{"13":1}}],["77",{"2":{"13":1}}],["74172",{"2":{"83":1,"84":1}}],["74191",{"2":{"28":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}}],["749253",{"2":{"48":1}}],["749267",{"2":{"45":1,"47":2}}],["745856",{"2":{"66":1}}],["745673",{"2":{"15":1,"17":2}}],["742852",{"2":{"47":1}}],["74204",{"2":{"25":2}}],["740523",{"2":{"28":1}}],["740735",{"2":{"28":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":{"28":3}}],["767151",{"2":{"76":1}}],["76547e",{"2":{"45":1}}],["762533",{"2":{"45":1}}],["762794",{"2":{"13":1}}],["760111",{"2":{"32":1}}],["760205",{"2":{"28":3}}],["761212",{"2":{"30":1}}],["76163",{"2":{"25":3}}],["769313",{"2":{"30":1}}],["76",{"2":{"13":2}}],["713814",{"2":{"84":1}}],["7140841681506571",{"2":{"79":1}}],["714084",{"2":{"78":1}}],["714286",{"2":{"29":1,"31":2}}],["717841",{"2":{"76":1}}],["717006",{"2":{"76":1}}],["712342",{"2":{"76":2}}],["712711",{"2":{"28":1}}],["715102",{"2":{"48":1}}],["711133",{"2":{"73":12}}],["711714",{"2":{"32":1}}],["71194",{"2":{"28":1}}],["719779",{"2":{"84":1}}],["719495",{"2":{"30":1}}],["719974",{"2":{"26":1}}],["710967",{"2":{"28":3}}],["71",{"2":{"13":2}}],["789667",{"2":{"84":1}}],["789637",{"2":{"47":2}}],["781497",{"2":{"78":1}}],["788252",{"2":{"76":1}}],["785",{"2":{"33":1}}],["786147",{"2":{"30":1}}],["7802406914680406",{"2":{"79":1}}],["78028",{"2":{"26":1}}],["780196",{"2":{"28":1}}],["780132",{"2":{"28":2}}],["78",{"2":{"13":3,"33":1}}],["7",{"2":{"4":4,"5":5,"13":1,"25":5,"28":102,"30":6,"44":10,"45":1,"46":5,"48":9,"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":{"33":1}}],["running",{"2":{"26":1,"46":1}}],["rule",{"2":{"21":2}}],["r",{"2":{"15":2,"84":1}}],["right",{"2":{"13":3,"66":2,"68":2}}],["rtol=nothing",{"2":{"5":1}}],["rainclouds",{"2":{"68":1}}],["raw",{"2":{"46":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,"20":1,"35":1,"36":1,"51":2,"52":1}}],["randn",{"2":{"21":2}}],["random",{"2":{"15":3}}],["rand",{"2":{"4":3,"13":3,"15":9,"17":3,"19":1,"20":1,"25":1,"26":1,"28":6,"29":1,"30":1,"32":1,"42":4,"45":1,"48":1,"62":1,"68":1,"70":1,"73":1,"75":1,"76":3,"78":3,"83":2}}],["ranges",{"2":{"5":1,"19":1,"31":1,"46":6,"73":3,"75":4}}],["range",{"2":{"4":2,"5":4,"15":2,"20":1,"33":2,"41":1,"44":2,"46":1,"51":1,"73":1,"75":1}}],["rather",{"2":{"3":1,"4":2,"5":1,"9":1,"19":2,"27":1,"60":1,"62":1}}],["red",{"2":{"71":1,"72":1}}],["reductions",{"2":{"15":1,"35":1}}],["reducing",{"0":{"45":1,"80":1},"2":{"15":1,"19":3}}],["reduce",{"2":{"3":1,"19":2,"32":1,"80":2}}],["reduced",{"2":{"3":1}}],["reducedims",{"2":{"3":1}}],["receive",{"2":{"40":1}}],["reconstruction",{"2":{"15":1,"40":1}}],["recommended",{"2":{"12":1}}],["rev",{"2":{"20":2}}],["reversal",{"2":{"20":1}}],["reverseordered",{"2":{"4":5,"7":3,"46":1,"48":15,"49":14,"62":5,"75":2,"76":2,"80":8}}],["reverse",{"2":{"4":1,"7":1,"20":4,"32":1,"48":1,"62":1,"80":1}}],["reversed",{"2":{"4":1}}],["reordering",{"2":{"20":1}}],["reorder",{"0":{"62":1},"2":{"20":8,"62":4,"68":1}}],["relationships",{"2":{"35":1}}],["related",{"2":{"27":1}}],["relying",{"2":{"19":1}}],["reliable",{"2":{"4":1}}],["reasons",{"2":{"51":1}}],["reason",{"2":{"27":1,"51":1}}],["readlines",{"2":{"85":1}}],["read",{"2":{"23":2}}],["reading",{"2":{"19":1}}],["real",{"2":{"4":1}}],["really",{"2":{"3":1,"65":1}}],["remove",{"2":{"21":4}}],["removed",{"2":{"5":1}}],["removing",{"2":{"16":1}}],["reshape",{"2":{"24":1,"63":1}}],["reshaping",{"2":{"20":2}}],["restored",{"2":{"20":1}}],["resshape",{"2":{"20":1}}],["resolve",{"2":{"16":1,"31":1}}],["result",{"2":{"5":1,"16":1,"20":3,"26":1,"31":1,"82":1}}],["results",{"2":{"5":2,"19":2,"67":1}}],["rebuilt",{"2":{"15":1,"20":1,"60":1}}],["rebuilding",{"2":{"20":1}}],["rebuild",{"0":{"40":1,"64":1,"65":1},"1":{"65":1},"2":{"4":2,"15":3,"16":2,"20":6,"23":54,"27":1,"36":1,"40":7,"42":40,"64":6,"65":2,"66":1}}],["requires",{"2":{"39":1,"46":1}}],["require",{"2":{"9":1}}],["required",{"2":{"0":1,"3":1,"11":1,"18":1,"20":4,"27":1}}],["repl",{"2":{"74":1}}],["replaces",{"2":{"3":1,"27":1}}],["replaced",{"2":{"3":1,"8":1}}],["replace",{"2":{"3":2,"20":1,"61":1}}],["represents",{"2":{"38":1,"77":1}}],["representing",{"2":{"4":1}}],["represent",{"2":{"4":1,"10":1}}],["refdim",{"2":{"23":1}}],["refdims=refdims",{"2":{"16":1}}],["refdims=",{"2":{"15":1}}],["refdims",{"2":{"15":9,"20":2,"23":21,"40":1,"42":12,"64":2}}],["refence",{"2":{"15":1}}],["reference",{"0":{"14":1},"1":{"15":1,"16":1,"17":1,"18":1},"2":{"3":2,"15":3,"23":1,"36":1}}],["refer",{"2":{"0":1,"9":1}}],["ref",{"2":{"3":1}}],["rewraps",{"2":{"3":1}}],["retrieved",{"2":{"34":1}}],["retrieves",{"2":{"5":1,"48":1}}],["retrieve",{"2":{"2":1,"5":1,"48":1}}],["returning",{"2":{"3":1,"11":1,"21":2,"80":1}}],["returns",{"2":{"2":1,"3":3,"5":1,"11":2,"15":3,"16":2,"17":1,"19":1,"23":2,"42":2,"46":3,"48":1,"79":1}}],["returned",{"2":{"1":1,"3":2,"4":1,"11":1,"15":1,"19":2,"20":4,"34":1,"49":1}}],["return",{"2":{"1":3,"3":3,"4":8,"5":2,"15":6,"16":7,"19":7,"20":7,"37":1,"38":2,"39":2,"44":1,"48":1,"49":1,"79":2,"81":1}}],["regular",{"2":{"0":5,"2":1,"4":7,"5":4,"8":4,"10":2,"13":4,"15":5,"17":2,"18":1,"19":2,"20":9,"21":1,"24":2,"25":19,"26":3,"30":2,"36":1,"39":1,"45":2,"46":1,"47":5,"48":30,"49":28,"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":{"44":1}}],["kinds",{"2":{"15":4,"28":1}}],["knowing",{"2":{"30":1}}],["knows",{"2":{"25":1,"36":1}}],["know",{"2":{"19":1,"24":1,"64":1,"65":1}}],["known",{"2":{"4":5,"10":1,"30":1}}],["kw",{"2":{"3":5,"4":1,"5":1,"11":1,"15":10,"16":5,"20":3,"23":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,"20":2,"22":1,"46":1}}],["key",{"2":{"21":3,"36":1,"82":1}}],["keys=",{"2":{"21":2}}],["keys=keys",{"2":{"21":2}}],["keys",{"2":{"0":1,"11":2,"16":1,"21":2,"23":4,"46":1,"78":2}}],["keywords",{"0":{"32":1,"39":1},"2":{"3":2,"4":2,"15":4,"17":2,"18":1,"19":5,"20":1,"21":1,"23":5,"29":1,"31":1,"32":1,"40":1,"41":1,"42":2,"64":4,"65":1}}],["keyword",{"2":{"0":1,"4":3,"5":1,"15":1,"16":1,"19":1,"20":2,"21":1,"39":1,"40":2,"65":1}}],["kept",{"2":{"0":1,"3":1}}],["┤",{"2":{"1":1,"3":1,"15":5,"17":1,"18":1,"19":4,"21":1,"28":5,"45":8,"46":19,"47":3,"61":1,"64":1,"77":1,"78":6,"79":1,"80":25,"83":1,"84":1}}],["u",{"2":{"84":1}}],["utility",{"0":{"20":1}}],["updating",{"2":{"40":1}}],["update",{"2":{"20":3}}],["updates",{"2":{"15":1,"23":6,"42":6}}],["updated",{"2":{"3":2,"20":4,"23":6,"42":6}}],["upperbound",{"2":{"8":1}}],["upper",{"2":{"5":1,"8":1}}],["unrolled",{"2":{"82":1}}],["unambiguous",{"2":{"48":1}}],["unaltered",{"2":{"4":1}}],["unaligned",{"2":{"4":4}}],["unclosed",{"2":{"23":1}}],["unmerged",{"2":{"20":1}}],["unmergedims",{"2":{"20":2}}],["unmatched",{"2":{"1":1,"15":1}}],["unknown",{"2":{"17":1,"75":1}}],["underneath",{"2":{"65":1}}],["underlying",{"2":{"1":1,"15":1,"21":1}}],["undefined",{"2":{"4":1,"15":2,"19":1,"41":1}}],["unless",{"2":{"4":4,"5":1,"31":1,"75":1,"82":1}}],["unlike",{"2":{"3":2,"11":1,"17":1,"66":1}}],["unordered",{"2":{"4":6,"7":3,"46":3,"66":2,"74":2,"75":2}}],["unitrange",{"2":{"19":2,"46":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,"19":2,"20":2,"22":1}}],["usual",{"2":{"24":1}}],["usually",{"2":{"0":1,"3":2,"15":1,"39":1,"44":1,"66":1,"73":1,"74":2,"81":1}}],["us",{"2":{"11":1,"30":1,"34":1,"66":1}}],["user",{"2":{"35":1}}],["uses",{"2":{"4":1,"8":1,"27":2,"34":1,"56":1,"59":1,"64":1}}],["useful",{"2":{"1":1,"3":3,"4":6,"17":1,"20":1,"48":1,"61":1,"64":1}}],["use",{"2":{"0":3,"3":1,"4":2,"5":3,"7":1,"11":1,"12":1,"15":2,"16":3,"17":1,"20":3,"21":4,"22":3,"25":1,"26":1,"29":1,"30":1,"31":1,"40":1,"45":1,"46":5,"49":1,"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,"16":2,"17":4,"19":9,"20":4,"21":1,"30":2,"31":2,"32":1,"34":1,"35":1,"40":3,"44":1,"45":1,"48":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":10,"16":1,"17":2,"18":2,"19":1,"20":6,"21":3,"25":2,"27":1,"28":1,"29":1,"31":1,"32":1,"33":1,"34":1,"40":2,"42":1,"44":2,"45":1,"48":3,"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":{"21":2,"56":1}}],["view",{"2":{"3":1,"15":1,"16":2,"17":1,"31":1}}],["very",{"2":{"16":2,"52":1,"64":1,"81":1}}],["versions",{"2":{"40":2}}],["version",{"2":{"12":1,"16":1,"20":2,"40":1,"64":1,"65":1,"82":1}}],["vectors",{"2":{"3":1,"30":1,"73":3}}],["vector",{"2":{"0":1,"4":2,"5":6,"16":1,"19":11,"20":2,"30":2,"44":8,"46":4,"48":2,"73":5,"74":3,"79":2,"85":1}}],["var",{"2":{"32":1,"80":2}}],["variable",{"2":{"20":1,"60":1,"68":1}}],["vararg",{"2":{"1":4,"2":3,"3":6,"4":5,"15":10,"16":2,"18":1,"20":3,"23":1,"30":1}}],["valtype",{"2":{"3":1}}],["valid",{"2":{"3":1}}],["val",{"2":{"2":2,"3":1,"4":4,"11":1,"20":5,"34":2,"39":2,"48":3,"64":4}}],["val=",{"2":{"0":5}}],["value",{"2":{"0":1,"3":2,"4":2,"5":15,"8":1,"9":1,"10":1,"15":5,"16":3,"17":1,"19":7,"22":1,"28":1,"29":1,"34":1,"48":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,"15":1,"16":3,"17":5,"19":8,"20":3,"21":5,"23":1,"24":1,"38":1,"40":1,"44":1,"46":5,"60":1,"63":1,"64":1,"66":2,"67":1,"73":5,"74":5,"75":3,"76":1,"79":2}}],["nanoseconds",{"2":{"81":1}}],["names",{"0":{"29":1},"2":{"18":1,"20":2,"21":4,"22":1,"24":1,"29":1,"34":2,"48":1,"73":1,"74":1}}],["name=nothing",{"2":{"16":1}}],["name=noname",{"2":{"15":1}}],["name=",{"2":{"15":1,"16":3,"20":1,"25":1,"28":5,"64":1,"83":1}}],["name2dim",{"2":{"3":3}}],["name",{"0":{"22":1},"2":{"2":1,"15":10,"18":2,"20":4,"22":11,"23":4,"24":1,"27":3,"29":1,"34":2,"40":1,"42":4,"64":2,"73":1,"77":1,"78":2,"82":2}}],["namedtuple",{"0":{"78":1},"2":{"11":3,"16":12,"20":3,"23":2,"25":1,"77":2,"78":1,"79":4,"81":1}}],["named",{"2":{"0":1,"10":2,"22":1,"28":1,"31":1,"34":1,"55":1,"71":1}}],["n=rand",{"2":{"78":1}}],["nt",{"2":{"65":2}}],["ntuple",{"2":{"1":3,"2":3,"15":5}}],["night",{"2":{"46":4}}],["nice",{"2":{"46":1}}],["ncdatasets",{"2":{"35":1}}],["ns",{"2":{"33":14,"81":2}}],["ndims",{"2":{"23":5,"42":3}}],["nvidia",{"2":{"20":1}}],["neighbor",{"2":{"76":1}}],["neighbour",{"2":{"17":1}}],["necessary",{"2":{"22":1}}],["necessarily",{"2":{"20":1}}],["netcdf",{"2":{"10":1,"35":1}}],["next",{"2":{"5":1}}],["needed",{"2":{"27":1,"64":1,"75":1}}],["needs",{"2":{"22":1,"23":1}}],["need",{"2":{"4":1,"12":1,"16":3,"19":1,"20":4,"27":3}}],["nearly",{"2":{"36":1}}],["nearsest",{"2":{"5":1}}],["nearest",{"2":{"5":3,"17":1,"76":1}}],["near",{"2":{"4":2,"5":7,"15":2,"17":2,"73":3,"76":2}}],["newdim",{"2":{"3":4}}],["newdims",{"2":{"3":4}}],["new",{"2":{"0":1,"3":5,"4":1,"15":2,"18":1,"20":13,"36":1,"40":1,"80":1}}],["nosampling",{"2":{"66":1}}],["nospan",{"2":{"66":1}}],["nov",{"2":{"46":4,"74":1}}],["now",{"2":{"44":1,"46":1,"55":1,"74":1,"79":1}}],["normalization",{"2":{"47":1}}],["normal",{"2":{"7":1,"22":1}}],["nometadata",{"2":{"4":3,"11":2,"15":1}}],["nolookup",{"2":{"4":11,"15":4,"20":1,"66":2,"74":9,"75":1}}],["no",{"2":{"2":1,"3":3,"4":2,"11":1,"20":2,"24":1,"33":1,"35":1,"66":1,"74":1,"75":1,"81":1}}],["noname",{"2":{"20":1,"22":5}}],["non",{"0":{"2":1},"2":{"15":2,"16":1}}],["notice",{"2":{"17":1,"19":1}}],["notably",{"2":{"16":2,"57":1}}],["note",{"2":{"5":1,"19":1,"20":1,"23":1,"46":2}}],["notes",{"2":{"4":1,"20":1}}],["nothing",{"2":{"1":1,"3":3,"4":1,"5":1,"8":2,"11":4,"15":1,"75":4}}],["not",{"2":{"0":1,"1":1,"3":4,"4":6,"5":8,"10":3,"11":4,"15":1,"17":2,"19":1,"20":7,"21":3,"22":2,"23":4,"24":1,"25":1,"27":1,"30":1,"31":2,"40":1,"41":1,"46":3,"48":1,"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,"15":1,"19":5,"23":2,"42":2,"64":1,"75":1}}],["n",{"2":{"1":1,"2":3,"3":1,"4":3,"15":3,"46":1,"62":5,"64":4,"66":6,"78":3,"84":1}}],["`refdims`",{"2":{"42":2}}],["`dims`",{"2":{"42":2}}],["`da`",{"2":{"20":1}}],["`cuarray`",{"2":{"26":1}}],["`modify`",{"2":{"26":1}}],["`openinterval",{"2":{"5":1}}],["`",{"2":{"0":1,"20":2}}],["8219054655873324",{"2":{"79":1}}],["824659",{"2":{"76":1}}],["823123",{"2":{"76":1}}],["823656",{"2":{"15":1}}],["825204",{"2":{"75":1}}],["829714",{"2":{"48":1}}],["8288995877624121",{"2":{"85":1}}],["8289",{"2":{"84":2}}],["828161",{"2":{"83":1}}],["828515",{"2":{"47":2}}],["828395",{"2":{"30":1}}],["822008",{"2":{"76":1}}],["822",{"2":{"33":1}}],["827852",{"2":{"32":1}}],["832538",{"2":{"76":1}}],["834418",{"2":{"76":1}}],["835674",{"2":{"76":1}}],["835288",{"2":{"26":1}}],["831617",{"2":{"48":1}}],["83",{"2":{"33":1}}],["837335",{"2":{"30":1}}],["836107",{"2":{"30":2}}],["839618",{"2":{"30":1}}],["830187",{"2":{"28":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":{"45":1}}],["811917",{"2":{"76":1}}],["815253",{"2":{"76":1}}],["815365",{"2":{"28":2}}],["810377",{"2":{"76":1}}],["8107",{"2":{"28":1}}],["81253",{"2":{"28":1}}],["81708",{"2":{"26":1}}],["818644",{"2":{"25":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":{"29":1,"31":2}}],["885914",{"2":{"28":3}}],["888721",{"2":{"83":1}}],["88841",{"2":{"29":1,"31":2}}],["88869",{"2":{"26":1}}],["881149",{"2":{"26":1}}],["880853",{"2":{"76":1}}],["880796",{"2":{"30":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}}],["899632",{"2":{"48":1}}],["899864",{"2":{"45":1,"47":1}}],["89862",{"2":{"30":1}}],["895608",{"2":{"28":2}}],["896624",{"2":{"76":1}}],["896257",{"2":{"75":1}}],["89618",{"2":{"25":2}}],["896315",{"2":{"25":3}}],["893537",{"2":{"17":1}}],["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":{"45":1}}],["847872",{"2":{"76":1}}],["847018",{"2":{"30":1}}],["84475",{"2":{"76":2}}],["844547",{"2":{"13":1}}],["848624",{"2":{"76":1}}],["846736",{"2":{"76":1}}],["846",{"2":{"31":2}}],["84",{"2":{"13":1,"76":1}}],["8719143923648308",{"2":{"85":1}}],["871914",{"2":{"84":2}}],["87656",{"2":{"78":1}}],["876112",{"2":{"48":1}}],["878565",{"2":{"76":1}}],["873218",{"2":{"76":1}}],["87255",{"2":{"73":3}}],["875108",{"2":{"47":1}}],["875221",{"2":{"25":3}}],["870348",{"2":{"75":1}}],["870276",{"2":{"30":2}}],["870485",{"2":{"17":1}}],["879774",{"2":{"30":1}}],["87436",{"2":{"26":1}}],["87",{"2":{"13":3,"45":1}}],["868917",{"2":{"84":1}}],["868966",{"2":{"48":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":{"30":2}}],["865298",{"2":{"28":2}}],["869012",{"2":{"73":3}}],["864128",{"2":{"48":1}}],["864765",{"2":{"30":1}}],["864856",{"2":{"17":1}}],["860933",{"2":{"28":2}}],["867547",{"2":{"15":1,"17":1}}],["86",{"2":{"13":1}}],["8560905731682101",{"2":{"85":1}}],["856091",{"2":{"84":2}}],["853553",{"2":{"30":1}}],["8542391508438596",{"2":{"79":1}}],["854239",{"2":{"78":1}}],["854076",{"2":{"28":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":{"30":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":{"30":1}}],["803192",{"2":{"13":1}}],["80",{"2":{"4":1,"13":1,"46":1}}],["8",{"2":{"0":1,"4":1,"5":2,"13":1,"16":1,"25":1,"30":4,"44":1,"45":2,"46":11,"48":7,"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":{"46":1}}],["648179",{"2":{"84":1}}],["64534",{"2":{"84":1}}],["645678",{"2":{"83":1}}],["645795",{"2":{"45":1,"47":2}}],["6445457662038467",{"2":{"79":2}}],["640974",{"2":{"78":1}}],["640311",{"2":{"48":1}}],["642187",{"2":{"76":1}}],["642908",{"2":{"26":1}}],["647225",{"2":{"75":1}}],["64",{"2":{"46":1}}],["634377",{"2":{"84":1}}],["634499",{"2":{"30":1}}],["636476",{"2":{"83":1}}],["631878",{"2":{"76":1}}],["633956",{"2":{"48":1}}],["635963",{"2":{"48":1}}],["639212",{"2":{"48":1}}],["639499",{"2":{"45":1}}],["63",{"2":{"45":1}}],["637077",{"2":{"15":2}}],["6730273352488979",{"2":{"85":1}}],["673027",{"2":{"84":2}}],["673966",{"2":{"30":1}}],["670607",{"2":{"83":1,"84":1}}],["6702922824659258",{"2":{"79":2}}],["674061",{"2":{"83":1}}],["674881",{"2":{"48":1}}],["675459",{"2":{"76":1}}],["675435",{"2":{"13":1}}],["677543",{"2":{"76":2}}],["679296",{"2":{"76":1}}],["679221",{"2":{"30":2}}],["679453",{"2":{"75":1}}],["679632",{"2":{"84":1}}],["6796",{"2":{"47":2}}],["678022",{"2":{"30":1}}],["622735",{"2":{"84":1}}],["620473",{"2":{"83":1}}],["620055",{"2":{"29":1,"31":2}}],["621527",{"2":{"76":1}}],["621662",{"2":{"75":1}}],["621603",{"2":{"73":4}}],["623124",{"2":{"76":1}}],["625435",{"2":{"30":1}}],["625296",{"2":{"28":3}}],["625257",{"2":{"28":3}}],["624685",{"2":{"13":1}}],["6150940338022266",{"2":{"85":1}}],["615094",{"2":{"84":2}}],["615764",{"2":{"30":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":{"28":1}}],["612779",{"2":{"25":3}}],["687921",{"2":{"75":1}}],["68781",{"2":{"48":1}}],["687223",{"2":{"25":3}}],["683795",{"2":{"75":1}}],["683712",{"2":{"45":1}}],["683091",{"2":{"30":1}}],["683696",{"2":{"30":1}}],["680987",{"2":{"75":1}}],["68072e",{"2":{"45":1}}],["680352",{"2":{"30":1}}],["680225",{"2":{"30":2}}],["684587",{"2":{"28":1}}],["686287",{"2":{"25":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":{"45":1,"47":1}}],["691687",{"2":{"78":1}}],["691887",{"2":{"32":1}}],["691162",{"2":{"17":1}}],["690695",{"2":{"30":1}}],["69506",{"2":{"26":1}}],["69635",{"2":{"25":3}}],["692209",{"2":{"17":2}}],["692235",{"2":{"15":1}}],["69",{"2":{"13":1}}],["666938",{"2":{"84":1}}],["66622",{"2":{"26":1}}],["66996622586129",{"2":{"79":1}}],["669966",{"2":{"78":1}}],["669021",{"2":{"30":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":{"48":1}}],["6642",{"2":{"29":1,"31":2}}],["665742",{"2":{"26":1}}],["66",{"2":{"13":1}}],["656243",{"2":{"84":1}}],["650842",{"2":{"76":1}}],["657054",{"2":{"76":1}}],["657441",{"2":{"28":3}}],["655684",{"2":{"25":3}}],["651784",{"2":{"25":3}}],["652353",{"2":{"25":3}}],["65",{"2":{"13":5,"46":1}}],["608366",{"2":{"84":1}}],["602631",{"2":{"78":1}}],["602",{"2":{"76":1}}],["602315",{"2":{"48":1}}],["602923",{"2":{"28":1}}],["600816",{"2":{"47":1}}],["605324",{"2":{"30":1}}],["605217",{"2":{"28":1}}],["60111",{"2":{"25":2}}],["60",{"2":{"4":1,"5":1,"75":1,"79":1}}],["6",{"2":{"0":1,"4":2,"5":18,"13":1,"16":1,"17":4,"20":4,"25":6,"26":1,"44":11,"45":6,"46":20,"48":7,"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":{"47":1}}],["439711995898844",{"2":{"79":1}}],["43915",{"2":{"76":1}}],["433769",{"2":{"78":1}}],["433955",{"2":{"32":1}}],["433527",{"2":{"28":1}}],["417756",{"2":{"76":1,"84":1}}],["412078",{"2":{"76":1}}],["415714",{"2":{"73":3}}],["418968",{"2":{"48":1}}],["41",{"2":{"46":1}}],["411529",{"2":{"29":1,"31":2}}],["410463",{"2":{"28":2}}],["41334",{"2":{"26":1}}],["460775",{"2":{"76":1}}],["460633",{"2":{"45":1,"47":2}}],["461631",{"2":{"62":2,"64":2,"66":6}}],["464482",{"2":{"48":1}}],["464554",{"2":{"26":1}}],["462859",{"2":{"76":1}}],["462",{"2":{"33":1}}],["462981",{"2":{"26":1}}],["467484",{"2":{"30":1}}],["465631",{"2":{"29":1,"31":2}}],["46668",{"2":{"28":1}}],["469388",{"2":{"28":1}}],["468968",{"2":{"30":1}}],["468184",{"2":{"28":1}}],["468066",{"2":{"28":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":{"45":1}}],["444708",{"2":{"30":1}}],["441181",{"2":{"75":1}}],["44119",{"2":{"28":2}}],["441735",{"2":{"29":1,"31":2}}],["44104",{"2":{"28":1}}],["443494",{"2":{"15":1,"17":1}}],["456688",{"2":{"84":1}}],["45655",{"2":{"83":1}}],["457841",{"2":{"83":1,"84":1}}],["457891",{"2":{"30":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":{"28":2}}],["455255",{"2":{"76":1}}],["458427",{"2":{"76":1}}],["45804",{"2":{"26":1}}],["45152471334016764",{"2":{"79":1}}],["451525",{"2":{"78":1}}],["451425",{"2":{"30":1}}],["4518",{"2":{"28":2}}],["453973",{"2":{"25":3}}],["4×6",{"2":{"17":1}}],["4×5",{"2":{"13":1}}],["48952511607945026",{"2":{"85":1}}],["489525",{"2":{"84":2}}],["489762",{"2":{"25":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":{"17":1}}],["48240020633837055",{"2":{"79":1}}],["482654",{"2":{"76":1}}],["48275",{"2":{"26":1}}],["488473",{"2":{"84":1}}],["488458",{"2":{"45":1}}],["48889263023704055",{"2":{"79":1}}],["48817",{"2":{"30":1}}],["487563",{"2":{"45":1}}],["487578",{"2":{"13":1}}],["487601",{"2":{"26":1}}],["48124",{"2":{"76":1}}],["481",{"2":{"33":1}}],["481184",{"2":{"30":1}}],["48113",{"2":{"25":1}}],["48101",{"2":{"25":1}}],["48",{"2":{"13":1,"46":1}}],["4278264986513013",{"2":{"85":1}}],["427328",{"2":{"15":1,"17":1}}],["429822",{"2":{"84":1}}],["422318",{"2":{"76":1}}],["428951",{"2":{"48":1}}],["42833",{"2":{"25":1}}],["423798",{"2":{"48":1}}],["4231",{"2":{"30":1}}],["421525",{"2":{"76":1}}],["42151",{"2":{"26":1}}],["421692",{"2":{"30":1}}],["420756",{"2":{"17":1}}],["42",{"2":{"13":1}}],["474535",{"2":{"78":1}}],["476387",{"2":{"76":2}}],["476495",{"2":{"28":2}}],["471877",{"2":{"48":1}}],["475569",{"2":{"48":1}}],["479126",{"2":{"26":1}}],["47963",{"2":{"25":2}}],["47",{"2":{"13":1,"46":2}}],["495624",{"2":{"76":1}}],["497346",{"2":{"30":1}}],["49795",{"2":{"25":1}}],["49224",{"2":{"76":1}}],["492332",{"2":{"45":1}}],["492377",{"2":{"25":1}}],["492141",{"2":{"28":3}}],["493065",{"2":{"84":1}}],["493417",{"2":{"28":2}}],["493708",{"2":{"25":1}}],["49057852962217935",{"2":{"80":1}}],["49097",{"2":{"26":1}}],["490968",{"2":{"25":1}}],["49029",{"2":{"25":2}}],["496665",{"2":{"25":1}}],["496201",{"2":{"25":1}}],["496108",{"2":{"25":2}}],["491767",{"2":{"25":3}}],["49853441854361796",{"2":{"80":1}}],["498465",{"2":{"45":1}}],["498669",{"2":{"45":1}}],["498606",{"2":{"19":1}}],["498996",{"2":{"45":1}}],["498388",{"2":{"45":1,"46":1}}],["498895",{"2":{"45":1}}],["498832",{"2":{"45":1,"46":1}}],["498801",{"2":{"19":1}}],["498764",{"2":{"30":1}}],["498704",{"2":{"19":1}}],["498145",{"2":{"19":1}}],["499307",{"2":{"76":1}}],["49935",{"2":{"46":1}}],["499474",{"2":{"46":1}}],["499687",{"2":{"46":1}}],["499667",{"2":{"45":1}}],["499218",{"2":{"45":1}}],["499298",{"2":{"19":1}}],["49973",{"2":{"76":1}}],["499719",{"2":{"25":1}}],["499762",{"2":{"19":1}}],["499594",{"2":{"19":1}}],["499985",{"2":{"19":1}}],["49",{"2":{"13":2,"46":1}}],["405912",{"2":{"76":1}}],["40584",{"2":{"26":1}}],["403836",{"2":{"76":1}}],["406397",{"2":{"62":2,"64":2,"66":6}}],["40687",{"2":{"32":1}}],["409622",{"2":{"30":2}}],["40409",{"2":{"26":1}}],["40065",{"2":{"25":1}}],["40",{"2":{"4":1,"15":3,"46":1,"75":1}}],["4",{"2":{"0":5,"3":1,"4":5,"5":12,"13":6,"15":6,"16":2,"17":2,"19":1,"20":14,"21":3,"25":9,"26":2,"30":5,"32":1,"44":1,"45":6,"46":8,"48":7,"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":{"48":1}}],["09245174474290706",{"2":{"80":1}}],["092494",{"2":{"28":1}}],["0923954",{"2":{"76":1}}],["09558e",{"2":{"45":1}}],["095",{"2":{"33":1}}],["0959455",{"2":{"25":3}}],["0963009",{"2":{"78":1}}],["0965083",{"2":{"28":3}}],["0967863",{"2":{"17":1}}],["0992684",{"2":{"30":1}}],["0999314",{"2":{"28":2}}],["0991336",{"2":{"17":2}}],["09764",{"2":{"25":2}}],["09",{"2":{"0":1,"25":5,"47":1,"74":1}}],["08553143289483933",{"2":{"79":1}}],["0852624",{"2":{"78":1}}],["08512",{"2":{"25":2}}],["0821229",{"2":{"76":1}}],["0831822",{"2":{"76":1}}],["0803513146650122",{"2":{"80":1}}],["0804518",{"2":{"26":1}}],["0802658",{"2":{"15":1}}],["08",{"2":{"0":1,"25":3,"47":1,"74":1,"76":1}}],["0768485",{"2":{"78":1}}],["0760101",{"2":{"76":1}}],["0760848",{"2":{"30":1}}],["0758114",{"2":{"78":1}}],["0787968",{"2":{"76":1}}],["0702987",{"2":{"62":2,"64":2,"66":6}}],["07217595907727536",{"2":{"79":1}}],["072176",{"2":{"78":1}}],["072",{"2":{"33":1}}],["07277",{"2":{"26":1}}],["07151",{"2":{"32":1}}],["0778416",{"2":{"30":1}}],["0779205",{"2":{"28":1}}],["0740736",{"2":{"28":2}}],["07",{"2":{"0":1,"25":3,"47":1,"74":1}}],["0670357162417285e",{"2":{"80":1}}],["06317733925981239",{"2":{"79":2,"80":2}}],["0630398",{"2":{"76":1}}],["0661958",{"2":{"76":1}}],["0669452",{"2":{"28":1}}],["0653496",{"2":{"73":12}}],["061892",{"2":{"84":1}}],["0610019",{"2":{"32":1}}],["0613839",{"2":{"28":1}}],["06474",{"2":{"32":1}}],["0641884",{"2":{"30":1}}],["0649391",{"2":{"26":1}}],["06834164575276236",{"2":{"79":1}}],["0683416",{"2":{"78":1}}],["0684698",{"2":{"29":1,"31":2}}],["068913",{"2":{"25":3}}],["0609271",{"2":{"28":1}}],["062795",{"2":{"84":1}}],["0628947",{"2":{"76":1}}],["062593",{"2":{"48":1}}],["0621546",{"2":{"28":3}}],["0622255",{"2":{"28":2}}],["0697249",{"2":{"28":3}}],["06",{"2":{"0":1,"25":3,"47":1,"74":1}}],["053158",{"2":{"84":1}}],["051776",{"2":{"84":1}}],["054083",{"2":{"76":1}}],["0540645",{"2":{"30":3}}],["0506805",{"2":{"76":1}}],["0502944",{"2":{"25":3}}],["0574938",{"2":{"76":1}}],["05t03",{"2":{"47":4}}],["0559616",{"2":{"30":1}}],["0558987",{"2":{"28":1}}],["0557598",{"2":{"26":1}}],["0599431",{"2":{"26":1}}],["05",{"2":{"0":1,"25":3,"47":1,"73":1,"74":1}}],["0445446",{"2":{"84":1}}],["0446036",{"2":{"45":1}}],["0417586",{"2":{"76":2}}],["0416986",{"2":{"25":3}}],["0426808",{"2":{"76":1}}],["0429074",{"2":{"75":1}}],["0425477",{"2":{"28":2}}],["0474302",{"2":{"30":2}}],["04599641808658339",{"2":{"85":1}}],["0459964",{"2":{"84":2}}],["0450386",{"2":{"29":1,"31":2}}],["0458864",{"2":{"28":1}}],["0463176",{"2":{"29":2,"31":2}}],["04060837507113502",{"2":{"79":10}}],["0406084",{"2":{"78":1}}],["0403793",{"2":{"45":1,"47":2}}],["0400372",{"2":{"28":2}}],["04046",{"2":{"25":2}}],["04",{"2":{"0":1,"25":5,"47":1,"74":1,"76":3}}],["03613547354359734",{"2":{"80":1}}],["0315018",{"2":{"76":1}}],["0387029",{"2":{"76":1}}],["0300922",{"2":{"76":1}}],["0303789",{"2":{"17":1}}],["0372362",{"2":{"48":1}}],["0375522",{"2":{"30":1}}],["0375769",{"2":{"28":1}}],["0325131",{"2":{"83":1}}],["0323182",{"2":{"30":1}}],["0320967",{"2":{"17":1}}],["0347024",{"2":{"28":1}}],["03",{"2":{"0":1,"25":5,"45":1,"47":2,"74":1}}],["023646798570656102",{"2":{"85":1}}],["0236468",{"2":{"84":2}}],["0239356",{"2":{"28":2}}],["022593",{"2":{"84":2}}],["028",{"2":{"81":2}}],["0282382",{"2":{"13":1}}],["0299112",{"2":{"78":1}}],["02976",{"2":{"25":1}}],["021",{"2":{"76":1}}],["0275306",{"2":{"30":1}}],["0205228",{"2":{"30":1}}],["02",{"2":{"0":2,"25":5,"45":1,"47":2,"74":1}}],["0",{"2":{"0":60,"1":6,"3":8,"4":28,"5":8,"13":20,"15":92,"16":16,"17":81,"18":240,"19":19,"20":176,"25":178,"26":69,"28":546,"29":28,"30":148,"31":50,"32":12,"33":25,"44":2,"45":63,"46":20,"47":53,"48":175,"49":42,"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":{"48":1}}],["005163666306917225",{"2":{"85":1}}],["00516367",{"2":{"84":2}}],["00508449",{"2":{"48":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":{"29":1,"31":2}}],["00",{"2":{"0":42,"25":140,"33":10,"44":4,"45":10,"47":37,"74":32}}],["015759978623873905",{"2":{"80":2}}],["01576",{"2":{"78":1}}],["0171909",{"2":{"78":1}}],["013144",{"2":{"78":1}}],["013967",{"2":{"47":2}}],["0164892",{"2":{"76":1}}],["0141696",{"2":{"78":1}}],["0149561",{"2":{"76":1}}],["014",{"2":{"76":1}}],["0143204",{"2":{"76":2}}],["0140644",{"2":{"28":3}}],["0184746",{"2":{"47":1}}],["011",{"2":{"46":2}}],["01t03",{"2":{"47":2}}],["01t02",{"2":{"47":1}}],["01t01",{"2":{"45":1,"47":2}}],["01t00",{"2":{"0":21,"25":70,"44":1,"45":2,"47":7,"74":16}}],["0192911",{"2":{"30":1}}],["0196808",{"2":{"30":1}}],["0197492",{"2":{"26":1}}],["012300334322905893",{"2":{"85":1}}],["0123003",{"2":{"84":2}}],["0120967",{"2":{"83":1}}],["0127924",{"2":{"28":3}}],["01282",{"2":{"25":1}}],["010277581356302745",{"2":{"80":2}}],["0102776",{"2":{"78":1}}],["010",{"2":{"20":2}}],["01",{"2":{"0":5,"25":14,"44":1,"45":6,"47":21,"74":3}}],["↗",{"2":{"0":1,"1":1,"3":1,"13":1,"15":1,"18":1,"19":1,"20":1,"25":6,"30":1,"32":2,"34":1,"83":3}}],["→",{"2":{"0":4,"1":3,"3":2,"4":2,"5":8,"13":4,"15":13,"16":1,"17":12,"18":1,"19":3,"20":12,"21":2,"25":11,"26":2,"28":11,"29":1,"30":7,"31":2,"32":2,"33":1,"34":2,"45":3,"46":8,"47":5,"48":7,"49":11,"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":16,"16":1,"17":12,"18":1,"19":5,"20":12,"21":2,"25":14,"26":2,"28":11,"29":2,"30":8,"31":2,"32":2,"33":1,"34":2,"45":10,"46":19,"47":6,"48":12,"49":15,"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":5,"17":3,"19":3,"20":5,"21":1,"25":8,"26":1,"28":11,"29":2,"30":4,"31":2,"32":2,"33":1,"45":8,"46":11,"47":3,"48":1,"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":20,"17":8,"18":2,"19":6,"20":10,"21":2,"25":16,"26":2,"28":22,"29":4,"30":8,"31":4,"32":4,"33":2,"45":16,"46":22,"47":6,"48":2,"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":{"28":1}}],["522989",{"2":{"45":1}}],["526688",{"2":{"30":1}}],["526295",{"2":{"28":2}}],["521021",{"2":{"30":2}}],["521762",{"2":{"28":1}}],["580091",{"2":{"83":1}}],["58054",{"2":{"25":2}}],["581131",{"2":{"83":1,"84":2}}],["581748",{"2":{"45":1,"47":1}}],["584048",{"2":{"76":1}}],["585756",{"2":{"48":1}}],["585057",{"2":{"28":1}}],["589895",{"2":{"30":1}}],["587556",{"2":{"28":3}}],["588506",{"2":{"28":2}}],["535124",{"2":{"84":1}}],["537046",{"2":{"78":1}}],["537469",{"2":{"47":1}}],["539197",{"2":{"76":1}}],["539076",{"2":{"17":1}}],["531012",{"2":{"76":1}}],["533041",{"2":{"76":1}}],["536911",{"2":{"73":6}}],["530653",{"2":{"48":1}}],["53",{"2":{"45":1}}],["534655",{"2":{"28":1}}],["534915",{"2":{"28":2}}],["5×1",{"2":{"73":1}}],["5×10",{"2":{"28":13}}],["5×5",{"2":{"29":1,"31":2}}],["5×4",{"2":{"4":1}}],["5663088629322468",{"2":{"79":2}}],["566574",{"2":{"48":1}}],["566557",{"2":{"25":3}}],["564657",{"2":{"76":1}}],["564589",{"2":{"25":3}}],["56",{"2":{"46":1}}],["561611",{"2":{"45":1}}],["563623",{"2":{"30":1}}],["567383",{"2":{"28":1}}],["568763",{"2":{"76":1}}],["568302",{"2":{"25":3}}],["568131",{"2":{"25":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":{"15":1,"17":1}}],["515445",{"2":{"78":1}}],["515061",{"2":{"25":3}}],["518483",{"2":{"78":1}}],["514714",{"2":{"28":1}}],["511078",{"2":{"28":1}}],["511086",{"2":{"25":3}}],["51",{"2":{"13":1}}],["5434869639181522",{"2":{"79":2}}],["543616",{"2":{"28":1}}],["545522",{"2":{"76":1}}],["545129",{"2":{"28":3}}],["54822",{"2":{"26":1}}],["54853",{"2":{"25":2}}],["54483",{"2":{"25":2}}],["54",{"2":{"13":1}}],["541806",{"2":{"13":1}}],["5501481631111826",{"2":{"85":1}}],["550148",{"2":{"84":2}}],["5514523568721104",{"2":{"79":2}}],["55114",{"2":{"25":2}}],["552153",{"2":{"76":1}}],["559878",{"2":{"45":1}}],["55745",{"2":{"32":1}}],["5573",{"2":{"30":1}}],["553558",{"2":{"28":3}}],["55351",{"2":{"25":1}}],["554791",{"2":{"28":3}}],["555456",{"2":{"25":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":{"32":1}}],["59",{"2":{"13":1}}],["574619",{"2":{"76":1}}],["574678",{"2":{"76":1}}],["578329",{"2":{"76":1}}],["578253",{"2":{"76":1}}],["578989",{"2":{"32":1}}],["575727",{"2":{"76":1}}],["575595",{"2":{"75":1}}],["575698",{"2":{"30":2}}],["571281",{"2":{"28":1}}],["571602",{"2":{"28":1}}],["570254",{"2":{"28":1}}],["57019",{"2":{"26":1}}],["57",{"2":{"5":1,"46":1}}],["5040228055200978",{"2":{"85":1}}],["504023",{"2":{"84":2}}],["5081446040814137e",{"2":{"80":1}}],["506221",{"2":{"75":1}}],["5055",{"2":{"46":4}}],["505946",{"2":{"25":1}}],["502391",{"2":{"45":1}}],["5074",{"2":{"32":1}}],["503183",{"2":{"76":1}}],["503561",{"2":{"45":1}}],["503967",{"2":{"28":1}}],["503823",{"2":{"28":1}}],["503719",{"2":{"25":1}}],["501732",{"2":{"45":1}}],["501369",{"2":{"45":1}}],["501379",{"2":{"19":1}}],["501068",{"2":{"25":1}}],["501643",{"2":{"19":1}}],["501105",{"2":{"19":1}}],["500769",{"2":{"47":2}}],["500757",{"2":{"45":1,"46":2}}],["500333",{"2":{"46":1}}],["500405",{"2":{"45":1}}],["50047",{"2":{"19":1}}],["500627",{"2":{"45":1}}],["500642",{"2":{"29":1,"31":2}}],["500644",{"2":{"19":1}}],["500277",{"2":{"45":1}}],["500913",{"2":{"45":1}}],["500157",{"2":{"28":3}}],["5008",{"2":{"25":2}}],["500874",{"2":{"19":1}}],["500533",{"2":{"19":1}}],["500032",{"2":{"46":1}}],["500093",{"2":{"45":1}}],["500083",{"2":{"19":1}}],["500064",{"2":{"19":1}}],["50",{"2":{"5":3,"15":9,"75":1}}],["5u",{"2":{"5":1}}],["5",{"2":{"0":1,"4":3,"5":21,"13":5,"15":2,"16":1,"17":1,"20":7,"21":1,"25":6,"26":1,"28":10,"29":2,"30":6,"32":1,"44":1,"45":2,"46":5,"48":9,"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":{"30":1}}],["338844",{"2":{"62":2,"64":2,"66":6}}],["336376",{"2":{"83":1}}],["336",{"2":{"46":1}}],["33",{"2":{"46":2}}],["337",{"2":{"46":1}}],["337182",{"2":{"30":1}}],["337576",{"2":{"28":1}}],["330777",{"2":{"30":2}}],["334152",{"2":{"15":1,"17":1}}],["371583",{"2":{"76":1}}],["375166",{"2":{"48":1}}],["375182",{"2":{"30":1}}],["376",{"2":{"46":3}}],["370194",{"2":{"78":1}}],["370454",{"2":{"76":1}}],["370",{"2":{"46":2}}],["37963",{"2":{"26":1}}],["3793",{"2":{"25":2}}],["374026",{"2":{"26":1}}],["369225",{"2":{"78":1}}],["369",{"2":{"46":3}}],["368",{"2":{"46":3}}],["361536",{"2":{"76":1}}],["361",{"2":{"46":3}}],["362",{"2":{"45":1}}],["363442",{"2":{"84":1}}],["363373",{"2":{"84":1}}],["363918",{"2":{"76":1}}],["363",{"2":{"45":2}}],["365",{"2":{"45":2}}],["365341",{"2":{"30":1}}],["366873",{"2":{"76":1}}],["366",{"2":{"45":3}}],["364097",{"2":{"84":2}}],["364",{"2":{"44":18,"45":3}}],["364488",{"2":{"25":3}}],["360",{"2":{"4":2,"46":1}}],["319496",{"2":{"76":1}}],["315591",{"2":{"48":1}}],["31572",{"2":{"32":1}}],["314535",{"2":{"48":1}}],["31468",{"2":{"32":1}}],["312",{"2":{"46":1}}],["31",{"2":{"45":1}}],["313361",{"2":{"76":1}}],["313",{"2":{"46":1}}],["313711",{"2":{"45":1}}],["313279",{"2":{"45":1}}],["3162",{"2":{"30":1}}],["31065",{"2":{"25":3}}],["311448",{"2":{"15":1}}],["3a",{"2":{"16":1}}],["3×2",{"2":{"73":1}}],["3×14",{"2":{"62":2,"64":2,"66":6}}],["3×5",{"2":{"21":2,"61":10}}],["3×5×12",{"2":{"0":1}}],["3×4×1",{"2":{"32":1}}],["3×4×5",{"2":{"32":1}}],["3×4",{"2":{"20":5}}],["3×3",{"2":{"15":3,"17":1,"33":1,"73":3}}],["307616",{"2":{"84":1}}],["30391",{"2":{"76":1}}],["301659",{"2":{"75":1}}],["309301",{"2":{"48":1}}],["30923",{"2":{"26":1}}],["30t22",{"2":{"47":1}}],["30t23",{"2":{"44":1,"45":2,"47":2}}],["30×17520",{"2":{"46":3}}],["305",{"2":{"46":1}}],["306208",{"2":{"30":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":{"20":1}}],["300768",{"2":{"13":1}}],["30",{"2":{"15":1,"16":2,"17":4,"20":9,"44":18,"45":2,"66":2,"75":1,"76":1}}],["3434655288098666",{"2":{"85":1}}],["343493",{"2":{"28":1}}],["34882573131206984",{"2":{"79":1}}],["348826",{"2":{"78":1}}],["341133",{"2":{"83":1}}],["341976",{"2":{"73":4}}],["341835",{"2":{"30":1}}],["340557",{"2":{"62":2,"64":2,"66":6}}],["34589",{"2":{"76":1}}],["345",{"2":{"46":1}}],["345501",{"2":{"26":1}}],["344",{"2":{"46":1}}],["344408",{"2":{"28":3}}],["346013",{"2":{"45":1}}],["34",{"2":{"13":1}}],["359194",{"2":{"84":1}}],["359421",{"2":{"83":1}}],["35100608350331053",{"2":{"85":1}}],["351006",{"2":{"84":2}}],["351413",{"2":{"30":2}}],["358513",{"2":{"76":1}}],["358535",{"2":{"76":1}}],["358625",{"2":{"30":1}}],["357367",{"2":{"75":1}}],["353968",{"2":{"83":1}}],["353",{"2":{"46":1}}],["353691",{"2":{"30":1}}],["354046",{"2":{"30":1}}],["354868",{"2":{"17":1}}],["352592",{"2":{"62":2,"64":2,"66":6}}],["352",{"2":{"46":1}}],["352138",{"2":{"30":1}}],["352614",{"2":{"26":1}}],["350024",{"2":{"84":1}}],["350422",{"2":{"29":1,"31":2}}],["350104",{"2":{"28":2}}],["350546",{"2":{"17":1}}],["35",{"2":{"13":1,"15":1}}],["3266527246823143",{"2":{"79":1}}],["32669",{"2":{"26":1}}],["3258728635315493",{"2":{"79":2,"81":2}}],["322005",{"2":{"48":1}}],["322115",{"2":{"30":1}}],["329",{"2":{"46":1}}],["329515",{"2":{"29":1,"31":2}}],["328",{"2":{"46":1}}],["32806",{"2":{"28":1}}],["321",{"2":{"46":1}}],["320",{"2":{"46":1}}],["320667",{"2":{"30":1}}],["32",{"2":{"13":2,"46":2,"80":1}}],["38167574879167476",{"2":{"85":1}}],["3863063388395396",{"2":{"79":1}}],["386306",{"2":{"78":1}}],["386433",{"2":{"28":3}}],["38714",{"2":{"47":2}}],["38795",{"2":{"25":2}}],["388768",{"2":{"76":1}}],["388907",{"2":{"32":1}}],["388243",{"2":{"13":1}}],["380161",{"2":{"30":1}}],["389839",{"2":{"28":1}}],["383632",{"2":{"13":1}}],["399",{"2":{"76":1}}],["399781",{"2":{"76":1}}],["397386",{"2":{"76":1}}],["395053",{"2":{"76":1}}],["395594",{"2":{"32":1}}],["391307",{"2":{"76":1}}],["391155",{"2":{"28":3}}],["394576",{"2":{"76":1}}],["394703",{"2":{"30":1}}],["396585",{"2":{"75":1}}],["392334",{"2":{"76":1}}],["392377",{"2":{"30":1}}],["392848",{"2":{"28":3}}],["390081",{"2":{"26":1}}],["390033",{"2":{"25":3}}],["39",{"2":{"2":2,"3":1,"4":2,"17":1,"21":4,"22":1,"30":2,"31":1,"33":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":3,"16":1,"17":12,"18":2,"19":6,"20":11,"21":6,"23":2,"25":17,"26":2,"29":2,"30":10,"32":6,"33":7,"34":2,"44":1,"45":7,"46":23,"47":3,"48":7,"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":{"29":2,"31":2}}],["14203",{"2":{"76":1}}],["140817",{"2":{"76":1}}],["140",{"2":{"48":6,"66":6}}],["14",{"2":{"33":1,"76":2,"78":1}}],["147478",{"2":{"28":2}}],["175544",{"2":{"84":1}}],["17520",{"2":{"44":8,"47":1}}],["173013",{"2":{"84":1}}],["173513",{"2":{"30":1}}],["17715541586710937",{"2":{"79":1}}],["177423",{"2":{"26":1}}],["170",{"2":{"48":6}}],["17",{"2":{"33":1,"44":1,"46":2}}],["176766",{"2":{"83":1}}],["17673",{"2":{"26":1}}],["176024",{"2":{"83":1}}],["17666e",{"2":{"45":1}}],["176197",{"2":{"28":1}}],["17645",{"2":{"26":1}}],["182707",{"2":{"84":1}}],["186811",{"2":{"84":1}}],["18969721875656995",{"2":{"80":1}}],["188976",{"2":{"76":1}}],["18",{"2":{"33":1,"44":1,"76":6}}],["180397",{"2":{"76":1}}],["18035",{"2":{"26":1}}],["180",{"2":{"48":7}}],["180894",{"2":{"30":1}}],["184309",{"2":{"30":2}}],["183103",{"2":{"62":2,"64":2,"66":6}}],["183637",{"2":{"26":1}}],["183555",{"2":{"17":1}}],["1a",{"2":{"16":1}}],["132989",{"2":{"84":1}}],["132894",{"2":{"28":2}}],["1381833125394196",{"2":{"80":2}}],["138819",{"2":{"62":2,"64":2,"66":6}}],["13525245310587153",{"2":{"79":1}}],["13589",{"2":{"25":2}}],["133475",{"2":{"76":1}}],["133195",{"2":{"30":1}}],["130252",{"2":{"78":1}}],["130",{"2":{"48":6,"66":2}}],["13035",{"2":{"32":1}}],["136",{"2":{"33":1}}],["136551",{"2":{"17":1}}],["139067",{"2":{"30":1}}],["137131",{"2":{"29":1,"31":2}}],["137619",{"2":{"28":2}}],["134246",{"2":{"28":2}}],["134208",{"2":{"25":2}}],["134186",{"2":{"26":1}}],["131798",{"2":{"17":1}}],["13",{"2":{"13":1,"74":2,"76":1}}],["16484",{"2":{"83":1}}],["164724",{"2":{"25":3}}],["168617",{"2":{"76":2}}],["168291",{"2":{"28":2}}],["166425",{"2":{"76":1}}],["160352",{"2":{"84":1}}],["160403",{"2":{"76":1}}],["160",{"2":{"48":6}}],["16545e",{"2":{"45":1}}],["161393",{"2":{"30":1}}],["167104",{"2":{"30":2}}],["167745",{"2":{"28":3}}],["162553",{"2":{"30":1}}],["162919",{"2":{"26":1}}],["16×16×3",{"2":{"18":1}}],["16",{"2":{"13":1,"18":2,"44":1,"46":4,"76":3}}],["1u",{"2":{"5":2}}],["1985699519321249",{"2":{"85":1}}],["19857",{"2":{"84":2}}],["194849",{"2":{"83":1,"84":2}}],["194465",{"2":{"28":2}}],["193109",{"2":{"78":1}}],["193179",{"2":{"76":1}}],["195938",{"2":{"84":1}}],["195897",{"2":{"76":1}}],["195774",{"2":{"30":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":{"19":1}}],["191×20×31",{"2":{"19":2}}],["191×20×32",{"2":{"19":1}}],["191×20×28",{"2":{"19":1}}],["190482",{"2":{"83":1}}],["19009332850891253",{"2":{"80":1}}],["190225",{"2":{"48":1}}],["190",{"2":{"48":7}}],["199484",{"2":{"83":1}}],["1999",{"2":{"26":1}}],["19995",{"2":{"25":2}}],["1998",{"2":{"26":1}}],["192183",{"2":{"25":3}}],["19",{"2":{"5":5,"44":1,"45":1,"76":3}}],["1×3",{"2":{"73":2}}],["1×2",{"2":{"5":3}}],["1×12",{"2":{"0":1}}],["153753",{"2":{"84":1}}],["153219",{"2":{"48":1}}],["15945803739833375",{"2":{"85":1}}],["159458",{"2":{"84":2}}],["15905863317294833",{"2":{"79":3}}],["15952e",{"2":{"45":1}}],["156538",{"2":{"73":3}}],["152765",{"2":{"29":1,"31":2}}],["15055904027841316",{"2":{"79":1}}],["150559",{"2":{"78":1}}],["150126",{"2":{"30":1}}],["150155",{"2":{"17":1}}],["150",{"2":{"15":3,"48":6}}],["15",{"2":{"5":3,"13":4,"44":1}}],["11925244363082943",{"2":{"85":1}}],["11996",{"2":{"30":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":{"46":1}}],["11311",{"2":{"78":1}}],["113",{"2":{"13":1}}],["1151003460971078e",{"2":{"80":1}}],["115",{"2":{"13":2}}],["118632",{"2":{"25":2}}],["118",{"2":{"13":2}}],["110425",{"2":{"84":1}}],["110998",{"2":{"30":1}}],["110",{"2":{"13":2,"48":7}}],["112054",{"2":{"47":2}}],["112836",{"2":{"28":1}}],["112",{"2":{"13":1}}],["11",{"2":{"0":1,"4":1,"13":2,"17":2,"19":6,"25":8,"45":6,"48":1,"74":1,"76":3}}],["12452",{"2":{"75":1}}],["1227",{"2":{"45":1}}],["12764",{"2":{"84":1}}],["12713970284423626",{"2":{"79":1,"81":2}}],["12714",{"2":{"78":1}}],["127489",{"2":{"28":1}}],["12731",{"2":{"25":2}}],["12×100×25",{"2":{"25":2}}],["12×2",{"2":{"19":1}}],["128827",{"2":{"83":1}}],["128932",{"2":{"48":1}}],["128",{"2":{"13":1}}],["125477",{"2":{"84":1}}],["125287",{"2":{"17":1}}],["125",{"2":{"13":2}}],["12668",{"2":{"75":1}}],["126",{"2":{"13":2}}],["121746",{"2":{"84":1}}],["121186",{"2":{"28":1}}],["121",{"2":{"13":2}}],["1208",{"2":{"45":1}}],["120",{"2":{"13":2,"48":6,"66":2}}],["123",{"2":{"13":2,"15":1}}],["12",{"2":{"0":9,"4":1,"15":3,"16":1,"19":10,"20":1,"25":21,"44":28,"45":15,"46":8,"47":3,"74":7,"76":5}}],["1",{"2":{"0":13,"1":8,"3":14,"4":26,"5":12,"13":14,"15":32,"16":3,"17":21,"18":241,"19":19,"20":16,"21":5,"23":2,"25":60,"26":52,"28":101,"29":1,"30":4,"31":1,"32":6,"33":12,"34":10,"44":73,"45":48,"46":91,"47":30,"48":44,"49":28,"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":{"47":2}}],["105",{"2":{"33":1}}],["10×10",{"2":{"83":1,"84":27}}],["10×10×26",{"2":{"83":3}}],["10×1",{"2":{"80":30}}],["10×11",{"2":{"48":1}}],["10×6",{"2":{"77":3,"78":18,"80":12}}],["10×5",{"2":{"30":1}}],["10×7×5",{"2":{"30":1}}],["104763",{"2":{"83":1}}],["104261",{"2":{"78":1}}],["10454",{"2":{"76":1}}],["10447",{"2":{"25":2}}],["104",{"2":{"13":1}}],["10748",{"2":{"45":1}}],["107475",{"2":{"30":1}}],["1076",{"2":{"26":1}}],["107",{"2":{"13":1}}],["106224",{"2":{"28":1}}],["106",{"2":{"13":1}}],["101231",{"2":{"73":5}}],["101×34",{"2":{"47":2}}],["101×384",{"2":{"46":2}}],["101×8030",{"2":{"46":1}}],["101×8760",{"2":{"46":1}}],["101×2856",{"2":{"46":1}}],["101×2928",{"2":{"46":3}}],["101×240",{"2":{"46":1}}],["101×0",{"2":{"46":1}}],["101×4416",{"2":{"46":5}}],["101×4320",{"2":{"46":2}}],["101×4392",{"2":{"46":2}}],["101×4368",{"2":{"46":3}}],["101×4344",{"2":{"46":2}}],["101×1",{"2":{"47":5}}],["101×1464",{"2":{"45":1}}],["101×1440",{"2":{"45":1}}],["101×1488",{"2":{"45":2}}],["101×1368",{"2":{"45":1}}],["101×17520",{"2":{"45":1}}],["101",{"2":{"13":2}}],["108592",{"2":{"25":3}}],["108",{"2":{"13":4}}],["102405",{"2":{"13":1}}],["10u",{"2":{"5":1}}],["100×28",{"2":{"84":1}}],["100×25×12",{"2":{"25":3}}],["1000×2000",{"2":{"26":1}}],["1000",{"2":{"26":3,"33":2}}],["10000",{"2":{"23":1,"33":2}}],["100u",{"2":{"5":2}}],["100",{"2":{"0":1,"3":1,"4":3,"15":10,"20":8,"25":13,"47":1,"48":26,"49":14,"68":1,"70":1,"74":2,"84":1}}],["10",{"2":{"0":7,"1":9,"3":6,"4":5,"5":19,"13":6,"15":15,"16":5,"17":4,"19":2,"20":34,"25":8,"28":10,"30":1,"42":9,"45":2,"48":47,"49":28,"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}}],["271591",{"2":{"84":1}}],["27181",{"2":{"25":3}}],["270915",{"2":{"84":1}}],["27",{"2":{"80":3}}],["276742",{"2":{"76":1}}],["27206",{"2":{"76":1}}],["278077",{"2":{"78":1}}],["27802",{"2":{"25":2}}],["27863",{"2":{"28":1}}],["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":{"28":3}}],["225583",{"2":{"32":1}}],["225865",{"2":{"30":1}}],["221163",{"2":{"30":1}}],["222482",{"2":{"28":2}}],["224375",{"2":{"26":1}}],["22",{"2":{"17":2,"44":1,"45":2,"84":1}}],["2a",{"2":{"16":1}}],["243195",{"2":{"76":1}}],["243803",{"2":{"48":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":{"45":1}}],["2415",{"2":{"45":1}}],["2412",{"2":{"45":1}}],["241056",{"2":{"30":1}}],["24625",{"2":{"76":1}}],["246886",{"2":{"75":1}}],["2463",{"2":{"45":1}}],["246162",{"2":{"30":1}}],["246796",{"2":{"25":3}}],["247586",{"2":{"78":1}}],["247976",{"2":{"76":1}}],["247032",{"2":{"45":1,"47":2}}],["247198",{"2":{"28":1}}],["24737",{"2":{"28":2}}],["247683",{"2":{"13":1}}],["24",{"2":{"13":1,"19":1,"25":3,"44":1,"45":2,"46":2}}],["294893",{"2":{"84":1}}],["294486",{"2":{"83":1}}],["296092",{"2":{"84":1}}],["296639",{"2":{"30":1}}],["291555",{"2":{"83":1}}],["291577",{"2":{"32":1}}],["29205",{"2":{"76":1}}],["293126",{"2":{"48":1}}],["290734",{"2":{"30":2}}],["299799",{"2":{"28":1}}],["295319",{"2":{"28":3}}],["295548",{"2":{"25":5}}],["298179",{"2":{"28":3}}],["298383",{"2":{"26":1}}],["297023",{"2":{"17":1}}],["29",{"2":{"13":1,"45":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":{"32":1}}],["285965",{"2":{"26":1}}],["28438",{"2":{"32":1}}],["284399",{"2":{"29":1,"31":2}}],["28405",{"2":{"26":1}}],["28708",{"2":{"25":3}}],["28",{"2":{"13":1,"45":1,"76":2}}],["2601",{"2":{"85":1}}],["2600×5",{"2":{"84":1}}],["2600×4",{"2":{"84":2}}],["2600",{"2":{"84":3}}],["26069",{"2":{"28":3}}],["266342",{"2":{"83":1}}],["266013",{"2":{"76":1}}],["26×11",{"2":{"76":1}}],["263531",{"2":{"76":1}}],["269905",{"2":{"78":1}}],["269685",{"2":{"30":1}}],["26917",{"2":{"26":1}}],["268319",{"2":{"25":3}}],["26",{"2":{"13":2}}],["216905",{"2":{"76":1}}],["216524",{"2":{"13":1}}],["21316",{"2":{"62":2,"64":2,"66":6}}],["213826",{"2":{"30":1}}],["214909",{"2":{"45":1,"47":1}}],["215458",{"2":{"30":1}}],["215049",{"2":{"26":1}}],["219583",{"2":{"29":1,"31":2}}],["21149",{"2":{"28":1}}],["2115",{"2":{"25":2}}],["21714",{"2":{"25":3}}],["218579",{"2":{"17":1}}],["21",{"2":{"5":4,"13":1,"17":2,"44":1,"45":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":{"29":1,"31":2}}],["2585",{"2":{"84":3}}],["258764",{"2":{"76":1}}],["25825",{"2":{"46":4}}],["255579",{"2":{"76":1}}],["255916",{"2":{"30":1}}],["253984",{"2":{"28":1}}],["253849",{"2":{"15":2,"17":1}}],["25243",{"2":{"28":1}}],["2504949184379115",{"2":{"79":2}}],["250913",{"2":{"28":1}}],["250752",{"2":{"25":5}}],["25",{"2":{"5":2,"13":1,"25":10,"46":2,"73":2}}],["236866",{"2":{"84":1}}],["23502",{"2":{"76":1}}],["23546",{"2":{"25":3}}],["233997",{"2":{"84":1}}],["233685",{"2":{"76":1}}],["233778",{"2":{"48":1}}],["231283",{"2":{"47":2}}],["2379",{"2":{"45":1}}],["23788",{"2":{"26":1}}],["230047",{"2":{"30":1}}],["239878",{"2":{"28":1}}],["234458",{"2":{"30":1}}],["2344",{"2":{"25":3}}],["23",{"2":{"5":1,"13":1,"25":3,"44":2,"45":2}}],["20636222545147498",{"2":{"85":1}}],["206362",{"2":{"84":2}}],["206406",{"2":{"30":1}}],["203",{"2":{"76":2}}],["203703",{"2":{"25":2}}],["201129",{"2":{"75":1}}],["201",{"2":{"73":1}}],["201734",{"2":{"25":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":{"30":1}}],["208384",{"2":{"28":1}}],["205929",{"2":{"28":1}}],["204879",{"2":{"84":1}}],["204084",{"2":{"78":1}}],["20412",{"2":{"28":1}}],["204559",{"2":{"28":1}}],["204551",{"2":{"25":5}}],["202035",{"2":{"47":2}}],["202743",{"2":{"28":2}}],["2026",{"2":{"25":2}}],["2021",{"2":{"0":25}}],["2005",{"2":{"74":1}}],["20051",{"2":{"29":1,"31":2}}],["2003",{"2":{"19":1}}],["2000",{"2":{"19":1,"25":72,"26":3,"44":32,"45":21,"47":16,"74":18}}],["2001",{"2":{"15":4,"44":28,"45":17,"47":3}}],["200",{"2":{"5":1,"15":9,"48":26,"49":14}}],["20",{"2":{"4":4,"5":18,"15":3,"19":2,"20":12,"44":1,"66":2,"75":1,"76":8,"79":1}}],["2×3",{"2":{"73":3}}],["2×3×2",{"2":{"1":1,"15":1}}],["2×2",{"2":{"17":2,"73":1}}],["2×10×3",{"2":{"13":2}}],["2×4",{"2":{"5":1,"15":4}}],["2×4×2",{"2":{"3":1}}],["2",{"2":{"0":10,"1":4,"3":3,"4":3,"5":14,"8":3,"13":6,"15":16,"16":1,"17":10,"19":9,"20":8,"21":4,"23":2,"25":13,"26":5,"28":12,"29":1,"30":8,"31":2,"32":5,"33":8,"34":2,"44":2,"45":17,"46":24,"47":6,"48":8,"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":{"20":1,"30":1,"47":1}}],["=>",{"2":{"1":10,"2":10,"3":15,"4":22,"11":6,"15":29,"19":4,"20":29,"22":2,"45":7,"46":18,"47":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":7,"16":9,"17":4,"18":1,"19":7,"20":13,"21":2,"23":1,"25":5,"26":3,"28":3,"29":1,"30":2,"32":1,"33":1,"44":3,"45":2,"46":1,"47":2,"48":7,"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":{"46":6,"74":1}}],["fact",{"2":{"77":1}}],["facing",{"2":{"35":1}}],["facilitate",{"2":{"11":2,"74":1}}],["fails",{"2":{"25":1}}],["fail",{"2":{"24":1}}],["favours",{"2":{"68":1}}],["favour",{"2":{"20":1}}],["fale",{"2":{"49":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,"15":1,"19":2,"20":1,"24":1,"49":27}}],["far",{"2":{"4":1}}],["fast",{"2":{"4":1,"74":1,"81":1}}],["fri",{"2":{"74":2}}],["friendly",{"2":{"27":1}}],["frequency",{"2":{"33":2}}],["freely",{"2":{"17":1}}],["freeunits",{"2":{"5":1}}],["free",{"2":{"3":1,"30":1}}],["fraction",{"2":{"19":1}}],["from",{"2":{"0":3,"1":1,"2":1,"3":3,"4":10,"5":3,"8":1,"15":3,"16":3,"17":1,"18":1,"19":6,"20":1,"21":5,"23":13,"25":1,"30":1,"34":1,"36":1,"37":1,"38":1,"41":1,"42":10,"48":7,"51":1,"64":1,"73":1,"74":2,"75":1,"76":2,"81":1,"84":1}}],["further",{"2":{"40":1,"46":1}}],["future",{"2":{"4":1,"5":1,"20":1,"23":1,"72":1}}],["full",{"2":{"3":1,"4":3}}],["functionality",{"2":{"52":1}}],["functional",{"2":{"27":1}}],["functions",{"0":{"44":1,"80":1},"2":{"15":1,"19":2,"27":1,"32":1,"44":2,"64":1,"67":1,"68":1,"80":2}}],["function",{"2":{"3":1,"4":2,"5":2,"19":12,"20":2,"40":1,"43":2,"44":2,"45":2,"46":4,"47":1,"73":1,"74":1}}],["foo",{"2":{"64":3}}],["follow",{"2":{"44":1,"67":1}}],["following",{"2":{"12":1}}],["four",{"2":{"19":2}}],["found",{"2":{"3":1,"7":1,"20":3,"31":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,"15":2}}],["forwardordered",{"2":{"0":6,"3":1,"4":6,"5":8,"7":3,"13":6,"15":8,"17":6,"19":4,"20":10,"21":1,"25":18,"26":2,"45":9,"46":7,"47":5,"48":15,"49":14,"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,"15":17,"16":10,"17":5,"18":3,"19":12,"20":8,"21":4,"22":3,"23":5,"24":1,"25":1,"27":1,"28":2,"29":1,"30":1,"34":1,"39":1,"40":5,"42":6,"43":1,"46":4,"48":3,"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":9,"17":7,"18":1,"19":3,"20":13,"21":2,"25":7,"26":2,"28":12,"29":2,"30":4,"31":2,"32":2,"33":1,"45":9,"46":18,"47":5,"48":18,"49":14,"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":{"46":1}}],["find",{"2":{"74":1}}],["findfirst",{"2":{"7":1}}],["finds",{"2":{"7":1}}],["fix",{"2":{"20":1}}],["fixed",{"2":{"8":1}}],["field",{"2":{"11":1,"15":1,"20":5,"40":1,"66":1}}],["fields",{"2":{"2":1,"3":1,"4":1,"6":1,"20":5,"23":1,"27":2,"40":3,"41":1}}],["firstindex",{"2":{"32":1}}],["first",{"2":{"3":3,"12":1,"13":1,"16":8,"21":1,"31":1,"44":1,"46":1,"48":2,"73":2}}],["filter",{"2":{"48":1,"49":1,"73":1}}],["filters",{"2":{"5":1}}],["fill",{"2":{"15":4,"20":2,"28":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,"15":5,"17":3,"19":11,"20":11,"70":1,"73":1,"84":1}}],["gc",{"2":{"33":6}}],["goals",{"0":{"27":1},"2":{"27":1}}],["got",{"2":{"25":1}}],["good",{"2":{"16":1}}],["globally",{"2":{"24":1}}],["global",{"0":{"21":1},"1":{"22":1,"23":1},"2":{"21":2}}],["gpus",{"0":{"26":1},"1":{"27":1},"2":{"22":1,"26":1,"57":1}}],["gpu",{"0":{"27":1},"2":{"20":2,"26":4,"27":7,"61":1}}],["gribdatasets",{"2":{"35":1}}],["grid",{"2":{"4":1}}],["gridded",{"2":{"4":1}}],["groupmeans",{"2":{"19":2}}],["grouped",{"2":{"19":1,"47":1}}],["groups",{"2":{"19":12,"45":2,"46":4}}],["groupings",{"2":{"44":1}}],["groupingfunction",{"2":{"19":2}}],["grouping",{"0":{"44":1,"45":1},"2":{"19":9,"43":4,"46":2,"47":1}}],["groupby",{"2":{"19":13,"43":1,"45":13,"46":21,"47":4}}],["group",{"0":{"19":1,"43":1},"1":{"44":1,"45":1,"46":1,"47":1},"2":{"19":9,"44":1,"45":3,"46":13,"47":2}}],["gis",{"2":{"51":2}}],["giving",{"2":{"5":1,"82":1}}],["given",{"2":{"20":1,"82":1}}],["give",{"2":{"3":1,"4":1,"5":1,"15":1,"28":1,"78":1}}],["gives",{"2":{"0":1,"16":2,"66":1}}],["github",{"2":{"4":1,"66":1}}],["guide",{"2":{"43":1}}],["guarantee",{"2":{"11":1}}],["guaranteed",{"2":{"3":1,"15":1}}],["guessed",{"2":{"2":1,"8":2}}],["guess",{"2":{"0":1,"44":1}}],["gt",{"2":{"1":2,"3":3,"5":1,"15":2,"19":1,"20":2}}],["g",{"2":{"0":1,"3":1,"4":2,"5":1,"13":1,"15":1,"19":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":{"15":1,"46":1}}],["getters",{"0":{"48":1},"1":{"49":1}}],["getter",{"2":{"4":1}}],["get",{"2":{"1":3,"2":1,"3":1,"11":3,"15":4,"18":1,"23":1,"29":1,"48":7,"73":2,"74":1,"79":1}}],["getindex",{"2":{"0":1,"3":2,"16":3,"17":1,"23":2,"31":1,"42":2}}],["generator",{"2":{"21":4}}],["generators",{"0":{"17":1},"2":{"35":1}}],["generates",{"2":{"19":7}}],["generate",{"2":{"3":1,"19":2,"23":1}}],["generated",{"2":{"3":1,"18":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":{"20":2}}],["permute",{"2":{"20":1,"24":1,"68":1}}],["permuteddimsarray",{"2":{"80":2}}],["permutedims",{"2":{"32":1,"80":3}}],["permuted",{"2":{"20":1}}],["periods",{"2":{"19":3}}],["perform",{"2":{"32":1}}],["performed",{"2":{"4":1}}],["performance",{"0":{"33":1,"81":1},"2":{"4":3,"16":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,"20":1,"26":1,"32":1,"66":1,"67":1}}],["point",{"2":{"0":1,"4":2,"5":1,"9":1,"17":1,"74":1}}],["points",{"2":{"0":6,"4":7,"5":12,"8":2,"9":4,"13":4,"15":5,"17":5,"19":4,"20":9,"21":1,"25":18,"26":2,"45":9,"46":4,"47":5,"48":32,"49":28,"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":{"20":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,"15":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":{"44":1}}],["prior",{"2":{"20":1}}],["primarily",{"2":{"3":1}}],["primitives",{"2":{"31":2}}],["primitive",{"0":{"3":1}}],["process",{"2":{"57":1,"65":1}}],["providing",{"2":{"51":1}}],["provides",{"2":{"43":1,"48":1,"58":1,"82":1}}],["provide",{"2":{"4":2}}],["provided",{"2":{"4":5,"5":3,"8":1,"21":2,"74":1}}],["projected",{"2":{"36":1,"51":1}}],["prod",{"2":{"32":1,"80":2}}],["probably",{"2":{"22":1,"44":1}}],["problems",{"2":{"4":1}}],["property",{"2":{"22":1}}],["properties",{"2":{"2":2,"20":1,"25":1,"41":1,"74":1,"75":2}}],["programmatically",{"2":{"15":1}}],["predicates",{"0":{"49":1},"2":{"49":1}}],["predefined",{"2":{"34":1}}],["prefereble",{"2":{"19":1}}],["preserved",{"2":{"20":1}}],["present",{"2":{"5":1,"17":1,"35":1}}],["pressed",{"2":{"12":1}}],["previously",{"2":{"20":1}}],["previous",{"2":{"3":1,"5":1}}],["precedence",{"2":{"0":1}}],["paaarnet",{"2":{"23":3,"42":3}}],["padding",{"2":{"46":1}}],["pad",{"2":{"19":5}}],["past",{"2":{"15":1}}],["pass",{"2":{"11":1,"16":1,"20":3,"23":2,"41":1,"46":1,"66":1}}],["passing",{"2":{"3":2,"4":1,"19":1,"20":1,"25":1}}],["passed",{"2":{"0":1,"2":1,"3":5,"5":3,"17":1,"20":6,"21":1,"23":1,"27":1,"40":1,"73":2}}],["partly",{"2":{"76":1}}],["part",{"2":{"23":1,"66":1}}],["parentheses",{"2":{"20":1}}],["parent",{"2":{"15":1,"20":5,"21":4,"23":13,"24":1,"26":2,"27":1,"33":2,"41":1,"42":9,"61":5,"81":1}}],["parameters",{"2":{"3":1}}],["parameter",{"2":{"0":1,"11":1}}],["pair",{"2":{"11":1,"19":1,"20":4}}],["pairs",{"2":{"11":1,"19":1,"20":8}}],["packages",{"2":{"35":2,"36":1,"44":1,"67":1,"82":1}}],["package",{"2":{"4":1,"12":1,"13":1,"19":1,"52":1,"54":1,"55":1}}],["d=rand",{"2":{"77":1}}],["dynamicgrids",{"0":{"57":1},"2":{"27":1,"57":2}}],["dropdims",{"2":{"32":1,"80":1}}],["dropped",{"2":{"23":2,"42":2}}],["drop=true",{"2":{"21":3}}],["dd",{"2":{"5":3,"20":3,"34":1,"39":2,"44":1,"51":1,"53":1,"65":2,"66":1,"68":1,"82":1}}],["da4",{"2":{"33":1}}],["da5",{"2":{"32":2}}],["das",{"2":{"23":1}}],["daily",{"2":{"19":1}}],["dayofyear",{"2":{"44":2,"46":3}}],["dayofweek",{"2":{"44":1}}],["day",{"2":{"19":3,"44":2,"46":4}}],["days",{"2":{"4":1,"46":1}}],["da3",{"2":{"16":2}}],["da2",{"2":{"16":2,"20":7,"30":5}}],["da1",{"2":{"16":2,"20":7,"29":2,"30":1,"31":2}}],["da",{"2":{"4":2,"20":10,"28":2,"30":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":{"16":1},"2":{"4":1,"52":1}}],["dataapi",{"2":{"19":1}}],["data=autovalues",{"2":{"4":1}}],["data",{"2":{"0":2,"1":1,"2":1,"4":17,"11":1,"13":2,"15":5,"16":6,"18":1,"19":2,"20":6,"21":2,"23":3,"25":8,"26":2,"27":2,"34":1,"35":1,"40":2,"46":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":4,"19":2,"25":28,"44":5,"45":3,"47":11,"74":10,"75":1}}],["dates",{"2":{"0":15,"4":2,"15":1,"19":1,"25":36,"44":4,"45":4,"47":12,"74":9,"83":1}}],["d",{"0":{"24":1},"1":{"25":1},"2":{"3":2,"4":2,"13":1,"17":1,"20":12,"24":2,"25":6,"64":2,"70":1,"75":3,"77":1,"78":6,"79":23,"80":28,"81":2,"84":2}}],["dsl",{"2":{"55":1}}],["dst",{"2":{"21":6}}],["ds",{"2":{"3":1,"4":2,"20":2,"21":2}}],["docs",{"2":{"42":2}}],["documented",{"2":{"21":1}}],["dot",{"2":{"24":1}}],["dotview",{"2":{"3":1}}],["doing",{"2":{"17":1,"21":1,"46":1,"64":1,"76":1}}],["do",{"2":{"4":2,"11":1,"12":1,"19":1,"20":3,"32":1,"46":1,"62":1,"66":2}}],["doesn",{"2":{"17":1,"30":1,"31":1,"65":1}}],["does",{"2":{"4":1,"20":1,"24":1,"40":1,"44":1,"46":1,"78":1,"80":1,"82":1}}],["done",{"2":{"15":1,"20":1,"82":1}}],["don",{"2":{"2":1,"4":1,"21":4,"30":1,"64":1,"66":1}}],["direct",{"2":{"35":1}}],["directly",{"2":{"17":1,"33":1,"35":1,"46":1,"81":1,"85":1}}],["difficult",{"2":{"27":1}}],["different",{"0":{"71":1},"2":{"3":1,"5":3,"10":1,"11":1,"20":1,"48":1}}],["divide",{"2":{"19":1}}],["di",{"2":{"17":2}}],["dicts",{"2":{"27":1,"60":1}}],["dict",{"2":{"4":4,"11":3,"15":1,"19":3,"20":1,"28":5,"45":7,"46":11,"47":2,"64":2}}],["dictates",{"2":{"2":1}}],["distinguishing",{"2":{"48":1}}],["distance",{"2":{"4":2,"5":1}}],["discrete",{"2":{"46":1}}],["discarded",{"2":{"5":1,"15":1}}],["diskarray",{"2":{"52":1}}],["diskarrays",{"0":{"35":1},"2":{"19":1,"35":2}}],["disk",{"2":{"35":1}}],["dispatch",{"2":{"0":1,"11":1}}],["dimmatrix",{"2":{"68":1}}],["dimvector",{"2":{"21":1}}],["dimgroupbyarray",{"2":{"19":6,"45":1,"46":8,"47":1}}],["dimname",{"2":{"19":1}}],["dimnum",{"2":{"1":4,"15":4,"39":1}}],["dimcolumn",{"2":{"18":1}}],["dimtype",{"2":{"19":1}}],["dimtable",{"2":{"18":4,"84":4}}],["dimtuple",{"2":{"16":1,"48":4}}],["dimpoints",{"2":{"17":4}}],["dimindices",{"2":{"17":9,"30":2,"38":1,"76":1}}],["dimz",{"2":{"5":2,"16":4}}],["dimselector",{"0":{"76":1}}],["dimselectors",{"2":{"17":7,"76":3}}],["dimsmatch",{"2":{"3":2}}],["dimstoreduce",{"2":{"3":1}}],["dimstacks",{"0":{"77":1},"1":{"78":1,"79":1,"80":1,"81":1},"2":{"24":1}}],["dimstackinterface",{"2":{"23":2,"42":6}}],["dimstack",{"2":{"2":1,"16":19,"20":1,"21":2,"24":1,"42":7,"48":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":{"20":3,"21":1,"25":4}}],["dims=ti",{"2":{"0":1,"16":2,"19":1,"21":1,"32":1}}],["dims=z",{"2":{"0":1}}],["dims=y",{"2":{"0":1,"20":1,"80":11}}],["dims=x",{"2":{"0":1}}],["dims",{"0":{"24":1,"32":1,"37":1,"39":1},"1":{"25":1,"38":1,"39":1},"2":{"0":4,"1":11,"2":8,"3":13,"4":18,"5":6,"11":2,"13":3,"15":42,"16":3,"17":14,"18":1,"19":9,"20":33,"21":13,"23":26,"24":4,"25":10,"26":1,"28":11,"29":3,"30":5,"31":4,"32":4,"33":1,"34":1,"36":1,"37":1,"38":1,"39":5,"40":2,"41":2,"42":17,"45":9,"46":19,"47":6,"48":24,"49":29,"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":{"28":1},"1":{"29":1,"30":1,"31":1,"32":1,"33":1},"2":{"28":1}}],["dimarrayinterface",{"2":{"23":2,"42":6}}],["dimarray",{"0":{"29":1},"2":{"0":4,"1":5,"2":1,"3":2,"4":6,"5":11,"13":7,"15":37,"16":11,"17":6,"18":2,"19":10,"20":10,"21":1,"24":2,"25":11,"26":2,"27":1,"28":17,"29":4,"30":4,"31":2,"32":2,"33":1,"42":4,"45":13,"46":39,"47":8,"48":7,"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,"15":7,"18":3,"20":16,"29":1,"32":1,"34":3,"38":1,"83":1}}],["dimensionmismatch",{"2":{"25":1,"78":1}}],["dimensionality",{"2":{"21":1}}],["dimensional",{"0":{"24":1,"30":1},"1":{"25":1},"2":{"0":1,"3":1,"16":1,"20":1,"23":2,"38":1,"43":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":20,"16":3,"17":3,"18":4,"19":10,"20":20,"21":5,"22":3,"23":8,"25":1,"26":2,"27":3,"28":1,"31":6,"34":3,"35":1,"36":1,"37":1,"40":1,"41":2,"42":10,"43":1,"44":2,"48":3,"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":{"17":1,"25":1,"29":1,"38":1,"47":1},"2":{"0":21,"1":27,"2":11,"3":32,"4":24,"5":3,"10":2,"11":2,"15":75,"16":3,"17":9,"18":7,"19":2,"20":33,"21":9,"23":4,"24":2,"25":3,"28":2,"30":3,"31":1,"32":3,"34":3,"38":1,"39":5,"40":1,"41":2,"42":2,"43":1,"45":1,"47":2,"48":6,"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,"34":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,"15":25,"16":3,"17":5,"18":1,"19":3,"20":24,"21":9,"23":6,"24":2,"25":1,"28":1,"30":4,"31":4,"33":1,"34":7,"37":2,"38":1,"42":4,"47":2,"48":3,"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":{"46":4,"74":1}}],["december",{"2":{"19":2}}],["demo",{"2":{"44":1}}],["developers",{"2":{"40":1,"52":1}}],["development",{"2":{"35":1,"67":1}}],["devicebuffer",{"2":{"26":1}}],["dest",{"2":{"20":4}}],["descriptive",{"2":{"19":1}}],["designed",{"2":{"35":1,"36":1}}],["design",{"2":{"16":2}}],["deprecated",{"2":{"20":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,"15":1}}],["detect",{"2":{"4":2,"15":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,"17":1}}],["details",{"2":{"0":1,"23":2,"34":1}}],["definition",{"2":{"23":2,"42":2}}],["defining",{"2":{"4":2}}],["defines",{"2":{"4":1,"8":1,"17":1,"20":1,"23":2,"42":3,"48":1,"55":1}}],["defined",{"2":{"3":1,"4":1,"16":1,"20":3,"34":1,"40":1,"45":1}}],["define",{"2":{"0":1,"3":1,"4":1,"9":1,"19":1,"25":1,"28":1,"45":1,"48":1,"75":1,"76":1,"83":1}}],["default",{"0":{"70":1},"2":{"0":1,"1":3,"3":11,"4":7,"10":1,"15":4,"17":2,"19":5,"22":1,"67":1,"68":1}}],["w",{"2":{"84":1}}],["would",{"2":{"17":2,"24":1,"46":1,"48":1}}],["works",{"2":{"4":1,"20":1,"24":2,"31":2,"46":2,"57":1,"78":2}}],["work",{"2":{"2":1,"4":4,"5":1,"10":2,"11":1,"15":1,"16":1,"19":1,"20":1,"21":1,"24":2,"27":3,"31":3,"34":1,"40":2,"44":1,"52":1,"65":1,"67":1,"68":2,"74":1,"80":1}}],["working",{"2":{"1":1,"16":2}}],["word",{"2":{"0":1}}],["want",{"2":{"12":1,"21":4,"23":2,"46":2,"48":1,"62":1,"66":2}}],["way",{"2":{"4":1,"20":1,"25":1,"40":1,"64":1,"66":1}}],["warning",{"2":{"3":1,"31":2,"64":1}}],["warn",{"2":{"3":1}}],["whose",{"2":{"20":3}}],["whole",{"2":{"5":2}}],["what",{"2":{"20":1,"44":1,"46":1,"48":2,"62":1,"64":1,"66":1}}],["whatever",{"2":{"17":1,"48":1}}],["which",{"2":{"3":1,"4":1,"19":1,"20":4,"21":1,"24":1,"32":1,"48":1,"51":1,"71":1,"73":3,"76":1}}],["whichever",{"2":{"3":1}}],["while",{"2":{"3":1,"11":1,"16":2,"17":1}}],["wherever",{"2":{"21":1,"46":1}}],["where",{"2":{"3":4,"4":9,"5":7,"7":1,"8":2,"9":1,"10":2,"11":1,"16":1,"20":4,"32":1,"46":1,"48":1,"61":1,"64":1,"73":4,"75":1}}],["whether",{"2":{"1":1,"15":1}}],["whenever",{"2":{"27":1}}],["when",{"2":{"0":5,"2":1,"4":6,"5":2,"11":1,"16":2,"17":1,"19":3,"20":1,"21":3,"22":1,"27":1,"30":1,"31":1,"38":1,"41":1,"46":1,"74":1,"75":1,"78":1}}],["write",{"2":{"85":2}}],["written",{"2":{"20":1}}],["writing",{"2":{"3":1,"20":1}}],["wraps",{"2":{"38":1}}],["wrapping",{"2":{"3":1,"4":1,"48":5,"52":1,"74":4}}],["wrapper",{"2":{"4":4,"11":1,"19":1,"20":2,"21":4,"22":2,"34":1,"46":1,"64":1}}],["wrappers",{"2":{"0":2,"4":1,"5":1,"11":2,"22":1,"28":2,"30":1,"61":1}}],["wrapped",{"2":{"3":2,"19":1,"20":1,"34":1,"65":1}}],["wrap",{"2":{"0":2,"19":3,"34":3,"74":1}}],["weds",{"2":{"74":2}}],["were",{"2":{"31":2}}],["well",{"2":{"18":1,"30":1,"73":2}}],["weeks",{"2":{"4":1}}],["week",{"2":{"4":1}}],["we",{"2":{"0":1,"4":3,"5":1,"16":1,"17":2,"19":2,"20":2,"21":8,"24":3,"25":1,"28":2,"29":1,"30":2,"34":1,"42":2,"44":1,"45":3,"46":13,"47":2,"48":1,"52":1,"62":2,"73":3,"74":6,"75":1,"76":4,"78":2,"79":3,"84":2,"85":1}}],["winter",{"2":{"46":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,"17":1,"73":2}}],["without",{"2":{"3":1,"4":2,"11":1,"16":1,"20":2,"30":1,"40":1,"61":1,"65":1,"74":1,"79":1}}],["with",{"0":{"24":1,"29":1,"72":1},"1":{"25":1},"2":{"0":3,"1":5,"2":2,"3":10,"4":13,"5":10,"7":1,"8":1,"10":8,"11":1,"12":1,"15":12,"16":8,"17":7,"18":1,"19":7,"20":14,"21":6,"23":3,"24":5,"25":3,"26":1,"27":1,"28":1,"29":1,"30":3,"31":2,"32":1,"33":3,"34":5,"35":1,"38":1,"40":2,"42":2,"43":3,"45":8,"46":11,"47":3,"48":1,"49":1,"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,"15":10,"16":7,"18":1,"19":5,"20":15,"21":1,"30":2,"39":2,"40":2,"43":1,"44":2,"48":1,"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":{"23":1}}],["blocks",{"2":{"23":1,"46":2}}],["blockwidth",{"2":{"23":4}}],["b=rand",{"2":{"77":1}}],["b=falses",{"2":{"61":1}}],["b=1",{"2":{"13":1,"29":1}}],["building",{"2":{"35":1}}],["but",{"2":{"0":1,"1":2,"3":9,"4":4,"5":1,"8":1,"11":1,"15":2,"16":3,"17":3,"19":6,"20":1,"23":2,"25":1,"26":1,"30":2,"31":1,"35":2,"36":1,"44":1,"46":1,"47":1,"48":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":{"46":4}}],["binning",{"0":{"46":1},"2":{"19":2}}],["bins",{"2":{"19":15,"43":1,"46":5}}],["bitmatrix",{"2":{"61":2}}],["bit",{"2":{"13":1}}],["bar",{"2":{"64":3}}],["bayesian",{"2":{"54":1}}],["band",{"2":{"18":2}}],["backend",{"2":{"27":1}}],["back",{"2":{"5":1,"11":1}}],["basic",{"2":{"31":1}}],["basics",{"0":{"13":1}}],["basically",{"2":{"3":1,"19":1,"64":1}}],["base",{"2":{"3":2,"5":1,"15":10,"16":3,"19":1,"20":1,"21":7,"23":4,"24":2,"27":1,"31":1,"42":2,"74":2,"80":1}}],["basetypeof",{"2":{"3":5}}],["basedims",{"2":{"3":2}}],["based",{"2":{"2":1,"23":1,"35":1,"64":1}}],["brackets",{"2":{"64":1}}],["break",{"2":{"46":1}}],["breaking",{"2":{"4":1,"23":1,"65":1}}],["broken",{"2":{"66":1}}],["brought",{"2":{"34":1}}],["brodcasting",{"2":{"21":2,"24":1}}],["broadcasts",{"0":{"24":1},"1":{"25":1},"2":{"21":5,"24":2,"27":1,"80":1}}],["broadcast",{"0":{"24":1},"1":{"25":1},"2":{"19":3,"20":11,"21":4,"24":7,"25":7,"26":1,"35":1,"80":2}}],["broadcasting",{"2":{"3":1,"20":2,"21":5,"24":1,"45":1}}],["bonus",{"2":{"24":1}}],["box",{"2":{"23":1,"67":1}}],["boundaries",{"2":{"5":1}}],["bounds",{"2":{"4":9,"8":6,"48":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,"15":11,"19":1,"21":2,"61":7,"73":2}}],["bytes",{"2":{"33":2,"81":2}}],["by",{"0":{"19":1,"43":1,"47":1},"1":{"44":1,"45":1,"46":1,"47":1},"2":{"0":1,"1":2,"3":13,"4":8,"5":4,"9":1,"15":2,"17":1,"19":8,"20":2,"25":2,"29":1,"33":2,"34":1,"35":1,"40":2,"45":2,"46":2,"47":3,"68":1,"71":1,"73":4}}],["b",{"2":{"0":7,"3":4,"4":2,"5":11,"13":3,"15":9,"16":3,"17":1,"20":4,"29":3,"31":2,"34":2,"47":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":{"33":3,"81":1}}],["benchmark",{"2":{"33":3}}],["before",{"2":{"21":9}}],["become",{"2":{"84":1}}],["becomes",{"2":{"18":2}}],["because",{"2":{"19":2,"24":1}}],["behaves",{"2":{"17":2,"36":1}}],["behaviour",{"2":{"4":4,"5":1,"6":1,"16":2,"19":1,"20":1,"41":1,"67":1,"74":1,"77":1}}],["behaviours",{"2":{"4":1,"52":1,"65":1}}],["begin+1",{"2":{"31":1}}],["beginendsteprange",{"2":{"10":2}}],["beginendrange",{"2":{"10":2}}],["begin",{"0":{"31":1},"2":{"10":4,"31":2}}],["better",{"2":{"5":1}}],["between",{"2":{"0":1,"4":5,"5":21,"10":1,"11":1,"15":1,"16":2}}],["been",{"2":{"2":1,"3":1,"16":1,"20":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,"15":10,"16":4,"17":3,"19":8,"20":16,"21":2,"22":1,"23":3,"24":1,"25":1,"27":4,"30":3,"31":1,"32":1,"34":3,"36":1,"38":1,"40":1,"41":1,"44":1,"46":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":{"46":1}}],["edge",{"2":{"19":1}}],["equally",{"2":{"19":1}}],["equivalent",{"2":{"16":1,"17":1,"21":2}}],["estimate",{"2":{"33":4}}],["essentially",{"2":{"17":1,"19":1}}],["especially",{"2":{"17":1,"21":1,"68":1}}],["effects",{"2":{"15":2}}],["enforce",{"2":{"77":1}}],["entries",{"2":{"64":2}}],["entry",{"2":{"19":3,"45":7,"46":11,"47":2}}],["engine",{"2":{"57":1}}],["ensure",{"2":{"21":4}}],["enables",{"2":{"35":1}}],["enable",{"2":{"8":1}}],["end",{"0":{"31":1},"2":{"5":4,"9":1,"10":6,"19":3,"20":1,"31":3,"48":1}}],["evaluations",{"2":{"33":2}}],["evaluated",{"2":{"5":1}}],["everything",{"2":{"36":1,"60":1,"64":1}}],["everywhere",{"2":{"34":1}}],["every",{"2":{"4":1,"5":1,"8":1,"20":2}}],["even",{"2":{"4":1,"17":1,"24":2,"31":1,"65":1,"74":1,"80":1}}],["error",{"2":{"3":2,"5":2,"25":1,"30":2,"64":1,"78":1}}],["errors",{"2":{"2":1,"3":1}}],["empty",{"2":{"3":1,"15":2,"23":2,"42":2,"75":1}}],["eltype",{"2":{"21":2,"61":2,"77":4,"78":22,"79":4,"80":88,"83":2,"84":26}}],["else",{"2":{"2":1,"19":1,"60":1,"64":1}}],["element",{"2":{"0":1,"2":1,"13":1,"15":2,"19":2,"25":3,"29":1,"30":2,"31":1,"44":8,"45":7,"46":13,"47":1,"48":2,"73":3,"74":3,"78":1,"79":2,"80":1,"85":1}}],["either",{"2":{"1":1,"2":1,"3":1,"4":2,"11":1,"15":2,"17":1,"19":4,"21":4}}],["early",{"2":{"23":2}}],["easiest",{"2":{"40":1}}],["easier",{"2":{"22":1,"39":1}}],["easily",{"2":{"0":1,"4":1,"36":2,"64":1}}],["eachindex",{"2":{"38":2}}],["eachother",{"2":{"24":1}}],["eachslice",{"2":{"21":4,"25":2,"32":1,"47":1}}],["each",{"2":{"0":1,"3":2,"4":5,"5":2,"8":1,"16":1,"17":2,"18":1,"19":1,"20":1,"25":1,"45":1,"48":2,"67":1,"74":1,"79":1,"81":1,"84":3}}],["except",{"2":{"24":1,"27":1}}],["exception",{"2":{"21":2}}],["exact",{"2":{"4":1,"9":1,"17":2,"19":1}}],["exactly",{"2":{"4":1,"5":1,"46":1,"73":1}}],["examples",{"2":{"0":2,"20":1,"21":1,"36":2}}],["example",{"0":{"25":1,"83":1},"2":{"0":5,"1":4,"3":2,"4":5,"5":7,"15":12,"16":2,"17":2,"18":1,"19":2,"20":5,"21":3,"25":1,"27":1,"40":1,"48":1}}],["extrema",{"2":{"32":1,"80":2}}],["extra",{"2":{"0":1,"75":1}}],["extent",{"2":{"48":9}}],["extents",{"2":{"48":2}}],["extensible",{"2":{"36":1,"40":1}}],["extension",{"2":{"24":1,"55":1}}],["extends",{"2":{"51":1,"53":1}}],["extend",{"2":{"16":1}}],["extended",{"2":{"4":1,"23":2,"36":2}}],["extending",{"0":{"36":1},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1},"2":{"4":3,"20":1,"37":1}}],["exploratory",{"2":{"54":1}}],["explicit",{"2":{"4":1,"8":1,"42":1}}],["explicitly",{"2":{"4":2,"8":1,"19":1,"20":2,"21":4}}],["expected",{"2":{"21":1}}],["expression",{"2":{"20":1}}],["exported",{"0":{"1":1,"2":1}}],["existing",{"2":{"5":1,"20":1,"23":1,"43":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,"15":1,"17":1,"19":1,"36":1,"47":1,"61":1,"65":1,"70":1,"71":1,"75":3,"78":2,"84":1}}],["etc",{"2":{"0":2,"3":1,"16":1,"20":2}}],["l",{"2":{"48":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":{"19":1,"71":1}}],["listed",{"2":{"8":1,"49":1,"64":1}}],["little",{"2":{"5":1,"13":1}}],["lies",{"2":{"16":2}}],["lie",{"2":{"5":1}}],["likely",{"2":{"4":1,"23":2}}],["like",{"0":{"78":1,"79":1},"2":{"0":1,"3":2,"4":5,"5":2,"15":1,"16":1,"17":4,"19":2,"20":3,"22":1,"30":3,"32":1,"34":1,"38":1,"41":1,"46":3,"48":2,"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":{"46":1}}],["letting",{"2":{"34":1}}],["let",{"2":{"33":1}}],["lets",{"2":{"11":1,"22":1,"41":1,"44":2,"45":1,"46":1}}],["left",{"2":{"13":3,"23":1}}],["leans",{"2":{"26":1}}],["leave",{"2":{"15":1}}],["leaves",{"2":{"3":1}}],["leap",{"2":{"4":1}}],["least",{"2":{"3":1,"23":4}}],["level",{"2":{"3":2}}],["length=365",{"2":{"44":1}}],["lengths",{"2":{"3":1,"25":1,"78":1}}],["length",{"2":{"0":1,"3":6,"4":5,"8":1,"15":4,"19":4,"21":2,"23":3,"38":1,"42":2,"82":1}}],["lazily",{"2":{"82":1}}],["lazy",{"2":{"18":1,"35":1}}],["largest",{"2":{"80":1,"82":1}}],["large",{"2":{"52":1}}],["larger",{"2":{"25":1}}],["language",{"2":{"26":1}}],["lastindex",{"2":{"32":1}}],["last",{"2":{"19":2,"31":1,"48":1}}],["layermetadata",{"2":{"23":1,"64":1}}],["layerdims",{"2":{"23":5,"42":2,"64":1}}],["layernames=nothing",{"2":{"18":1}}],["layered",{"2":{"16":2}}],["layer",{"2":{"16":5,"21":2,"27":2,"30":1,"79":1,"80":1,"82":2,"84":1}}],["layersfrom=",{"2":{"84":2}}],["layersfrom=nothing",{"2":{"16":1,"18":1}}],["layersfrom",{"2":{"18":1}}],["layers",{"2":{"16":9,"18":1,"20":1,"21":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":{"19":1}}],["latitude",{"2":{"0":1}}],["lat",{"2":{"0":1}}],["labelled",{"2":{"67":1}}],["labelling",{"2":{"15":1}}],["labels=x",{"2":{"46":2}}],["labels",{"2":{"11":1,"19":21,"68":1}}],["label",{"2":{"0":3,"2":5,"34":1}}],["lt",{"2":{"0":12,"1":2,"3":4,"5":1,"15":2,"39":3,"57":1,"58":1,"79":1}}],["lot",{"2":{"46":1,"72":1}}],["log",{"2":{"33":1}}],["losing",{"2":{"19":1,"61":1}}],["looping",{"2":{"82":1}}],["loop",{"2":{"82":1}}],["look",{"2":{"44":1}}],["lookuparray",{"2":{"66":1}}],["lookupdim",{"2":{"20":1}}],["lookupcomponent",{"2":{"20":1}}],["lookuptrait",{"2":{"6":1,"7":1,"8":1,"9":1,"10":1,"20":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,"15":1,"17":2,"20":3,"21":1,"28":1,"34":2,"38":1,"48":1,"51":1,"62":1,"73":1,"74":4,"75":1,"76":1}}],["lookup",{"0":{"6":1,"21":1,"75":1},"1":{"7":1,"8":1,"9":1,"10":1,"22":1,"23":1},"2":{"0":4,"1":1,"2":13,"3":2,"4":52,"5":4,"6":2,"7":6,"9":1,"10":4,"15":9,"17":2,"19":2,"20":14,"21":5,"36":3,"38":1,"41":3,"46":2,"48":18,"49":8,"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,"48":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,"44":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,"15":4,"19":1,"20":1,"21":2,"26":1,"44":2,"66":1,"73":1,"74":5}}],["created",{"2":{"0":1}}],["creating",{"2":{"0":1,"28":1}}],["climate",{"2":{"53":1}}],["climatebase",{"0":{"53":1},"2":{"53":1}}],["cloud",{"2":{"35":1}}],["closest",{"2":{"73":1}}],["close",{"2":{"23":3,"73":1}}],["closely",{"2":{"21":4,"52":1}}],["closed",{"2":{"5":3,"46":35}}],["closedinterval",{"2":{"5":1}}],["clashes",{"2":{"0":1,"5":1}}],["cycling",{"2":{"4":1}}],["cyclical",{"2":{"74":1}}],["cyclicbins",{"2":{"19":4}}],["cyclic",{"2":{"4":5,"19":1,"74":5}}],["cycle=month",{"2":{"74":1}}],["cycle=24",{"2":{"46":1}}],["cycle=12",{"2":{"46":3}}],["cycles",{"2":{"19":1,"74":1}}],["cycled",{"2":{"4":3}}],["cycle",{"2":{"4":9,"19":5}}],["cua2",{"2":{"26":2}}],["cua",{"2":{"26":2}}],["cuarray",{"2":{"20":1,"26":2,"61":1}}],["cuda",{"0":{"26":1},"1":{"27":1},"2":{"26":2,"27":1}}],["currently",{"2":{"24":1}}],["current",{"2":{"4":1,"15":1,"21":1}}],["curresponding",{"2":{"4":2}}],["customise",{"2":{"65":1}}],["custom=dd",{"2":{"20":1}}],["custom=10",{"2":{"20":1}}],["custom",{"2":{"0":4,"3":1,"18":2,"19":1,"20":9,"27":1,"36":2,"47":1}}],["center",{"2":{"5":5,"9":2,"10":4,"48":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,"17":1,"19":1}}],["child",{"2":{"21":1}}],["chunked",{"2":{"35":1}}],["chunk",{"2":{"19":1}}],["channel",{"2":{"13":1}}],["channel=",{"2":{"13":1}}],["changing",{"2":{"4":1,"20":1,"65":1}}],["changes",{"2":{"23":1}}],["change",{"2":{"3":1,"4":4,"20":5,"66":1}}],["changed",{"2":{"3":1}}],["char",{"2":{"0":1,"3":1,"4":1,"13":1,"17":2,"62":2,"64":2,"66":3,"75":1,"83":2,"84":3}}],["checked",{"2":{"24":1}}],["checks",{"2":{"21":4,"24":2}}],["checking",{"2":{"21":1}}],["check=true",{"2":{"3":1}}],["check",{"2":{"1":2,"3":1,"4":1,"5":1,"12":1,"15":2,"20":1,"21":11,"64":1}}],["cost",{"2":{"33":1}}],["costly",{"2":{"21":1}}],["cover",{"2":{"43":1}}],["cov",{"2":{"32":1}}],["core",{"2":{"64":1}}],["cor",{"2":{"32":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":{"20":2}}],["copy",{"2":{"20":1,"21":7}}],["code",{"2":{"16":2,"23":2,"26":1}}],["coded",{"2":{"6":1}}],["could",{"2":{"5":1,"25":1,"46":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,"16":1}}],["collected",{"2":{"82":1}}],["collection",{"2":{"77":1}}],["collect",{"2":{"61":1}}],["column",{"2":{"18":2,"84":3}}],["columns",{"2":{"1":1,"8":1,"15":1,"18":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,"19":1,"25":1,"44":1,"51":1,"64":1}}],["compile",{"2":{"81":1}}],["compilation",{"2":{"81":1}}],["components",{"2":{"23":4,"42":4}}],["completely",{"2":{"21":4}}],["complicated",{"2":{"5":1,"13":1}}],["compatibility",{"0":{"35":1},"2":{"24":1}}],["compatible",{"2":{"18":1}}],["comparing",{"2":{"3":1,"21":1}}],["comparisons",{"2":{"3":2}}],["compare",{"2":{"3":6}}],["compared",{"2":{"3":1,"21":1}}],["comparedims",{"2":{"3":5}}],["combines",{"2":{"5":1,"48":1}}],["combined",{"2":{"4":1,"17":1,"20":1,"30":1,"63":1}}],["combinedims",{"2":{"3":1}}],["combine",{"2":{"3":1,"18":1}}],["combinations",{"2":{"17":2}}],["combination",{"2":{"1":1,"15":1,"35":2}}],["confusing",{"2":{"40":1}}],["confused",{"2":{"5":1}}],["consistency",{"2":{"77":1}}],["consistent",{"2":{"48":1}}],["consecutive",{"2":{"30":2}}],["constraint",{"2":{"30":1}}],["constructing",{"0":{"29":1},"2":{"41":1}}],["constructionbase",{"2":{"20":1,"40":2,"65":2}}],["construction",{"2":{"4":1,"10":1}}],["construct",{"2":{"18":1}}],["constructors",{"2":{"15":1,"41":2}}],["constructor",{"2":{"4":1,"16":1,"26":1,"64":1}}],["constructed",{"2":{"0":1,"3":1,"4":1,"16":1,"23":2,"37":1}}],["const",{"2":{"5":1,"20":1,"44":1}}],["concatenate",{"2":{"21":4}}],["concrete",{"2":{"0":1,"1":2,"3":3,"4":2,"15":3,"16":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,"18":1,"27":1}}],["controlled",{"2":{"71":1}}],["control",{"2":{"20":1,"21":1}}],["contents",{"2":{"11":1}}],["contexts",{"2":{"4":3}}],["context",{"2":{"3":1,"4":1,"15":1,"23":1}}],["contained",{"2":{"4":1,"5":1,"17":1,"60":1}}],["contain",{"2":{"2":1,"3":1,"5":2,"20":2}}],["contains",{"2":{"1":1,"4":2,"5":10,"15":1,"17":2,"19":1,"20":1,"73":2,"76":1}}],["containing",{"2":{"1":1,"3":1,"15":2}}],["cairomakie",{"2":{"68":1}}],["caveats",{"2":{"64":1}}],["cartesianindex",{"2":{"30":2}}],["cartesianindices",{"2":{"17":4,"30":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,"15":3,"17":2,"46":4,"62":2,"64":2,"66":4,"68":1,"73":15,"74":5,"75":3,"83":2}}],["cat",{"2":{"21":2,"32":1}}],["cases",{"2":{"21":1,"36":1,"38":1}}],["case",{"2":{"20":1,"66":1}}],["calculate",{"2":{"19":1}}],["call",{"2":{"23":1,"46":1}}],["calling",{"2":{"20":1,"39":1,"41":1}}],["callable",{"2":{"19":1}}],["called",{"2":{"3":2,"27":1,"41":1}}],["captions",{"2":{"15":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,"15":9,"16":2,"17":4,"18":1,"19":9,"20":8,"21":2,"24":2,"25":3,"28":1,"29":1,"30":4,"31":2,"32":2,"34":5,"36":1,"40":1,"42":2,"44":3,"45":2,"46":7,"47":2,"48":1,"49":1,"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,"15":9,"17":3,"20":3,"47":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":{"23":2,"73":1,"79":1}}],["zeros",{"2":{"0":1,"15":6,"20":1,"28":4,"42":2}}],["z=dd",{"2":{"20":1}}],["z=",{"2":{"20":1}}],["zdim",{"2":{"0":4}}],["z",{"2":{"0":8,"1":9,"3":4,"15":9,"20":9,"21":3,"30":13,"34":3,"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":{"31":1}}],["y=end",{"2":{"31":1}}],["y=dimarray",{"2":{"21":1}}],["y=>isodd",{"2":{"19":2}}],["yet",{"2":{"10":1,"23":2}}],["yearday",{"2":{"44":1}}],["yearmonthday",{"2":{"44":1}}],["yearmonth",{"2":{"44":1}}],["year",{"2":{"4":4,"19":1,"44":1}}],["years",{"2":{"4":3}}],["your",{"2":{"5":1,"13":1,"20":1,"40":2}}],["yourdimarray",{"2":{"40":1}}],["yourdim",{"2":{"0":1}}],["you",{"2":{"4":2,"5":1,"12":4,"18":1,"20":5,"21":5,"23":2,"25":2,"31":1,"32":1,"34":1,"40":1,"44":1,"46":1,"48":2,"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":26,"16":2,"17":13,"18":2,"19":4,"20":11,"21":6,"25":13,"26":2,"28":24,"30":7,"31":2,"32":3,"33":3,"34":3,"42":3,"48":31,"49":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":{"30":1}}],["x2",{"2":{"21":2}}],["x1",{"2":{"21":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":{"47":1}}],["x=>bins",{"2":{"46":2}}],["x=begin",{"2":{"31":1}}],["x=begin+1",{"2":{"31":1}}],["x=dimarray",{"2":{"21":1}}],["xs",{"2":{"2":1,"3":2,"4":6,"11":1,"15":2,"18":1}}],["xdim",{"2":{"0":7}}],["x3c",{"2":{"0":10,"4":12,"5":9,"7":6,"8":4,"9":3,"10":6,"11":2,"15":3,"16":1,"17":3,"18":2,"19":3,"22":2,"23":2,"33":2}}],["x",{"2":{"0":17,"1":27,"2":9,"3":22,"4":28,"5":32,"11":6,"15":65,"16":3,"17":17,"18":5,"19":2,"20":27,"21":7,"25":13,"26":2,"28":24,"30":18,"31":2,"32":3,"33":3,"34":6,"40":1,"42":4,"44":3,"45":3,"46":14,"47":3,"48":29,"49":23,"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":{"46":1}}],["identity",{"2":{"19":2,"46":2}}],["identical",{"2":{"4":2,"11":1,"77":1}}],["io",{"2":{"23":11}}],["images",{"2":{"58":1}}],["immutable",{"2":{"20":1,"27":1,"40":1,"66":1}}],["improving",{"2":{"66":1}}],["imperative",{"2":{"62":1}}],["imply",{"2":{"20":1}}],["implements",{"2":{"42":4,"82":1}}],["implemented",{"2":{"39":1,"42":2}}],["implement",{"2":{"16":1,"40":1,"82":1}}],["implementation",{"2":{"4":2,"16":1,"42":4,"56":1}}],["implementations",{"2":{"0":1}}],["important",{"2":{"4":3}}],["ignoring",{"2":{"15":1}}],["ignores",{"2":{"68":1}}],["ignore",{"2":{"3":2,"34":1,"40":1}}],["ignored",{"2":{"3":1,"21":2}}],["irregular",{"2":{"4":3,"5":6,"8":5,"15":1,"17":2,"19":4,"20":2,"45":7,"46":6,"73":6,"74":3,"75":1,"76":4}}],["i",{"2":{"2":2,"3":3,"13":1,"17":1,"38":1,"39":1,"47":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,"15":2,"16":1,"17":2,"19":1,"20":7,"21":7,"38":1,"40":1,"48":1,"60":1,"64":2,"66":1,"68":1,"76":1,"79":2,"80":1}}],["isend",{"2":{"49":5}}],["isexplicit",{"2":{"49":5}}],["ispoints",{"2":{"49":6}}],["isintervals",{"2":{"49":6}}],["isreverse",{"2":{"49":5}}],["isregular",{"2":{"48":2,"49":5}}],["isforward",{"2":{"49":5}}],["isordered",{"2":{"49":6}}],["iscenter",{"2":{"49":5}}],["iscyclic",{"2":{"49":6}}],["iscategorical",{"2":{"49":7}}],["isstart",{"2":{"49":5}}],["issampled",{"2":{"49":7}}],["issue",{"2":{"4":1,"66":1}}],["isbits",{"2":{"22":1,"27":1}}],["isa",{"2":{"16":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,"15":7,"16":3,"17":6,"19":12,"20":11,"21":5,"22":3,"23":5,"24":2,"26":3,"27":2,"31":2,"32":1,"34":1,"35":3,"36":2,"39":2,"40":5,"42":3,"46":3,"47":1,"48":6,"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":{"15":1,"19":2,"20":3,"27":1,"36":1,"52":1,"55":1,"66":1}}],["iterates",{"2":{"21":2}}],["iterate",{"2":{"17":1}}],["iterator",{"2":{"16":2}}],["iteration",{"2":{"16":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,"15":1,"16":2,"17":1,"19":3,"20":7,"21":1,"22":2,"23":1,"28":1,"30":1,"31":1,"32":1,"33":1,"34":2,"35":1,"38":1,"39":1,"40":1,"42":2,"44":1,"46":2,"48":1,"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":{"30":1}}],["inferno",{"2":{"68":1}}],["information",{"2":{"4":3,"15":1,"48":1}}],["inner",{"2":{"20":1,"21":1,"23":1,"61":2}}],["inbuilt",{"2":{"20":1}}],["initially",{"2":{"16":2}}],["inaccurate",{"2":{"8":1}}],["including",{"2":{"7":1,"35":1,"73":1}}],["included",{"2":{"3":1,"5":1,"11":1,"46":1}}],["include",{"2":{"2":1,"3":1,"5":1,"23":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,"19":1,"31":1,"68":1,"76":1}}],["inside",{"2":{"5":1,"31":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":{"30":2}}],["individual",{"2":{"17":1}}],["indicate",{"2":{"5":1,"10":1,"32":1}}],["indicates",{"2":{"4":2,"7":3,"9":1,"10":1,"11":1}}],["indicating",{"2":{"4":5}}],["indices",{"2":{"2":2,"5":7,"15":1,"17":3,"20":2,"34":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,"16":2}}],["indexing",{"0":{"30":1,"31":1,"78":1,"79":1},"2":{"0":2,"4":4,"15":3,"16":2,"17":1,"29":1,"30":4,"31":3,"33":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,"15":6,"16":2,"17":4,"18":2,"20":5,"30":2,"31":1,"34":1,"73":3,"76":1,"79":1}}],["inherits",{"2":{"52":1}}],["inherit",{"2":{"0":1,"1":1,"15":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":{"44":1,"46":1}}],["integer",{"2":{"3":1,"15":4,"19":7,"39":1}}],["inteface",{"2":{"23":2}}],["interoperability",{"2":{"82":1}}],["interpolate",{"2":{"17":1}}],["interpolation",{"2":{"17":3,"76":1}}],["interact",{"2":{"5":1}}],["intermediate",{"2":{"5":1}}],["interfaces",{"0":{"42":1},"2":{"23":2,"42":5}}],["interface",{"0":{"18":1,"23":1,"42":1},"2":{"3":1,"23":4,"35":1,"36":1,"65":1,"82":2,"85":1}}],["internally",{"2":{"64":1}}],["internal",{"0":{"23":1},"2":{"3":1,"20":1}}],["intervalbounds",{"2":{"48":4,"73":1}}],["interval",{"2":{"0":1,"4":5,"5":12,"8":1,"9":2,"10":4,"17":1,"19":2,"46":9,"48":2,"73":3,"74":1,"75":1}}],["intervalsets",{"2":{"5":2,"19":1,"46":6,"73":2,"75":1}}],["intervals",{"2":{"0":1,"4":13,"5":10,"8":3,"9":4,"10":1,"17":1,"19":4,"46":7,"48":1,"66":2,"73":14,"74":6,"75":2}}],["int",{"2":{"1":5,"2":2,"5":1,"15":5,"16":2,"18":1,"19":4,"31":2,"32":1,"34":1,"39":1,"46":1,"73":4}}],["int64",{"2":{"0":2,"4":2,"5":11,"13":4,"15":2,"17":2,"19":3,"20":2,"21":1,"25":11,"28":2,"30":6,"44":12,"45":11,"46":5,"48":17,"49":14,"66":2,"74":3,"75":1,"76":3,"83":4,"84":8}}],["into",{"2":{"0":3,"4":3,"17":2,"18":1,"19":1,"20":1,"26":1,"27":1,"34":2,"46":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,"15":5,"16":6,"17":5,"19":6,"20":24,"21":11,"22":1,"23":11,"24":1,"27":1,"30":2,"31":4,"32":1,"34":1,"35":2,"36":2,"38":1,"40":2,"41":2,"42":10,"46":4,"48":2,"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":{"21":6}}],["histogram",{"2":{"33":2}}],["hierarchy",{"2":{"0":1}}],["heatmap",{"2":{"68":1}}],["her",{"2":{"46":1}}],["here",{"2":{"16":1,"17":1,"20":1,"21":1,"28":1,"29":1,"46":2,"64":1,"68":1,"74":3}}],["helper",{"2":{"46":1}}],["help",{"2":{"23":2}}],["h",{"2":{"13":1,"70":1,"84":1}}],["having",{"2":{"21":1}}],["have",{"2":{"0":1,"4":3,"8":2,"11":1,"12":1,"15":1,"16":2,"18":1,"19":2,"20":3,"21":1,"30":1,"35":1,"36":1,"37":1,"38":1,"40":1,"46":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,"15":3,"16":1,"20":2,"21":2,"27":1,"33":1,"38":1,"40":2,"41":1,"48":1,"75":1}}],["hasdim",{"2":{"1":6,"15":6}}],["hold",{"2":{"19":1,"38":1,"74":1,"75":1}}],["holds",{"2":{"4":4,"16":1,"74":1}}],["holding",{"2":{"1":1,"2":1,"8":1,"15":9,"17":1,"19":2,"63":1,"76":1}}],["however",{"2":{"5":1,"20":1}}],["how",{"2":{"4":2,"7":2,"21":1,"34":1,"44":1,"62":1}}],["hours",{"2":{"19":4,"46":2}}],["hour",{"2":{"0":1,"19":1,"44":4,"45":1,"46":2,"47":3}}],["slower",{"2":{"81":1}}],["slowly",{"2":{"52":1}}],["slightly",{"2":{"46":1}}],["slicing",{"2":{"3":1}}],["sliced",{"2":{"16":1,"20":1}}],["slicedims",{"2":{"3":2,"15":1}}],["slices",{"2":{"15":1,"21":4}}],["slice",{"2":{"3":1,"15":1,"20":1}}],["synchronisation",{"2":{"57":1}}],["symmetry",{"2":{"34":1}}],["symbol",{"2":{"1":1,"2":1,"3":4,"4":7,"11":1,"13":1,"15":11,"16":6,"18":1,"19":3,"20":2,"21":1,"22":3,"39":2,"41":1,"45":7,"46":15,"47":2,"48":1,"64":2,"73":15,"75":2,"78":2,"82":1}}],["symbols",{"2":{"0":1,"1":1,"2":1,"3":1,"4":5,"11":1,"15":3,"20":1,"27":1,"29":1,"32":1}}],["system",{"2":{"27":1,"36":1}}],["scalar",{"2":{"79":1}}],["scalars",{"2":{"25":6,"79":1}}],["scaled",{"2":{"25":6}}],["scale",{"2":{"25":1}}],["scaling",{"0":{"25":1}}],["scope",{"2":{"0":1,"4":1,"34":1}}],["src",{"2":{"21":4,"31":2}}],["smaller",{"2":{"29":1}}],["small",{"2":{"21":1}}],["sat",{"2":{"74":2}}],["save",{"2":{"51":1}}],["saving",{"2":{"11":2}}],["samples",{"2":{"9":1,"33":2}}],["sampled",{"2":{"0":6,"4":16,"5":8,"9":1,"13":4,"15":5,"17":4,"19":4,"20":10,"21":1,"25":18,"26":2,"36":1,"45":9,"46":7,"47":5,"48":24,"49":28,"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,"17":1,"20":1,"48":5,"64":1,"75":1}}],["same",{"2":{"0":2,"3":3,"4":1,"5":2,"11":1,"15":4,"17":2,"19":1,"20":2,"21":1,"25":1,"28":1,"30":1,"33":1,"38":2,"40":1,"44":1,"48":1,"67":1,"77":1,"82":1}}],["sharing",{"2":{"16":1}}],["share",{"2":{"16":1,"77":1}}],["shift",{"2":{"4":2}}],["shiftlocus",{"2":{"4":1}}],["show",{"2":{"23":9,"74":1}}],["shows",{"2":{"15":1}}],["shown",{"2":{"2":1}}],["should",{"2":{"2":1,"5":1,"12":1,"15":1,"20":1,"23":2,"38":1,"39":1,"40":1,"74":1,"84":1}}],["shortcuts",{"2":{"28":1}}],["shorthand",{"2":{"15":1,"74":1}}],["short",{"2":{"0":1}}],["swapping",{"2":{"20":1}}],["swap",{"2":{"3":1}}],["swapdims",{"2":{"3":3}}],["specialisations",{"2":{"19":1}}],["specify",{"2":{"10":5,"19":3,"20":3,"32":1,"34":1,"46":1,"66":1,"74":1,"84":1}}],["specifying",{"2":{"4":1,"9":1,"74":1}}],["specifies",{"2":{"7":1,"22":1,"30":1,"48":1}}],["specified",{"2":{"2":1,"3":1,"4":1,"15":1,"75":1}}],["specifically",{"2":{"21":1}}],["specific",{"2":{"4":5,"6":1,"8":1,"9":1,"34":1,"62":1}}],["space",{"2":{"20":2}}],["spaced",{"2":{"19":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,"48":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":{"30":1}}],["sizes",{"2":{"46":1}}],["size",{"2":{"2":1,"3":1,"4":5,"8":1,"19":1,"20":2,"21":6,"23":5,"25":1,"32":2,"42":3,"47":2,"61":2,"77":4,"78":22,"79":3,"80":88,"82":1,"83":2,"84":26}}],["singleton",{"2":{"20":1}}],["single",{"2":{"1":8,"3":2,"4":1,"5":5,"9":1,"15":8,"16":1,"19":1,"20":3,"25":1,"31":1,"40":1,"48":1,"63":1,"73":1,"79":1,"81":1}}],["simultaneously",{"2":{"63":1}}],["simulations",{"2":{"57":1}}],["simulation",{"2":{"57":1}}],["simulataneously",{"2":{"16":1}}],["similar",{"2":{"0":1,"4":1,"7":1,"9":1,"17":1,"47":1,"61":1}}],["simpler",{"2":{"44":1}}],["simple",{"2":{"43":1}}],["simply",{"2":{"0":1,"4":1,"5":1,"11":1,"15":1,"20":1,"23":1,"48":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":{"15":1,"77":1}}],["std",{"2":{"32":1,"80":2}}],["style",{"2":{"27":1}}],["still",{"2":{"11":1,"26":1,"31":1,"66":1}}],["standard",{"2":{"82":1}}],["standards",{"2":{"10":1}}],["stage",{"2":{"23":2}}],["statistics",{"2":{"16":2,"25":1,"44":1,"80":1}}],["status",{"2":{"12":2}}],["stack",{"2":{"16":2,"20":2,"21":8,"23":4,"42":2,"61":1,"80":1,"81":1,"82":2}}],["stacks",{"2":{"16":1,"21":5,"81":1,"84":1,"85":1}}],["starts",{"2":{"61":1}}],["start=6",{"2":{"46":4}}],["start=1",{"2":{"46":1}}],["start=12",{"2":{"46":1}}],["start=january",{"2":{"46":1}}],["start=0",{"2":{"19":1}}],["start=dates",{"2":{"19":2}}],["starting",{"2":{"8":1,"46":2}}],["start",{"2":{"0":2,"4":6,"5":3,"9":1,"10":4,"13":1,"19":9,"46":4,"48":1,"73":5,"74":7}}],["stripped",{"2":{"27":1}}],["strickt",{"2":{"21":1}}],["strict=true",{"2":{"21":4}}],["strict=false",{"2":{"20":1}}],["strictness",{"0":{"21":1},"1":{"22":1,"23":1}}],["strict",{"2":{"20":1,"21":8,"24":2}}],["strings",{"2":{"5":1}}],["string",{"2":{"2":4,"3":1,"4":1,"15":1,"23":1,"46":2,"64":2,"74":3,"75":1,"85":1}}],["string=string",{"2":{"0":1}}],["strongly",{"2":{"20":1}}],["struct",{"2":{"3":1,"20":1,"60":2}}],["step=12",{"2":{"46":1}}],["step=2",{"2":{"46":1}}],["step=3",{"2":{"46":2}}],["step=hour",{"2":{"44":1}}],["step=autostep",{"2":{"8":1}}],["steps",{"2":{"19":1}}],["step",{"2":{"3":1,"4":1,"8":2,"19":7,"20":1,"75":1}}],["s",{"2":{"0":1,"1":4,"2":1,"3":4,"5":16,"15":5,"16":3,"18":1,"19":1,"20":5,"22":1,"23":1,"33":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":{"46":6,"74":2}}],["separate",{"2":{"2":1,"51":1}}],["sequential",{"2":{"19":1}}],["seamlessly",{"2":{"27":1}}],["sea",{"2":{"21":4}}],["seasons",{"2":{"19":4,"46":5}}],["searched",{"2":{"7":1}}],["searchsortedfirst",{"2":{"7":1}}],["searchsorted",{"2":{"7":1}}],["sections",{"2":{"19":1}}],["second",{"2":{"0":1,"2":1,"4":4,"11":1,"15":2,"20":1}}],["sense",{"2":{"5":1,"51":1,"64":1}}],["seed",{"2":{"15":1}}],["see",{"2":{"3":1,"16":1,"25":1,"42":2,"44":1,"46":1}}],["selections",{"2":{"5":1}}],["selectindices",{"2":{"2":1}}],["selects",{"2":{"5":2,"73":1}}],["select",{"0":{"47":1},"2":{"5":6,"21":2,"47":1,"73":2,"74":1,"76":1}}],["selected",{"2":{"5":4,"19":4,"73":2}}],["selectors=near",{"2":{"17":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,"15":1,"16":1,"17":6,"31":1,"74":2,"75":1,"76":3,"79":1}}],["selector",{"2":{"0":1,"2":2,"4":3,"5":13,"34":1,"40":1,"64":1,"73":2,"78":1}}],["setproperties",{"2":{"20":1,"65":1}}],["settings",{"0":{"21":1},"1":{"22":1,"23":1}}],["setting",{"2":{"20":1,"21":1}}],["setindex",{"2":{"16":1,"31":1}}],["setdims",{"2":{"3":3}}],["set",{"0":{"66":1},"2":{"0":1,"4":6,"8":1,"11":2,"15":13,"20":22,"21":2,"25":1,"64":1,"66":11,"73":2,"75":3}}],["sounds",{"2":{"39":1}}],["sources",{"2":{"4":1,"20":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,"15":16,"16":2,"17":3,"18":2,"19":9,"20":12,"21":9,"22":3,"23":6}}],["solution",{"2":{"19":1}}],["so",{"2":{"4":2,"5":1,"20":2,"24":1,"30":1,"46":1,"48":1,"65":1,"74":1,"82":1,"84":1}}],["sorted",{"2":{"5":1,"19":2}}],["sortdims",{"2":{"3":1}}],["sort",{"2":{"3":3}}],["sometimes",{"2":{"46":1,"66":1}}],["something",{"2":{"13":1,"19":1}}],["somewhere",{"2":{"16":2,"64":1}}],["some",{"2":{"0":1,"4":1,"15":1,"16":1,"19":1,"21":1,"25":1,"34":1,"38":1,"40":1,"44":2,"77":1,"81":1,"83":1}}],["sun",{"2":{"74":2}}],["surface",{"2":{"21":4}}],["sure",{"2":{"17":2}}],["surprising",{"2":{"16":2}}],["summer",{"2":{"46":1}}],["summary",{"2":{"42":2}}],["sum",{"2":{"16":1,"19":1,"32":3,"45":1,"80":5}}],["succinct",{"2":{"16":2}}],["such",{"2":{"0":2,"2":1,"4":1,"5":1,"10":1,"19":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,"15":2,"16":1,"18":1,"22":1}}],["submodule",{"2":{"34":1}}],["subset",{"2":{"21":2,"78":1}}],["subsetting",{"2":{"5":1}}],["subtypes",{"2":{"23":1}}],["subtype",{"2":{"15":1}}],["sub",{"2":{"0":2}}],["m=rand",{"2":{"78":1}}],["my",{"2":{"64":3}}],["mydimstack",{"2":{"16":2}}],["mutable",{"2":{"60":1}}],["much",{"2":{"26":1,"64":1,"67":1}}],["multiplying",{"2":{"21":2}}],["multiplication",{"2":{"21":5}}],["multiple",{"2":{"4":1,"16":3,"19":1,"49":1,"63":1}}],["multipications",{"2":{"21":1}}],["multi",{"0":{"16":1},"2":{"38":1}}],["must",{"2":{"4":3,"5":3,"15":2,"16":2,"20":2,"23":2,"27":2,"37":1,"38":3,"40":1,"41":1,"60":1,"77":1}}],["mixing",{"2":{"30":1}}],["mix",{"2":{"30":1,"80":1}}],["mixed",{"2":{"16":2,"17":2,"36":1}}],["mime",{"2":{"23":5}}],["mid",{"2":{"5":1}}],["min",{"2":{"33":4}}],["minus",{"2":{"4":1}}],["minimum",{"2":{"3":1,"32":1,"45":1,"80":2}}],["missingval",{"2":{"20":1,"51":1}}],["missing",{"2":{"3":1,"20":1,"41":1,"51":1}}],["msg",{"2":{"3":1}}],["measures",{"2":{"81":1}}],["means",{"2":{"3":1,"5":1,"7":1,"10":1,"18":1,"20":1,"24":1,"25":1,"27":1,"34":1,"38":1,"49":2,"73":1}}],["mean",{"2":{"3":1,"4":1,"9":1,"15":1,"16":4,"19":10,"24":1,"25":2,"32":1,"33":4,"45":3,"46":3,"47":1,"80":3}}],["meaning",{"2":{"2":1,"4":1,"17":1}}],["merging",{"2":{"78":1}}],["merges",{"2":{"63":1}}],["merge",{"2":{"30":1,"78":5,"84":1}}],["merged",{"2":{"20":3}}],["mergedims=",{"2":{"84":1}}],["mergedims=nothing",{"2":{"18":3}}],["mergedims",{"0":{"63":1},"2":{"18":1,"20":5,"63":1}}],["mergedlookup",{"2":{"4":3,"20":3,"30":1}}],["median",{"2":{"32":1,"33":4,"45":1}}],["memory",{"2":{"33":2}}],["mem",{"2":{"26":1}}],["messy",{"2":{"19":1}}],["mesages",{"2":{"3":1}}],["metadata=dict",{"2":{"28":5,"64":1}}],["metadata=metadata",{"2":{"16":1}}],["metadata=nometadata",{"2":{"4":3,"15":1,"16":1}}],["metadata",{"0":{"11":1},"2":{"3":1,"4":16,"11":16,"15":11,"19":3,"20":4,"23":9,"27":1,"28":5,"40":1,"42":8,"45":7,"46":11,"47":2,"60":1,"64":5}}],["method",{"2":{"1":4,"3":3,"4":4,"9":1,"11":2,"15":7,"17":1,"20":2,"23":3,"40":1,"42":2}}],["methods",{"0":{"1":1,"2":1,"3":1,"19":1,"20":1},"2":{"0":2,"1":1,"3":3,"4":3,"7":1,"15":1,"16":5,"19":1,"21":3,"23":2,"32":1,"34":1,"36":1,"40":1,"47":1,"48":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":{"19":5,"46":4,"74":1}}],["monthly",{"2":{"19":2}}],["month",{"2":{"0":6,"15":1,"19":4,"25":19,"44":1,"45":2,"46":13,"74":5}}],["moving",{"2":{"61":1,"67":1}}],["moved",{"2":{"27":2}}],["move",{"2":{"26":1}}],["moves",{"2":{"15":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,"20":6,"26":1,"60":1,"61":6}}],["module",{"2":{"0":2,"4":1}}],["mostly",{"2":{"15":1,"20":2,"67":1,"68":1}}],["most",{"2":{"4":1,"16":4,"20":1,"21":1,"23":1,"26":1,"35":1,"36":1,"64":1,"74":1,"75":1}}],["more",{"2":{"0":2,"4":4,"13":1,"15":1,"18":1,"23":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":{"46":6,"74":1}}],["markersize=15",{"2":{"72":1}}],["markers",{"0":{"72":1},"2":{"10":1}}],["max",{"2":{"33":4}}],["maximum",{"2":{"5":1,"23":1,"32":1,"45":1,"80":3}}],["manipulation",{"2":{"51":1}}],["mandatory",{"2":{"23":4,"42":2}}],["many",{"2":{"16":4,"23":2,"32":1,"81":1}}],["manually",{"2":{"4":5,"19":1,"40":1,"74":2,"75":1,"81":1}}],["mapped",{"2":{"51":1}}],["mapslices",{"2":{"32":1}}],["mapreduce",{"2":{"32":1}}],["map",{"2":{"16":5,"19":4,"21":1}}],["maintains",{"2":{"15":1}}],["main",{"2":{"15":1,"23":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":{"22":1,"48":1}}],["make",{"2":{"4":1,"5":1,"17":2,"34":1,"64":1,"74":1}}],["math",{"2":{"31":1}}],["matmul",{"2":{"21":4}}],["matrix",{"2":{"8":1,"21":6,"28":3,"61":3,"80":1}}],["matter",{"2":{"3":1,"17":1}}],["match",{"2":{"1":3,"2":2,"3":3,"4":1,"5":1,"15":3,"19":1,"20":4,"21":9,"24":1,"78":1,"80":1,"82":1}}],["matches",{"2":{"1":1,"5":1,"15":1,"19":1,"23":4,"42":4,"64":1}}],["matching",{"2":{"0":2,"1":1,"3":1,"4":3,"15":1,"16":2,"19":2,"20":1,"39":2,"73":1,"76":1}}],["macro",{"2":{"0":1,"3":1,"20":3,"24":1,"25":1}}],["may",{"2":{"0":2,"3":1,"4":5,"5":4,"6":1,"8":1,"11":2,"16":2,"21":1,"23":1,"46":6,"64":2,"66":1,"74":3}}],["tue",{"2":{"74":2}}],["turned",{"2":{"24":1}}],["turn",{"2":{"21":2}}],["tuples",{"2":{"3":4,"4":1,"17":1,"19":2,"30":2,"41":1,"44":1,"48":1,"63":1}}],["tuple",{"2":{"1":22,"2":8,"3":34,"4":32,"8":2,"11":5,"15":42,"16":3,"17":8,"19":2,"20":10,"21":1,"23":5,"30":3,"37":1,"41":1,"42":2,"44":4,"45":3,"48":6,"73":1,"78":1,"80":4,"84":2}}],["tell",{"2":{"62":1}}],["text",{"2":{"23":2}}],["testable",{"2":{"42":1}}],["testing",{"0":{"42":1},"2":{"42":2}}],["test",{"0":{"69":1},"1":{"70":1,"71":1,"72":1},"2":{"23":4,"42":4}}],["tested",{"2":{"23":2}}],["testname",{"2":{"20":1}}],["temporal",{"2":{"57":1}}],["tempo",{"2":{"44":9,"45":1}}],["temp",{"2":{"21":4}}],["term",{"2":{"6":1,"48":1}}],["terms",{"2":{"4":1}}],["twice",{"2":{"5":1}}],["two",{"2":{"3":1,"4":2,"5":4,"15":4,"16":2,"18":1,"27":1,"46":1,"73":1,"77":1}}],["tries",{"2":{"66":1}}],["trivially",{"2":{"47":1}}],["trial",{"2":{"33":2}}],["try",{"2":{"20":1}}],["treated",{"2":{"19":1}}],["treat",{"2":{"18":1}}],["track",{"2":{"15":1}}],["tracking",{"2":{"4":1,"8":1,"11":1}}],["trait",{"2":{"6":1,"20":2}}],["traits",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1},"2":{"3":1,"4":1,"6":2,"7":1,"20":1,"74":1}}],["transforming",{"2":{"19":1,"20":1}}],["transform",{"2":{"4":1,"44":1,"64":1}}],["transformation",{"2":{"4":3}}],["transformations",{"2":{"3":1,"4":1,"15":1}}],["transformed",{"2":{"4":4}}],["transpose",{"2":{"0":1,"32":2,"80":1}}],["transect",{"2":{"0":1}}],["true",{"2":{"1":4,"3":3,"15":4,"16":1,"19":2,"20":2,"30":1,"42":89,"49":21}}],["typ",{"2":{"0":2}}],["typeof",{"2":{"20":1,"26":1,"74":2}}],["typed",{"2":{"20":1}}],["typemax",{"2":{"4":1}}],["typemin",{"2":{"4":1}}],["type",{"2":{"0":3,"1":6,"2":3,"3":15,"4":2,"8":1,"11":2,"15":6,"16":1,"18":2,"20":4,"22":1,"27":1,"30":1,"39":2,"41":1,"48":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,"15":7,"18":1,"20":3,"31":1,"32":2,"34":2,"36":2,"44":1,"51":1,"55":1,"75":2}}],["tabular",{"2":{"82":1}}],["table",{"2":{"18":1,"84":1}}],["tabletraits",{"0":{"18":1},"2":{"18":1}}],["tables",{"0":{"18":1,"82":1},"1":{"83":1,"84":1,"85":1},"2":{"0":1,"15":1,"18":4,"82":2,"85":1}}],["taking",{"2":{"46":1}}],["taken",{"2":{"17":1}}],["take",{"2":{"0":1,"4":2,"5":1,"16":1,"19":2,"45":1,"71":1,"73":3,"81":1,"84":1}}],["target",{"2":{"17":2}}],["t",{"2":{"0":1,"2":2,"3":2,"4":10,"11":1,"17":1,"21":4,"25":3,"30":2,"31":1,"64":1,"65":1,"66":1,"75":1,"76":1,"84":1}}],["title",{"2":{"23":5}}],["ti=>",{"2":{"47":1}}],["ti=>cyclicbins",{"2":{"46":4}}],["ti=>bins",{"2":{"46":8}}],["ti=>yearday",{"2":{"45":2}}],["ti=>yearmonth",{"2":{"45":2}}],["ti=>yearmonthday",{"2":{"45":2}}],["ti=>hour",{"2":{"45":2}}],["ti=>dayofyear",{"2":{"45":2}}],["ti=>month",{"2":{"19":6,"45":3}}],["ti=2",{"2":{"17":1}}],["ti=all",{"2":{"5":1}}],["time=1",{"2":{"13":1}}],["timeseriestools",{"0":{"59":1},"2":{"59":1}}],["times",{"2":{"0":1,"45":1,"77":1}}],["timedime",{"2":{"0":1}}],["timedim",{"2":{"0":4,"3":1}}],["time",{"0":{"25":1},"2":{"0":4,"4":1,"13":1,"16":1,"19":1,"21":1,"23":1,"33":6,"45":1,"59":1,"81":1}}],["ti",{"2":{"0":14,"1":1,"3":3,"5":3,"15":5,"17":1,"18":2,"19":6,"20":5,"21":3,"25":14,"32":3,"34":1,"45":10,"46":23,"47":5,"68":1}}],["though",{"2":{"81":1}}],["those",{"2":{"5":1,"21":2,"34":1,"64":1}}],["thur",{"2":{"74":2}}],["think",{"2":{"66":1}}],["thing",{"2":{"66":2}}],["things",{"2":{"23":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,"16":4,"17":2,"18":2,"19":6,"20":8,"21":6,"22":1,"23":3,"24":1,"26":1,"27":2,"30":1,"31":1,"32":1,"34":1,"35":1,"38":1,"39":1,"41":1,"42":1,"43":1,"46":5,"48":1,"57":1,"61":2,"64":1,"66":1,"67":1,"73":1,"75":2,"77":1,"80":1,"81":1}}],["through",{"2":{"15":1,"55":1}}],["throws",{"2":{"5":1}}],["throw",{"2":{"3":1,"30":1}}],["throwing",{"2":{"3":1}}],["thrown",{"2":{"2":1,"3":1,"5":1,"64":1}}],["three",{"2":{"4":2,"16":2,"19":1,"46":1}}],["than",{"2":{"3":1,"4":2,"5":2,"9":1,"19":2,"27":1,"39":1,"40":1,"46":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,"15":8,"16":4,"17":4,"19":4,"20":7,"21":12,"24":4,"27":2,"28":1,"31":1,"34":1,"36":1,"37":1,"38":1,"39":1,"40":3,"44":2,"48":2,"64":1,"74":2,"75":1,"77":1,"82":1,"84":1}}],["then",{"2":{"20":1,"73":1,"75":1}}],["their",{"2":{"3":2,"16":2,"20":3,"48":1,"51":1}}],["there",{"2":{"2":2,"4":2,"15":4,"20":1,"24":1,"28":1,"40":1,"46":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,"15":2,"16":1,"17":2,"18":1,"19":2,"20":1,"21":3,"30":1,"34":1,"36":1,"39":1,"40":3,"49":1,"64":1,"74":2,"76":1}}],["they",{"2":{"0":1,"2":1,"3":2,"4":3,"5":2,"10":2,"11":1,"15":1,"17":2,"20":2,"21":1,"23":2,"27":1,"30":1,"34":2,"35":1,"60":1,"64":1,"67":1,"74":1,"75":3,"82":1}}],["them",{"2":{"0":1,"4":1,"5":3,"11":1,"21":1,"27":1,"30":1,"45":1,"46":1,"48":1,"73":1,"74":1}}],["the",{"0":{"25":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,"15":49,"16":24,"17":16,"18":4,"19":48,"20":56,"21":22,"22":4,"23":9,"24":3,"25":8,"26":9,"27":5,"28":1,"29":1,"30":6,"31":4,"32":3,"33":2,"34":6,"35":1,"36":1,"38":7,"39":3,"40":6,"41":4,"42":4,"44":5,"45":4,"46":10,"48":11,"49":1,"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":{"47":1,"66":1}}],["together",{"2":{"24":1}}],["top",{"2":{"23":1,"30":1}}],["tools",{"2":{"35":1,"51":2,"58":1}}],["too",{"2":{"21":1,"27":1,"55":1,"64":1}}],["total",{"2":{"19":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,"15":19,"16":8,"17":5,"18":1,"19":16,"20":32,"21":21,"22":2,"23":6,"24":4,"25":4,"26":2,"27":10,"30":1,"31":2,"32":3,"34":5,"35":3,"36":4,"38":1,"39":1,"40":3,"41":1,"42":2,"44":2,"46":7,"47":2,"48":1,"49":1,"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":{"46":4,"74":1}}],["january",{"2":{"19":2,"46":1}}],["jarring",{"2":{"16":2}}],["jump",{"0":{"55":1},"2":{"55":1}}],["jul",{"2":{"46":6,"74":1}}],["juliaprint",{"2":{"23":2}}],["juliaposition",{"2":{"10":1}}],["juliapoints",{"2":{"9":1}}],["juliahours",{"2":{"19":1}}],["juliahasselection",{"2":{"4":1}}],["juliahasdim",{"2":{"1":1,"15":1}}],["juliaranges",{"2":{"19":1}}],["juliareorder",{"2":{"20":1}}],["juliarebuild",{"2":{"20":1,"23":1,"40":1}}],["juliarefdims",{"2":{"15":1,"23":1}}],["juliaregular",{"2":{"8":1}}],["juliareverseordered",{"2":{"7":1}}],["juliareducedims",{"2":{"3":1}}],["juliagroupby",{"2":{"19":1}}],["juliamakie",{"2":{"68":1,"71":2,"72":1}}],["juliamap",{"2":{"16":1}}],["juliamodify",{"2":{"20":1}}],["juliamonths",{"2":{"19":1}}],["juliamergedims",{"2":{"20":3}}],["juliamergedlookup",{"2":{"4":1}}],["juliametadata",{"2":{"11":1,"15":1}}],["juliamean",{"2":{"0":4,"16":1}}],["juliafunction",{"2":{"16":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,"19":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,"15":1}}],["juliab",{"2":{"70":1}}],["juliablockwidth",{"2":{"23":1}}],["juliabroadcast",{"2":{"20":2}}],["juliabins",{"2":{"19":1}}],["juliabegin",{"2":{"10":1}}],["juliabetween",{"2":{"5":1}}],["juliabounds",{"2":{"4":1}}],["juliabase",{"2":{"15":4,"21":5}}],["juliabasedims",{"2":{"3":1}}],["juliabasetypeof",{"2":{"3":1}}],["julianame",{"2":{"15":1,"22":1}}],["julianame2dim",{"2":{"3":1}}],["julianoname",{"2":{"22":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":{"20":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,"20":3,"25":1,"26":1,"34":1,"44":1,"48":1,"68":1,"73":1,"74":1,"80":1,"83":1,"85":1}}],["juliacat",{"2":{"21":1}}],["juliacategorical",{"2":{"4":1}}],["juliacenter",{"2":{"10":1}}],["juliacopy",{"2":{"21":2}}],["juliacontains",{"2":{"5":1}}],["juliacombinedims",{"2":{"3":1}}],["juliacomparedims",{"2":{"3":1}}],["juliacommondims",{"2":{"3":1}}],["juliacyclicbins",{"2":{"19":1}}],["juliacyclic",{"2":{"4":1}}],["juliaa",{"2":{"20":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":{"22":1}}],["juliaabstractdimtable",{"2":{"18":1}}],["juliaabstractdimstack",{"2":{"16":1}}],["juliaabstractdimarray",{"2":{"15":1}}],["juliaabstractbasicdimarray",{"2":{"15":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":{"23":2}}],["juliashiftlocus",{"2":{"4":1}}],["juliastrict",{"2":{"21":4}}],["juliastart",{"2":{"10":1}}],["juliaspan",{"2":{"4":1,"8":1}}],["juliasampling",{"2":{"4":1,"9":1}}],["juliasampled",{"2":{"4":1}}],["juliaset",{"2":{"20":1}}],["juliasetdims",{"2":{"3":1}}],["juliaseasons",{"2":{"19":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,"15":24,"16":8,"17":4,"18":2,"19":2,"20":4,"21":4,"28":1,"33":1,"34":1,"42":1,"48":1,"61":1,"62":2,"73":2,"74":1,"77":1,"81":1}}],["julia",{"2":{"0":1,"19":1,"20":2,"23":2,"24":2,"26":1,"27":1,"31":1,"32":1,"35":2,"54":1,"56":1,"82":1}}],["juliajulia>",{"2":{"0":1,"1":4,"3":1,"12":3,"13":4,"15":9,"16":1,"17":2,"18":1,"19":4,"20":6,"21":1,"25":10,"26":2,"28":14,"29":2,"30":7,"31":2,"32":2,"33":3,"34":4,"42":4,"44":9,"45":8,"46":13,"47":4,"48":50,"49":73,"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":{"44":1}}],["juliay",{"2":{"0":1}}],["juliaydim",{"2":{"0":2}}],["juliaval",{"2":{"0":4,"4":1}}],["juliadimgroupbyarray",{"2":{"19":1}}],["juliadimtable",{"2":{"18":1}}],["juliadimpoints",{"2":{"17":1}}],["juliadimindices",{"2":{"17":1}}],["juliadimarray",{"2":{"15":1}}],["juliadimnum",{"2":{"1":1,"15":1}}],["juliadimselectors",{"2":{"17":1}}],["juliadimstack",{"2":{"16":1}}],["juliadimsmatch",{"2":{"3":1}}],["juliadims2indices",{"2":{"2":1}}],["juliadims",{"2":{"1":2,"15":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":{"46":6,"74":1}}],["just",{"2":{"5":2,"21":1,"24":1,"38":1,"40":1,"46":3,"48":1,"65":1,"66":1,"78":1}}],["j",{"2":{"3":2,"13":3,"70":1,"84":1}}],["jl",{"0":{"18":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,"18":2,"19":1,"20":2,"23":6,"26":1,"27":7,"31":6,"34":1,"35":10,"36":1,"37":1,"38":2,"40":3,"42":1,"43":1,"48":2,"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":{"46":4,"74":1}}],["own",{"2":{"44":1,"47":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,"15":12,"17":1,"18":1,"20":11,"23":1,"31":2,"34":2,"40":1,"48":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,"15":1,"16":3,"19":1,"20":4,"27":1,"30":1,"34":1,"37":1,"38":1,"39":1,"40":3,"47":3,"48":1,"60":1,"65":2,"66":1,"80":1}}],["our",{"2":{"30":2,"44":1,"46":6,"48":1}}],["outer",{"2":{"41":1,"61":1,"74":1,"75":3}}],["outcome",{"2":{"16":2}}],["out",{"2":{"4":1,"18":1,"34":1,"51":1,"67":1}}],["outputs",{"2":{"57":1}}],["output",{"2":{"0":4,"3":2,"4":5,"5":7,"20":2,"25":1,"46":1,"47":1,"56":1}}],["old",{"2":{"20":6}}],["optimization",{"2":{"55":1}}],["optimised",{"2":{"7":1}}],["options",{"2":{"20":5,"42":2}}],["optional",{"2":{"15":1,"23":4,"42":2}}],["operation",{"2":{"19":1,"32":1}}],["operations",{"2":{"0":1,"15":1,"19":1,"21":1,"27":1}}],["open",{"2":{"5":1,"46":35,"73":1}}],["openinterval",{"2":{"5":1}}],["o",{"2":{"4":1,"78":2,"84":1}}],["overheads",{"2":{"81":1}}],["overlapping",{"2":{"19":1}}],["over",{"2":{"0":1,"4":4,"9":1,"16":3,"17":2,"19":2,"20":6,"21":2,"24":2,"25":1,"45":1,"74":1,"80":1}}],["others",{"2":{"20":2,"77":1}}],["otherwise",{"2":{"4":1,"19":1,"20":1,"21":1,"36":1}}],["otherdims",{"2":{"1":3,"15":3,"17":1,"48":8,"49":13}}],["other",{"2":{"0":2,"3":2,"4":2,"5":2,"19":1,"20":3,"21":2,"25":1,"27":1,"28":1,"36":1,"44":1,"47":1,"49":1,"68":1,"74":1,"75":2,"78":1,"82":1,"85":1}}],["orange",{"2":{"71":1,"72":1}}],["organised",{"2":{"34":1}}],["organises",{"2":{"0":1}}],["originates",{"2":{"19":1}}],["original",{"2":{"3":3,"20":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,"15":3,"74":2}}],["order",{"0":{"7":1},"2":{"1":1,"2":1,"3":12,"4":23,"5":1,"7":9,"15":1,"17":7,"20":17,"21":4,"25":1,"30":4,"48":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":31,"16":7,"17":6,"18":4,"19":16,"20":15,"21":5,"23":4,"25":2,"27":1,"30":1,"31":2,"32":2,"34":1,"36":3,"38":1,"39":1,"41":1,"42":2,"43":1,"46":1,"48":10,"49":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":{"21":1}}],["offsetarrays",{"2":{"38":2}}],["offset",{"2":{"5":1}}],["often",{"2":{"19":1,"20":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,"15":34,"16":10,"17":16,"18":3,"19":40,"20":29,"21":10,"22":1,"23":16,"24":2,"25":2,"26":2,"27":1,"28":2,"30":8,"31":1,"34":2,"35":3,"36":1,"37":1,"38":1,"39":1,"40":2,"41":4,"42":10,"44":2,"45":2,"46":5,"48":10,"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":{"21":2,"74":2}}],["one",{"2":{"3":1,"4":3,"9":1,"16":2,"20":1,"21":3,"24":1,"26":1,"27":1,"40":2,"64":2,"73":1,"77":1,"79":1,"84":3}}],["ones",{"2":{"1":4,"3":3,"4":1,"15":10,"18":1,"20":4,"28":4,"33":1}}],["only",{"2":{"2":1,"4":1,"5":1,"15":3,"17":4,"20":4,"40":2,"46":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,"15":3,"16":2,"19":3,"20":3,"21":2,"22":1,"23":3,"24":2,"26":3,"27":2,"30":1,"35":1,"41":1,"42":2,"46":1,"57":1,"64":1,"65":1,"67":2,"78":2}}],["away",{"2":{"64":1}}],["aware",{"2":{"24":1,"51":1}}],["a1",{"2":{"64":4}}],["aimed",{"2":{"52":1}}],["aggregate",{"2":{"46":1}}],["again",{"2":{"16":1,"30":1}}],["a=rand",{"2":{"77":1}}],["a=falses",{"2":{"61":1}}],["a=3",{"2":{"29":1}}],["a=1",{"2":{"13":1}}],["aug",{"2":{"46":6,"74":1}}],["auxiliary",{"2":{"27":1,"57":1}}],["autodetection",{"0":{"75":1}}],["automata",{"2":{"57":1}}],["automated",{"2":{"20":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,"20":1,"24":1,"66":1}}],["after",{"2":{"15":1,"19":3,"23":3,"25":1,"46":1}}],["affine",{"2":{"4":1}}],["affect",{"2":{"0":1}}],["apr",{"2":{"46":6,"74":2}}],["appearance",{"2":{"20":1}}],["applicable",{"2":{"20":1}}],["applications",{"2":{"64":1}}],["application",{"2":{"19":1,"35":1}}],["applied",{"2":{"4":1,"16":1,"19":2,"20":1,"61":1,"80":1}}],["applying",{"2":{"19":2}}],["apply",{"2":{"16":3,"47":1}}],["api",{"0":{"14":1},"1":{"15":1,"16":1,"17":1,"18":1}}],["adherence",{"2":{"35":1}}],["adjoint",{"2":{"32":1,"80":1}}],["adjacent",{"2":{"5":1}}],["adapt",{"2":{"27":3}}],["additional",{"2":{"23":2,"74":1}}],["additionally",{"2":{"12":1}}],["adding",{"2":{"4":3,"23":2}}],["add",{"2":{"12":2,"23":1,"28":1,"74":1}}],["added",{"2":{"3":1,"23":3,"24":1,"36":1,"42":2}}],["available",{"2":{"4":1,"11":2}}],["avoids",{"2":{"16":1,"19":1}}],["avoid",{"2":{"0":1,"5":1,"16":1,"23":1,"24":1}}],["actual",{"2":{"27":1}}],["actually",{"2":{"2":1,"4":1}}],["active",{"2":{"21":2}}],["acepted",{"2":{"15":4}}],["accessed",{"2":{"78":1}}],["accessors",{"2":{"65":1}}],["accessing",{"2":{"33":1}}],["access",{"2":{"28":1,"34":1}}],["accepted",{"2":{"23":2,"42":2,"64":1}}],["accept",{"2":{"15":1,"16":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,"17":6,"64":1}}],["attach",{"2":{"4":1}}],["attached",{"2":{"3":1,"38":1}}],["attempting",{"2":{"21":2}}],["attempt",{"2":{"0":1}}],["at",{"2":{"0":1,"3":2,"4":6,"5":11,"9":3,"15":1,"16":3,"17":4,"19":2,"20":1,"23":5,"44":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":{"47":1}}],["associate",{"2":{"34":2}}],["assignment",{"2":{"20":1,"25":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,"15":7,"16":6,"17":4,"18":5,"19":5,"20":8,"21":4,"23":2,"24":2,"26":2,"27":2,"32":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":{"45":2,"49":1}}],["about",{"2":{"0":1,"4":3,"11":1,"26":1,"65":1}}],["abstracdimarray",{"2":{"31":1}}],["abstractname",{"2":{"22":3}}],["abstraction",{"2":{"20":1}}],["abstractdimarry",{"2":{"43":1}}],["abstractdimarrays",{"2":{"3":1,"20":4,"22":1,"23":2,"31":1}}],["abstractdimarray",{"2":{"0":1,"3":2,"4":1,"11":2,"15":7,"16":5,"17":1,"18":4,"19":7,"20":17,"21":7,"23":6,"24":1,"27":2,"32":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":{"18":2}}],["abstractdimstack",{"2":{"16":4,"18":3,"19":5,"20":10,"21":7,"23":5,"36":1,"41":1,"51":1,"54":1,"61":1,"64":2,"77":1,"80":2,"82":1}}],["abstractrng",{"2":{"15":2}}],["abstractrange",{"2":{"4":4,"19":2,"74":1,"75":1}}],["abstractbasicarray",{"2":{"15":1}}],["abstractbasicdimarray",{"2":{"15":2,"20":1}}],["abstractmetadata",{"2":{"11":3,"20":1}}],["abstractmatrix",{"2":{"8":1}}],["abstractsample",{"2":{"51":1}}],["abstractsampled",{"2":{"4":6,"36":1,"74":1}}],["abstractstring",{"2":{"4":1}}],["abstractcolumns",{"2":{"18":1}}],["abstractcategorical",{"2":{"4":4,"36":1}}],["abstractcyclic",{"2":{"4":2}}],["abstractarray",{"2":{"2":3,"3":2,"4":4,"5":1,"15":4,"16":2,"17":3,"19":4,"20":4,"21":2,"28":1,"35":1,"38":1,"46":2,"74":1,"75":1,"77":1}}],["abstractvector",{"2":{"0":1,"4":4,"15":8}}],["abstract",{"2":{"0":7,"1":2,"3":4,"4":4,"5":3,"6":1,"10":1,"11":1,"15":4,"16":2,"18":1,"20":1,"22":1}}],["abs",{"2":{"13":1}}],["absent",{"2":{"3":1}}],["axis",{"2":{"0":6,"2":1,"3":2,"4":9,"10":3,"15":4,"17":1,"20":1,"38":1,"46":1,"67":1,"68":2,"73":2,"74":2}}],["axes",{"0":{"38":1},"2":{"0":1,"1":1,"4":1,"15":1,"21":3,"30":2,"32":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,"15":1,"67":1}}],["alone",{"2":{"4":2}}],["along",{"0":{"25":1},"2":{"0":1,"19":1,"32":1,"48":1,"74":1}}],["algorithms",{"2":{"3":1,"64":1}}],["always",{"2":{"1":1,"3":1,"9":1,"11":2,"15":1,"16":2,"20":2,"21":4,"23":2,"40":1,"49":1,"51":1,"64":1}}],["already",{"2":{"0":1,"27":1}}],["also",{"2":{"0":3,"3":3,"5":2,"10":1,"11":1,"16":1,"19":1,"20":3,"25":1,"30":1,"31":1,"32":1,"34":1,"38":1,"39":1,"40":1,"45":1,"46":3,"47":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":{"20":1}}],["allocs",{"2":{"33":2}}],["allows",{"2":{"10":1,"19":1,"20":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,"15":3,"16":5,"17":3,"20":11,"21":8,"22":1,"23":2,"27":1,"31":1,"40":2,"42":2,"46":1,"48":1,"49":3,"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":{"19":3}}],["arbitrary",{"0":{"29":1},"2":{"17":1,"19":2,"29":1,"46":1}}],["arg",{"2":{"23":3,"42":3,"64":1}}],["args",{"2":{"3":1,"20":3,"23":12,"40":1,"42":12}}],["argumenterror",{"2":{"30":1}}],["argument",{"2":{"2":1,"3":2,"4":4,"11":2,"15":2,"16":1,"20":4,"25":1,"39":1,"40":3,"71":1}}],["arguments",{"2":{"0":1,"1":4,"3":4,"4":8,"8":1,"15":6,"16":1,"19":1,"20":5,"23":2,"27":1,"40":1,"42":2,"64":2}}],["arrays",{"0":{"15":1},"2":{"5":1,"15":5,"16":1,"19":1,"20":2,"21":1,"22":1,"23":2,"25":1,"60":1,"61":3,"75":3,"76":1,"84":1,"85":1}}],["arrayselectors",{"2":{"5":1}}],["arrayselector",{"2":{"5":4}}],["array",{"0":{"16":1,"79":1},"2":{"0":3,"1":1,"2":2,"3":4,"4":16,"5":1,"9":1,"10":1,"11":1,"13":1,"15":6,"16":3,"17":3,"18":1,"19":1,"20":8,"21":4,"22":2,"23":2,"24":1,"25":1,"26":1,"27":3,"31":1,"32":1,"33":1,"36":2,"38":3,"41":2,"42":2,"45":1,"46":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":{"20":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,"15":9,"16":3,"17":4,"18":2,"19":1,"20":15,"21":5,"23":13,"24":2,"25":1,"27":2,"28":2,"30":1,"34":4,"35":2,"36":5,"40":2,"42":10,"44":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":{"46":1,"53":1,"54":1}}],["analagous",{"2":{"24":1}}],["answer",{"2":{"35":1}}],["ansi",{"2":{"23":1}}],["anomalies",{"2":{"19":1}}],["another",{"2":{"4":1,"15":1,"16":1,"17":2,"21":1,"29":1,"43":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,"20":1}}],["any",{"2":{"0":1,"1":5,"2":1,"3":4,"4":5,"5":5,"11":2,"15":5,"19":8,"20":1,"21":1,"23":2,"27":1,"28":10,"34":2,"39":3,"40":1,"45":7,"46":11,"47":3,"48":2,"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,"15":21,"16":1,"17":6,"18":3,"19":6,"20":8,"21":2,"22":1,"23":6,"24":1,"27":1,"30":1,"31":2,"32":1,"34":1,"38":1,"40":1,"41":2,"45":1,"46":3,"47":1,"48":6,"54":2,"71":1,"73":2,"74":2,"75":1,"77":2,"82":1}}],["and",{"0":{"24":1,"45":1,"82":1},"1":{"25":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,"15":17,"16":13,"17":2,"18":3,"19":4,"20":10,"21":11,"22":1,"23":12,"24":3,"25":4,"26":1,"27":4,"28":2,"29":2,"30":1,"31":3,"34":2,"35":5,"36":1,"38":2,"39":1,"40":3,"41":3,"42":6,"46":4,"47":1,"48":2,"49":2,"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,"15":68,"16":32,"17":16,"18":5,"19":43,"20":46,"21":12,"22":2,"23":13,"24":3,"25":7,"26":5,"27":1,"28":7,"29":3,"31":2,"34":4,"36":2,"37":1,"38":2,"40":1,"41":2,"42":4,"43":2,"44":1,"45":8,"46":14,"47":4,"48":64,"49":73,"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}}]],"serializationVersion":2}';export{e as default}; diff --git a/dev/assets/chunks/@localSearchIndexroot.DZIvyN8P.js b/dev/assets/chunks/@localSearchIndexroot.DZIvyN8P.js new file mode 100644 index 000000000..01a2678ee --- /dev/null +++ b/dev/assets/chunks/@localSearchIndexroot.DZIvyN8P.js @@ -0,0 +1 @@ +const e='{"documentCount":86,"nextId":86,"documentIds":{"0":"/DimensionalData.jl/dev/api/dimensions#dimensions","1":"/DimensionalData.jl/dev/api/dimensions#Exported-methods","2":"/DimensionalData.jl/dev/api/dimensions#Non-exported-methods","3":"/DimensionalData.jl/dev/api/dimensions#Primitive-methods","4":"/DimensionalData.jl/dev/api/lookuparrays#lookups","5":"/DimensionalData.jl/dev/api/lookuparrays#selectors","6":"/DimensionalData.jl/dev/api/lookuparrays#Lookup-traits","7":"/DimensionalData.jl/dev/api/lookuparrays#order","8":"/DimensionalData.jl/dev/api/lookuparrays#span","9":"/DimensionalData.jl/dev/api/lookuparrays#sampling","10":"/DimensionalData.jl/dev/api/lookuparrays#positions","11":"/DimensionalData.jl/dev/api/lookuparrays#metadata","12":"/DimensionalData.jl/dev/api/reference#API-Reference","13":"/DimensionalData.jl/dev/api/reference#arrays","14":"/DimensionalData.jl/dev/api/reference#Multi-array-datasets","15":"/DimensionalData.jl/dev/api/reference#Dimension-generators","16":"/DimensionalData.jl/dev/api/reference#Tables.jl/TableTraits.jl-interface","17":"/DimensionalData.jl/dev/api/reference#Group-by-methods","18":"/DimensionalData.jl/dev/api/reference#Utility-methods","19":"/DimensionalData.jl/dev/api/reference#Global-lookup-strictness-settings","20":"/DimensionalData.jl/dev/api/reference#name","21":"/DimensionalData.jl/dev/api/reference#Internal-interface","22":"/DimensionalData.jl/dev/basics#installation","23":"/DimensionalData.jl/dev/basics#basics","24":"/DimensionalData.jl/dev/broadcasts#Dimensional-broadcasts-with-@d-and-broadcast_dims","25":"/DimensionalData.jl/dev/broadcasts#Example:-scaling-along-the-time-dimension","26":"/DimensionalData.jl/dev/cuda#CUDA-and-GPUs","27":"/DimensionalData.jl/dev/cuda#GPU-Integration-goals","28":"/DimensionalData.jl/dev/dimarrays#dimarrays","29":"/DimensionalData.jl/dev/dimarrays#Constructing-DimArray-with-arbitrary-dimension-names","30":"/DimensionalData.jl/dev/dimarrays#Dimensional-Indexing","31":"/DimensionalData.jl/dev/dimarrays#Begin-End-indexing","32":"/DimensionalData.jl/dev/dimarrays#dims-keywords","33":"/DimensionalData.jl/dev/dimarrays#performance","34":"/DimensionalData.jl/dev/diskarrays#DiskArrays.jl-compatibility","35":"/DimensionalData.jl/dev/dimensions#dimensions","36":"/DimensionalData.jl/dev/extending_dd#Extending-DimensionalData","37":"/DimensionalData.jl/dev/extending_dd#dims","38":"/DimensionalData.jl/dev/extending_dd#Dimension-axes","39":"/DimensionalData.jl/dev/extending_dd#dims-keywords","40":"/DimensionalData.jl/dev/extending_dd#rebuild","41":"/DimensionalData.jl/dev/extending_dd#format","42":"/DimensionalData.jl/dev/extending_dd#Interfaces.jl-interface-testing","43":"/DimensionalData.jl/dev/get_info#getters","44":"/DimensionalData.jl/dev/get_info#predicates","45":"/DimensionalData.jl/dev/groupby#Group-By","46":"/DimensionalData.jl/dev/groupby#Grouping-functions","47":"/DimensionalData.jl/dev/groupby#Grouping-and-reducing","48":"/DimensionalData.jl/dev/groupby#binning","49":"/DimensionalData.jl/dev/groupby#Select-by-Dimension","50":"/DimensionalData.jl/dev/integrations#integrations","51":"/DimensionalData.jl/dev/integrations#rasters-jl","52":"/DimensionalData.jl/dev/integrations#yaxarrays-jl","53":"/DimensionalData.jl/dev/integrations#climatebase-jl","54":"/DimensionalData.jl/dev/integrations#arviz-jl","55":"/DimensionalData.jl/dev/integrations#jump-jl","56":"/DimensionalData.jl/dev/integrations#cryogrid-jl","57":"/DimensionalData.jl/dev/integrations#dynamicgrids-jl","58":"/DimensionalData.jl/dev/integrations#astroimages-jl","59":"/DimensionalData.jl/dev/integrations#timeseriestools-jl","60":"/DimensionalData.jl/dev/plots#plots-jl","61":"/DimensionalData.jl/dev/plots#makie-jl","62":"/DimensionalData.jl/dev/plots#Test-series-plots","63":"/DimensionalData.jl/dev/plots#default-colormap","64":"/DimensionalData.jl/dev/plots#A-different-colormap","65":"/DimensionalData.jl/dev/plots#with-markers","66":"/DimensionalData.jl/dev/object_modification#Modifying-Objects","67":"/DimensionalData.jl/dev/object_modification#modify","68":"/DimensionalData.jl/dev/object_modification#reorder","69":"/DimensionalData.jl/dev/object_modification#mergedims","70":"/DimensionalData.jl/dev/object_modification#rebuild","71":"/DimensionalData.jl/dev/object_modification#rebuild-magic","72":"/DimensionalData.jl/dev/object_modification#set","73":"/DimensionalData.jl/dev/selectors#selectors","74":"/DimensionalData.jl/dev/selectors#lookups","75":"/DimensionalData.jl/dev/selectors#Lookup-autodetection","76":"/DimensionalData.jl/dev/selectors#DimSelector","77":"/DimensionalData.jl/dev/stacks#dimstacks","78":"/DimensionalData.jl/dev/stacks#NamedTuple-like-indexing","79":"/DimensionalData.jl/dev/stacks#Array-like-indexing","80":"/DimensionalData.jl/dev/stacks#Reducing-functions","81":"/DimensionalData.jl/dev/stacks#performance","82":"/DimensionalData.jl/dev/tables#Tables-and-DataFrames","83":"/DimensionalData.jl/dev/tables#example","84":"/DimensionalData.jl/dev/tables#Converting-to-DataFrame","85":"/DimensionalData.jl/dev/tables#Converting-to-CSV"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,303],"1":[2,1,130],"2":[3,1,134],"3":[2,1,346],"4":[1,1,486],"5":[1,1,329],"6":[2,1,38],"7":[1,3,70],"8":[1,3,90],"9":[1,3,63],"10":[1,3,97],"11":[1,1,144],"12":[2,1,1],"13":[1,2,335],"14":[3,2,223],"15":[2,2,230],"16":[4,2,112],"17":[3,1,346],"18":[2,1,407],"19":[4,1,234],"20":[1,4,59],"21":[2,4,179],"22":[1,1,40],"23":[1,1,152],"24":[7,1,90],"25":[6,7,334],"26":[3,1,176],"27":[3,3,110],"28":[1,1,222],"29":[6,1,75],"30":[2,1,256],"31":[3,1,129],"32":[2,1,118],"33":[1,1,90],"34":[3,1,74],"35":[1,1,104],"36":[2,1,68],"37":[1,2,18],"38":[2,3,56],"39":[2,3,47],"40":[1,2,106],"41":[1,2,54],"42":[4,2,91],"43":[1,1,217],"44":[1,1,58],"45":[2,1,21],"46":[2,2,116],"47":[3,2,208],"48":[1,2,287],"49":[3,2,144],"50":[1,1,1],"51":[2,1,69],"52":[2,1,36],"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,51],"61":[2,1,66],"62":[3,2,1],"63":[2,5,21],"64":[3,5,32],"65":[2,5,19],"66":[2,1,39],"67":[1,2,83],"68":[1,2,82],"69":[1,2,23],"70":[1,2,188],"71":[2,3,51],"72":[1,2,135],"73":[1,1,198],"74":[1,1,217],"75":[2,1,157],"76":[1,1,327],"77":[1,1,89],"78":[3,1,171],"79":[3,1,127],"80":[2,1,139],"81":[1,1,69],"82":[3,1,67],"83":[1,3,115],"84":[3,3,251],"85":[3,3,85]},"averageFieldLength":[2.0232558139534884,1.744186046511628,126.23255813953485],"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":"API Reference","titles":[]},"13":{"title":"Arrays","titles":["API Reference"]},"14":{"title":"Multi-array datasets","titles":["API Reference"]},"15":{"title":"Dimension generators","titles":["API Reference"]},"16":{"title":"Tables.jl/TableTraits.jl interface","titles":["API Reference"]},"17":{"title":"Group by methods","titles":[]},"18":{"title":"Utility methods","titles":[]},"19":{"title":"Global lookup strictness settings","titles":[]},"20":{"title":"Name","titles":["Global lookup strictness settings"]},"21":{"title":"Internal interface","titles":["Global lookup strictness settings"]},"22":{"title":"Installation","titles":[]},"23":{"title":"Basics","titles":[]},"24":{"title":"Dimensional broadcasts with @d and broadcast_dims","titles":[]},"25":{"title":"Example: scaling along the time dimension","titles":["Dimensional broadcasts with @d and broadcast_dims"]},"26":{"title":"CUDA & GPUs","titles":[]},"27":{"title":"GPU Integration goals","titles":["CUDA & GPUs"]},"28":{"title":"DimArrays","titles":[]},"29":{"title":"Constructing DimArray with arbitrary dimension names","titles":["DimArrays"]},"30":{"title":"Dimensional Indexing","titles":["DimArrays"]},"31":{"title":"Begin End indexing","titles":["DimArrays"]},"32":{"title":"dims keywords","titles":["DimArrays"]},"33":{"title":"Performance","titles":["DimArrays"]},"34":{"title":"DiskArrays.jl compatibility","titles":[]},"35":{"title":"Dimensions","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":"Plots.jl","titles":[]},"61":{"title":"Makie.jl","titles":[]},"62":{"title":"Test series plots","titles":["Makie.jl"]},"63":{"title":"default colormap","titles":["Makie.jl","Test series plots"]},"64":{"title":"A different colormap","titles":["Makie.jl","Test series plots"]},"65":{"title":"with markers","titles":["Makie.jl","Test series plots"]},"66":{"title":"Modifying Objects","titles":[]},"67":{"title":"modify","titles":["Modifying Objects"]},"68":{"title":"reorder","titles":["Modifying Objects"]},"69":{"title":"mergedims","titles":["Modifying Objects"]},"70":{"title":"rebuild","titles":["Modifying Objects"]},"71":{"title":"rebuild magic","titles":["Modifying Objects","rebuild"]},"72":{"title":"set","titles":["Modifying Objects"]},"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":{"70":1}}],["quick",{"2":{"48":1}}],["quarters",{"2":{"17":1}}],["quantity",{"2":{"5":1}}],["quot",{"2":{"3":2,"6":2,"13":4,"35":2}}],["query",{"2":{"1":16,"3":6,"13":16,"43":1}}],["─────┼──────────────────────────────────────────────────────────────────────────",{"2":{"84":1}}],["──────┼───────────────────────────────────────────",{"2":{"84":1}}],["──────┼───────────────────────────────────────────────",{"2":{"84":1}}],["──────┼───────────────────────────────────",{"2":{"84":1}}],["⋯",{"2":{"84":6}}],["$st",{"2":{"81":2}}],["$da4",{"2":{"33":2}}],["▁",{"2":{"33":2}}],["▇█",{"2":{"33":1}}],["▂",{"2":{"33":1}}],["▃▁▆▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▆▁▁█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂▁▃",{"2":{"33":1}}],["██▆▁▃▁▄▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▅▅▆██",{"2":{"33":1}}],["█",{"2":{"33":2}}],["σ",{"2":{"33":4}}],["±",{"2":{"33":8}}],["┊",{"2":{"33":6}}],["~",{"2":{"31":2}}],["└",{"2":{"31":2}}],["└──────────────────────┘",{"2":{"13":4}}],["└─────────────────────────────────┘",{"2":{"29":1,"30":1}}],["└────────────────────────────────────────────────────────┘",{"2":{"19":1}}],["└───────────────────────────────────────────────────────────┘",{"2":{"13":1}}],["└────────────────────────────────────────────────────────────────┘",{"2":{"28":11,"29":1,"30":1,"31":2,"33":1,"67":3,"72":1}}],["└────────────────────────────────────────────────────────────────────┘",{"2":{"26":1}}],["└────────────────────────────────────────────────────────────────────────┘",{"2":{"17":1}}],["└─────────────────────────────────────────────────────────────────────────┘",{"2":{"15":1,"18":3}}],["└───────────────────────────────────────────────────────────────────────────┘",{"2":{"18":1}}],["└──────────────────────────────────────────────────────────────────────────────┘",{"2":{"0":3,"5":1,"23":3,"25":8,"30":2,"32":2,"43":1,"47":8,"48":11,"49":3,"68":2,"70":2,"72":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":{"17":2}}],["└─────────────────────────────────────────────────────────────────────┘",{"2":{"13":3,"18":1}}],["└─────────────────────────────────────────────────────────────────┘",{"2":{"15":2}}],["└─────────────────────────────────────────────────────────────┘",{"2":{"5":1,"13":1}}],["└────────────────────────────────────────────────────────────┘",{"2":{"5":2}}],["└─────────────────────────────────────────────┘",{"2":{"15":1}}],["└─────────────────────────────┘",{"2":{"16":1}}],["└───────────────────────────┘",{"2":{"1":1,"3":1,"13":1}}],["┌",{"2":{"31":2}}],["⋱",{"2":{"25":5,"26":1,"47":1,"49":2,"76":2,"83":1,"84":1}}],["|>",{"2":{"23":1}}],["├───────────────┴────────────────────────────────────────────────────────",{"2":{"77":1,"78":6,"80":24}}],["├────────────────┴───────────────────────────────────────────────────────",{"2":{"84":1}}],["├───────────────────┴────────────────────────────────────────────────────",{"2":{"83":1}}],["├────────────────────┴───────────────────────────────────────────────────",{"2":{"79":1}}],["├─────────────────────┴──────────────────────────────────────────────────",{"2":{"80":1}}],["├──────────────────────┴───────────────────────────────────",{"2":{"67":2}}],["├────────────────────────┴─────────────────────────────────",{"2":{"28":1}}],["├─────────────────────────┴────────────────────────────────",{"2":{"29":1,"31":2,"33":1}}],["├─────────────────────────┴─────────────────────────────────",{"2":{"15":2}}],["├─────────────────────────┴─────────────────────────────────────────",{"2":{"15":1,"18":3}}],["├─────────────────────────┴──────────────────────────────────────────────",{"2":{"23":2,"30":1,"73":13,"75":1,"76":3}}],["├─────────────────────────┴───────────────────────────────────────────",{"2":{"18":1}}],["├─────────────────────────┴──────────────────────────────────────────",{"2":{"4":1}}],["├─────────────────────────┴─────────────────────────────────────",{"2":{"13":3,"18":1}}],["├───────────────────────────┴────────────────────────────────────────────",{"2":{"32":2,"43":1,"76":1}}],["├─────────────────────────────┴────────────────────────────",{"2":{"28":1}}],["├─────────────────────────────┴──────────────────────────────────────────",{"2":{"23":1}}],["├───────────────────────────────┴",{"2":{"29":1,"30":1}}],["├───────────────────────────────┴──────────────────────────",{"2":{"28":2}}],["├───────────────────────────────┴──────────────────────────────",{"2":{"26":1}}],["├───────────────────────────────┴────────────────────────────────────────",{"2":{"25":4,"47":1,"48":3,"73":2}}],["├─────────────────────────────────┴──────────────────────────────────────",{"2":{"47":3,"78":1}}],["├───────────────────────────────────┴────────────────────────────────────",{"2":{"70":1,"83":1}}],["├───────────────────────────────────┴──────────────────────",{"2":{"28":1}}],["├──────────────────────────────────────┴─────────────────────────────────",{"2":{"25":1}}],["├────────────────────────────────────────────┴───────────────────────────",{"2":{"74":1}}],["├──────────────────────────────────────────────────┴─────────────────────",{"2":{"48":7}}],["├────────────────────────────────────────────────────────",{"2":{"67":1}}],["├───────────────────────────────────────────────────────────",{"2":{"17":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,"70":1}}],["├──────────────────────────────────────────────────────────────",{"2":{"17":1}}],["├─────────────────────────────────────────────────────────────",{"2":{"17":2}}],["├──────────────────────────────────────────────────────┴─────────────────",{"2":{"49":1}}],["├──────────────────────────────────────────────────────",{"2":{"28":5}}],["├───────────────────────────────────────────────────┴────────────────────",{"2":{"47":1,"48":1}}],["├───────────────────────────────────────────────────┴─────────────",{"2":{"17":1}}],["├────────────────────────────────────────────────",{"2":{"19":1}}],["├────────────────────────────────────────┴───────────────────────────────",{"2":{"25":1}}],["├───────────────────────────────────────",{"2":{"15":1}}],["├───────────────────────────────────────┴─────────────",{"2":{"13":1}}],["├───────────────────────────────────────┴───────────────",{"2":{"13":1}}],["├────────────────────────────────┴─────────────────────────",{"2":{"28":1}}],["├────────────────────────────────┴────────────────────────────────",{"2":{"17":1}}],["├────────────────────────────────┴───────────────────────────────────────",{"2":{"0":1,"25":2,"47":3}}],["├────────────────────────────┴───────────────────────────────────────────",{"2":{"0":1,"30":1,"49":2,"76":1,"78":1}}],["├──────────────────────────┴───────────────────────────────",{"2":{"28":5,"30":1,"72":1}}],["├──────────────────────────┴───────────────────────────────────────",{"2":{"17":1}}],["├──────────────────────────┴─────────────────────────────────────────────",{"2":{"0":1,"68":2,"70":1,"72":5}}],["├───────────────────────",{"2":{"16":1}}],["├───────────────────────┴────────────────────────────────────────────────",{"2":{"5":1}}],["├───────────────────────┴───────────────────────────────",{"2":{"5":1}}],["├───────────────────────┴──────────────────────────────",{"2":{"5":2}}],["├─────────────────────",{"2":{"1":1,"3":1,"13":1}}],["├────────────────",{"2":{"13":4}}],["├──────────────┴───────────────────────────────────────────",{"2":{"67":1}}],["├──────────────┴───────────────────────────────────",{"2":{"19":1}}],["╭────────────────╮",{"2":{"84":1}}],["╭───────────────────╮",{"2":{"83":1}}],["╭─────────────────────╮",{"2":{"80":1}}],["╭──────────────────────╮",{"2":{"13":4,"67":2}}],["╭────────────────────────╮",{"2":{"28":1}}],["╭─────────────────────────╮",{"2":{"4":1,"13":3,"15":3,"18":5,"23":2,"29":1,"30":1,"31":2,"33":1,"73":13,"75":1,"76":3}}],["╭───────────────────────────╮",{"2":{"1":1,"3":1,"13":1,"32":2,"43":1,"76":1}}],["╭───────────────────────────────╮",{"2":{"25":4,"26":1,"28":2,"29":1,"30":1,"47":1,"48":3,"73":2}}],["╭─────────────────────────────────╮",{"2":{"47":3,"78":1}}],["╭───────────────────────────────────╮",{"2":{"28":1,"70":1,"83":1}}],["╭──────────────────────────────────────╮",{"2":{"25":1}}],["╭────────────────────────────────────────────╮",{"2":{"74":1}}],["╭──────────────────────────────────────────────────────╮",{"2":{"49":1}}],["╭───────────────────────────────────────────────────╮",{"2":{"17":1,"47":1,"48":1}}],["╭──────────────────────────────────────────────────╮",{"2":{"48":7}}],["╭─────────────────────────────────────────────╮",{"2":{"15":1}}],["╭────────────────────────────────────────╮",{"2":{"25":1}}],["╭───────────────────────────────────────╮",{"2":{"13":2}}],["╭────────────────────────────────╮",{"2":{"0":1,"17":1,"25":2,"28":1,"47":3}}],["╭─────────────────────────────╮",{"2":{"16":1,"23":1,"28":1}}],["╭────────────────────────────╮",{"2":{"0":1,"30":1,"49":2,"76":1,"78":1}}],["╭──────────────────────────╮",{"2":{"0":1,"17":1,"28":5,"30":1,"68":2,"70":1,"72":6}}],["╭───────────────────────╮",{"2":{"5":4}}],["╭────────────────────╮",{"2":{"79":1}}],["╭───────────────╮",{"2":{"77":1,"78":6,"80":24}}],["╭──────────────╮",{"2":{"19":1,"67":1}}],["+",{"2":{"18":3,"80":2}}],["⋮",{"2":{"17":3,"25":10,"26":1,"46":8,"47":9,"48":3,"49":3,"76":3,"79":1,"83":2,"84":24,"85":1}}],["𝐓",{"2":{"5":2}}],[">=",{"2":{"73":1}}],[">",{"2":{"5":3,"14":1,"48":2,"73":1}}],["947824",{"2":{"84":1}}],["940199",{"2":{"78":1}}],["949143",{"2":{"76":1}}],["949769",{"2":{"30":1}}],["948532",{"2":{"76":1}}],["948798",{"2":{"47":1}}],["945549",{"2":{"76":1}}],["945147",{"2":{"30":1}}],["94412",{"2":{"32":1}}],["94",{"2":{"25":1,"84":1}}],["941133",{"2":{"15":1}}],["9341886269251364",{"2":{"85":1}}],["934189",{"2":{"84":2}}],["934419",{"2":{"28":1}}],["938732432349465",{"2":{"80":2}}],["938732",{"2":{"78":1}}],["935022",{"2":{"78":1}}],["935937",{"2":{"78":1}}],["939201",{"2":{"83":1}}],["939546",{"2":{"76":1}}],["93972",{"2":{"25":2}}],["930614",{"2":{"76":1}}],["930332",{"2":{"15":1}}],["933212",{"2":{"68":2,"70":2,"72":6}}],["93",{"2":{"25":1}}],["92641",{"2":{"84":1}}],["924198",{"2":{"84":1}}],["924846",{"2":{"78":1}}],["92906",{"2":{"76":1}}],["929034",{"2":{"76":1}}],["929995",{"2":{"26":1}}],["927836",{"2":{"75":1}}],["92721",{"2":{"26":1}}],["9217489713778885",{"2":{"85":1}}],["9219584479428687",{"2":{"85":1}}],["921958",{"2":{"84":2}}],["921936",{"2":{"25":2}}],["921012",{"2":{"47":1,"49":2}}],["925888",{"2":{"76":1}}],["925844",{"2":{"30":1}}],["925367",{"2":{"75":1}}],["925624",{"2":{"30":1}}],["92",{"2":{"25":1,"76":1}}],["920182",{"2":{"23":1}}],["993473",{"2":{"84":1}}],["993001",{"2":{"76":1}}],["994",{"2":{"76":4}}],["992013",{"2":{"73":12}}],["99282",{"2":{"25":1}}],["991676",{"2":{"30":2}}],["99118",{"2":{"30":1}}],["999338",{"2":{"49":2}}],["999348",{"2":{"25":1}}],["999534",{"2":{"47":1}}],["999149",{"2":{"47":1}}],["999957",{"2":{"47":1}}],["999774",{"2":{"47":1}}],["999781",{"2":{"47":1}}],["999742",{"2":{"47":1}}],["999253",{"2":{"47":1}}],["999",{"2":{"26":1}}],["998548",{"2":{"83":1}}],["998253",{"2":{"76":1}}],["998",{"2":{"26":1}}],["997558",{"2":{"84":1}}],["997572",{"2":{"28":2}}],["99726",{"2":{"83":1,"84":1}}],["997",{"2":{"26":1}}],["996358",{"2":{"30":1}}],["996398",{"2":{"29":1,"31":2}}],["996807",{"2":{"28":2}}],["996",{"2":{"26":1}}],["99531",{"2":{"83":1}}],["995",{"2":{"26":1}}],["995683",{"2":{"26":1}}],["99",{"2":{"25":6,"47":1,"49":2,"71":2,"73":1,"84":1}}],["979155",{"2":{"84":1}}],["9708243398463525",{"2":{"80":2}}],["970824",{"2":{"78":1}}],["970303",{"2":{"76":1}}],["97293",{"2":{"76":1}}],["976465",{"2":{"75":1}}],["973",{"2":{"76":1}}],["973357",{"2":{"75":1}}],["973154",{"2":{"23":1}}],["97437",{"2":{"49":2}}],["97406",{"2":{"49":2}}],["97164033242648",{"2":{"80":2}}],["97132e",{"2":{"47":1}}],["971794",{"2":{"30":1}}],["971252",{"2":{"30":1}}],["97129",{"2":{"25":1}}],["97",{"2":{"25":4,"47":1,"49":1,"84":1}}],["9560436529181846",{"2":{"79":1,"81":2}}],["956044",{"2":{"78":1}}],["956886",{"2":{"75":1}}],["953145",{"2":{"76":1}}],["952573",{"2":{"84":1}}],["952744",{"2":{"76":1}}],["95217",{"2":{"26":1}}],["951796",{"2":{"76":1}}],["950338",{"2":{"28":3}}],["958811",{"2":{"28":2}}],["95",{"2":{"23":2,"25":1,"84":1}}],["959434",{"2":{"15":1}}],["987",{"2":{"76":1}}],["980637",{"2":{"49":2}}],["986207",{"2":{"28":1}}],["982762",{"2":{"26":1}}],["98193",{"2":{"26":1}}],["989952",{"2":{"26":1}}],["988957",{"2":{"25":3}}],["98",{"2":{"23":3,"25":6,"47":1,"49":2,"76":1,"84":1}}],["908419",{"2":{"84":1}}],["901156",{"2":{"83":1}}],["909826",{"2":{"76":1}}],["909533",{"2":{"25":3}}],["905295",{"2":{"84":1}}],["905616",{"2":{"76":1}}],["905021",{"2":{"28":3}}],["903705",{"2":{"68":2,"70":2,"72":6}}],["90309",{"2":{"26":1}}],["90203",{"2":{"43":1}}],["90654",{"2":{"84":1}}],["906601",{"2":{"30":1}}],["906871",{"2":{"76":1}}],["906883",{"2":{"28":1}}],["906838",{"2":{"26":1}}],["90645",{"2":{"26":1}}],["9063",{"2":{"15":2}}],["900394",{"2":{"26":1}}],["90",{"2":{"23":1,"25":1}}],["90u",{"2":{"5":1}}],["9630127530566065",{"2":{"85":1}}],["963013",{"2":{"84":2}}],["9655293490481315",{"2":{"85":1}}],["965529",{"2":{"84":2}}],["965008",{"2":{"23":1}}],["960754",{"2":{"83":1,"84":2}}],["960677",{"2":{"25":3}}],["9643902442904744",{"2":{"80":2}}],["966",{"2":{"76":1}}],["969026",{"2":{"43":1}}],["962808",{"2":{"30":1}}],["968484",{"2":{"30":1}}],["96",{"2":{"5":2,"25":1,"47":1,"49":1,"76":1,"84":1}}],["91454",{"2":{"84":1}}],["91495",{"2":{"26":1}}],["918952",{"2":{"83":1}}],["91305",{"2":{"78":1}}],["913321",{"2":{"76":1}}],["912254",{"2":{"78":1}}],["912676",{"2":{"28":1}}],["919448",{"2":{"76":1}}],["919534",{"2":{"25":3}}],["917457",{"2":{"32":1}}],["917543",{"2":{"28":1}}],["916702",{"2":{"32":1}}],["910836",{"2":{"76":1}}],["910098",{"2":{"73":3}}],["910981",{"2":{"29":2,"31":2}}],["910412",{"2":{"25":3}}],["9155",{"2":{"26":1}}],["91",{"2":{"5":2,"25":1}}],["9",{"2":{"4":2,"15":2,"18":2,"23":3,"25":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":{"30":1}}],["7959265671836858",{"2":{"85":1}}],["795927",{"2":{"84":2}}],["7938317326707394",{"2":{"85":1}}],["793832",{"2":{"84":2}}],["79388",{"2":{"25":2}}],["7904180889084199",{"2":{"79":1}}],["790418",{"2":{"78":1}}],["798",{"2":{"76":2}}],["798621",{"2":{"30":1}}],["791844",{"2":{"76":1}}],["794725",{"2":{"75":1}}],["796999",{"2":{"75":1}}],["796812",{"2":{"28":1}}],["799964",{"2":{"43":1}}],["799977",{"2":{"23":1}}],["797168",{"2":{"28":3}}],["79785",{"2":{"25":2}}],["792885",{"2":{"28":2}}],["79",{"2":{"25":1}}],["778193",{"2":{"83":1}}],["778222",{"2":{"26":1}}],["771237",{"2":{"76":1}}],["772277",{"2":{"75":1}}],["776593",{"2":{"30":1}}],["770316",{"2":{"29":1,"31":2}}],["775377",{"2":{"28":3}}],["77",{"2":{"25":1}}],["774131",{"2":{"25":3}}],["774092",{"2":{"13":1,"15":1}}],["71403",{"2":{"83":1}}],["7140841681506571",{"2":{"79":1}}],["7177678881661339",{"2":{"79":1}}],["712805",{"2":{"76":1}}],["71953",{"2":{"76":1}}],["719849",{"2":{"76":1}}],["719974",{"2":{"26":1}}],["71372",{"2":{"76":1}}],["711133",{"2":{"75":1}}],["716257",{"2":{"29":1,"31":2}}],["71",{"2":{"25":1}}],["75985",{"2":{"76":1}}],["759047",{"2":{"25":3}}],["751977",{"2":{"73":5}}],["75622",{"2":{"49":1}}],["75275",{"2":{"48":4}}],["757228",{"2":{"47":1}}],["754468",{"2":{"30":2}}],["750146",{"2":{"28":1}}],["755722",{"2":{"43":1}}],["755958",{"2":{"28":3}}],["75568",{"2":{"26":1}}],["758149",{"2":{"76":1}}],["758865",{"2":{"32":1}}],["75847",{"2":{"26":1}}],["758203",{"2":{"23":1}}],["75",{"2":{"25":1}}],["726966",{"2":{"84":1}}],["722335",{"2":{"78":1}}],["72217",{"2":{"76":1}}],["725774",{"2":{"76":2}}],["721253",{"2":{"76":1}}],["721125",{"2":{"75":1}}],["721101",{"2":{"25":3}}],["727405",{"2":{"76":1}}],["724709",{"2":{"29":1,"31":2}}],["72",{"2":{"23":1,"25":1,"48":1}}],["747231",{"2":{"84":1}}],["747695",{"2":{"76":1}}],["745734",{"2":{"78":1}}],["745673",{"2":{"13":1,"15":2}}],["742451",{"2":{"76":1}}],["742732",{"2":{"43":1}}],["746037",{"2":{"76":2}}],["746465",{"2":{"25":3}}],["748041",{"2":{"75":1}}],["748725",{"2":{"43":1}}],["744517",{"2":{"68":2,"70":2,"72":6}}],["74428",{"2":{"30":1}}],["749403",{"2":{"84":1}}],["749573",{"2":{"30":1}}],["749829",{"2":{"25":3}}],["741593",{"2":{"28":3}}],["74",{"2":{"23":1,"25":1}}],["701935",{"2":{"84":1}}],["7057009741792366",{"2":{"79":1}}],["705582",{"2":{"30":2}}],["707629",{"2":{"76":1}}],["707692",{"2":{"28":3}}],["7041047189542633",{"2":{"79":1}}],["704105",{"2":{"78":1}}],["70488",{"2":{"32":1}}],["704613",{"2":{"25":3}}],["708081",{"2":{"30":2}}],["700218",{"2":{"28":1}}],["700389",{"2":{"28":2}}],["702845",{"2":{"43":1}}],["702956",{"2":{"30":1}}],["702944",{"2":{"26":1}}],["702787",{"2":{"25":3}}],["706165",{"2":{"25":3}}],["70",{"2":{"23":1,"25":1,"75":3}}],["70366",{"2":{"23":1}}],["786614",{"2":{"84":1}}],["785915",{"2":{"84":1}}],["7802406914680406",{"2":{"79":2}}],["78028",{"2":{"26":1}}],["780527",{"2":{"78":1}}],["7814968833366662",{"2":{"79":1}}],["781923",{"2":{"76":1}}],["78136e",{"2":{"47":1}}],["788056",{"2":{"78":1}}],["788252",{"2":{"76":1}}],["788358",{"2":{"25":3}}],["782777",{"2":{"83":1,"84":2}}],["782344",{"2":{"76":1}}],["782081",{"2":{"73":5}}],["7826",{"2":{"28":1}}],["784693",{"2":{"30":1}}],["783195",{"2":{"30":1}}],["789198",{"2":{"29":1,"31":2}}],["78",{"2":{"23":2,"25":1}}],["767136",{"2":{"83":1}}],["760043",{"2":{"76":1}}],["760205",{"2":{"28":1}}],["764895",{"2":{"75":1}}],["764613",{"2":{"28":1}}],["76668",{"2":{"32":1}}],["769884",{"2":{"30":2}}],["762",{"2":{"33":1}}],["762199",{"2":{"30":1}}],["762722",{"2":{"30":1}}],["765715",{"2":{"84":1}}],["765773",{"2":{"28":2}}],["765808",{"2":{"30":1}}],["768418",{"2":{"84":1}}],["768488",{"2":{"75":1}}],["768639",{"2":{"30":1}}],["768325",{"2":{"28":1}}],["761347",{"2":{"28":2}}],["76",{"2":{"23":4,"25":1}}],["73427",{"2":{"83":1}}],["734452",{"2":{"43":1}}],["737151",{"2":{"76":1}}],["737979",{"2":{"28":2}}],["730",{"2":{"47":2}}],["73591",{"2":{"26":1}}],["73623",{"2":{"26":1}}],["73",{"2":{"23":1,"25":1,"48":1}}],["7",{"2":{"4":4,"5":5,"23":1,"25":4,"28":102,"30":6,"43":9,"46":10,"48":5,"74":1,"75":1,"78":3,"80":20,"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":{"33":1}}],["running",{"2":{"26":1,"48":1}}],["rule",{"2":{"19":2}}],["right",{"2":{"23":3,"61":2,"72":2}}],["r",{"2":{"13":2,"84":1}}],["rtol=nothing",{"2":{"5":1}}],["rainclouds",{"2":{"61":1}}],["raw",{"2":{"48":1}}],["rarely",{"2":{"34":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,"18":1,"34":1,"36":1,"51":2,"52":1}}],["randn",{"2":{"19":2}}],["random",{"2":{"13":3}}],["rand",{"2":{"4":3,"13":9,"15":3,"17":1,"18":1,"23":3,"25":1,"26":1,"28":6,"29":1,"30":1,"32":1,"42":4,"43":1,"47":1,"61":1,"63":1,"68":1,"73":1,"75":1,"76":3,"78":3,"83":2}}],["ranges",{"2":{"5":1,"17":1,"31":1,"48":6,"73":3,"75":4}}],["range",{"2":{"4":2,"5":4,"13":2,"18":1,"33":2,"41":1,"46":2,"48":1,"51":1,"73":1,"75":1}}],["rather",{"2":{"3":1,"4":2,"5":1,"9":1,"17":2,"27":1,"66":1,"68":1}}],["red",{"2":{"64":1,"65":1}}],["reductions",{"2":{"13":1,"34":1}}],["reducing",{"0":{"47":1,"80":1},"2":{"13":1,"17":3}}],["reduce",{"2":{"3":1,"17":2,"32":1,"80":2}}],["reduced",{"2":{"3":1}}],["reducedims",{"2":{"3":1}}],["receive",{"2":{"40":1}}],["recommended",{"2":{"22":1}}],["reconstruction",{"2":{"13":1,"40":1}}],["rev",{"2":{"18":2}}],["reversal",{"2":{"18":1}}],["reverseordered",{"2":{"4":5,"7":3,"43":15,"44":14,"48":1,"68":5,"75":2,"76":2,"80":8}}],["reverse",{"2":{"4":1,"7":1,"18":4,"32":1,"43":1,"68":1,"80":1}}],["reversed",{"2":{"4":1}}],["reordering",{"2":{"18":1}}],["reorder",{"0":{"68":1},"2":{"18":8,"61":1,"68":4}}],["relationships",{"2":{"34":1}}],["related",{"2":{"27":1}}],["relying",{"2":{"17":1}}],["reliable",{"2":{"4":1}}],["reasons",{"2":{"51":1}}],["reason",{"2":{"27":1,"51":1}}],["readlines",{"2":{"85":1}}],["read",{"2":{"21":2}}],["reading",{"2":{"17":1}}],["real",{"2":{"4":1}}],["really",{"2":{"3":1,"71":1}}],["remove",{"2":{"19":4}}],["removed",{"2":{"5":1}}],["removing",{"2":{"14":1}}],["reshape",{"2":{"24":1,"69":1}}],["reshaping",{"2":{"18":2}}],["restored",{"2":{"18":1}}],["resshape",{"2":{"18":1}}],["resolve",{"2":{"14":1,"31":1}}],["result",{"2":{"5":1,"14":1,"18":3,"26":1,"31":1,"82":1}}],["results",{"2":{"5":2,"17":2,"60":1}}],["rebuilt",{"2":{"13":1,"18":1,"66":1}}],["rebuilding",{"2":{"18":1}}],["rebuild",{"0":{"40":1,"70":1,"71":1},"1":{"71":1},"2":{"4":2,"13":3,"14":2,"18":6,"21":54,"27":1,"36":1,"40":7,"42":40,"70":6,"71":2,"72":1}}],["requires",{"2":{"39":1,"48":1}}],["require",{"2":{"9":1}}],["required",{"2":{"0":1,"3":1,"11":1,"16":1,"18":4,"27":1}}],["repl",{"2":{"74":1}}],["replaces",{"2":{"3":1,"27":1}}],["replaced",{"2":{"3":1,"8":1}}],["replace",{"2":{"3":2,"18":1,"67":1}}],["represents",{"2":{"38":1,"77":1}}],["representing",{"2":{"4":1}}],["represent",{"2":{"4":1,"10":1}}],["refdim",{"2":{"21":1}}],["refdims=refdims",{"2":{"14":1}}],["refdims=",{"2":{"13":1}}],["refdims",{"2":{"13":9,"18":2,"21":21,"40":1,"42":12,"70":2}}],["refence",{"2":{"13":1}}],["reference",{"0":{"12":1},"1":{"13":1,"14":1,"15":1,"16":1},"2":{"3":2,"13":3,"21":1,"36":1}}],["refer",{"2":{"0":1,"9":1}}],["ref",{"2":{"3":1}}],["rewraps",{"2":{"3":1}}],["retrieved",{"2":{"35":1}}],["retrieves",{"2":{"5":1,"43":1}}],["retrieve",{"2":{"2":1,"5":1,"43":1}}],["returning",{"2":{"3":1,"11":1,"19":2,"80":1,"81":1}}],["returns",{"2":{"2":1,"3":3,"5":1,"11":2,"13":3,"14":2,"15":1,"17":1,"21":2,"42":2,"43":1,"46":1,"48":3,"79":1}}],["returned",{"2":{"1":1,"3":2,"4":1,"11":1,"13":1,"17":2,"18":4,"35":1,"38":1,"44":1}}],["return",{"2":{"1":3,"3":3,"4":8,"5":2,"13":6,"14":7,"17":7,"18":7,"37":1,"38":1,"39":2,"43":1,"44":1,"79":2}}],["regular",{"2":{"0":5,"2":1,"4":7,"5":4,"8":4,"10":2,"13":5,"15":2,"16":1,"17":2,"18":9,"19":1,"23":4,"24":2,"25":21,"26":3,"30":2,"36":1,"39":1,"43":30,"44":28,"47":2,"48":1,"49":5,"68":2,"70":2,"72":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":{"13":4,"28":1}}],["knowing",{"2":{"30":1}}],["knows",{"2":{"25":1,"36":1}}],["know",{"2":{"17":1,"24":1,"70":1,"71":1}}],["known",{"2":{"4":5,"10":1,"30":1}}],["kw",{"2":{"3":5,"4":1,"5":1,"11":1,"13":10,"14":5,"18":3,"21":17,"40":2,"42":10,"70":2}}],["kernels",{"2":{"27":1}}],["kernelabstractions",{"2":{"27":1}}],["kernel",{"2":{"27":1}}],["keeping",{"2":{"3":1}}],["keep",{"2":{"3":1,"18":2,"20":1,"48":1}}],["key",{"2":{"19":3,"36":1}}],["keys=",{"2":{"19":2}}],["keys=keys",{"2":{"19":2}}],["keys",{"2":{"0":1,"11":2,"14":1,"19":2,"21":4,"48":1,"78":2}}],["keywords",{"0":{"32":1,"39":1},"2":{"3":2,"4":2,"13":4,"15":2,"16":1,"17":5,"18":1,"19":1,"21":5,"29":1,"31":1,"32":1,"40":1,"41":1,"42":2,"70":4,"71":1}}],["keyword",{"2":{"0":1,"4":3,"5":1,"13":1,"14":1,"17":1,"18":2,"19":1,"39":1,"40":2,"71":1}}],["kept",{"2":{"0":1,"3":1}}],["┤",{"2":{"1":1,"3":1,"13":5,"15":1,"16":1,"17":4,"19":1,"28":5,"47":8,"48":19,"49":3,"67":1,"70":1,"77":1,"78":6,"79":1,"80":25,"83":1,"84":1}}],["u",{"2":{"84":1}}],["utility",{"0":{"18":1}}],["updating",{"2":{"40":1}}],["update",{"2":{"18":3}}],["updates",{"2":{"13":1,"21":6,"42":6}}],["updated",{"2":{"3":2,"18":4,"21":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":{"21":1}}],["unmerged",{"2":{"18":1}}],["unmergedims",{"2":{"18":2}}],["unmatched",{"2":{"1":1,"13":1}}],["unknown",{"2":{"15":1,"75":1}}],["underneath",{"2":{"71":1}}],["underlying",{"2":{"1":1,"13":1,"19":1}}],["undefined",{"2":{"4":1,"13":2,"17":1,"41":1}}],["unless",{"2":{"4":4,"5":1,"31":1,"75":1,"82":1}}],["unlike",{"2":{"3":2,"11":1,"15":1,"72":1}}],["unordered",{"2":{"4":6,"7":3,"48":3,"72":2,"74":2,"75":2}}],["unitrange",{"2":{"17":2,"25":1,"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,"17":2,"18":2,"20":1}}],["usual",{"2":{"24":1}}],["usually",{"2":{"0":1,"3":2,"13":1,"39":1,"46":1,"72":1,"73":1,"74":2,"81":1}}],["us",{"2":{"11":1,"30":1,"35":1,"72":1}}],["user",{"2":{"34":1}}],["uses",{"2":{"4":1,"8":1,"27":2,"35":1,"56":1,"59":1,"70":1}}],["useful",{"2":{"1":1,"3":3,"4":6,"15":1,"18":1,"43":1,"67":1,"70":1}}],["use",{"2":{"0":3,"3":1,"4":2,"5":3,"7":1,"11":1,"13":2,"14":3,"15":1,"18":3,"19":4,"20":3,"22":1,"25":1,"26":1,"29":1,"30":1,"31":1,"40":1,"44":1,"47":1,"48":5,"70":1,"73":1,"76":1}}],["used",{"2":{"0":7,"2":1,"3":4,"4":7,"5":6,"6":1,"8":1,"9":1,"10":7,"14":2,"15":4,"17":9,"18":4,"19":1,"30":2,"31":2,"32":1,"34":1,"35":1,"40":3,"43":1,"46":1,"47":1,"57":1,"61":1,"70":1,"74":1,"75":3}}],["using",{"2":{"0":2,"1":4,"3":1,"4":5,"5":3,"11":2,"13":10,"14":1,"15":2,"16":2,"17":1,"18":6,"19":3,"22":2,"23":1,"25":2,"27":1,"28":1,"29":1,"31":1,"32":1,"33":1,"35":1,"40":2,"42":1,"43":3,"46":2,"47":1,"67":1,"68":1,"73":2,"74":1,"77":1,"81":1,"83":2,"84":2}}],["v",{"2":{"84":1}}],["visualise",{"2":{"58":1}}],["via",{"2":{"34":1}}],["views",{"2":{"19":2,"56":1}}],["view",{"2":{"3":1,"13":1,"14":2,"15":1,"31":1}}],["versions",{"2":{"40":2}}],["version",{"2":{"14":1,"18":2,"22":1,"40":1,"70":1,"71":1}}],["very",{"2":{"14":2,"52":1,"70":1,"81":1}}],["vectors",{"2":{"3":1,"30":1,"73":3}}],["vector",{"2":{"0":1,"4":2,"5":6,"14":1,"17":11,"18":2,"30":2,"43":2,"46":8,"48":4,"73":5,"74":3,"79":2,"85":1}}],["var",{"2":{"32":1,"80":2}}],["variable",{"2":{"18":1,"61":1,"66":1}}],["vararg",{"2":{"1":4,"2":3,"3":6,"4":5,"13":10,"14":2,"16":1,"18":3,"21":1,"30":1}}],["valtype",{"2":{"3":1}}],["valid",{"2":{"3":1}}],["val",{"2":{"2":2,"3":1,"4":4,"11":1,"18":5,"35":2,"39":2,"43":3,"70":4}}],["val=",{"2":{"0":5}}],["value",{"2":{"0":1,"3":2,"4":2,"5":15,"8":1,"9":1,"10":1,"13":5,"14":3,"15":1,"17":7,"20":1,"28":1,"29":1,"35":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,"13":1,"14":3,"15":5,"17":8,"18":3,"19":5,"21":1,"24":1,"38":1,"40":1,"46":1,"48":5,"60":1,"66":1,"69":1,"70":1,"72":2,"73":5,"74":5,"75":3,"76":1,"79":2}}],["nanoseconds",{"2":{"81":1}}],["names",{"0":{"29":1},"2":{"16":1,"18":2,"19":4,"20":1,"24":1,"29":1,"35":2,"43":1,"73":1,"74":1}}],["name=nothing",{"2":{"14":1}}],["name=noname",{"2":{"13":1}}],["name=",{"2":{"13":1,"14":3,"18":1,"25":1,"28":5,"70":1,"83":1}}],["name2dim",{"2":{"3":3}}],["name",{"0":{"20":1},"2":{"2":1,"13":10,"16":2,"18":4,"20":11,"21":4,"24":1,"27":3,"29":1,"35":2,"40":1,"42":4,"70":2,"73":1,"77":1,"78":2,"82":2}}],["namedtuple",{"0":{"78":1},"2":{"11":3,"14":12,"18":3,"21":2,"25":1,"77":2,"78":1,"79":4,"81":1}}],["named",{"2":{"0":1,"10":2,"20":1,"28":1,"31":1,"35":1,"55":1,"64":1}}],["n=rand",{"2":{"78":1}}],["nt",{"2":{"71":2}}],["ntuple",{"2":{"1":3,"2":3,"13":5}}],["night",{"2":{"48":4}}],["nice",{"2":{"48":1}}],["ncdatasets",{"2":{"34":1}}],["ns",{"2":{"33":14,"81":2}}],["ndims",{"2":{"21":5,"42":3}}],["nvidia",{"2":{"18":1}}],["neighbor",{"2":{"76":1}}],["neighbour",{"2":{"15":1}}],["necessary",{"2":{"20":1}}],["necessarily",{"2":{"18":1}}],["netcdf",{"2":{"10":1,"34":1}}],["next",{"2":{"5":1}}],["needed",{"2":{"27":1,"70":1,"75":1}}],["needs",{"2":{"20":1,"21":1}}],["need",{"2":{"4":1,"14":3,"17":1,"18":4,"22":1,"27":3}}],["nearly",{"2":{"36":1}}],["nearsest",{"2":{"5":1}}],["nearest",{"2":{"5":3,"15":1,"76":1}}],["near",{"2":{"4":2,"5":7,"13":2,"15":2,"73":3,"76":2}}],["newdim",{"2":{"3":4}}],["newdims",{"2":{"3":4}}],["new",{"2":{"0":1,"3":5,"4":1,"13":2,"16":1,"18":13,"36":1,"40":1,"80":1}}],["nosampling",{"2":{"72":1}}],["nospan",{"2":{"72":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,"20":1}}],["nometadata",{"2":{"4":3,"11":2,"13":1,"25":2}}],["nolookup",{"2":{"4":11,"13":4,"18":1,"72":2,"74":9,"75":1}}],["no",{"2":{"2":1,"3":3,"4":2,"11":1,"18":2,"24":1,"33":1,"34":1,"72":1,"74":1,"75":1,"81":1}}],["noname",{"2":{"18":1,"20":5}}],["non",{"0":{"2":1},"2":{"13":2,"14":1}}],["notice",{"2":{"15":1,"17":1}}],["notably",{"2":{"14":2,"57":1}}],["note",{"2":{"5":1,"17":1,"18":1,"21":1,"48":2}}],["notes",{"2":{"4":1,"18":1}}],["nothing",{"2":{"1":1,"3":3,"4":1,"5":1,"8":2,"11":4,"13":1,"75":4}}],["not",{"2":{"0":1,"1":1,"3":4,"4":6,"5":8,"10":3,"11":4,"13":1,"15":2,"17":1,"18":7,"19":3,"20":2,"21":4,"24":1,"25":1,"27":1,"30":1,"31":2,"40":1,"41":1,"43":1,"48":3,"51":1,"60":1,"68":1,"70":3,"72":1,"73":4,"74":2,"75":1,"78":3,"79":1,"80":1,"82":1}}],["number",{"2":{"1":1,"3":1,"4":1,"13":1,"17":5,"21":2,"42":2,"70":1,"75":1}}],["n",{"2":{"1":1,"2":3,"3":1,"4":3,"13":3,"48":1,"68":5,"70":4,"72":6,"78":3,"84":1}}],["`refdims`",{"2":{"42":2}}],["`dims`",{"2":{"42":2}}],["`da`",{"2":{"18":1}}],["`cuarray`",{"2":{"26":1}}],["`modify`",{"2":{"26":1}}],["`openinterval",{"2":{"5":1}}],["`",{"2":{"0":1,"18":2}}],["879411",{"2":{"78":1}}],["879899",{"2":{"28":3}}],["872742",{"2":{"75":1}}],["875994",{"2":{"47":1}}],["873096",{"2":{"30":1}}],["876115",{"2":{"30":1}}],["876395",{"2":{"28":3}}],["870641",{"2":{"76":2}}],["870583",{"2":{"30":1}}],["870485",{"2":{"15":1}}],["87475",{"2":{"76":1}}],["874735",{"2":{"73":3}}],["874037",{"2":{"28":1}}],["87436",{"2":{"26":1}}],["87",{"2":{"25":1}}],["851065529408329",{"2":{"80":2}}],["851044",{"2":{"76":1}}],["856029",{"2":{"76":1}}],["856524",{"2":{"43":1}}],["855976",{"2":{"76":1}}],["853835",{"2":{"30":1}}],["853879",{"2":{"25":3}}],["854076",{"2":{"28":3}}],["854739",{"2":{"26":1}}],["85",{"2":{"25":1,"84":1}}],["844321",{"2":{"84":1}}],["844262",{"2":{"25":5}}],["849817",{"2":{"84":1}}],["842552",{"2":{"78":1}}],["84219",{"2":{"25":2}}],["841169",{"2":{"78":1}}],["846254",{"2":{"83":1,"84":2}}],["846581",{"2":{"47":1}}],["846",{"2":{"31":2}}],["846175",{"2":{"28":2}}],["847981",{"2":{"28":1}}],["84",{"2":{"25":1,"76":1}}],["836907965319872",{"2":{"85":1}}],["836407",{"2":{"73":12}}],["838211",{"2":{"76":1}}],["838572",{"2":{"76":1}}],["833475",{"2":{"76":1}}],["839223",{"2":{"43":1}}],["83904",{"2":{"25":2}}],["830655",{"2":{"43":1}}],["830187",{"2":{"29":1,"31":2}}],["83056",{"2":{"26":1}}],["835288",{"2":{"26":1}}],["83",{"2":{"25":1}}],["810841",{"2":{"84":1}}],["812106",{"2":{"76":1}}],["812342",{"2":{"76":1}}],["811947",{"2":{"32":1}}],["813229",{"2":{"28":1}}],["813705",{"2":{"28":3}}],["81708",{"2":{"26":1}}],["81",{"2":{"25":1}}],["899242",{"2":{"83":1}}],["89559",{"2":{"76":1}}],["898833",{"2":{"76":2}}],["896537",{"2":{"84":1}}],["896257",{"2":{"76":1}}],["89609",{"2":{"30":1}}],["89757",{"2":{"43":1}}],["89248",{"2":{"32":1}}],["891637",{"2":{"76":1}}],["891663",{"2":{"30":1}}],["891743",{"2":{"28":2}}],["893267",{"2":{"28":2}}],["893537",{"2":{"15":1}}],["89",{"2":{"23":1,"25":1}}],["8219403925584018",{"2":{"85":1}}],["82194",{"2":{"84":2}}],["824659",{"2":{"76":1}}],["824656",{"2":{"76":1}}],["824556",{"2":{"68":2,"70":2,"72":6}}],["825676",{"2":{"76":1}}],["822783",{"2":{"73":3}}],["826098",{"2":{"28":3}}],["827655",{"2":{"28":2}}],["8234",{"2":{"28":1}}],["82356",{"2":{"25":2}}],["823656",{"2":{"13":1}}],["82862",{"2":{"25":1}}],["82",{"2":{"23":1,"25":1,"47":2}}],["887684",{"2":{"84":1}}],["887397",{"2":{"78":1}}],["889194",{"2":{"84":2}}],["889153",{"2":{"47":1}}],["882656",{"2":{"76":1}}],["883323",{"2":{"76":1}}],["883222",{"2":{"75":1}}],["883048",{"2":{"30":1}}],["884218",{"2":{"68":2,"70":2,"72":6}}],["881533",{"2":{"30":1}}],["881149",{"2":{"26":1}}],["88841",{"2":{"30":1}}],["88869",{"2":{"26":1}}],["886959",{"2":{"28":2}}],["880178",{"2":{"76":1}}],["88092",{"2":{"26":1}}],["88058",{"2":{"26":1}}],["88",{"2":{"23":1,"25":1,"76":1}}],["865462",{"2":{"84":1}}],["865298",{"2":{"28":3}}],["8698",{"2":{"78":1}}],["86986",{"2":{"32":1}}],["86273",{"2":{"75":1}}],["86789",{"2":{"68":2,"70":2,"72":6}}],["867547",{"2":{"13":1,"15":1}}],["86858",{"2":{"43":1}}],["868064",{"2":{"23":1}}],["866772",{"2":{"30":1}}],["866334",{"2":{"28":3}}],["861783",{"2":{"76":1}}],["86174",{"2":{"26":1}}],["861535",{"2":{"43":1}}],["86194",{"2":{"32":1}}],["861652",{"2":{"25":3}}],["86",{"2":{"23":2,"25":1}}],["864856",{"2":{"15":1}}],["807522",{"2":{"83":1,"84":2}}],["8030281996030815",{"2":{"79":3,"80":2}}],["8002301328044032",{"2":{"79":2}}],["800084",{"2":{"25":3}}],["808144",{"2":{"76":1}}],["801242",{"2":{"76":1}}],["806689",{"2":{"83":1,"84":1}}],["806166",{"2":{"75":1}}],["806005979085237",{"2":{"73":1}}],["806006",{"2":{"73":12}}],["805743",{"2":{"43":1}}],["80455",{"2":{"26":1}}],["80",{"2":{"4":1,"25":1,"48":1}}],["8",{"2":{"0":1,"4":1,"5":2,"14":1,"23":1,"25":4,"30":4,"43":7,"46":1,"48":11,"73":8,"74":2,"76":8,"78":3,"80":2,"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}}],["685603",{"2":{"83":1,"84":2}}],["685225",{"2":{"83":1}}],["684303",{"2":{"83":1}}],["680987",{"2":{"76":1}}],["687921",{"2":{"76":1}}],["687236",{"2":{"30":1}}],["686915",{"2":{"68":2,"70":2,"72":6}}],["688928",{"2":{"28":2}}],["688175",{"2":{"28":2}}],["689712",{"2":{"28":2}}],["68136",{"2":{"28":2}}],["68",{"2":{"25":1}}],["68326",{"2":{"25":3}}],["68316",{"2":{"23":1}}],["673494",{"2":{"76":1}}],["679453",{"2":{"76":1}}],["672504",{"2":{"76":1}}],["674881",{"2":{"47":1}}],["676945",{"2":{"30":1}}],["677743",{"2":{"73":3}}],["677549",{"2":{"47":1}}],["6778",{"2":{"30":1}}],["677848",{"2":{"30":1}}],["677974",{"2":{"28":1}}],["677207",{"2":{"28":1}}],["675126",{"2":{"30":1}}],["675467",{"2":{"28":1}}],["67539",{"2":{"25":3}}],["67178",{"2":{"28":1}}],["670688",{"2":{"28":3}}],["67",{"2":{"25":1,"33":1}}],["66882",{"2":{"83":1,"84":1}}],["668594",{"2":{"25":3}}],["6691920691407321",{"2":{"79":1}}],["6607317073817457",{"2":{"80":1}}],["660823",{"2":{"76":1}}],["660024",{"2":{"43":1}}],["664597",{"2":{"84":1}}],["66424",{"2":{"76":1}}],["664038",{"2":{"47":1,"49":2}}],["6672884952890055",{"2":{"79":2}}],["6675",{"2":{"76":1}}],["667691",{"2":{"30":1}}],["667976",{"2":{"28":1}}],["661715",{"2":{"28":1}}],["66622",{"2":{"26":1}}],["665742",{"2":{"26":1}}],["66",{"2":{"25":1}}],["653044",{"2":{"84":1}}],["653364",{"2":{"76":1}}],["652397",{"2":{"83":1}}],["6518774627227301",{"2":{"79":1}}],["651538",{"2":{"76":1}}],["6598361711868228",{"2":{"79":1}}],["659836",{"2":{"78":1}}],["659048",{"2":{"75":1}}],["65906",{"2":{"43":1}}],["650675",{"2":{"76":1}}],["654129",{"2":{"49":1}}],["654537",{"2":{"47":1,"49":2}}],["654591",{"2":{"43":1}}],["655936",{"2":{"30":2}}],["65",{"2":{"25":1,"48":1}}],["64500911377966e",{"2":{"80":1}}],["645043",{"2":{"76":1}}],["647062",{"2":{"76":1}}],["647328",{"2":{"25":3}}],["640577",{"2":{"76":2}}],["640693",{"2":{"30":1}}],["649595",{"2":{"76":1}}],["64923",{"2":{"32":1}}],["641023",{"2":{"30":1}}],["644748",{"2":{"30":2}}],["642908",{"2":{"26":1}}],["64",{"2":{"25":1,"48":1}}],["634405",{"2":{"84":1}}],["634008",{"2":{"84":1}}],["635786",{"2":{"84":1}}],["635425",{"2":{"30":1}}],["630782",{"2":{"76":1}}],["631878",{"2":{"76":1}}],["639993",{"2":{"84":1}}],["639212",{"2":{"47":1,"49":1}}],["63959",{"2":{"43":1}}],["638072",{"2":{"30":1}}],["638336",{"2":{"30":1}}],["63",{"2":{"25":1}}],["637399",{"2":{"25":3}}],["637077",{"2":{"13":2}}],["6206571460949776",{"2":{"79":1}}],["620657",{"2":{"78":1}}],["621662",{"2":{"76":1}}],["621603",{"2":{"75":1}}],["621601",{"2":{"25":3}}],["627002",{"2":{"30":1}}],["627107",{"2":{"28":3}}],["629352",{"2":{"30":2}}],["629882",{"2":{"28":1}}],["625257",{"2":{"28":1}}],["628875",{"2":{"83":1}}],["628507",{"2":{"28":2}}],["628275",{"2":{"28":2}}],["62",{"2":{"25":1}}],["624685",{"2":{"25":5}}],["6163310918833074",{"2":{"85":1}}],["616331",{"2":{"84":2}}],["616635",{"2":{"47":1}}],["616666",{"2":{"43":1}}],["612615296500003e",{"2":{"80":1}}],["61378",{"2":{"83":1}}],["613381",{"2":{"76":1}}],["61341",{"2":{"25":2}}],["618541",{"2":{"76":1}}],["61858",{"2":{"25":2}}],["615705",{"2":{"72":1}}],["614012",{"2":{"30":1}}],["61025",{"2":{"26":1}}],["61",{"2":{"23":1,"25":1}}],["699118",{"2":{"76":1}}],["69689e",{"2":{"47":1}}],["697976",{"2":{"30":1}}],["69506",{"2":{"26":1}}],["69",{"2":{"23":1,"25":1}}],["691162",{"2":{"15":1}}],["692209",{"2":{"15":2}}],["692235",{"2":{"13":1}}],["6072910004472037",{"2":{"85":1}}],["607291",{"2":{"84":2}}],["603358",{"2":{"83":1}}],["605097",{"2":{"83":1}}],["605375",{"2":{"76":1}}],["6067463820279478",{"2":{"79":1}}],["606746",{"2":{"78":1}}],["606279",{"2":{"30":1}}],["602",{"2":{"76":1}}],["608086",{"2":{"76":1}}],["608263",{"2":{"76":1}}],["601474",{"2":{"29":1,"31":2}}],["601833",{"2":{"28":3}}],["600306",{"2":{"25":3}}],["60",{"2":{"4":1,"5":1,"25":1,"75":1,"79":1}}],["6",{"2":{"0":1,"4":2,"5":18,"14":1,"15":4,"18":4,"23":3,"25":10,"26":1,"43":7,"46":11,"47":4,"48":20,"73":14,"74":1,"76":3,"77":1,"78":12,"79":4,"80":18,"84":12,"85":2}}],["45152471334016764",{"2":{"79":1}}],["451879",{"2":{"28":2}}],["459336",{"2":{"78":1}}],["453507",{"2":{"76":1}}],["454715",{"2":{"47":1}}],["454033",{"2":{"30":1}}],["45804",{"2":{"26":1}}],["45",{"2":{"25":1}}],["44833963865079907",{"2":{"85":1}}],["4473266106898912",{"2":{"85":1}}],["447327",{"2":{"84":2}}],["44724",{"2":{"25":3}}],["444969",{"2":{"83":1}}],["444305",{"2":{"75":1}}],["4408839264303761",{"2":{"79":1}}],["44097",{"2":{"43":1}}],["449062",{"2":{"84":1}}],["449093",{"2":{"76":1}}],["4492",{"2":{"26":1}}],["442111",{"2":{"76":1}}],["445628",{"2":{"43":1}}],["441181",{"2":{"76":1}}],["44104",{"2":{"28":1}}],["441762",{"2":{"25":2}}],["44",{"2":{"25":1}}],["443494",{"2":{"13":1,"15":1}}],["433724",{"2":{"84":1}}],["43314",{"2":{"25":3}}],["431383",{"2":{"83":1}}],["431398",{"2":{"25":3}}],["435719",{"2":{"30":1}}],["436293",{"2":{"29":1,"31":2}}],["439142",{"2":{"25":2}}],["43",{"2":{"25":1}}],["438592",{"2":{"25":3}}],["434374",{"2":{"25":3}}],["47743850127749476",{"2":{"79":1}}],["477439",{"2":{"78":1}}],["473944",{"2":{"76":1}}],["474052",{"2":{"68":2,"70":2,"72":6}}],["474087",{"2":{"25":3}}],["474755",{"2":{"68":2,"70":2,"72":6}}],["471877",{"2":{"47":1,"49":2}}],["475569",{"2":{"47":1}}],["475747",{"2":{"28":1}}],["475786",{"2":{"25":3}}],["479126",{"2":{"26":1}}],["47",{"2":{"23":1,"25":1,"48":2}}],["414017",{"2":{"76":1}}],["412631",{"2":{"76":2}}],["410125",{"2":{"76":1}}],["41767",{"2":{"75":1}}],["418968",{"2":{"47":1}}],["411529",{"2":{"30":1}}],["41173",{"2":{"30":1}}],["413756",{"2":{"28":1}}],["41334",{"2":{"26":1}}],["416444",{"2":{"25":3}}],["41",{"2":{"23":2,"25":1,"48":1}}],["48240020633837055",{"2":{"79":2,"81":2}}],["48275",{"2":{"26":1}}],["484227",{"2":{"76":1}}],["48748811097285394",{"2":{"85":1}}],["487488",{"2":{"84":2}}],["487197",{"2":{"68":2,"70":2,"72":6}}],["487601",{"2":{"26":1}}],["48952511607945026",{"2":{"85":1}}],["489525",{"2":{"84":2}}],["48912e",{"2":{"47":1}}],["489497",{"2":{"25":1}}],["48849",{"2":{"75":1}}],["48817",{"2":{"32":1}}],["488029",{"2":{"29":2,"31":2}}],["481184",{"2":{"32":1}}],["4858762080349691",{"2":{"85":1}}],["485876",{"2":{"84":2}}],["485119",{"2":{"47":1}}],["485321",{"2":{"30":2}}],["485718",{"2":{"25":1}}],["485687",{"2":{"15":1}}],["48",{"2":{"23":1,"25":1,"48":1}}],["463976",{"2":{"84":1}}],["46730678444713203",{"2":{"80":1}}],["46788",{"2":{"29":1,"31":2}}],["460775",{"2":{"76":1}}],["468184",{"2":{"28":1}}],["468066",{"2":{"28":1}}],["464554",{"2":{"26":1}}],["462981",{"2":{"26":1}}],["46",{"2":{"23":3,"25":1}}],["4×5",{"2":{"23":1}}],["4×6",{"2":{"15":1}}],["490566",{"2":{"84":1}}],["49097",{"2":{"26":1}}],["49413",{"2":{"84":1}}],["49487",{"2":{"76":1}}],["494267",{"2":{"30":2}}],["49574",{"2":{"84":1}}],["495624",{"2":{"76":1}}],["495215",{"2":{"25":1}}],["496268",{"2":{"84":1}}],["496058",{"2":{"75":1}}],["496092",{"2":{"47":1}}],["496532",{"2":{"47":1}}],["496329",{"2":{"47":1}}],["496943",{"2":{"47":1}}],["497456",{"2":{"78":1}}],["497705",{"2":{"47":1}}],["497559",{"2":{"47":1}}],["497181",{"2":{"28":1}}],["493072",{"2":{"30":2}}],["493258",{"2":{"30":1}}],["493417",{"2":{"28":3}}],["49232",{"2":{"25":2}}],["49169278767038266",{"2":{"80":1}}],["491103",{"2":{"75":1}}],["491202",{"2":{"25":1}}],["491479",{"2":{"25":1}}],["49",{"2":{"25":1,"48":1}}],["49842910686075803",{"2":{"79":1,"81":2}}],["498429",{"2":{"78":1}}],["498801",{"2":{"17":1}}],["498606",{"2":{"17":1}}],["498145",{"2":{"17":1}}],["498704",{"2":{"17":1}}],["499837",{"2":{"48":1}}],["499959",{"2":{"48":1}}],["499901",{"2":{"48":1}}],["499985",{"2":{"17":1}}],["499069",{"2":{"47":1}}],["499353",{"2":{"47":1}}],["499693",{"2":{"47":1,"48":1}}],["499674",{"2":{"25":1}}],["499237",{"2":{"47":1}}],["499282",{"2":{"25":1}}],["499298",{"2":{"17":1}}],["499594",{"2":{"17":1}}],["499762",{"2":{"17":1}}],["42429962356614626",{"2":{"85":1}}],["424831",{"2":{"76":1}}],["427523",{"2":{"76":1}}],["427328",{"2":{"13":1,"15":1}}],["421525",{"2":{"76":1}}],["42151",{"2":{"26":1}}],["429465",{"2":{"76":1}}],["429267",{"2":{"73":9}}],["428951",{"2":{"47":1,"49":2}}],["423538",{"2":{"43":1}}],["42331",{"2":{"25":1}}],["426888",{"2":{"29":1,"31":2}}],["42648",{"2":{"25":1}}],["42",{"2":{"25":1}}],["420756",{"2":{"15":1}}],["402627",{"2":{"84":1}}],["400001",{"2":{"76":1}}],["406221",{"2":{"30":1}}],["40584",{"2":{"26":1}}],["404604",{"2":{"84":1}}],["404635",{"2":{"23":1}}],["404773",{"2":{"30":1}}],["40409",{"2":{"26":1}}],["403556",{"2":{"76":1}}],["403111",{"2":{"28":3}}],["40322",{"2":{"25":1}}],["403955",{"2":{"25":3}}],["407207",{"2":{"25":3}}],["40",{"2":{"4":1,"13":3,"25":1,"48":1,"75":1}}],["4",{"2":{"0":5,"3":1,"4":5,"5":12,"13":6,"14":2,"15":2,"17":1,"18":14,"19":3,"23":6,"25":8,"26":2,"30":5,"32":1,"43":7,"46":1,"47":5,"48":8,"73":18,"74":1,"76":2,"78":1,"80":1,"81":3,"83":1,"84":12,"85":2}}],["09300753748828394",{"2":{"85":1}}],["0930075",{"2":{"84":2}}],["0987646",{"2":{"83":1,"84":2}}],["09814",{"2":{"76":1}}],["0965086",{"2":{"84":2}}],["09637420078606593",{"2":{"80":1}}],["0967863",{"2":{"15":1}}],["0909577659038997",{"2":{"80":1}}],["09721711843558752",{"2":{"80":1}}],["0979352",{"2":{"78":1}}],["097066",{"2":{"76":1}}],["0928922",{"2":{"76":1}}],["0927459",{"2":{"28":2}}],["0943594",{"2":{"73":4}}],["0915867",{"2":{"68":2,"70":2,"72":6}}],["0950183",{"2":{"83":1}}],["095824",{"2":{"43":1}}],["095",{"2":{"33":2}}],["0959042",{"2":{"28":2}}],["0990865",{"2":{"76":1}}],["0990347",{"2":{"30":1}}],["0992684",{"2":{"32":1}}],["0999314",{"2":{"28":3}}],["0991336",{"2":{"15":2}}],["09",{"2":{"0":1,"25":6,"49":1,"74":1}}],["0894465",{"2":{"84":1}}],["0897302",{"2":{"47":1}}],["08783435714630261",{"2":{"79":1}}],["0878344",{"2":{"78":1}}],["0883392",{"2":{"78":1}}],["0831822",{"2":{"76":1}}],["0837074",{"2":{"25":3}}],["08035217265254364",{"2":{"80":1}}],["0804518",{"2":{"26":1}}],["0802658",{"2":{"13":1}}],["08",{"2":{"0":1,"25":4,"49":1,"74":1,"76":1}}],["0769145",{"2":{"84":1}}],["0760848",{"2":{"32":1}}],["0775482",{"2":{"76":2}}],["0738813",{"2":{"30":1}}],["0789906",{"2":{"30":1}}],["0781957",{"2":{"23":1}}],["0707995",{"2":{"28":1}}],["07277",{"2":{"26":1}}],["0725917",{"2":{"25":3}}],["0710221",{"2":{"23":1}}],["07",{"2":{"0":1,"25":4,"49":1,"74":1}}],["0615946",{"2":{"84":1}}],["067",{"2":{"81":1}}],["0670111",{"2":{"23":1}}],["0639461",{"2":{"76":1}}],["0648408",{"2":{"84":1}}],["0641884",{"2":{"32":1}}],["0649391",{"2":{"26":1}}],["0623229",{"2":{"76":1}}],["0623616",{"2":{"30":1}}],["0621546",{"2":{"28":1}}],["0622255",{"2":{"28":3}}],["0697249",{"2":{"28":1}}],["06",{"2":{"0":1,"25":4,"49":1,"74":1}}],["05946710667513877",{"2":{"79":2}}],["0599255",{"2":{"28":1}}],["0599431",{"2":{"26":1}}],["0515532",{"2":{"76":1}}],["0566306",{"2":{"76":1}}],["0564029",{"2":{"76":1}}],["057459",{"2":{"83":1,"84":1}}],["0571503",{"2":{"78":1}}],["0575993",{"2":{"76":1}}],["0578313",{"2":{"30":1}}],["05t03",{"2":{"49":4}}],["0536623",{"2":{"43":1}}],["0531003",{"2":{"30":2}}],["0545071",{"2":{"43":1}}],["054613",{"2":{"28":1}}],["0541549",{"2":{"25":3}}],["0557598",{"2":{"26":1}}],["05",{"2":{"0":1,"25":4,"49":1,"73":1,"74":1}}],["04060837507113502",{"2":{"79":2}}],["0400057",{"2":{"43":1}}],["04616326467070997",{"2":{"79":1}}],["0461633",{"2":{"78":1}}],["048092019187169766",{"2":{"79":1}}],["048092",{"2":{"78":1}}],["0411113",{"2":{"76":1}}],["04169",{"2":{"25":2}}],["0450386",{"2":{"30":1}}],["0442448",{"2":{"25":5}}],["0471885",{"2":{"25":5}}],["04",{"2":{"0":1,"25":6,"49":1,"74":1,"76":3}}],["038",{"2":{"81":1}}],["038407066827922",{"2":{"80":2}}],["032889338556748006",{"2":{"80":1}}],["0329394",{"2":{"78":1}}],["0320967",{"2":{"15":1}}],["0363983",{"2":{"30":1}}],["0314382",{"2":{"30":1}}],["0315486",{"2":{"28":2}}],["0379776",{"2":{"30":1}}],["0392779",{"2":{"28":2}}],["0333106",{"2":{"23":1}}],["0303789",{"2":{"15":1}}],["03",{"2":{"0":1,"25":6,"47":1,"49":2,"74":1}}],["029790",{"2":{"84":1}}],["0294193",{"2":{"76":1}}],["020158765333216477",{"2":{"85":1}}],["0201588",{"2":{"84":2}}],["02098",{"2":{"32":1}}],["02514568569664144",{"2":{"80":2}}],["0251457",{"2":{"78":1}}],["021",{"2":{"76":1}}],["0287126",{"2":{"28":1}}],["0238569",{"2":{"28":3}}],["0239356",{"2":{"28":3}}],["02",{"2":{"0":2,"25":6,"47":1,"49":2,"74":1}}],["0",{"2":{"0":60,"1":6,"3":8,"4":28,"5":8,"13":92,"14":16,"15":81,"16":240,"17":19,"18":176,"23":20,"25":178,"26":69,"28":546,"29":28,"30":148,"31":50,"32":12,"33":25,"43":175,"44":42,"46":2,"47":63,"48":20,"49":53,"67":105,"68":50,"70":48,"72":141,"73":147,"74":7,"75":35,"76":252,"77":16,"78":133,"79":89,"80":156,"81":12,"83":48,"84":150,"85":36}}],["006378200703587189",{"2":{"79":2,"80":2}}],["00633515",{"2":{"43":1}}],["007",{"2":{"76":3}}],["00498986",{"2":{"76":1}}],["0042232",{"2":{"43":1}}],["0019198597596568057",{"2":{"85":1}}],["00191986",{"2":{"84":2}}],["00114293",{"2":{"75":1}}],["00125e",{"2":{"47":1}}],["00832284",{"2":{"47":1,"49":1}}],["0038728108200783984",{"2":{"80":2}}],["00337686",{"2":{"30":2}}],["00396",{"2":{"25":1}}],["00327",{"2":{"25":1}}],["00",{"2":{"0":42,"25":164,"33":10,"46":4,"47":10,"49":37,"74":32}}],["0136364",{"2":{"76":1}}],["0130048",{"2":{"29":1,"31":2}}],["011",{"2":{"48":2}}],["01t03",{"2":{"49":2}}],["01t02",{"2":{"49":1}}],["01t01",{"2":{"47":1,"49":2}}],["01t00",{"2":{"0":21,"25":82,"46":1,"47":2,"49":7,"74":16}}],["0157247",{"2":{"43":1}}],["0160205",{"2":{"30":1}}],["014",{"2":{"76":1}}],["0140644",{"2":{"28":1}}],["0145691",{"2":{"25":3}}],["0197492",{"2":{"26":1}}],["0106725",{"2":{"47":1,"49":1}}],["0109523",{"2":{"43":1}}],["0104608",{"2":{"30":1}}],["0102884",{"2":{"28":2}}],["010",{"2":{"18":2}}],["01",{"2":{"0":5,"25":15,"46":1,"47":6,"49":21,"74":3}}],["↗",{"2":{"0":1,"1":1,"3":1,"13":1,"16":1,"17":1,"18":1,"23":1,"25":6,"30":1,"32":2,"35":1,"83":3}}],["→",{"2":{"0":4,"1":3,"3":2,"4":2,"5":8,"13":13,"14":1,"15":12,"16":1,"17":3,"18":12,"19":2,"23":4,"25":11,"26":2,"28":11,"29":1,"30":7,"31":2,"32":2,"33":1,"35":2,"43":7,"44":11,"47":3,"48":8,"49":5,"67":3,"68":4,"70":4,"72":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":16,"14":1,"15":12,"16":1,"17":5,"18":12,"19":2,"23":5,"25":14,"26":2,"28":11,"29":2,"30":8,"31":2,"32":2,"33":1,"35":2,"43":12,"44":15,"47":10,"48":19,"49":6,"67":3,"68":4,"70":4,"72":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":5,"15":3,"17":3,"18":5,"19":1,"23":3,"25":8,"26":1,"28":11,"29":2,"30":4,"31":2,"32":2,"33":1,"43":1,"47":8,"48":11,"49":3,"67":3,"68":2,"70":2,"72":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":20,"15":8,"16":2,"17":6,"18":10,"19":2,"23":6,"25":16,"26":2,"28":22,"29":4,"30":8,"31":4,"32":4,"33":2,"43":2,"47":16,"48":22,"49":6,"67":6,"68":4,"70":4,"72":12,"73":30,"74":2,"75":2,"76":10,"77":2,"78":16,"79":2,"80":50,"83":4,"84":74}}],["5×1",{"2":{"73":1}}],["5×10",{"2":{"28":13}}],["5×5",{"2":{"29":1,"31":2}}],["5×4",{"2":{"4":1}}],["581458",{"2":{"78":1}}],["583476",{"2":{"76":1}}],["585756",{"2":{"47":1,"49":1}}],["585658",{"2":{"25":3}}],["589536",{"2":{"43":1}}],["5891",{"2":{"25":2}}],["58",{"2":{"25":1}}],["568669",{"2":{"84":1}}],["568727",{"2":{"76":1}}],["5624913882274706",{"2":{"79":1}}],["562491",{"2":{"78":1}}],["56273",{"2":{"30":1}}],["569194",{"2":{"78":1}}],["560553",{"2":{"76":1}}],["564636",{"2":{"76":1}}],["564152",{"2":{"49":1}}],["565883",{"2":{"78":1}}],["565202",{"2":{"76":1}}],["565229",{"2":{"72":1}}],["565649",{"2":{"76":1}}],["565165",{"2":{"76":1}}],["561953",{"2":{"43":1}}],["561365",{"2":{"28":1}}],["56",{"2":{"25":1,"48":1}}],["5501481631111826",{"2":{"85":1}}],["550148",{"2":{"84":2}}],["55560637324799",{"2":{"85":1}}],["555606",{"2":{"84":2}}],["556427",{"2":{"84":1}}],["556711",{"2":{"83":1,"84":1}}],["556096",{"2":{"43":1}}],["554735",{"2":{"83":1}}],["554833",{"2":{"76":1}}],["559465",{"2":{"76":1}}],["552838",{"2":{"43":1}}],["557369",{"2":{"28":1}}],["557524",{"2":{"28":1}}],["55713",{"2":{"25":2}}],["553558",{"2":{"28":1}}],["55",{"2":{"25":1}}],["533196",{"2":{"84":1}}],["5370455292538254",{"2":{"79":1}}],["537974",{"2":{"76":1}}],["531598",{"2":{"76":1}}],["53422",{"2":{"76":1}}],["534915",{"2":{"28":3}}],["530389",{"2":{"75":1}}],["530405",{"2":{"75":1}}],["530908",{"2":{"49":2}}],["532757",{"2":{"49":1}}],["53259",{"2":{"25":1}}],["535933",{"2":{"30":1}}],["53632",{"2":{"25":2}}],["53",{"2":{"25":1}}],["539028",{"2":{"23":1}}],["539076",{"2":{"15":1}}],["521608",{"2":{"84":1}}],["5203602669427675",{"2":{"79":1}}],["5201836703588896",{"2":{"79":1}}],["520037",{"2":{"76":1}}],["526825",{"2":{"76":1}}],["525431",{"2":{"76":1}}],["522816",{"2":{"75":1}}],["527261",{"2":{"30":1}}],["528009",{"2":{"76":1}}],["528138",{"2":{"30":1}}],["52849",{"2":{"23":1}}],["52496",{"2":{"28":1}}],["52389",{"2":{"25":2}}],["52",{"2":{"25":1}}],["5992407552660244",{"2":{"85":1}}],["599241",{"2":{"84":2}}],["596036",{"2":{"83":1}}],["596077",{"2":{"28":2}}],["595409",{"2":{"76":2}}],["59542",{"2":{"25":2}}],["594523",{"2":{"76":1}}],["594101",{"2":{"75":1}}],["593346",{"2":{"72":1}}],["597808",{"2":{"30":1}}],["59705",{"2":{"26":1}}],["591606",{"2":{"30":1}}],["59",{"2":{"23":1,"25":1}}],["5476725802849189",{"2":{"79":2}}],["547848",{"2":{"25":2}}],["544125",{"2":{"78":1}}],["544803",{"2":{"78":1}}],["548479",{"2":{"43":1}}],["54822",{"2":{"26":1}}],["541438",{"2":{"28":1}}],["542251",{"2":{"28":3}}],["546357",{"2":{"25":3}}],["54",{"2":{"23":1,"25":1}}],["545156",{"2":{"23":1}}],["5154448003579335",{"2":{"79":1,"81":2}}],["510752",{"2":{"76":1}}],["510196",{"2":{"30":1}}],["510863",{"2":{"25":1}}],["511078",{"2":{"29":1,"31":2}}],["511978",{"2":{"28":3}}],["514177",{"2":{"28":1}}],["519235",{"2":{"28":2}}],["517329",{"2":{"28":2}}],["517971",{"2":{"25":3}}],["51",{"2":{"23":1,"25":1,"47":1}}],["512083",{"2":{"13":1,"15":1}}],["579501",{"2":{"84":1}}],["5794916001308447",{"2":{"79":1}}],["579492",{"2":{"78":1}}],["5762235094109146",{"2":{"79":10}}],["576224",{"2":{"78":1}}],["576903",{"2":{"28":3}}],["5746233955742341",{"2":{"79":1}}],["574623",{"2":{"78":1}}],["574678",{"2":{"76":1}}],["575878",{"2":{"49":2}}],["578183",{"2":{"47":1}}],["573147",{"2":{"32":1}}],["571628",{"2":{"83":1}}],["571658",{"2":{"30":1}}],["571126",{"2":{"76":1}}],["571821",{"2":{"23":1}}],["570603",{"2":{"76":1}}],["570254",{"2":{"28":1}}],["57019",{"2":{"26":1}}],["570914",{"2":{"23":1}}],["57",{"2":{"5":1,"23":2,"25":1,"48":1}}],["509288",{"2":{"76":1}}],["509231",{"2":{"28":1}}],["505726",{"2":{"76":1}}],["505129",{"2":{"76":1}}],["5053",{"2":{"76":1}}],["5055",{"2":{"48":4}}],["505694",{"2":{"47":1}}],["50562",{"2":{"25":1}}],["503582",{"2":{"84":1}}],["503785",{"2":{"47":1}}],["503823",{"2":{"29":2,"31":2}}],["506221",{"2":{"76":1}}],["506084",{"2":{"47":1}}],["506965",{"2":{"43":1}}],["507581",{"2":{"43":1}}],["502499",{"2":{"30":2}}],["50854",{"2":{"25":2}}],["50156726022296",{"2":{"80":2}}],["50102",{"2":{"47":1}}],["501998",{"2":{"47":1}}],["501282",{"2":{"47":1}}],["501124",{"2":{"25":1}}],["501105",{"2":{"17":1}}],["501643",{"2":{"17":1}}],["501379",{"2":{"17":1}}],["500355",{"2":{"48":1}}],["500331",{"2":{"47":1,"48":2}}],["500136",{"2":{"47":1}}],["500155",{"2":{"47":1}}],["500679",{"2":{"76":1}}],["500665",{"2":{"47":1,"48":2}}],["500644",{"2":{"17":1}}],["500495",{"2":{"25":1}}],["50047",{"2":{"17":1}}],["500818",{"2":{"25":1}}],["500874",{"2":{"17":1}}],["500533",{"2":{"17":1}}],["500058",{"2":{"47":1}}],["500083",{"2":{"17":1}}],["500064",{"2":{"17":1}}],["50",{"2":{"5":3,"13":9,"23":4,"25":1,"75":1}}],["5u",{"2":{"5":1}}],["5",{"2":{"0":1,"4":3,"5":21,"13":2,"14":1,"15":1,"18":7,"19":1,"23":6,"25":10,"26":1,"28":10,"29":2,"30":6,"32":1,"43":9,"46":1,"47":4,"48":5,"67":3,"73":7,"74":2,"75":1,"77":3,"78":11,"79":1,"80":34,"84":12,"85":2}}],["3777991041100621",{"2":{"85":1}}],["377799",{"2":{"84":2}}],["371838",{"2":{"76":1}}],["371583",{"2":{"76":1}}],["376108",{"2":{"73":9}}],["376",{"2":{"48":3}}],["370",{"2":{"48":2}}],["37821",{"2":{"30":1}}],["378395",{"2":{"30":1}}],["372311",{"2":{"30":2}}],["374729",{"2":{"83":1}}],["374451",{"2":{"28":1}}],["374026",{"2":{"26":1}}],["373575",{"2":{"28":2}}],["37963",{"2":{"26":1}}],["37",{"2":{"25":1}}],["367576",{"2":{"73":8}}],["369",{"2":{"48":3}}],["36851882799081104",{"2":{"85":1}}],["368519",{"2":{"84":2}}],["368",{"2":{"48":3}}],["361",{"2":{"48":3}}],["361921",{"2":{"29":1,"31":2}}],["362",{"2":{"47":1}}],["363678",{"2":{"76":1}}],["363",{"2":{"47":2}}],["365215",{"2":{"84":1}}],["365",{"2":{"47":2}}],["366634",{"2":{"76":1}}],["366",{"2":{"47":3}}],["364844",{"2":{"68":2,"70":2,"72":6}}],["364079",{"2":{"49":1}}],["364",{"2":{"46":18,"47":3}}],["36",{"2":{"25":1}}],["360",{"2":{"4":2,"48":1}}],["348164",{"2":{"84":1}}],["34882573131206984",{"2":{"79":1}}],["3417845510633072",{"2":{"79":1}}],["341785",{"2":{"78":1}}],["344",{"2":{"48":1}}],["342887",{"2":{"30":1}}],["342919",{"2":{"30":1}}],["342437",{"2":{"28":1}}],["345",{"2":{"48":1}}],["345046",{"2":{"30":2}}],["345501",{"2":{"26":1}}],["347379",{"2":{"28":1}}],["34",{"2":{"25":1}}],["3343926384599254",{"2":{"85":1}}],["334393",{"2":{"84":2}}],["334152",{"2":{"13":1,"15":1}}],["331422",{"2":{"76":1}}],["337662",{"2":{"84":1}}],["337296",{"2":{"76":1}}],["337",{"2":{"48":1}}],["337576",{"2":{"29":1,"31":2}}],["336929",{"2":{"76":1}}],["336",{"2":{"48":1}}],["336768",{"2":{"47":1}}],["338669",{"2":{"30":1}}],["33",{"2":{"25":1,"47":1,"48":2}}],["319803",{"2":{"83":1}}],["31044194430853883",{"2":{"80":1}}],["310753",{"2":{"30":1}}],["31179659785762176",{"2":{"80":1}}],["311448",{"2":{"13":1}}],["317665",{"2":{"83":1}}],["317199",{"2":{"78":1}}],["317813",{"2":{"68":2,"70":2,"72":6}}],["31628",{"2":{"78":1}}],["316833",{"2":{"30":3}}],["314906",{"2":{"76":1}}],["313",{"2":{"48":1}}],["313185",{"2":{"30":2}}],["312277",{"2":{"76":2}}],["312",{"2":{"48":1}}],["312976",{"2":{"47":1}}],["31",{"2":{"25":1,"47":1}}],["324073",{"2":{"76":1}}],["325413",{"2":{"49":2}}],["329029",{"2":{"76":1}}],["329",{"2":{"48":1}}],["328169",{"2":{"76":1}}],["328",{"2":{"48":1}}],["32806",{"2":{"29":1,"31":2}}],["321",{"2":{"48":1}}],["321923",{"2":{"28":1}}],["320737",{"2":{"76":1}}],["320",{"2":{"48":1}}],["327",{"2":{"33":1}}],["322612",{"2":{"30":1}}],["32669",{"2":{"26":1}}],["32",{"2":{"23":2,"25":1,"48":2}}],["382223",{"2":{"84":1}}],["38290995355378155",{"2":{"79":1}}],["3863063388395396",{"2":{"79":1}}],["389598",{"2":{"78":1}}],["381315",{"2":{"76":1}}],["381692",{"2":{"73":6}}],["384116",{"2":{"43":1}}],["385875",{"2":{"84":1}}],["3851065529408329",{"2":{"80":1}}],["385452",{"2":{"30":1}}],["385262",{"2":{"28":1}}],["38",{"2":{"23":3,"25":1}}],["3a",{"2":{"14":1}}],["3×2",{"2":{"73":1}}],["3×14",{"2":{"68":2,"70":2,"72":6}}],["3×5",{"2":{"19":2,"67":10}}],["3×5×12",{"2":{"0":1}}],["3×4×1",{"2":{"32":1}}],["3×4×5",{"2":{"32":1}}],["3×4",{"2":{"18":5}}],["3×3",{"2":{"13":3,"15":1,"33":1,"73":3}}],["302384",{"2":{"84":1}}],["3015920521232277",{"2":{"80":1}}],["307031",{"2":{"76":1}}],["307762",{"2":{"76":1}}],["30t22",{"2":{"49":1}}],["30t23",{"2":{"46":1,"47":2,"49":2}}],["30×17520",{"2":{"48":3}}],["305342",{"2":{"75":1}}],["305",{"2":{"48":1}}],["306932",{"2":{"28":3}}],["30923",{"2":{"26":1}}],["3047",{"2":{"74":1}}],["304688",{"2":{"26":1}}],["30427",{"2":{"26":1}}],["300304",{"2":{"76":1}}],["300",{"2":{"18":1}}],["30",{"2":{"13":1,"14":2,"15":4,"18":9,"25":1,"46":18,"47":2,"72":2,"75":1,"76":1}}],["354013",{"2":{"73":3}}],["354868",{"2":{"15":1}}],["353",{"2":{"48":1}}],["352",{"2":{"48":1}}],["352614",{"2":{"26":1}}],["3517350991207968",{"2":{"79":1}}],["35189",{"2":{"32":1}}],["351096",{"2":{"30":1}}],["350546",{"2":{"15":1}}],["35",{"2":{"13":1,"23":1,"25":1}}],["3950526238122817",{"2":{"79":1}}],["395053",{"2":{"78":1}}],["395523",{"2":{"43":1}}],["392071",{"2":{"78":1}}],["392848",{"2":{"28":1}}],["399",{"2":{"76":1}}],["399781",{"2":{"76":1}}],["397621",{"2":{"76":1}}],["397575",{"2":{"47":1}}],["39189449474581917",{"2":{"85":1}}],["391258",{"2":{"76":2}}],["391395",{"2":{"28":1}}],["390515",{"2":{"83":1}}],["390342",{"2":{"43":1}}],["390081",{"2":{"26":1}}],["396585",{"2":{"76":1}}],["396",{"2":{"33":1}}],["398776",{"2":{"25":3}}],["39",{"2":{"2":2,"3":1,"4":2,"15":1,"19":4,"20":1,"23":3,"24":1,"25":1,"30":2,"31":1,"33":1,"34":3,"46":2,"47":1,"48":1,"49":2,"60":6,"70":1,"71":1,"72":1,"74":1,"75":1,"76":1}}],["3",{"2":{"0":4,"1":3,"3":1,"4":7,"5":8,"13":3,"14":1,"15":12,"16":2,"17":6,"18":11,"19":6,"21":2,"23":9,"25":18,"26":2,"29":2,"30":10,"32":5,"33":12,"35":2,"43":7,"46":1,"47":10,"48":23,"49":3,"67":3,"68":5,"70":4,"72":10,"73":3,"74":2,"76":1,"78":1,"80":4,"83":3,"84":8,"85":2}}],["187648",{"2":{"76":1}}],["187495",{"2":{"25":2}}],["188707",{"2":{"76":1}}],["188864",{"2":{"30":1}}],["184738",{"2":{"75":1}}],["184813",{"2":{"30":1}}],["180188",{"2":{"84":1}}],["180915",{"2":{"76":1}}],["180",{"2":{"43":6}}],["18035",{"2":{"26":1}}],["18989",{"2":{"30":1}}],["18378",{"2":{"76":1}}],["183503",{"2":{"76":1}}],["183555",{"2":{"15":1}}],["183637",{"2":{"26":1}}],["18",{"2":{"25":1,"46":1,"76":6}}],["171519",{"2":{"84":1}}],["179953",{"2":{"76":1}}],["179889",{"2":{"49":1}}],["17520",{"2":{"46":8,"49":1}}],["17597",{"2":{"30":1}}],["17004",{"2":{"84":1}}],["170",{"2":{"43":6}}],["178846",{"2":{"78":1}}],["178022",{"2":{"43":1}}],["178902",{"2":{"28":1}}],["17715541586710937",{"2":{"79":2}}],["177857",{"2":{"43":1}}],["177423",{"2":{"26":1}}],["176197",{"2":{"28":1}}],["17673",{"2":{"26":1}}],["17645",{"2":{"26":1}}],["17",{"2":{"23":1,"25":1,"46":1,"47":1,"48":2}}],["143×23",{"2":{"76":1}}],["144269",{"2":{"73":3}}],["140",{"2":{"43":6,"72":6}}],["142957",{"2":{"30":1}}],["14203",{"2":{"25":2}}],["14",{"2":{"23":1,"25":1,"76":2,"78":1}}],["16861675953228428",{"2":{"79":1}}],["168617",{"2":{"78":1}}],["162784",{"2":{"76":1}}],["162919",{"2":{"26":1}}],["166221",{"2":{"76":1}}],["160",{"2":{"43":6}}],["167465",{"2":{"43":1}}],["169845",{"2":{"30":1}}],["16×16×3",{"2":{"16":1}}],["16",{"2":{"16":2,"23":2,"25":1,"46":1,"47":1,"48":4,"76":3}}],["139173",{"2":{"76":1}}],["130122",{"2":{"84":1}}],["130942",{"2":{"78":1}}],["130",{"2":{"43":6,"72":2}}],["130775",{"2":{"23":1}}],["136127",{"2":{"30":1}}],["136551",{"2":{"15":1}}],["134186",{"2":{"26":1}}],["13",{"2":{"25":1,"74":2,"76":1}}],["131798",{"2":{"15":1}}],["1a",{"2":{"14":1}}],["1u",{"2":{"5":2}}],["19219227965820063",{"2":{"85":1}}],["192192",{"2":{"84":2}}],["192702",{"2":{"78":1}}],["192286",{"2":{"30":1}}],["19689",{"2":{"78":1}}],["196478",{"2":{"76":1}}],["196524",{"2":{"30":1}}],["193627",{"2":{"68":2,"70":2,"72":6}}],["19041",{"2":{"49":2}}],["190",{"2":{"43":7}}],["190726",{"2":{"30":1}}],["191049",{"2":{"30":1}}],["191×20×30",{"2":{"17":1}}],["191×20×31",{"2":{"17":2}}],["191×20×32",{"2":{"17":1}}],["191×20×28",{"2":{"17":1}}],["194465",{"2":{"28":3}}],["1999",{"2":{"26":1}}],["1998",{"2":{"26":1}}],["19",{"2":{"5":5,"25":1,"33":1,"46":1,"76":3}}],["1×3",{"2":{"73":2}}],["1×2",{"2":{"5":3}}],["1×12",{"2":{"0":1}}],["1532608102742886e",{"2":{"80":1}}],["15388",{"2":{"28":1}}],["154653",{"2":{"76":1}}],["15489",{"2":{"25":2}}],["152068",{"2":{"76":1}}],["155826",{"2":{"30":1}}],["159092",{"2":{"68":2,"70":2,"72":6}}],["159233",{"2":{"30":1}}],["159817",{"2":{"30":1}}],["15163",{"2":{"29":1,"31":2}}],["15055904027841316",{"2":{"79":10,"80":2}}],["150559",{"2":{"78":1}}],["15004",{"2":{"25":2}}],["150155",{"2":{"15":1}}],["150",{"2":{"13":3,"43":6}}],["15",{"2":{"5":3,"23":2,"25":1,"46":1}}],["11115487324489237",{"2":{"79":1}}],["111072",{"2":{"28":3}}],["114532",{"2":{"73":4}}],["11475",{"2":{"32":1}}],["11×17520",{"2":{"48":1}}],["110489",{"2":{"83":1}}],["110",{"2":{"43":7}}],["118",{"2":{"33":1}}],["119937",{"2":{"30":2}}],["119505",{"2":{"28":3}}],["113556",{"2":{"84":1}}],["1133609324748911",{"2":{"79":1}}],["113361",{"2":{"78":1}}],["113873",{"2":{"29":1,"31":2}}],["113704",{"2":{"28":2}}],["11787",{"2":{"76":1}}],["117",{"2":{"23":3}}],["112606",{"2":{"43":1}}],["112",{"2":{"23":2}}],["11",{"2":{"0":1,"4":1,"15":2,"17":6,"23":4,"25":8,"43":1,"47":6,"74":1,"76":4}}],["127621",{"2":{"76":1}}],["127082",{"2":{"73":4}}],["1279",{"2":{"25":3}}],["121186",{"2":{"29":1,"31":2}}],["121375",{"2":{"29":1,"31":2}}],["121525",{"2":{"28":3}}],["126976",{"2":{"28":1}}],["12435",{"2":{"32":1}}],["124594",{"2":{"28":2}}],["12404",{"2":{"25":2}}],["12×100×25",{"2":{"25":2}}],["12×2",{"2":{"17":1}}],["129382",{"2":{"25":3}}],["125626",{"2":{"76":1}}],["125",{"2":{"23":2,"33":1}}],["125287",{"2":{"15":1}}],["1229",{"2":{"47":1}}],["122",{"2":{"23":2}}],["1201",{"2":{"47":1}}],["120",{"2":{"23":4,"43":7,"72":2}}],["123",{"2":{"13":1}}],["12",{"2":{"0":9,"4":1,"13":3,"14":1,"17":10,"18":1,"25":23,"33":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":32,"14":3,"15":21,"16":241,"17":19,"18":16,"19":5,"21":2,"23":12,"25":52,"26":52,"28":101,"29":1,"30":4,"31":1,"32":6,"33":13,"35":10,"43":44,"44":28,"46":73,"47":46,"48":91,"49":30,"60":1,"68":9,"70":12,"71":2,"72":18,"73":98,"74":7,"76":51,"77":7,"78":24,"79":1,"80":76,"81":1,"83":14,"84":42,"85":10}}],["10363647991272806",{"2":{"79":1}}],["10276733254788795",{"2":{"85":1}}],["102767",{"2":{"84":2}}],["10233",{"2":{"30":1}}],["10246",{"2":{"25":2}}],["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":{"30":1}}],["10×7×5",{"2":{"30":1}}],["108968",{"2":{"28":1}}],["108514",{"2":{"28":3}}],["104867",{"2":{"28":1}}],["10415",{"2":{"25":2}}],["10914",{"2":{"32":1}}],["109",{"2":{"23":1}}],["10723267004015569",{"2":{"85":1}}],["107233",{"2":{"84":2}}],["107427",{"2":{"49":1}}],["1076",{"2":{"26":1}}],["107",{"2":{"23":1}}],["10547438260234843",{"2":{"79":1}}],["105474",{"2":{"78":1}}],["105539",{"2":{"30":1}}],["105",{"2":{"23":1}}],["106544",{"2":{"78":1}}],["106593",{"2":{"23":1}}],["106472",{"2":{"43":1}}],["106904",{"2":{"43":1}}],["106224",{"2":{"28":1}}],["106",{"2":{"23":1,"33":2}}],["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":{"23":2}}],["10u",{"2":{"5":1}}],["100×28",{"2":{"84":1}}],["100×25×12",{"2":{"25":3}}],["1000×2000",{"2":{"26":1}}],["1000",{"2":{"26":3,"33":2}}],["10000",{"2":{"21":1,"33":2}}],["100u",{"2":{"5":2}}],["100",{"2":{"0":1,"3":1,"4":3,"13":10,"18":8,"25":14,"43":26,"44":14,"49":1,"61":1,"63":1,"74":2,"84":1}}],["10",{"2":{"0":7,"1":9,"3":6,"4":5,"5":19,"13":15,"14":5,"15":4,"17":2,"18":34,"23":6,"25":8,"28":10,"30":1,"42":9,"43":47,"44":28,"47":2,"60":1,"61":2,"63":2,"70":2,"72":10,"74":7,"75":5,"76":14,"77":7,"78":21,"79":1,"80":61,"83":10,"84":34,"85":10}}],["2834645880044695",{"2":{"80":1}}],["2868262581079416",{"2":{"79":2}}],["287284213573217",{"2":{"79":2}}],["287284",{"2":{"78":1}}],["287739",{"2":{"30":1}}],["281077",{"2":{"30":1}}],["284399",{"2":{"30":1}}],["28405",{"2":{"26":1}}],["285205",{"2":{"30":1}}],["285965",{"2":{"26":1}}],["280686",{"2":{"28":1}}],["289335",{"2":{"28":3}}],["28",{"2":{"25":1,"47":1,"76":2,"80":3}}],["275783886021123",{"2":{"79":1}}],["275784",{"2":{"78":1}}],["277507",{"2":{"78":1}}],["27736",{"2":{"75":1}}],["27236",{"2":{"76":1}}],["272731",{"2":{"49":1}}],["274713",{"2":{"43":1}}],["273986",{"2":{"28":1}}],["273573",{"2":{"28":2}}],["27042",{"2":{"25":2}}],["27",{"2":{"25":1,"33":1}}],["2601",{"2":{"85":1}}],["2600×5",{"2":{"84":1}}],["2600×4",{"2":{"84":2}}],["2600",{"2":{"84":3}}],["2674330482715843",{"2":{"85":1}}],["267433",{"2":{"84":2}}],["267693",{"2":{"76":1}}],["26×11",{"2":{"76":1}}],["268379",{"2":{"30":1}}],["264242",{"2":{"28":1}}],["261741",{"2":{"28":1}}],["26917",{"2":{"26":1}}],["26",{"2":{"23":2,"25":1}}],["290933",{"2":{"84":1}}],["29448593792551514",{"2":{"85":1}}],["294486",{"2":{"84":2}}],["294489",{"2":{"76":1}}],["29488",{"2":{"76":1}}],["292495",{"2":{"84":1}}],["292431",{"2":{"43":1}}],["29205",{"2":{"76":1}}],["298791",{"2":{"76":2}}],["298728",{"2":{"68":2,"70":2,"72":6}}],["298029",{"2":{"75":1}}],["298383",{"2":{"26":1}}],["299692",{"2":{"47":1}}],["299799",{"2":{"28":1}}],["29325",{"2":{"32":1}}],["295346",{"2":{"30":1}}],["29",{"2":{"23":2,"25":1,"47":2,"76":2,"80":3}}],["297023",{"2":{"15":1}}],["240351",{"2":{"83":1}}],["249439",{"2":{"78":1}}],["249616",{"2":{"28":2}}],["244582",{"2":{"76":1}}],["2415",{"2":{"47":1}}],["2423",{"2":{"47":1}}],["24247",{"2":{"25":2}}],["243842",{"2":{"49":2}}],["2433",{"2":{"47":1}}],["2436",{"2":{"47":1}}],["243035",{"2":{"30":1}}],["245564",{"2":{"83":1}}],["245",{"2":{"73":2}}],["245499",{"2":{"43":1}}],["24575",{"2":{"26":1}}],["247032",{"2":{"68":2,"70":2,"72":6}}],["247755",{"2":{"30":1}}],["247198",{"2":{"28":1}}],["24",{"2":{"17":1,"25":4,"46":1,"47":2,"48":2}}],["22237128922242078",{"2":{"85":1}}],["222371",{"2":{"84":2}}],["222681",{"2":{"28":1}}],["227811",{"2":{"84":1}}],["2276004407628871",{"2":{"85":1}}],["2276",{"2":{"84":2}}],["227142",{"2":{"84":1}}],["227455",{"2":{"28":1}}],["224351",{"2":{"83":1}}],["224375",{"2":{"26":1}}],["220699",{"2":{"78":1}}],["228081",{"2":{"76":1}}],["228294",{"2":{"30":1}}],["229792",{"2":{"76":1}}],["229418",{"2":{"76":1}}],["226064",{"2":{"75":1}}],["2237e",{"2":{"47":1}}],["2236016853688918",{"2":{"28":1}}],["223602",{"2":{"28":2}}],["22",{"2":{"15":2,"25":1,"46":1,"47":2,"84":1}}],["2a",{"2":{"14":1}}],["21066413424755615",{"2":{"85":1}}],["210417",{"2":{"84":1}}],["21035e",{"2":{"47":1}}],["215681",{"2":{"83":1}}],["215049",{"2":{"26":1}}],["21921",{"2":{"76":1}}],["216905",{"2":{"76":2}}],["216",{"2":{"33":1}}],["21149",{"2":{"29":1,"31":2}}],["217733",{"2":{"28":3}}],["218579",{"2":{"15":1}}],["21",{"2":{"5":4,"15":2,"23":1,"25":1,"46":1,"47":1,"74":1}}],["2599",{"2":{"84":3}}],["2598",{"2":{"84":3}}],["2597",{"2":{"84":3}}],["2596",{"2":{"84":3}}],["2595",{"2":{"84":3}}],["2594",{"2":{"84":3}}],["257433",{"2":{"78":1}}],["258165",{"2":{"83":1}}],["2585",{"2":{"84":3}}],["25853",{"2":{"78":1}}],["258576",{"2":{"30":1}}],["25825",{"2":{"48":4}}],["254627",{"2":{"30":1}}],["254555",{"2":{"28":2}}],["253984",{"2":{"29":1,"31":2}}],["253849",{"2":{"13":2,"15":1}}],["25",{"2":{"5":2,"25":11,"48":2,"73":2}}],["23350386812772128",{"2":{"85":1}}],["233504",{"2":{"84":2}}],["233468",{"2":{"83":1}}],["231047",{"2":{"83":1}}],["232648",{"2":{"76":1}}],["238831",{"2":{"76":1}}],["239921",{"2":{"75":1}}],["2396",{"2":{"47":1}}],["23788",{"2":{"26":1}}],["23",{"2":{"5":1,"23":2,"25":4,"46":2,"47":2}}],["204906",{"2":{"83":1}}],["202238",{"2":{"84":1}}],["20258969376355607",{"2":{"79":1}}],["2021",{"2":{"0":25}}],["205861",{"2":{"76":1}}],["203",{"2":{"76":2}}],["206886",{"2":{"76":1}}],["206406",{"2":{"32":1}}],["201",{"2":{"73":1}}],["201362",{"2":{"29":1,"31":2}}],["207662",{"2":{"84":1}}],["207789",{"2":{"83":1}}],["20779",{"2":{"26":1}}],["207482",{"2":{"49":2}}],["208304",{"2":{"76":1}}],["208384",{"2":{"28":1}}],["208271",{"2":{"68":2,"70":2,"72":6}}],["208542",{"2":{"28":1}}],["2005",{"2":{"74":1}}],["2003",{"2":{"17":1}}],["2000",{"2":{"17":1,"25":84,"26":3,"46":32,"47":21,"49":16,"74":18}}],["2001",{"2":{"13":4,"46":28,"47":17,"49":3}}],["200",{"2":{"5":1,"13":9,"43":26,"44":14}}],["20",{"2":{"4":4,"5":18,"13":3,"17":2,"18":12,"25":1,"46":1,"72":2,"75":1,"76":8,"79":1}}],["2×3",{"2":{"73":3}}],["2×3×2",{"2":{"1":1,"13":1}}],["2×10×3",{"2":{"23":2}}],["2×2",{"2":{"15":2,"73":1}}],["2×4",{"2":{"5":1,"13":4}}],["2×4×2",{"2":{"3":1}}],["2",{"2":{"0":10,"1":4,"3":3,"4":3,"5":14,"8":3,"13":16,"14":1,"15":10,"17":9,"18":8,"19":4,"21":2,"23":6,"25":25,"26":5,"28":12,"29":1,"30":8,"31":2,"32":6,"33":3,"35":2,"43":8,"46":2,"47":20,"48":24,"49":6,"67":2,"68":4,"70":6,"71":3,"72":11,"73":62,"74":2,"75":1,"76":21,"78":2,"79":2,"80":6,"83":2,"84":8,"85":2}}],["==",{"2":{"18":1,"30":1,"49":1}}],["=>",{"2":{"1":10,"2":10,"3":15,"4":22,"11":6,"13":29,"17":4,"18":29,"20":2,"47":7,"48":18,"49":2,"68":1,"70":6,"72":7,"73":1,"84":1}}],["=",{"2":{"0":15,"1":4,"3":4,"4":10,"5":11,"13":7,"14":9,"15":4,"16":1,"17":7,"18":13,"19":2,"21":1,"23":7,"25":5,"26":3,"28":3,"29":1,"30":2,"32":1,"33":1,"43":7,"46":3,"47":2,"48":1,"49":2,"61":1,"63":1,"67":3,"68":1,"70":3,"71":8,"73":2,"74":7,"75":1,"76":3,"77":2,"78":4,"79":84,"80":37,"81":8,"83":4}}],["few",{"2":{"70":2}}],["feb",{"2":{"48":6,"74":1}}],["fact",{"2":{"77":1}}],["facing",{"2":{"34":1}}],["facilitate",{"2":{"11":2,"74":1}}],["fails",{"2":{"25":1}}],["fail",{"2":{"24":1}}],["favours",{"2":{"61":1}}],["favour",{"2":{"18":1}}],["fallback",{"2":{"11":1}}],["falls",{"2":{"5":2,"73":1}}],["fall",{"2":{"5":2}}],["falses",{"2":{"67":1}}],["false",{"2":{"1":1,"3":5,"11":1,"13":1,"17":2,"18":1,"24":1,"44":28}}],["far",{"2":{"4":1}}],["fast",{"2":{"4":1,"74":1,"81":1}}],["fri",{"2":{"74":2}}],["friendly",{"2":{"27":1}}],["frequency",{"2":{"33":2}}],["freely",{"2":{"15":1}}],["freeunits",{"2":{"5":1}}],["free",{"2":{"3":1,"30":1}}],["fraction",{"2":{"17":1}}],["from",{"2":{"0":3,"1":1,"2":1,"3":3,"4":10,"5":3,"8":1,"13":3,"14":3,"15":1,"16":1,"17":6,"18":1,"19":5,"21":13,"25":1,"30":1,"35":1,"36":1,"37":1,"38":1,"41":1,"42":10,"43":7,"51":1,"70":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,"18":1,"21":1,"65":1}}],["full",{"2":{"3":1,"4":3}}],["functionality",{"2":{"52":1}}],["functional",{"2":{"27":1}}],["functions",{"0":{"46":1,"80":1},"2":{"13":1,"17":2,"27":1,"32":1,"46":2,"60":1,"61":1,"70":1,"80":2}}],["function",{"2":{"3":1,"4":2,"5":2,"17":12,"18":2,"40":1,"45":2,"46":2,"47":2,"48":4,"49":1,"73":1,"74":1}}],["foo",{"2":{"70":3}}],["follow",{"2":{"46":1,"60":1}}],["following",{"2":{"22":1}}],["four",{"2":{"17":2}}],["found",{"2":{"3":1,"7":1,"18":3,"31":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,"13":2}}],["forwardordered",{"2":{"0":6,"3":1,"4":6,"5":8,"7":3,"13":8,"15":6,"17":4,"18":10,"19":1,"23":6,"25":20,"26":2,"43":15,"44":14,"47":9,"48":7,"49":5,"68":1,"70":4,"72":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,"13":17,"14":10,"15":5,"16":3,"17":12,"18":8,"19":4,"20":3,"21":5,"24":1,"25":1,"27":1,"28":2,"29":1,"30":1,"35":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,"65":1,"67":1,"73":1,"74":1,"75":6,"77":2,"78":1,"79":2,"82":2,"84":3}}],["flexible",{"2":{"40":1}}],["float32",{"2":{"26":4}}],["float64",{"2":{"0":3,"1":1,"3":1,"4":1,"5":1,"13":9,"15":7,"16":1,"17":3,"18":13,"19":2,"23":1,"25":7,"26":2,"28":12,"29":2,"30":4,"31":2,"32":2,"33":1,"43":18,"44":14,"47":9,"48":18,"49":5,"68":4,"70":4,"72":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":{"18":1}}],["fixed",{"2":{"8":1}}],["field",{"2":{"11":1,"13":1,"18":5,"40":1,"72":1}}],["fields",{"2":{"2":1,"3":1,"4":1,"6":1,"18":5,"21":1,"27":2,"40":3,"41":1}}],["firstindex",{"2":{"32":1}}],["first",{"2":{"3":3,"14":8,"19":1,"22":1,"23":1,"31":1,"43":2,"46":1,"48":1,"73":2}}],["filter",{"2":{"43":1,"44":1}}],["filters",{"2":{"5":1,"73":1}}],["fill",{"2":{"13":4,"18":2,"28":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":5,"15":3,"17":11,"18":11,"23":1,"63":1,"73":1,"84":1}}],["gc",{"2":{"33":6}}],["goals",{"0":{"27":1},"2":{"27":1}}],["good",{"2":{"14":1}}],["globally",{"2":{"24":1}}],["global",{"0":{"19":1},"1":{"20":1,"21":1},"2":{"19":2}}],["gpus",{"0":{"26":1},"1":{"27":1},"2":{"20":1,"26":1,"57":1}}],["gpu",{"0":{"27":1},"2":{"18":2,"26":4,"27":7,"67":1}}],["gribdatasets",{"2":{"34":1}}],["grid",{"2":{"4":1}}],["gridded",{"2":{"4":1}}],["groupmeans",{"2":{"17":2}}],["grouped",{"2":{"17":1,"49":1}}],["groups",{"2":{"17":12,"47":2,"48":4}}],["groupings",{"2":{"46":1}}],["groupingfunction",{"2":{"17":2}}],["grouping",{"0":{"46":1,"47":1},"2":{"17":9,"45":4,"48":2,"49":1}}],["groupby",{"2":{"17":13,"45":1,"47":13,"48":21,"49":4}}],["group",{"0":{"17":1,"45":1},"1":{"46":1,"47":1,"48":1,"49":1},"2":{"17":9,"46":1,"47":3,"48":13,"49":2}}],["gis",{"2":{"51":2}}],["giving",{"2":{"5":1}}],["given",{"2":{"18":1,"82":1}}],["give",{"2":{"3":1,"4":1,"5":1,"13":1,"28":1,"78":1}}],["gives",{"2":{"0":1,"14":2,"72":1}}],["github",{"2":{"4":1,"72":1}}],["guide",{"2":{"45":1}}],["guarantee",{"2":{"11":1}}],["guaranteed",{"2":{"3":1,"13":1}}],["guessed",{"2":{"2":1,"8":2}}],["guess",{"2":{"0":1,"46":1}}],["gt",{"2":{"1":2,"3":3,"5":1,"13":2,"17":1,"18":2}}],["g",{"2":{"0":1,"3":1,"4":2,"5":1,"13":1,"17":1,"23":1,"36":1,"63":1,"67":1,"71":1,"84":1}}],["geotiff",{"2":{"10":1}}],["geospatial",{"2":{"4":3,"51":1}}],["gets",{"2":{"73":4}}],["getting",{"2":{"13":1,"48":1}}],["getters",{"0":{"43":1},"1":{"44":1}}],["getter",{"2":{"4":1}}],["get",{"2":{"1":3,"2":1,"3":1,"11":3,"13":4,"16":1,"21":1,"29":1,"43":7,"74":1,"79":1}}],["getindex",{"2":{"0":1,"3":2,"14":3,"15":1,"21":2,"31":1,"42":2}}],["generator",{"2":{"19":4}}],["generators",{"0":{"15":1},"2":{"34":1}}],["generates",{"2":{"17":7}}],["generate",{"2":{"3":1,"17":2,"21":1}}],["generated",{"2":{"3":1,"16":1,"40":1}}],["general",{"2":{"11":1}}],["generally",{"2":{"0":1}}],["generic",{"2":{"0":1,"4":1,"71":1}}],["p",{"2":{"84":1}}],["python",{"2":{"34":1}}],["pkg",{"2":{"22":2}}],["pkg>",{"2":{"22":2}}],["permafrost",{"2":{"56":1}}],["permutation",{"2":{"80":1}}],["permuting",{"2":{"18":2}}],["permute",{"2":{"18":1,"24":1,"61":1}}],["permuteddimsarray",{"2":{"80":2}}],["permutedims",{"2":{"32":1,"80":3}}],["permuted",{"2":{"18":1}}],["periods",{"2":{"17":3}}],["perform",{"2":{"32":1}}],["performed",{"2":{"4":1}}],["performance",{"0":{"33":1,"81":1},"2":{"4":3,"14":1,"51":1}}],["put",{"2":{"11":1}}],["pixels",{"2":{"5":1}}],["powerful",{"2":{"55":1,"67":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,"18":1,"26":1,"32":1,"60":1,"72":1}}],["point",{"2":{"0":1,"4":2,"5":1,"9":1,"15":1,"74":1}}],["points",{"2":{"0":6,"4":7,"5":12,"8":2,"9":4,"13":5,"15":5,"17":4,"18":9,"19":1,"23":4,"25":20,"26":2,"43":32,"44":28,"47":9,"48":4,"49":5,"68":2,"70":2,"72":4,"73":9,"74":1,"75":4,"76":10,"77":2,"78":15,"79":1,"80":49,"83":4,"84":2}}],["planned",{"2":{"65":1}}],["plasma",{"2":{"64":2}}],["places",{"2":{"61":2}}],["place",{"2":{"27":1,"66":1}}],["placed",{"2":{"18":1}}],["please",{"2":{"4":1}}],["plus",{"2":{"4":1}}],["plots",{"0":{"60":1,"62":1},"1":{"63":1,"64":1,"65":1},"2":{"0":1,"3":1,"11":1,"13":2,"60":2,"61":1,"65":1}}],["plotted",{"2":{"0":1,"4":1,"7":1,"9":1,"10":1}}],["plotting",{"2":{"0":1}}],["plot",{"2":{"0":3,"2":2,"60":2,"61":2}}],["printing",{"2":{"74":1}}],["principles",{"2":{"46":1}}],["prior",{"2":{"18":1}}],["primarily",{"2":{"3":1}}],["primitives",{"2":{"31":2}}],["primitive",{"0":{"3":1}}],["process",{"2":{"57":1,"71":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,"19":2,"74":1}}],["projected",{"2":{"36":1,"51":1}}],["prod",{"2":{"32":1,"80":2}}],["probably",{"2":{"20":1,"46":1}}],["problems",{"2":{"4":1}}],["property",{"2":{"20":1}}],["properties",{"2":{"2":2,"18":1,"25":1,"41":1,"74":1,"75":2}}],["programmatically",{"2":{"13":1}}],["predicates",{"0":{"44":1},"2":{"44":1}}],["predefined",{"2":{"35":1}}],["pressed",{"2":{"22":1}}],["preserved",{"2":{"18":1}}],["present",{"2":{"5":1,"15":1,"34":1}}],["prefereble",{"2":{"17":1}}],["previously",{"2":{"18":1}}],["previous",{"2":{"3":1,"5":1}}],["precedence",{"2":{"0":1}}],["paaarnet",{"2":{"21":3,"42":3}}],["padding",{"2":{"48":1}}],["pad",{"2":{"17":5}}],["past",{"2":{"13":1}}],["pass",{"2":{"11":1,"14":1,"18":3,"21":2,"41":1,"48":1,"72":1}}],["passing",{"2":{"3":2,"4":1,"17":1,"18":1,"25":1}}],["passed",{"2":{"0":1,"2":1,"3":5,"5":3,"15":1,"18":6,"19":1,"21":1,"27":1,"40":1,"73":2}}],["partly",{"2":{"76":1}}],["part",{"2":{"21":1,"72":1}}],["parentheses",{"2":{"18":1}}],["parent",{"2":{"13":1,"18":5,"19":4,"21":13,"24":1,"26":2,"27":1,"33":2,"41":1,"42":9,"67":5,"81":1}}],["parameters",{"2":{"3":1}}],["parameter",{"2":{"0":1,"11":1}}],["pair",{"2":{"11":1,"17":1,"18":4}}],["pairs",{"2":{"11":1,"17":1,"18":8}}],["packages",{"2":{"34":2,"36":1,"46":1,"60":1,"82":1}}],["package",{"2":{"4":1,"17":1,"22":1,"23":1,"52":1,"54":1,"55":1}}],["d=rand",{"2":{"77":1}}],["dynamicgrids",{"0":{"57":1},"2":{"27":1,"57":2}}],["dropdims",{"2":{"32":1,"80":1}}],["dropped",{"2":{"21":2,"42":2}}],["drop=true",{"2":{"19":3}}],["dd",{"2":{"5":3,"18":3,"35":1,"39":2,"46":1,"61":1,"71":2,"72":1,"82":1}}],["da4",{"2":{"33":1}}],["da5",{"2":{"32":2}}],["das",{"2":{"21":1}}],["daily",{"2":{"17":1}}],["dayofyear",{"2":{"46":2,"48":3}}],["dayofweek",{"2":{"46":1}}],["day",{"2":{"17":3,"46":2,"48":4}}],["days",{"2":{"4":1,"48":1}}],["da3",{"2":{"14":2}}],["da2",{"2":{"14":2,"18":7,"30":5}}],["da1",{"2":{"14":2,"18":7,"29":2,"30":1,"31":2}}],["da",{"2":{"4":2,"18":10,"28":2,"30":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":1,"54":1}}],["datasets",{"0":{"14":1},"2":{"4":1,"36":1,"52":1}}],["dataapi",{"2":{"17":1}}],["data=autovalues",{"2":{"4":1}}],["data",{"2":{"0":2,"1":1,"2":1,"4":17,"11":1,"13":5,"14":6,"16":1,"17":2,"18":6,"19":2,"21":3,"23":2,"25":8,"26":2,"27":2,"34":1,"35":1,"40":2,"48":1,"51":2,"52":1,"53":1,"56":1,"57":1,"59":1,"67":1,"70":3,"82":1,"83":2,"84":2,"85":1}}],["date",{"2":{"4":2,"74":1}}],["datetime",{"2":{"0":13,"5":1,"13":4,"17":2,"25":42,"46":5,"47":3,"49":11,"74":10,"75":1}}],["dates",{"2":{"0":15,"4":2,"13":1,"17":1,"25":52,"46":4,"47":4,"49":12,"74":9,"83":1}}],["d",{"0":{"24":1},"1":{"25":1},"2":{"3":2,"4":2,"15":1,"18":12,"23":1,"24":2,"25":6,"63":1,"70":2,"75":3,"77":1,"78":6,"79":23,"80":28,"81":2,"84":2}}],["dsl",{"2":{"55":1}}],["dst",{"2":{"19":6}}],["ds",{"2":{"3":1,"4":2,"18":2,"19":2}}],["docs",{"2":{"42":2}}],["documented",{"2":{"19":1}}],["dot",{"2":{"24":1}}],["dotview",{"2":{"3":1}}],["doing",{"2":{"15":1,"19":1,"48":1,"70":1,"76":1}}],["do",{"2":{"4":2,"11":1,"17":1,"18":3,"22":1,"32":1,"48":1,"68":1,"72":2}}],["doesn",{"2":{"15":1,"30":1,"31":1,"71":1}}],["does",{"2":{"4":1,"18":1,"24":1,"40":1,"46":1,"48":1,"78":1,"80":1,"82":1}}],["done",{"2":{"13":1,"18":1,"82":1}}],["don",{"2":{"2":1,"4":1,"19":4,"30":1,"70":1,"72":1}}],["direct",{"2":{"34":1}}],["directly",{"2":{"15":1,"33":1,"34":1,"48":1,"81":1,"85":1}}],["difficult",{"2":{"27":1}}],["different",{"0":{"64":1},"2":{"3":1,"5":3,"10":1,"11":1,"18":1,"43":1}}],["divide",{"2":{"17":1}}],["di",{"2":{"15":2}}],["dicts",{"2":{"66":1}}],["dictionaries",{"2":{"27":1}}],["dict",{"2":{"4":4,"11":3,"13":1,"17":3,"18":1,"28":5,"47":7,"48":11,"49":2,"70":2}}],["dictates",{"2":{"2":1}}],["discrete",{"2":{"48":1}}],["discarded",{"2":{"5":1,"13":1}}],["distinguishing",{"2":{"43":1}}],["distance",{"2":{"4":2,"5":1}}],["disk",{"2":{"34":1}}],["diskarrays",{"0":{"34":1},"2":{"17":1,"34":2,"52":1}}],["dispatch",{"2":{"0":1,"11":1}}],["dimmatrix",{"2":{"61":1}}],["dimunitrange",{"2":{"25":2}}],["dimvector",{"2":{"19":1}}],["dimgroupbyarray",{"2":{"17":6,"47":1,"48":8,"49":1}}],["dimname",{"2":{"17":1}}],["dimnum",{"2":{"1":4,"13":4,"39":1}}],["dimcolumn",{"2":{"16":1}}],["dimtype",{"2":{"17":1}}],["dimtable",{"2":{"16":4,"84":4}}],["dimtuple",{"2":{"14":1,"43":4}}],["dimpoints",{"2":{"15":4}}],["dimindices",{"2":{"15":9,"30":2,"38":1,"76":1}}],["dimz",{"2":{"5":2,"14":4}}],["dimselector",{"0":{"76":1}}],["dimselectors",{"2":{"15":7,"76":3}}],["dimsmatch",{"2":{"3":2}}],["dimstoreduce",{"2":{"3":1}}],["dimstacks",{"0":{"77":1},"1":{"78":1,"79":1,"80":1,"81":1},"2":{"24":1}}],["dimstackinterface",{"2":{"21":2,"42":6}}],["dimstack",{"2":{"2":1,"14":19,"18":1,"19":2,"24":1,"42":7,"43":1,"67":2,"77":3,"78":11,"79":2,"80":25,"82":1,"83":2,"84":2,"85":2}}],["dims2indices",{"2":{"2":1}}],["dims=",{"2":{"18":3,"19":1,"25":4}}],["dims=ti",{"2":{"0":1,"14":2,"17":1,"19":1,"32":1}}],["dims=z",{"2":{"0":1}}],["dims=y",{"2":{"0":1,"18":1,"80":11}}],["dims=x",{"2":{"0":1}}],["dims",{"0":{"24":1,"32":1,"37":1,"39":1},"1":{"25":1,"38":1,"39":1},"2":{"0":4,"1":11,"2":8,"3":13,"4":18,"5":6,"11":2,"13":42,"14":3,"15":14,"16":1,"17":9,"18":33,"19":13,"21":26,"23":3,"24":3,"25":10,"26":1,"28":11,"29":3,"30":5,"31":4,"32":4,"33":1,"35":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,"67":5,"68":2,"70":4,"72":6,"73":15,"74":1,"75":1,"76":5,"77":5,"78":30,"79":5,"80":114,"83":4,"84":27}}],["dimarrays",{"0":{"28":1},"1":{"29":1,"30":1,"31":1,"32":1,"33":1},"2":{"28":1}}],["dimarrayinterface",{"2":{"21":2,"42":6}}],["dimarray",{"0":{"29":1},"2":{"0":4,"1":5,"2":1,"3":2,"4":6,"5":11,"13":37,"14":11,"15":6,"16":2,"17":10,"18":10,"19":1,"23":7,"24":2,"25":11,"26":2,"27":1,"28":17,"29":4,"30":4,"31":2,"32":2,"33":1,"42":4,"43":7,"47":13,"48":39,"49":8,"56":1,"59":1,"67":3,"68":2,"70":2,"72":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,"13":7,"16":3,"18":16,"29":1,"32":1,"35":3,"38":1,"83":1}}],["dimensionmismatch",{"2":{"25":1,"78":1}}],["dimensionality",{"2":{"19":1}}],["dimensional",{"0":{"24":1,"30":1},"1":{"25":1},"2":{"0":1,"3":1,"14":1,"18":1,"21":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,"13":20,"14":3,"15":3,"16":4,"17":10,"18":20,"19":5,"20":3,"21":8,"22":3,"23":1,"25":3,"26":2,"27":3,"28":1,"31":6,"34":1,"35":3,"36":1,"37":1,"40":1,"41":2,"42":10,"43":3,"45":1,"46":2,"51":2,"52":1,"53":1,"61":1,"66":1,"67":1,"68":1,"70":1,"73":2,"74":1,"77":1,"82":1,"83":1}}],["dimension",{"0":{"15":1,"25":1,"29":1,"38":1,"49":1},"2":{"0":21,"1":27,"2":11,"3":32,"4":24,"5":3,"10":2,"11":2,"13":75,"14":3,"15":9,"16":7,"17":2,"18":33,"19":9,"21":4,"24":2,"25":2,"28":2,"30":3,"31":1,"32":3,"35":2,"38":1,"39":5,"40":1,"41":2,"42":2,"43":6,"45":1,"47":1,"49":2,"68":1,"69":1,"70":4,"72":1,"73":2,"74":2,"75":1,"77":1,"79":1,"80":1,"82":2,"84":2}}],["dimensions",{"0":{"0":1,"35":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,"13":25,"14":3,"15":5,"16":1,"17":3,"18":24,"19":9,"21":6,"24":2,"25":3,"28":1,"30":4,"31":4,"33":1,"35":8,"37":2,"38":1,"42":4,"43":3,"44":2,"49":2,"61":1,"69":2,"70":1,"73":1,"75":1,"77":1,"78":1,"79":1,"82":2,"83":1,"84":2}}],["during",{"2":{"0":1,"34":1,"57":1}}],["declarative",{"2":{"68":1}}],["dec",{"2":{"48":4,"74":1}}],["december",{"2":{"17":2}}],["demo",{"2":{"46":1}}],["developers",{"2":{"40":1,"52":1}}],["development",{"2":{"34":1,"60":1}}],["devicebuffer",{"2":{"26":1}}],["dest",{"2":{"18":4}}],["descriptive",{"2":{"17":1}}],["designed",{"2":{"34":1,"36":1}}],["design",{"2":{"14":2}}],["deprecated",{"2":{"18":1,"60":1}}],["depreciated",{"2":{"5":1}}],["dependencies",{"2":{"51":1}}],["dependency",{"2":{"34":1}}],["dependent",{"2":{"0":1}}],["dependentdim",{"2":{"0":4}}],["depending",{"2":{"1":1,"13":1}}],["detect",{"2":{"4":2,"13":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,"15":1}}],["details",{"2":{"0":1,"21":2,"35":1}}],["definition",{"2":{"21":2,"42":2}}],["defining",{"2":{"4":2}}],["defines",{"2":{"4":1,"8":1,"15":1,"18":1,"21":2,"42":3,"43":1,"55":1}}],["defined",{"2":{"3":1,"4":1,"14":1,"18":3,"35":1,"40":1,"47":1}}],["define",{"2":{"0":1,"3":1,"4":1,"9":1,"17":1,"25":1,"28":1,"43":1,"47":1,"75":1,"76":1,"83":1}}],["default",{"0":{"63":1},"2":{"0":1,"1":3,"3":11,"4":7,"10":1,"13":4,"15":2,"17":5,"20":1,"60":1,"61":1}}],["w",{"2":{"84":1}}],["would",{"2":{"15":2,"24":1,"43":1,"48":1}}],["works",{"2":{"4":1,"18":1,"24":2,"31":2,"48":2,"57":1,"78":2}}],["work",{"2":{"2":1,"4":4,"5":1,"10":2,"11":1,"13":1,"14":1,"17":1,"18":1,"19":1,"24":2,"27":3,"31":3,"35":1,"40":2,"46":1,"52":1,"60":1,"61":2,"71":1,"74":1,"80":1}}],["working",{"2":{"1":1,"14":2}}],["word",{"2":{"0":1}}],["want",{"2":{"19":4,"21":2,"22":1,"43":1,"48":2,"68":1,"72":2}}],["way",{"2":{"4":1,"18":1,"25":1,"40":1,"70":1,"72":1}}],["warning",{"2":{"3":1,"31":2,"70":1}}],["warn",{"2":{"3":1}}],["whose",{"2":{"18":3}}],["whole",{"2":{"5":2}}],["what",{"2":{"18":1,"43":2,"46":1,"48":1,"68":1,"70":1,"72":1}}],["whatever",{"2":{"15":1,"43":1}}],["which",{"2":{"3":1,"4":1,"17":1,"18":4,"19":1,"24":1,"32":1,"43":1,"51":1,"64":1,"73":3,"76":1}}],["whichever",{"2":{"3":1}}],["while",{"2":{"3":1,"11":1,"14":2,"15":1}}],["wherever",{"2":{"19":1,"48":1}}],["where",{"2":{"3":4,"4":9,"5":7,"7":1,"8":2,"9":1,"10":2,"11":1,"14":1,"18":4,"32":1,"43":1,"48":1,"67":1,"70":1,"73":4,"75":1}}],["whether",{"2":{"1":1,"13":1}}],["whenever",{"2":{"27":1}}],["when",{"2":{"0":5,"2":1,"4":6,"5":2,"11":1,"14":2,"15":1,"17":3,"18":1,"19":3,"20":1,"27":1,"30":1,"31":1,"38":1,"41":1,"48":1,"74":1,"75":1,"78":1}}],["write",{"2":{"85":2}}],["written",{"2":{"18":1}}],["writing",{"2":{"3":1,"18":1}}],["wraps",{"2":{"38":1}}],["wrapping",{"2":{"3":1,"4":1,"43":5,"52":1,"74":4}}],["wrapper",{"2":{"4":4,"11":1,"17":1,"18":2,"19":4,"20":2,"35":1,"48":1,"70":1}}],["wrappers",{"2":{"0":2,"4":1,"5":1,"11":2,"20":1,"28":2,"30":1,"67":1}}],["wrapped",{"2":{"3":2,"17":1,"18":1,"35":1,"71":1}}],["wrap",{"2":{"0":2,"17":3,"35":3,"74":1}}],["weds",{"2":{"74":2}}],["were",{"2":{"31":2}}],["well",{"2":{"16":1,"30":1,"73":1}}],["weeks",{"2":{"4":1}}],["week",{"2":{"4":1}}],["we",{"2":{"0":1,"4":3,"5":1,"14":1,"15":2,"17":2,"18":2,"19":8,"24":3,"25":1,"28":2,"29":1,"30":2,"35":1,"42":2,"43":1,"46":1,"47":3,"48":13,"49":2,"52":1,"68":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,"15":1,"73":3}}],["without",{"2":{"3":1,"4":2,"11":1,"14":1,"18":2,"30":1,"40":1,"67":1,"71":1,"74":1,"79":1}}],["with",{"0":{"24":1,"29":1,"65":1},"1":{"25":1},"2":{"0":3,"1":5,"2":2,"3":10,"4":13,"5":10,"7":1,"8":1,"10":8,"11":1,"13":12,"14":8,"15":7,"16":1,"17":7,"18":14,"19":6,"21":3,"22":1,"24":5,"25":2,"26":1,"27":1,"28":1,"29":1,"30":3,"31":2,"32":1,"33":3,"35":5,"38":1,"40":2,"42":2,"43":1,"44":1,"45":3,"47":8,"48":11,"49":3,"52":2,"53":1,"60":2,"61":1,"67":2,"69":1,"70":5,"71":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,"13":10,"14":7,"16":1,"17":5,"18":15,"19":1,"30":2,"39":2,"40":2,"43":1,"46":2,"60":1,"61":3,"70":1,"71":1,"73":1,"74":2,"80":1,"84":2}}],["btime",{"2":{"81":2}}],["b=rand",{"2":{"77":1}}],["b=falses",{"2":{"67":1}}],["b=1",{"2":{"23":1,"29":1}}],["blue",{"2":{"64":1,"65":1}}],["block",{"2":{"21":1}}],["blocks",{"2":{"21":1,"48":2}}],["blockwidth",{"2":{"21":4}}],["building",{"2":{"34":1}}],["but",{"2":{"0":1,"1":2,"3":9,"4":4,"5":1,"8":1,"11":1,"13":2,"14":3,"15":3,"17":6,"18":1,"21":2,"25":1,"26":1,"30":2,"31":1,"34":2,"36":1,"43":1,"46":1,"48":1,"49":1,"51":1,"55":1,"61":1,"68":1,"69":1,"70":2,"71":1,"72":1,"73":1,"74":2,"75":1,"76":1}}],["bitmatrix",{"2":{"67":2}}],["bit",{"2":{"23":1}}],["bin",{"2":{"48":4}}],["binning",{"0":{"48":1},"2":{"17":2}}],["bins",{"2":{"17":15,"45":1,"48":5}}],["bar",{"2":{"70":3}}],["bayesian",{"2":{"54":1}}],["band",{"2":{"16":2}}],["backend",{"2":{"27":1}}],["back",{"2":{"5":1,"11":1}}],["basic",{"2":{"31":1}}],["basics",{"0":{"23":1}}],["basically",{"2":{"3":1,"17":1,"70":1}}],["base",{"2":{"3":2,"5":1,"13":10,"14":3,"17":1,"18":1,"19":7,"21":4,"24":2,"25":2,"27":1,"31":1,"42":2,"74":2,"80":1}}],["basetypeof",{"2":{"3":5}}],["basedims",{"2":{"3":2}}],["based",{"2":{"2":1,"21":1,"34":1,"70":1}}],["brackets",{"2":{"70":1}}],["break",{"2":{"48":1}}],["breaking",{"2":{"4":1,"21":1,"71":1}}],["broken",{"2":{"72":1}}],["brought",{"2":{"35":1}}],["brodcasting",{"2":{"19":2}}],["broadcasts",{"0":{"24":1},"1":{"25":1},"2":{"19":5,"24":2,"27":1,"80":1}}],["broadcast",{"0":{"24":1},"1":{"25":1},"2":{"17":3,"18":11,"19":4,"24":6,"25":7,"26":1,"34":1,"80":2}}],["broadcasting",{"2":{"3":1,"18":2,"19":5,"24":2,"47":1}}],["bonus",{"2":{"24":1}}],["box",{"2":{"21":1,"60":1}}],["boundaries",{"2":{"5":1}}],["bounds",{"2":{"4":9,"8":6,"43":8,"74":1,"75":2}}],["both",{"2":{"3":1,"4":1,"34":2,"52":1,"69":1,"78":1}}],["bool",{"2":{"1":3,"3":5,"4":2,"5":1,"13":11,"17":1,"19":2,"67":7,"73":2}}],["bytes",{"2":{"33":2,"81":2}}],["by",{"0":{"17":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,"13":2,"15":1,"17":8,"18":2,"25":2,"29":1,"33":2,"34":1,"35":1,"40":2,"47":2,"48":2,"49":3,"61":1,"64":1,"73":4}}],["b",{"2":{"0":7,"3":4,"4":2,"5":11,"13":9,"14":3,"15":1,"18":4,"23":3,"25":1,"29":3,"31":2,"35":2,"49":3,"60":1,"61":1,"63":2,"64":1,"67":2,"68":2,"70":5,"71":3,"72":3,"73":27,"75":3,"76":3,"77":1,"78":4,"79":23,"80":40,"81":2,"84":2}}],["best",{"2":{"72":1}}],["benchmarktools",{"2":{"33":3,"81":1}}],["benchmark",{"2":{"33":3}}],["before",{"2":{"19":9}}],["become",{"2":{"84":1}}],["becomes",{"2":{"16":2}}],["because",{"2":{"17":2,"24":1}}],["behavior",{"2":{"77":1}}],["behaviour",{"2":{"4":4,"5":1,"6":1,"14":2,"17":1,"18":1,"41":1,"60":1,"74":1}}],["behaviours",{"2":{"4":1,"52":1,"71":1}}],["behaves",{"2":{"15":2,"36":1}}],["begin+1",{"2":{"31":1}}],["beginendsteprange",{"2":{"10":2}}],["beginendrange",{"2":{"10":2}}],["begin",{"0":{"31":1},"2":{"10":4,"31":2}}],["better",{"2":{"5":1}}],["between",{"2":{"0":1,"4":5,"5":21,"10":1,"11":1,"13":1,"14":2}}],["been",{"2":{"2":1,"3":1,"14":1,"18":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,"13":10,"14":4,"15":3,"17":8,"18":16,"19":2,"20":1,"21":3,"22":1,"24":1,"25":1,"27":4,"30":3,"31":1,"32":1,"35":3,"36":1,"38":1,"40":1,"41":1,"46":1,"48":1,"66":1,"67":2,"68":1,"70":1,"72":1,"73":2,"74":3,"75":2,"78":1,"80":1}}],["ecosystem",{"2":{"82":1}}],["edges",{"2":{"48":1}}],["edge",{"2":{"17":1}}],["equally",{"2":{"17":1}}],["equivalent",{"2":{"14":1,"15":1,"19":2}}],["estimate",{"2":{"33":4}}],["essentially",{"2":{"15":1,"17":1}}],["especially",{"2":{"15":1,"19":1,"61":1}}],["effects",{"2":{"13":2}}],["ensuring",{"2":{"82":1}}],["ensure",{"2":{"19":4}}],["enforce",{"2":{"77":1}}],["entries",{"2":{"70":2}}],["entry",{"2":{"17":3,"47":7,"48":11,"49":2}}],["engine",{"2":{"57":1}}],["enables",{"2":{"34":1}}],["enable",{"2":{"8":1}}],["end",{"0":{"31":1},"2":{"5":4,"9":1,"10":6,"17":3,"18":1,"31":3,"43":1}}],["evaluations",{"2":{"33":2}}],["evaluated",{"2":{"5":1}}],["everything",{"2":{"36":1,"66":1,"70":1}}],["everywhere",{"2":{"35":1}}],["every",{"2":{"4":1,"5":1,"8":1,"18":2}}],["even",{"2":{"4":1,"15":1,"24":2,"31":1,"71":1,"74":1,"80":1}}],["error",{"2":{"3":2,"5":2,"25":1,"30":2,"70":1,"78":1}}],["errors",{"2":{"2":1,"3":1}}],["empty",{"2":{"3":1,"13":2,"21":2,"42":2,"75":1}}],["eltype",{"2":{"19":2,"67":2,"77":4,"78":22,"79":4,"80":88,"83":2,"84":26}}],["else",{"2":{"2":1,"17":1,"66":1,"70":1}}],["element",{"2":{"0":1,"2":1,"13":2,"17":2,"23":1,"25":3,"29":1,"30":2,"31":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,"13":2,"15":1,"17":4,"19":4}}],["early",{"2":{"21":2}}],["easiest",{"2":{"40":1}}],["easier",{"2":{"20":1,"39":1}}],["easily",{"2":{"0":1,"4":1,"36":2,"70":1}}],["eachindex",{"2":{"38":2}}],["eachslice",{"2":{"19":4,"25":2,"32":1,"49":1}}],["each",{"2":{"0":1,"3":2,"4":5,"5":2,"8":1,"14":1,"15":2,"16":1,"17":1,"18":1,"24":1,"25":1,"43":2,"47":1,"60":1,"74":1,"79":1,"81":1,"84":3}}],["except",{"2":{"24":1,"27":1}}],["exception",{"2":{"19":2}}],["exact",{"2":{"4":1,"9":1,"15":2,"17":1}}],["exactly",{"2":{"4":1,"5":1,"48":1,"73":1}}],["examples",{"2":{"0":2,"18":1,"19":1,"36":2}}],["example",{"0":{"25":1,"83":1},"2":{"0":5,"1":4,"3":2,"4":5,"5":7,"13":12,"14":2,"15":2,"16":1,"17":2,"18":5,"19":3,"25":1,"27":1,"40":1,"43":1}}],["extrema",{"2":{"32":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":{"24":1,"55":1}}],["extends",{"2":{"51":1,"53":1}}],["extend",{"2":{"14":1}}],["extended",{"2":{"4":1,"21":2,"36":2}}],["extending",{"0":{"36":1},"1":{"37":1,"38":1,"39":1,"40":1,"41":1,"42":1},"2":{"4":3,"18":1,"37":1}}],["exploratory",{"2":{"54":1}}],["explicit",{"2":{"4":1,"8":1,"42":1}}],["explicitly",{"2":{"4":2,"8":1,"17":1,"18":2,"19":4}}],["expected",{"2":{"19":1}}],["expression",{"2":{"18":1}}],["exported",{"0":{"1":1,"2":1}}],["existing",{"2":{"5":1,"18":1,"21":1,"45":1}}],["exists",{"2":{"3":1,"51":1}}],["exist",{"2":{"2":1,"66":1}}],["e",{"2":{"0":1,"3":1,"4":2,"5":2,"13":1,"15":1,"17":1,"23":1,"36":1,"49":1,"63":1,"64":1,"67":1,"71":1,"75":3,"78":2,"84":1}}],["etc",{"2":{"0":2,"3":1,"14":1,"18":2}}],["l",{"2":{"43":2,"68":2,"70":2,"72":3,"74":9,"84":1}}],["line",{"2":{"60":1}}],["linearmap",{"2":{"4":1}}],["list",{"2":{"17":1,"64":1}}],["listed",{"2":{"8":1,"44":1,"70":1}}],["little",{"2":{"5":1,"23":1}}],["lies",{"2":{"14":2}}],["lie",{"2":{"5":1}}],["likely",{"2":{"4":1,"21":2}}],["like",{"0":{"78":1,"79":1},"2":{"0":1,"3":2,"4":5,"5":2,"13":1,"14":1,"15":4,"17":2,"18":3,"20":1,"30":3,"32":1,"35":1,"38":1,"41":1,"43":2,"48":3,"51":1,"68":1,"69":1,"70":1,"72":1,"73":7,"75":1,"76":2,"77":1,"78":1,"80":1}}],["legend",{"2":{"60":1}}],["less",{"2":{"48":1}}],["letting",{"2":{"35":1}}],["let",{"2":{"33":1,"46":2,"47":1,"48":1}}],["lets",{"2":{"11":1,"20":1,"41":1}}],["left",{"2":{"21":1,"23":3}}],["leans",{"2":{"26":1}}],["leave",{"2":{"13":1}}],["leaves",{"2":{"3":1}}],["leap",{"2":{"4":1}}],["least",{"2":{"3":1,"21":4}}],["level",{"2":{"3":2}}],["length=365",{"2":{"46":1}}],["lengths",{"2":{"3":1,"78":1}}],["length",{"2":{"0":1,"3":6,"4":5,"8":1,"13":4,"17":4,"19":2,"21":3,"38":1,"42":2,"82":1}}],["lazily",{"2":{"82":1}}],["lazy",{"2":{"16":1,"34":1}}],["largest",{"2":{"80":1,"82":1}}],["large",{"2":{"52":1}}],["larger",{"2":{"25":1}}],["language",{"2":{"26":1}}],["lastindex",{"2":{"32":1}}],["last",{"2":{"17":2,"31":1,"43":1}}],["layermetadata",{"2":{"21":1,"70":1}}],["layerdims",{"2":{"21":5,"42":2,"70":1}}],["layernames=nothing",{"2":{"16":1}}],["layered",{"2":{"14":2}}],["layer",{"2":{"14":5,"19":2,"27":2,"30":1,"79":1,"80":1,"82":2,"84":1}}],["layersfrom=",{"2":{"84":2}}],["layersfrom=nothing",{"2":{"14":1,"16":1}}],["layersfrom",{"2":{"16":1}}],["layers",{"2":{"14":9,"16":1,"18":1,"19":5,"67":2,"77":4,"78":9,"79":2,"80":28,"81":2,"82":2,"83":1,"84":1}}],["layout",{"2":{"0":1}}],["later",{"2":{"17":1}}],["latitude",{"2":{"0":1}}],["lat",{"2":{"0":1}}],["labelled",{"2":{"60":1}}],["labelling",{"2":{"13":1}}],["labels=x",{"2":{"48":2}}],["labels",{"2":{"11":1,"17":21,"61":1}}],["label",{"2":{"0":3,"2":5,"35":1}}],["lt",{"2":{"0":12,"1":2,"3":4,"5":1,"13":2,"39":3,"57":1,"58":1,"79":1}}],["lot",{"2":{"48":1,"65":1}}],["log",{"2":{"33":1}}],["losing",{"2":{"17":1,"67":1}}],["looping",{"2":{"82":1}}],["loop",{"2":{"82":1}}],["look",{"2":{"46":1}}],["lookuparray",{"2":{"72":1}}],["lookupdim",{"2":{"18":1}}],["lookupcomponent",{"2":{"18":1}}],["lookuptrait",{"2":{"6":1,"7":1,"8":1,"9":1,"10":1,"18":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,"13":1,"15":2,"18":3,"19":1,"28":1,"35":2,"38":1,"43":1,"51":1,"68":1,"73":1,"74":3,"75":1,"76":1}}],["lookup",{"0":{"6":1,"19":1,"75":1},"1":{"7":1,"8":1,"9":1,"10":1,"20":1,"21":1},"2":{"0":4,"1":1,"2":13,"3":2,"4":52,"5":4,"6":2,"7":6,"9":1,"10":4,"13":9,"15":2,"17":2,"18":14,"19":5,"36":3,"38":1,"41":3,"43":18,"44":8,"48":2,"69":1,"70":1,"72":1,"73":2,"74":14,"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":4,"17":1,"18":1,"19":2,"23":1,"26":1,"35":1,"46":2,"72":1,"73":1,"74":5}}],["created",{"2":{"0":1}}],["creating",{"2":{"0":1,"28":1}}],["climate",{"2":{"53":1}}],["climatebase",{"0":{"53":1},"2":{"53":1}}],["cloud",{"2":{"34":1}}],["closest",{"2":{"73":1}}],["close",{"2":{"21":3,"73":1}}],["closely",{"2":{"19":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":{"17":4}}],["cyclic",{"2":{"4":5,"17":1,"74":5}}],["cycle=month",{"2":{"74":1}}],["cycle=24",{"2":{"48":1}}],["cycle=12",{"2":{"48":3}}],["cycles",{"2":{"17":1,"74":1}}],["cycled",{"2":{"4":3}}],["cycle",{"2":{"4":9,"17":5}}],["cua2",{"2":{"26":2}}],["cua",{"2":{"26":2}}],["cuarray",{"2":{"18":1,"26":2,"67":1}}],["cuda",{"0":{"26":1},"1":{"27":1},"2":{"26":2,"27":1}}],["currently",{"2":{"24":1}}],["current",{"2":{"4":1,"13":1,"19":1}}],["curresponding",{"2":{"4":2}}],["customise",{"2":{"71":1}}],["custom=dd",{"2":{"18":1}}],["custom=10",{"2":{"18":1}}],["custom",{"2":{"0":4,"3":1,"16":2,"17":1,"18":9,"27":1,"36":2,"49":1}}],["center",{"2":{"5":5,"9":2,"10":4,"43":7,"72":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,"60":1}}],["chosen",{"2":{"2":1,"15":1,"17":1}}],["child",{"2":{"19":1}}],["chunked",{"2":{"34":1}}],["chunk",{"2":{"17":1}}],["channel",{"2":{"23":1}}],["channel=",{"2":{"23":1}}],["changing",{"2":{"4":1,"18":1,"71":1}}],["changes",{"2":{"21":1}}],["change",{"2":{"3":1,"4":4,"18":5,"72":1}}],["changed",{"2":{"3":1}}],["char",{"2":{"0":1,"3":1,"4":1,"15":2,"23":1,"68":2,"70":2,"72":3,"75":1,"83":2,"84":3}}],["checked",{"2":{"24":1}}],["checks",{"2":{"19":4,"24":2}}],["checking",{"2":{"19":1}}],["check=true",{"2":{"3":1}}],["check",{"2":{"1":2,"3":1,"4":1,"5":1,"13":2,"18":1,"19":11,"22":1,"70":1}}],["cost",{"2":{"33":1}}],["costly",{"2":{"19":1}}],["covers",{"2":{"45":1}}],["cov",{"2":{"32":1}}],["core",{"2":{"70":1}}],["cor",{"2":{"32":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":{"34":1}}],["coords",{"2":{"18":2}}],["copy",{"2":{"18":1,"19":7}}],["code",{"2":{"14":2,"21":2,"26":1}}],["coded",{"2":{"6":1}}],["could",{"2":{"5":1,"25":1,"48":1}}],["counted",{"2":{"5":1}}],["collected",{"2":{"82":1}}],["collection",{"2":{"77":1}}],["collect",{"2":{"67":1}}],["colours",{"2":{"64":1}}],["color=",{"2":{"64":2,"65":1}}],["color",{"2":{"64":1}}],["colormap",{"0":{"63":1,"64":1},"2":{"64":2}}],["colormap=",{"2":{"61":1}}],["colon",{"2":{"2":2,"3":1,"14":1}}],["column",{"2":{"16":2,"84":3}}],["columns",{"2":{"1":1,"8":1,"13":1,"16":3,"82":2,"84":3}}],["command",{"2":{"22":1}}],["commands",{"2":{"22":1}}],["commondatamodel",{"2":{"34":1}}],["commondims",{"2":{"3":5}}],["commonly",{"2":{"4":1}}],["common",{"2":{"0":2,"4":1,"17":1,"25":1,"46":1,"51":1,"70":1}}],["compile",{"2":{"81":1}}],["compilation",{"2":{"81":1}}],["components",{"2":{"21":4,"42":4}}],["completely",{"2":{"19":4}}],["complicated",{"2":{"5":1,"23":1}}],["compatibility",{"0":{"34":1},"2":{"24":1}}],["compatible",{"2":{"16":1}}],["comparing",{"2":{"3":1,"19":1}}],["comparisons",{"2":{"3":2}}],["compare",{"2":{"3":6}}],["compared",{"2":{"3":1,"19":1}}],["comparedims",{"2":{"3":5}}],["combines",{"2":{"5":1,"43":1}}],["combined",{"2":{"4":1,"15":1,"18":1,"30":1,"69":1}}],["combinedims",{"2":{"3":1}}],["combine",{"2":{"3":1,"16":1}}],["combinations",{"2":{"15":2}}],["combination",{"2":{"1":1,"13":1,"34":2}}],["confusing",{"2":{"40":1}}],["confused",{"2":{"5":1}}],["consistency",{"2":{"77":1}}],["consistent",{"2":{"43":1}}],["consecutive",{"2":{"30":2}}],["constraint",{"2":{"30":1}}],["constructing",{"0":{"29":1},"2":{"41":1}}],["constructionbase",{"2":{"18":1,"40":2,"71":2}}],["construction",{"2":{"4":1,"10":1}}],["construct",{"2":{"16":1}}],["constructors",{"2":{"13":1,"41":2}}],["constructor",{"2":{"4":1,"14":1,"26":1,"70":1}}],["constructed",{"2":{"0":1,"3":1,"4":1,"14":1,"21":2,"37":1}}],["const",{"2":{"5":1,"18":1,"46":1}}],["concatenate",{"2":{"19":4}}],["concrete",{"2":{"0":1,"1":2,"3":3,"4":2,"13":3,"14":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}}],["convert",{"2":{"2":1,"3":1,"4":1,"27":2,"74":1}}],["converted",{"2":{"0":1,"3":1,"4":1,"16":1,"27":1}}],["controlled",{"2":{"64":1}}],["control",{"2":{"18":1,"19":1}}],["contents",{"2":{"11":1}}],["contexts",{"2":{"4":3}}],["context",{"2":{"3":1,"4":1,"13":1,"21":1}}],["contained",{"2":{"4":1,"5":1,"15":1,"66":1}}],["contain",{"2":{"2":1,"3":1,"5":2,"18":2}}],["contains",{"2":{"1":1,"4":2,"5":10,"13":1,"15":2,"17":1,"18":1,"73":2,"76":1}}],["containing",{"2":{"1":1,"3":1,"13":2}}],["caveats",{"2":{"70":1}}],["cairomakie",{"2":{"61":1}}],["cartesianindex",{"2":{"30":2}}],["cartesianindices",{"2":{"15":4,"30":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":3,"15":2,"23":2,"48":4,"61":1,"68":2,"70":2,"72":4,"73":15,"74":5,"75":3,"83":2}}],["cat",{"2":{"19":2,"32":1}}],["cases",{"2":{"19":1,"36":1,"38":1}}],["case",{"2":{"18":1,"72":1}}],["calculate",{"2":{"17":1}}],["call",{"2":{"21":1,"48":1}}],["calling",{"2":{"18":1,"39":1,"41":1}}],["callable",{"2":{"17":1}}],["called",{"2":{"3":2,"27":1,"41":1}}],["capabilities",{"2":{"51":1}}],["capable",{"2":{"4":1}}],["captions",{"2":{"13":1}}],["caution",{"2":{"5":1}}],["cannot",{"2":{"7":1}}],["can",{"2":{"0":2,"1":4,"2":3,"3":7,"4":18,"5":7,"10":3,"11":2,"13":9,"14":2,"15":4,"16":1,"17":9,"18":8,"19":2,"22":1,"24":2,"25":3,"28":1,"29":1,"30":4,"31":2,"32":2,"35":7,"36":1,"40":1,"42":2,"43":1,"44":1,"46":3,"47":2,"48":7,"49":2,"64":1,"66":1,"67":1,"70":2,"71":1,"73":7,"74":2,"75":2,"76":4,"78":3,"80":1,"81":1,"84":2,"85":1}}],["c",{"2":{"0":6,"3":2,"4":2,"13":9,"15":3,"18":3,"23":2,"49":2,"60":1,"61":1,"63":1,"68":2,"70":2,"72":3,"73":33,"75":3,"76":2,"77":1,"78":8,"79":23,"80":28,"81":2,"83":3,"84":2}}],["zarr",{"2":{"34":1}}],["zip",{"2":{"34":1}}],["zero",{"2":{"21":2,"73":1,"79":1}}],["zeros",{"2":{"0":1,"13":6,"18":1,"28":4,"42":2}}],["z=dd",{"2":{"18":1}}],["z=",{"2":{"18":1}}],["zdim",{"2":{"0":4}}],["z",{"2":{"0":8,"1":9,"3":4,"13":9,"18":9,"19":3,"30":13,"35":3,"42":2,"61":1,"72":2,"83":4,"84":22,"85":9}}],["yaxarray",{"2":{"36":1,"52":1}}],["yaxarrays",{"0":{"52":1},"2":{"34":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":{"31":1}}],["y=end",{"2":{"31":1}}],["y=dimarray",{"2":{"19":1}}],["y=>isodd",{"2":{"17":2}}],["yet",{"2":{"10":1,"21":2}}],["yearday",{"2":{"46":1}}],["yearmonthday",{"2":{"46":1}}],["yearmonth",{"2":{"46":1}}],["year",{"2":{"4":4,"17":1,"46":1}}],["years",{"2":{"4":3}}],["your",{"2":{"5":1,"18":1,"23":1,"40":2}}],["yourdimarray",{"2":{"40":1}}],["yourdim",{"2":{"0":1}}],["you",{"2":{"4":2,"5":1,"16":1,"18":5,"19":5,"21":2,"22":4,"25":2,"31":1,"32":1,"35":1,"40":1,"43":2,"46":1,"48":1,"66":1,"70":4,"72":4,"74":1,"78":1}}],["ydim",{"2":{"0":7}}],["y",{"2":{"0":16,"1":12,"3":8,"4":9,"5":15,"13":26,"14":2,"15":13,"16":2,"17":4,"18":11,"19":6,"25":13,"26":2,"28":24,"30":7,"31":2,"32":3,"33":3,"35":3,"42":3,"43":31,"44":22,"61":2,"63":1,"67":8,"68":3,"70":2,"72":10,"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":{"34":1}}],["xz",{"2":{"30":1}}],["x2",{"2":{"19":2}}],["x1",{"2":{"19":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":{"31":1}}],["x=begin+1",{"2":{"31":1}}],["x=dimarray",{"2":{"19":1}}],["xs",{"2":{"2":1,"3":2,"4":6,"11":1,"13":2,"16":1}}],["xdim",{"2":{"0":7}}],["x3c",{"2":{"0":10,"4":12,"5":9,"7":6,"8":4,"9":3,"10":6,"11":2,"13":3,"14":1,"15":3,"16":2,"17":3,"20":2,"21":2,"33":2}}],["x",{"2":{"0":17,"1":27,"2":9,"3":22,"4":28,"5":32,"11":6,"13":65,"14":3,"15":17,"16":5,"17":2,"18":27,"19":7,"25":14,"26":2,"28":24,"30":18,"31":2,"32":3,"33":3,"35":6,"40":1,"42":4,"43":29,"44":23,"46":3,"47":3,"48":14,"49":3,"60":1,"61":3,"63":1,"67":8,"68":4,"70":5,"72":8,"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":{"17":2,"48":2}}],["identical",{"2":{"4":2,"11":1,"77":1}}],["io",{"2":{"21":11}}],["images",{"2":{"58":1}}],["immutable",{"2":{"18":1,"27":1,"40":1,"72":1}}],["improving",{"2":{"72":1}}],["imperative",{"2":{"68":1}}],["imply",{"2":{"18":1}}],["implements",{"2":{"42":4,"82":1}}],["implemented",{"2":{"39":1,"42":2}}],["implement",{"2":{"14":1,"40":1,"82":1}}],["implementation",{"2":{"4":2,"14":1,"42":4,"56":1}}],["implementations",{"2":{"0":1}}],["important",{"2":{"4":3}}],["ignoring",{"2":{"13":1}}],["ignores",{"2":{"61":1}}],["ignore",{"2":{"3":2,"35":1,"40":1}}],["ignored",{"2":{"3":1,"19":2}}],["irregular",{"2":{"4":3,"5":6,"8":5,"13":1,"15":2,"17":4,"18":2,"47":7,"48":6,"73":6,"74":3,"75":1,"76":4}}],["i",{"2":{"2":2,"3":3,"15":1,"23":1,"38":1,"39":1,"49":1,"63":1,"64":1,"84":1}}],["if",{"2":{"0":1,"1":2,"2":3,"3":5,"4":8,"5":6,"11":2,"13":2,"14":1,"15":2,"17":1,"18":7,"19":7,"22":1,"38":1,"40":1,"43":1,"61":1,"66":1,"70":2,"72":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,"72":1}}],["isbits",{"2":{"20":1,"27":1}}],["isa",{"2":{"14":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,"13":7,"14":3,"15":6,"17":12,"18":11,"19":5,"20":3,"21":5,"22":1,"24":3,"26":3,"27":2,"31":2,"32":1,"34":3,"35":1,"36":4,"39":2,"40":5,"42":3,"43":6,"48":3,"49":1,"51":4,"52":3,"54":2,"55":1,"57":1,"58":1,"60":2,"64":1,"65":1,"67":1,"68":1,"69":1,"70":3,"71":1,"72":3,"73":7,"74":4,"75":5,"76":1,"77":2,"81":2,"82":1,"84":1}}],["iter",{"2":{"23":1}}],["iter=1",{"2":{"23":1}}],["iterates",{"2":{"19":2}}],["iterate",{"2":{"15":1}}],["iterator",{"2":{"14":2}}],["iteration",{"2":{"14":2,"34":1}}],["its",{"2":{"13":1,"17":2,"18":3,"27":1,"36":1,"52":2,"55":1,"72":1}}],["it",{"2":{"0":1,"2":1,"3":2,"4":11,"5":3,"7":1,"11":1,"13":1,"14":2,"15":1,"17":3,"18":7,"19":1,"20":2,"21":1,"22":3,"28":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":2,"38":1,"39":1,"40":1,"42":2,"43":1,"46":1,"48":2,"51":1,"55":1,"61":1,"68":1,"70":1,"72":2,"73":3,"74":1,"78":2}}],["inverts",{"2":{"78":1}}],["invalid",{"2":{"30":1}}],["inferno",{"2":{"61":1}}],["information",{"2":{"4":3,"13":1,"43":1}}],["inner",{"2":{"18":1,"19":1,"21":1,"67":2}}],["inbuilt",{"2":{"18":1}}],["initially",{"2":{"14":2}}],["inaccurate",{"2":{"8":1}}],["including",{"2":{"7":1,"34":1,"73":1}}],["included",{"2":{"3":1,"5":1,"11":1,"48":1}}],["include",{"2":{"2":1,"3":1,"5":1,"21":1,"73":1,"74":1}}],["installed",{"2":{"22":1}}],["install",{"2":{"22":1}}],["installation",{"0":{"22":1}}],["instead",{"2":{"5":2,"7":1,"11":1,"17":1,"31":1,"61":1,"76":1}}],["inside",{"2":{"5":1,"31":1,"73":1}}],["inserted",{"2":{"0":1}}],["inputs",{"2":{"39":1,"41":1}}],["input",{"2":{"3":1,"5":1,"8":1,"64":1}}],["inds",{"2":{"30":2}}],["individual",{"2":{"15":1}}],["indicate",{"2":{"5":1,"10":1,"32":1}}],["indicates",{"2":{"4":2,"7":3,"9":1,"10":1,"11":1}}],["indicating",{"2":{"4":5}}],["indices",{"2":{"2":2,"5":7,"13":1,"15":3,"18":2,"35":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,"14":2}}],["indexing",{"0":{"30":1,"31":1,"78":1,"79":1},"2":{"0":2,"4":4,"13":3,"14":2,"15":1,"29":1,"30":4,"31":3,"33":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,"13":6,"14":2,"15":4,"16":2,"18":5,"30":2,"31":1,"35":1,"73":3,"76":1,"79":1}}],["inherits",{"2":{"52":1}}],["inherit",{"2":{"0":1,"1":1,"13":1}}],["int8",{"2":{"23":5}}],["intselectors",{"2":{"5":1}}],["intselector",{"2":{"5":4}}],["intentionally",{"2":{"34":1}}],["intended",{"2":{"5":1}}],["integrate",{"2":{"34":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,"13":4,"17":7,"39":1}}],["inteface",{"2":{"21":2}}],["interoperability",{"2":{"82":1}}],["interpolate",{"2":{"15":1}}],["interpolation",{"2":{"15":3,"76":1}}],["interact",{"2":{"5":1}}],["intermediate",{"2":{"5":1}}],["interfaces",{"0":{"42":1},"2":{"21":2,"42":5}}],["interface",{"0":{"16":1,"21":1,"42":1},"2":{"3":1,"21":4,"34":1,"36":1,"71":1,"82":2,"85":1}}],["internally",{"2":{"70":1}}],["internal",{"0":{"21":1},"2":{"3":1,"18":1}}],["intervalbounds",{"2":{"43":4,"73":1}}],["interval",{"2":{"0":1,"4":5,"5":12,"8":1,"9":2,"10":4,"15":1,"17":2,"43":2,"48":9,"73":3,"74":1,"75":1}}],["intervalsets",{"2":{"5":2,"17":1,"48":6,"73":2,"75":1}}],["intervals",{"2":{"0":1,"4":13,"5":10,"8":3,"9":4,"10":1,"15":1,"17":4,"43":1,"48":7,"72":2,"73":14,"74":6,"75":2}}],["int",{"2":{"1":5,"2":2,"5":1,"13":5,"14":2,"16":1,"17":4,"31":2,"32":1,"35":1,"39":1,"48":1,"73":4}}],["int64",{"2":{"0":2,"4":2,"5":11,"13":2,"15":2,"17":3,"18":2,"19":1,"23":4,"25":14,"28":2,"30":6,"43":17,"44":14,"46":12,"47":11,"48":5,"72":2,"74":3,"75":1,"76":3,"83":4,"84":8}}],["into",{"2":{"0":3,"4":3,"15":2,"16":1,"17":1,"18":1,"26":1,"27":1,"35":2,"48":4,"56":1,"61":1,"69":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,"13":5,"14":6,"15":5,"17":6,"18":24,"19":11,"20":1,"21":11,"24":1,"27":1,"30":2,"31":4,"32":1,"34":2,"35":1,"36":2,"38":1,"40":2,"41":2,"42":10,"43":2,"48":4,"60":1,"61":2,"65":1,"66":1,"70":5,"71":1,"72":2,"73":6,"74":3,"77":1,"80":2,"81":1,"82":1}}],["hundreds",{"2":{"82":1}}],["humidity",{"2":{"19":6}}],["histogram",{"2":{"33":2}}],["hierarchy",{"2":{"0":1}}],["h",{"2":{"23":1,"63":1,"84":1}}],["heatmap",{"2":{"61":1}}],["helper",{"2":{"48":1}}],["help",{"2":{"21":2}}],["here",{"2":{"14":1,"15":1,"18":1,"19":1,"28":1,"29":1,"48":3,"61":1,"70":1,"74":3}}],["having",{"2":{"19":1}}],["have",{"2":{"0":1,"4":3,"8":2,"11":1,"13":1,"14":2,"16":1,"17":2,"18":3,"19":1,"22":1,"30":1,"34":1,"36":1,"37":1,"38":1,"40":1,"48":1,"61":1,"72":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,"13":3,"14":1,"18":2,"19":2,"25":2,"27":1,"33":1,"38":1,"40":2,"41":1,"43":1,"74":1,"75":1}}],["hasdim",{"2":{"1":6,"13":6}}],["hold",{"2":{"17":1,"38":1,"75":1}}],["holds",{"2":{"4":4,"14":1,"74":2}}],["holding",{"2":{"1":1,"2":1,"8":1,"13":9,"15":1,"17":2,"69":1,"76":1}}],["however",{"2":{"5":1,"18":1}}],["how",{"2":{"4":2,"7":2,"19":1,"35":1,"46":1,"68":1}}],["hours",{"2":{"17":4,"48":2}}],["hour",{"2":{"0":1,"17":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":{"14":1,"18":1}}],["slicedims",{"2":{"3":2,"13":1}}],["slices",{"2":{"13":1,"19":4}}],["slice",{"2":{"3":1,"13":1,"18":1}}],["synchronisation",{"2":{"57":1}}],["symmetry",{"2":{"35":1}}],["symbol",{"2":{"1":1,"2":1,"3":4,"4":7,"11":1,"13":11,"14":6,"16":1,"17":3,"18":2,"19":1,"20":3,"23":1,"39":2,"41":1,"43":1,"47":7,"48":15,"49":2,"70":2,"73":15,"75":2,"78":2}}],["symbols",{"2":{"0":1,"1":1,"2":1,"3":1,"4":5,"11":1,"13":3,"18":1,"27":1,"29":1,"32":1}}],["system",{"2":{"27":1,"36":1}}],["scalar",{"2":{"79":1}}],["scalars",{"2":{"25":6,"79":1}}],["scaled",{"2":{"25":6}}],["scale",{"2":{"25":1}}],["scaling",{"0":{"25":1}}],["scope",{"2":{"0":1,"4":1,"35":1}}],["src",{"2":{"19":4,"31":2}}],["smaller",{"2":{"29":1}}],["small",{"2":{"19":1}}],["sat",{"2":{"74":2}}],["save",{"2":{"51":1}}],["saving",{"2":{"11":2}}],["samples",{"2":{"9":1,"33":2}}],["sampled",{"2":{"0":6,"4":16,"5":8,"9":1,"13":5,"15":4,"17":4,"18":10,"19":1,"23":4,"25":20,"26":2,"36":1,"43":24,"44":28,"47":9,"48":7,"49":5,"68":2,"70":2,"72":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,"15":1,"18":1,"43":5,"70":1,"75":1}}],["same",{"2":{"0":2,"3":3,"4":1,"5":2,"11":1,"13":4,"15":2,"17":1,"18":2,"19":1,"25":1,"28":1,"30":1,"33":1,"38":2,"40":1,"43":1,"46":1,"60":1,"77":1,"82":1}}],["sharing",{"2":{"14":1}}],["share",{"2":{"14":1,"77":1}}],["shift",{"2":{"4":2}}],["shiftlocus",{"2":{"4":1}}],["show",{"2":{"21":9}}],["shows",{"2":{"13":1}}],["shown",{"2":{"2":1,"74":1}}],["should",{"2":{"2":1,"5":1,"13":1,"18":1,"21":2,"22":1,"38":1,"39":1,"40":1,"74":1,"84":1}}],["shortcuts",{"2":{"28":1}}],["shorthand",{"2":{"13":1,"74":1}}],["short",{"2":{"0":1}}],["swapping",{"2":{"18":1}}],["swap",{"2":{"3":1}}],["swapdims",{"2":{"3":3}}],["specialisations",{"2":{"17":1}}],["specify",{"2":{"10":5,"17":3,"18":3,"32":1,"35":1,"43":1,"48":1,"72":1,"74":1,"84":1}}],["specifying",{"2":{"4":1,"9":1,"74":1}}],["specifies",{"2":{"7":1,"20":1,"30":1,"43":1}}],["specified",{"2":{"2":1,"3":1,"4":1,"13":1,"75":1}}],["specifically",{"2":{"19":1}}],["specific",{"2":{"4":5,"6":1,"8":1,"9":1,"35":1,"68":1}}],["space",{"2":{"18":2}}],["spaced",{"2":{"17":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,"70":1,"75":1}}],["spatial",{"2":{"0":1,"34":1,"51":1,"52":1,"57":2,"84":1}}],["signature",{"2":{"40":1}}],["sits",{"2":{"30":1}}],["sizes",{"2":{"48":1}}],["size",{"2":{"2":1,"3":1,"4":5,"8":1,"17":1,"18":2,"19":6,"21":5,"25":1,"32":2,"42":3,"49":2,"67":2,"77":4,"78":22,"79":3,"80":88,"82":1,"83":2,"84":26}}],["singleton",{"2":{"18":1}}],["single",{"2":{"1":8,"3":2,"4":1,"5":5,"9":1,"13":8,"14":1,"17":1,"18":3,"25":1,"31":1,"40":1,"43":1,"69":1,"73":1,"79":1,"81":1}}],["simultaneously",{"2":{"69":1}}],["simulations",{"2":{"57":1}}],["simulation",{"2":{"57":1}}],["simulataneously",{"2":{"14":1}}],["similar",{"2":{"0":1,"4":1,"7":1,"9":1,"15":1,"49":1,"67":1}}],["simpler",{"2":{"46":1}}],["simple",{"2":{"45":1}}],["simply",{"2":{"0":1,"4":1,"5":1,"11":1,"13":1,"18":1,"21":1,"43":1,"76":1}}],["simplicity",{"2":{"0":1}}],["st2",{"2":{"78":2}}],["st",{"2":{"67":4,"77":1,"78":8,"79":4,"80":35,"83":1,"84":2,"85":1}}],["storage",{"2":{"51":1}}],["stored",{"2":{"13":1,"77":1}}],["std",{"2":{"32":1,"80":2}}],["style",{"2":{"27":1}}],["still",{"2":{"11":1,"26":1,"31":1,"72":1}}],["standard",{"2":{"82":1}}],["standards",{"2":{"10":1}}],["status",{"2":{"22":2}}],["statistics",{"2":{"14":2,"25":1,"46":1,"80":1}}],["stage",{"2":{"21":2}}],["stack",{"2":{"14":2,"18":2,"19":8,"21":4,"42":2,"67":1,"80":1,"81":1,"82":2}}],["stacks",{"2":{"14":1,"19":5,"81":1,"84":1,"85":1}}],["starts",{"2":{"67":1}}],["start=6",{"2":{"48":4}}],["start=1",{"2":{"48":1}}],["start=12",{"2":{"48":1}}],["start=january",{"2":{"48":1}}],["start=0",{"2":{"17":1}}],["start=dates",{"2":{"17":2}}],["starting",{"2":{"8":1,"48":2}}],["start",{"2":{"0":2,"4":6,"5":3,"9":1,"10":4,"17":9,"23":1,"43":1,"48":4,"73":5,"74":7}}],["stripped",{"2":{"27":1}}],["strickt",{"2":{"19":1}}],["strict=true",{"2":{"19":4}}],["strict=false",{"2":{"18":1}}],["strictness",{"0":{"19":1},"1":{"20":1,"21":1}}],["strict",{"2":{"18":1,"19":8,"24":2}}],["strings",{"2":{"5":1}}],["string",{"2":{"2":4,"3":1,"4":1,"13":1,"21":1,"48":2,"70":2,"74":3,"75":1,"85":1}}],["string=string",{"2":{"0":1}}],["strongly",{"2":{"18":1}}],["struct",{"2":{"3":1,"18":1,"66":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}}],["steprange",{"2":{"25":1}}],["steps",{"2":{"17":1}}],["step",{"2":{"3":1,"4":1,"8":2,"17":7,"18":1,"75":1}}],["s",{"2":{"0":1,"1":4,"2":1,"3":4,"5":16,"13":5,"14":3,"16":1,"17":1,"18":5,"20":1,"21":1,"24":1,"33":1,"34":3,"46":2,"47":1,"48":1,"49":1,"73":2,"84":1}}],["series",{"0":{"62":1},"1":{"63":1,"64":1,"65":1},"2":{"59":1,"63":1,"64":2,"65":1}}],["sep",{"2":{"48":6,"74":2}}],["separate",{"2":{"2":1,"51":1}}],["sequential",{"2":{"17":1}}],["seamlessly",{"2":{"27":1}}],["sea",{"2":{"19":4}}],["seasons",{"2":{"17":4,"48":5}}],["searched",{"2":{"7":1}}],["searchsortedfirst",{"2":{"7":1}}],["searchsorted",{"2":{"7":1}}],["sections",{"2":{"17":1}}],["second",{"2":{"0":1,"2":1,"4":4,"11":1,"13":2,"18":1}}],["sense",{"2":{"5":1,"51":1,"70":1}}],["seed",{"2":{"13":1}}],["see",{"2":{"3":1,"14":1,"25":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,"19":2,"49":1,"73":2,"74":1,"76":1}}],["selected",{"2":{"5":4,"17":4,"73":2}}],["selectors=near",{"2":{"15":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,"13":1,"14":1,"15":6,"31":1,"74":2,"75":1,"76":3,"79":1}}],["selector",{"2":{"0":1,"2":2,"4":3,"5":13,"35":1,"40":1,"70":1,"73":9,"78":1}}],["setproperties",{"2":{"18":1,"71":1}}],["settings",{"0":{"19":1},"1":{"20":1,"21":1}}],["setting",{"2":{"18":1,"19":1}}],["setindex",{"2":{"14":1,"31":1}}],["setdims",{"2":{"3":3}}],["set",{"0":{"72":1},"2":{"0":1,"4":6,"8":1,"11":2,"13":13,"18":22,"19":2,"25":1,"70":1,"72":11,"73":2,"75":3}}],["sounds",{"2":{"39":1}}],["sources",{"2":{"4":1,"18":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,"13":16,"14":2,"15":3,"16":2,"17":9,"18":12,"19":9,"20":3,"21":6}}],["solution",{"2":{"17":1}}],["so",{"2":{"4":2,"5":1,"18":2,"24":1,"27":1,"30":1,"43":1,"48":1,"71":1,"74":1,"82":1,"84":1}}],["sorted",{"2":{"5":1,"17":2}}],["sortdims",{"2":{"3":1}}],["sort",{"2":{"3":3}}],["sometimes",{"2":{"48":1,"72":1}}],["something",{"2":{"17":1,"23":1}}],["somewhere",{"2":{"14":2,"70":1}}],["some",{"2":{"0":1,"4":1,"13":1,"14":1,"17":1,"19":1,"25":1,"35":1,"38":1,"40":1,"46":2,"77":1,"81":1,"83":1}}],["sun",{"2":{"74":2}}],["surface",{"2":{"19":4}}],["sure",{"2":{"15":2}}],["surprising",{"2":{"14":2}}],["summer",{"2":{"48":1}}],["summary",{"2":{"42":2}}],["sum",{"2":{"14":1,"17":1,"32":3,"47":1,"80":5}}],["succinct",{"2":{"14":2}}],["such",{"2":{"0":2,"2":1,"4":1,"5":1,"10":1,"17":2}}],["supporting",{"2":{"85":1}}],["support",{"2":{"60":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,"13":2,"14":1,"16":1,"20":1}}],["submodule",{"2":{"35":1}}],["subset",{"2":{"19":2,"78":1}}],["subsetting",{"2":{"5":1}}],["subtypes",{"2":{"21":1}}],["subtype",{"2":{"13":1}}],["sub",{"2":{"0":2}}],["m=rand",{"2":{"78":1}}],["my",{"2":{"70":3}}],["mydimstack",{"2":{"14":2}}],["mutable",{"2":{"66":1}}],["much",{"2":{"26":1,"60":1,"70":1}}],["multiplying",{"2":{"19":2}}],["multiplication",{"2":{"19":5}}],["multiple",{"2":{"4":1,"14":3,"17":1,"44":1,"69":1}}],["multipications",{"2":{"19":1}}],["multi",{"0":{"14":1},"2":{"38":1}}],["must",{"2":{"4":3,"5":3,"13":2,"14":2,"18":2,"21":2,"27":2,"37":1,"38":3,"40":1,"41":1,"66":1,"77":1}}],["mixing",{"2":{"30":1}}],["mix",{"2":{"30":1,"80":1}}],["mixed",{"2":{"14":2,"15":2,"36":1}}],["mime",{"2":{"21":5}}],["mid",{"2":{"5":1}}],["min",{"2":{"33":4}}],["minus",{"2":{"4":1}}],["minimum",{"2":{"3":1,"32":1,"47":1,"80":2}}],["missingval",{"2":{"18":1,"51":1}}],["missing",{"2":{"3":1,"18":1,"41":1,"51":1}}],["msg",{"2":{"3":1}}],["measured",{"2":{"81":1}}],["means",{"2":{"3":1,"5":1,"7":1,"10":1,"16":1,"18":1,"24":1,"25":1,"27":1,"35":1,"38":1,"44":2,"73":1}}],["mean",{"2":{"3":1,"4":1,"9":1,"13":1,"14":4,"17":10,"24":1,"25":2,"32":1,"33":4,"47":3,"48":3,"49":1,"80":3}}],["meaning",{"2":{"2":1,"4":1,"15":1}}],["merging",{"2":{"78":1}}],["merges",{"2":{"69":1}}],["merge",{"2":{"30":1,"78":5,"84":1}}],["merged",{"2":{"18":3}}],["mergedims=",{"2":{"84":1}}],["mergedims=nothing",{"2":{"16":3}}],["mergedims",{"0":{"69":1},"2":{"16":1,"18":5,"69":1}}],["mergedlookup",{"2":{"4":3,"18":3,"30":1}}],["median",{"2":{"32":1,"33":4,"47":1}}],["memory",{"2":{"33":2}}],["mem",{"2":{"26":1}}],["messy",{"2":{"17":1}}],["mesages",{"2":{"3":1}}],["metadata=dict",{"2":{"28":5,"70":1}}],["metadata=metadata",{"2":{"14":1}}],["metadata=nometadata",{"2":{"4":3,"13":1,"14":1}}],["metadata",{"0":{"11":1},"2":{"3":1,"4":16,"11":16,"13":11,"17":3,"18":4,"21":9,"27":1,"28":5,"40":1,"42":8,"47":7,"48":11,"49":2,"66":1,"70":5}}],["method",{"2":{"1":4,"3":3,"4":4,"9":1,"11":2,"13":7,"15":1,"18":2,"21":3,"40":1,"42":2}}],["methods",{"0":{"1":1,"2":1,"3":1,"17":1,"18":1},"2":{"0":2,"1":1,"3":3,"4":3,"7":1,"13":1,"14":5,"17":1,"19":3,"21":2,"32":1,"35":1,"36":1,"40":1,"43":1,"44":1,"49":1,"53":1}}],["m",{"2":{"0":1,"4":3,"68":2,"70":2,"72":3,"78":2,"84":1}}],["mon",{"2":{"74":2}}],["monthabbr",{"2":{"74":2}}],["months",{"2":{"17":5,"48":4,"74":1}}],["monthly",{"2":{"17":2}}],["month",{"2":{"0":6,"13":1,"17":4,"25":21,"46":1,"47":2,"48":13,"74":5}}],["moving",{"2":{"60":1,"67":1}}],["moved",{"2":{"27":2}}],["move",{"2":{"26":1}}],["moves",{"2":{"13":1}}],["mod",{"2":{"67":2}}],["models",{"2":{"54":1,"57":1}}],["model",{"2":{"27":1,"56":1}}],["modification",{"2":{"27":1}}],["modified",{"2":{"5":1}}],["modifying",{"0":{"66":1},"1":{"67":1,"68":1,"69":1,"70":1,"71":1,"72":1}}],["modify",{"0":{"67":1},"2":{"6":1,"18":6,"26":1,"66":1,"67":6}}],["module",{"2":{"0":2,"4":1}}],["mostly",{"2":{"13":1,"18":2,"60":1,"61":1}}],["most",{"2":{"4":1,"14":4,"18":1,"19":1,"21":1,"26":1,"34":1,"36":1,"70":1,"74":1,"75":1}}],["more",{"2":{"0":2,"4":4,"13":1,"16":1,"21":1,"23":1,"40":2,"52":1,"65":1,"67":1,"71":1,"73":1}}],["magic",{"0":{"71":1}}],["made",{"2":{"51":1}}],["masking",{"2":{"51":1}}],["mar",{"2":{"48":6,"74":1}}],["markersize=15",{"2":{"65":1}}],["markers",{"0":{"65":1},"2":{"10":1}}],["max",{"2":{"33":4}}],["maximum",{"2":{"5":1,"21":1,"32":1,"47":1,"80":3}}],["manipulation",{"2":{"51":1}}],["mandatory",{"2":{"21":4,"42":2}}],["many",{"2":{"14":4,"21":2,"32":1,"81":1}}],["manually",{"2":{"4":5,"17":1,"40":1,"74":2,"75":1,"81":1}}],["mapped",{"2":{"51":1}}],["mapslices",{"2":{"32":1}}],["mapreduce",{"2":{"32":1}}],["map",{"2":{"14":5,"17":4,"19":1}}],["maintains",{"2":{"13":1}}],["main",{"2":{"13":1,"21":4}}],["makie",{"0":{"61":1},"1":{"62":1,"63":1,"64":1,"65":1},"2":{"60":2,"61":3,"63":1,"65":1}}],["making",{"2":{"0":1}}],["makes",{"2":{"20":1,"43":1}}],["make",{"2":{"4":1,"5":1,"15":2,"70":1,"74":1}}],["math",{"2":{"31":1}}],["matmul",{"2":{"19":4}}],["matrix",{"2":{"8":1,"19":6,"28":3,"67":3,"80":1}}],["matter",{"2":{"3":1,"15":1}}],["match",{"2":{"1":3,"2":2,"3":3,"4":1,"5":1,"13":3,"17":1,"18":4,"19":9,"24":1,"78":1,"80":1,"82":1}}],["matches",{"2":{"1":1,"5":1,"13":1,"17":1,"21":4,"42":4,"70":1}}],["matching",{"2":{"0":2,"1":1,"3":1,"4":3,"13":1,"14":2,"17":2,"18":1,"39":2,"73":1,"76":1}}],["macro",{"2":{"0":1,"3":1,"18":3,"24":1,"25":1}}],["may",{"2":{"0":2,"3":1,"4":5,"5":4,"6":1,"8":1,"11":2,"14":2,"19":1,"21":1,"48":6,"70":2,"72":1,"74":3}}],["tue",{"2":{"74":2}}],["turned",{"2":{"24":1}}],["turn",{"2":{"19":2}}],["tuples",{"2":{"3":4,"4":1,"15":1,"17":2,"30":2,"41":1,"43":1,"46":1,"69":1}}],["tuple",{"2":{"1":22,"2":8,"3":34,"4":32,"8":2,"11":5,"13":42,"14":3,"15":8,"17":2,"18":10,"19":1,"21":5,"30":3,"37":1,"41":1,"42":2,"43":6,"46":4,"47":3,"73":1,"78":1,"80":4,"84":2}}],["tell",{"2":{"68":1}}],["text",{"2":{"21":2}}],["testable",{"2":{"42":1}}],["testing",{"0":{"42":1},"2":{"42":2}}],["test",{"0":{"62":1},"1":{"63":1,"64":1,"65":1},"2":{"21":4,"42":4}}],["tested",{"2":{"21":2}}],["testname",{"2":{"18":1}}],["temporal",{"2":{"57":1}}],["tempo",{"2":{"46":9,"47":1}}],["temp",{"2":{"19":4}}],["term",{"2":{"6":1,"43":1}}],["terms",{"2":{"4":1}}],["twice",{"2":{"5":1}}],["two",{"2":{"3":1,"4":2,"5":4,"13":4,"14":2,"16":1,"27":1,"48":1,"73":1,"77":1}}],["tries",{"2":{"72":1}}],["trivially",{"2":{"49":1}}],["trial",{"2":{"33":2}}],["try",{"2":{"18":1}}],["treated",{"2":{"17":1}}],["treat",{"2":{"16":1}}],["track",{"2":{"13":1}}],["tracking",{"2":{"4":1,"8":1,"11":1}}],["trait",{"2":{"6":1,"18":2}}],["traits",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1},"2":{"3":1,"4":1,"6":2,"7":1,"18":1,"74":1}}],["transforming",{"2":{"17":1,"18":1}}],["transform",{"2":{"4":1,"46":1,"70":1}}],["transformation",{"2":{"4":3}}],["transformations",{"2":{"3":1,"4":1,"13":1}}],["transformed",{"2":{"4":4}}],["transpose",{"2":{"0":1,"32":2,"80":1}}],["transect",{"2":{"0":1}}],["true",{"2":{"1":4,"3":3,"13":4,"14":1,"17":2,"18":2,"30":1,"42":89,"44":21}}],["typ",{"2":{"0":2}}],["typeof",{"2":{"18":1,"26":1,"74":2}}],["typed",{"2":{"18":1}}],["typemax",{"2":{"4":1}}],["typemin",{"2":{"4":1}}],["type",{"2":{"0":3,"1":6,"2":3,"3":15,"4":2,"8":1,"11":2,"13":6,"14":1,"16":2,"18":4,"20":1,"27":1,"30":1,"39":2,"41":1,"43":1,"70":1,"72":1,"85":1}}],["types",{"2":{"0":6,"1":5,"2":1,"3":8,"4":7,"5":1,"6":1,"10":1,"11":2,"13":7,"16":1,"18":3,"31":1,"32":2,"35":2,"36":2,"46":1,"51":1,"55":1,"75":2}}],["tabular",{"2":{"82":1}}],["table",{"2":{"16":1,"84":1}}],["tabletraits",{"0":{"16":1},"2":{"16":1}}],["tables",{"0":{"16":1,"82":1},"1":{"83":1,"84":1,"85":1},"2":{"0":1,"13":1,"16":4,"82":2,"85":1}}],["taking",{"2":{"48":1}}],["taken",{"2":{"15":1}}],["take",{"2":{"0":1,"4":2,"5":1,"14":1,"17":2,"47":1,"64":1,"73":3,"81":1,"84":1}}],["target",{"2":{"15":2}}],["t",{"2":{"0":1,"2":2,"3":2,"4":10,"11":1,"15":1,"19":4,"25":3,"30":2,"31":1,"70":1,"71":1,"72":1,"74":1,"75":1,"76":1,"84":1}}],["title",{"2":{"21":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":{"17":6,"47":3}}],["ti=2",{"2":{"15":1}}],["ti=all",{"2":{"5":1}}],["time=1",{"2":{"23":1}}],["timeseriestools",{"0":{"59":1},"2":{"59":1}}],["times",{"2":{"0":1,"47":1,"77":2}}],["timedime",{"2":{"0":1}}],["timedim",{"2":{"0":4,"3":1}}],["time",{"0":{"25":1},"2":{"0":4,"4":1,"14":1,"17":1,"19":1,"21":1,"23":1,"33":6,"47":1,"59":1,"81":1}}],["ti",{"2":{"0":14,"1":1,"3":3,"5":3,"13":5,"15":1,"16":2,"17":6,"18":5,"19":3,"25":15,"32":3,"35":1,"47":10,"48":23,"49":5,"61":1}}],["though",{"2":{"81":1}}],["those",{"2":{"5":1,"19":2,"35":1,"70":1}}],["thur",{"2":{"74":2}}],["think",{"2":{"72":1}}],["thing",{"2":{"72":2}}],["things",{"2":{"21":2,"26":1,"66":1,"67":1,"70":2,"75":1}}],["this",{"2":{"0":1,"2":3,"3":6,"4":13,"5":6,"7":1,"8":1,"10":2,"11":2,"14":4,"15":2,"16":2,"17":6,"18":8,"19":6,"20":1,"21":3,"22":1,"24":1,"26":1,"27":2,"30":1,"31":1,"32":1,"34":1,"35":1,"38":1,"39":1,"41":1,"42":1,"43":1,"45":1,"48":5,"57":1,"60":1,"67":2,"70":1,"72":1,"73":1,"75":2,"77":1,"80":1,"81":1}}],["through",{"2":{"13":1,"55":1}}],["throws",{"2":{"5":1}}],["throw",{"2":{"3":1,"30":1}}],["throwing",{"2":{"3":1}}],["thrown",{"2":{"2":1,"3":1,"5":1,"70":1}}],["three",{"2":{"4":2,"14":2,"17":1,"48":1}}],["than",{"2":{"3":1,"4":2,"5":2,"9":1,"17":2,"27":1,"39":1,"40":1,"48":1,"66":1,"68":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,"13":8,"14":4,"15":4,"17":4,"18":7,"19":12,"22":1,"24":4,"27":2,"28":1,"31":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":3,"43":3,"46":2,"70":1,"74":2,"75":1,"77":1,"82":1,"84":1}}],["then",{"2":{"18":1,"73":1,"75":1}}],["their",{"2":{"3":2,"14":2,"18":3,"43":1,"51":2}}],["there",{"2":{"2":2,"4":2,"13":4,"18":1,"24":1,"28":1,"40":1,"43":1,"48":1,"72":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,"13":2,"14":1,"15":2,"16":1,"17":2,"18":1,"19":3,"30":1,"35":1,"36":1,"39":1,"40":3,"44":1,"70":1,"74":2,"76":1}}],["they",{"2":{"0":1,"2":1,"3":2,"4":3,"5":2,"10":2,"11":1,"13":1,"15":2,"18":2,"19":1,"21":2,"27":1,"30":1,"34":1,"35":2,"60":1,"66":1,"70":1,"74":1,"75":3,"82":1}}],["them",{"2":{"0":1,"4":1,"5":3,"11":1,"19":1,"27":1,"30":1,"43":1,"47":1,"48":1,"73":1,"74":1}}],["the",{"0":{"25":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,"13":49,"14":24,"15":16,"16":4,"17":48,"18":56,"19":22,"20":4,"21":9,"22":3,"23":1,"24":3,"25":8,"26":9,"27":5,"28":1,"29":1,"30":6,"31":4,"32":3,"33":2,"34":1,"35":6,"36":1,"38":7,"39":3,"40":6,"41":4,"42":4,"43":11,"44":1,"46":6,"47":4,"48":10,"51":1,"52":1,"56":1,"60":4,"61":5,"64":2,"66":3,"67":4,"68":1,"69":1,"70":7,"71":4,"72":9,"73":19,"74":13,"75":6,"76":2,"77":3,"78":2,"79":1,"80":5,"82":8,"84":3,"85":1}}],["tolerance",{"2":{"73":1}}],["todo",{"2":{"49":1,"72":1}}],["together",{"2":{"24":1}}],["top",{"2":{"21":1,"30":1}}],["tools",{"2":{"34":1,"51":2,"58":1}}],["too",{"2":{"19":1,"27":1,"55":1,"70":1}}],["total",{"2":{"17":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,"13":19,"14":8,"15":5,"16":1,"17":16,"18":32,"19":21,"20":2,"21":6,"22":3,"24":4,"25":4,"26":2,"27":10,"30":1,"31":2,"32":3,"34":3,"35":5,"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":2,"66":1,"67":5,"68":2,"70":3,"72":6,"73":4,"74":4,"75":3,"77":1,"78":1,"80":1,"81":2,"82":2,"85":1}}],["jan",{"2":{"48":4,"74":1}}],["january",{"2":{"17":2,"48":1}}],["jarring",{"2":{"14":2}}],["jump",{"0":{"55":1},"2":{"55":1}}],["jul",{"2":{"48":6,"74":1}}],["juliaprint",{"2":{"21":2}}],["juliaposition",{"2":{"10":1}}],["juliapoints",{"2":{"9":1}}],["juliahours",{"2":{"17":1}}],["juliahasselection",{"2":{"4":1}}],["juliahasdim",{"2":{"1":1,"13":1}}],["juliaranges",{"2":{"17":1}}],["juliareorder",{"2":{"18":1}}],["juliarebuild",{"2":{"18":1,"21":1,"40":1}}],["juliarefdims",{"2":{"13":1,"21":1}}],["juliaregular",{"2":{"8":1}}],["juliareverseordered",{"2":{"7":1}}],["juliareducedims",{"2":{"3":1}}],["juliagroupby",{"2":{"17":1}}],["juliamakie",{"2":{"61":1,"64":2,"65":1}}],["juliamap",{"2":{"14":1}}],["juliamodify",{"2":{"18":1}}],["juliamonths",{"2":{"17":1}}],["juliamergedims",{"2":{"18":3}}],["juliamergedlookup",{"2":{"4":1}}],["juliametadata",{"2":{"11":1,"13":1}}],["juliamean",{"2":{"0":4,"14":1}}],["juliafunction",{"2":{"14":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,"17":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,"13":1}}],["juliab",{"2":{"63":1}}],["juliablockwidth",{"2":{"21":1}}],["juliabroadcast",{"2":{"18":2}}],["juliabins",{"2":{"17":1}}],["juliabegin",{"2":{"10":1}}],["juliabetween",{"2":{"5":1}}],["juliabounds",{"2":{"4":1}}],["juliabase",{"2":{"13":4,"19":5}}],["juliabasedims",{"2":{"3":1}}],["juliabasetypeof",{"2":{"3":1}}],["julianame",{"2":{"13":1,"20":1}}],["julianame2dim",{"2":{"3":1}}],["julianoname",{"2":{"20":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":{"18":2}}],["juliaunits",{"2":{"11":1}}],["juliaunordered",{"2":{"7":1}}],["juliaunaligned",{"2":{"4":1}}],["juliausing",{"2":{"0":3,"3":2,"4":6,"5":7,"18":3,"23":1,"25":1,"26":1,"35":1,"43":1,"46":1,"61":1,"73":1,"74":1,"80":1,"83":1,"85":1}}],["juliacat",{"2":{"19":1}}],["juliacategorical",{"2":{"4":1}}],["juliacenter",{"2":{"10":1}}],["juliacopy",{"2":{"19":2}}],["juliacontains",{"2":{"5":1}}],["juliacombinedims",{"2":{"3":1}}],["juliacomparedims",{"2":{"3":1}}],["juliacommondims",{"2":{"3":1}}],["juliacyclicbins",{"2":{"17":1}}],["juliacyclic",{"2":{"4":1}}],["juliaa",{"2":{"18":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":{"20":1}}],["juliaabstractdimtable",{"2":{"16":1}}],["juliaabstractdimstack",{"2":{"14":1}}],["juliaabstractdimarray",{"2":{"13":1}}],["juliaabstractbasicdimarray",{"2":{"13":1}}],["juliaabstractmetadata",{"2":{"11":1}}],["juliaabstractcategorical",{"2":{"4":1}}],["juliaabstractcyclic",{"2":{"4":1}}],["juliaabstractsampled",{"2":{"4":1}}],["juliaanondim",{"2":{"0":1}}],["juliashow",{"2":{"21":2}}],["juliashiftlocus",{"2":{"4":1}}],["juliastrict",{"2":{"19":4}}],["juliastart",{"2":{"10":1}}],["juliaspan",{"2":{"4":1,"8":1}}],["juliasampling",{"2":{"4":1,"9":1}}],["juliasampled",{"2":{"4":1}}],["juliaset",{"2":{"18":1}}],["juliasetdims",{"2":{"3":1}}],["juliaseasons",{"2":{"17":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,"13":24,"14":8,"15":4,"16":2,"17":2,"18":4,"19":4,"22":1,"28":1,"33":1,"35":1,"42":1,"43":1,"67":1,"68":2,"73":2,"74":1,"77":1,"81":1}}],["julia",{"2":{"0":1,"17":1,"18":2,"21":2,"24":2,"26":1,"27":1,"31":1,"32":1,"34":3,"54":1,"56":1,"82":1}}],["juliajulia>",{"2":{"0":1,"1":4,"3":1,"13":9,"14":1,"15":2,"16":1,"17":4,"18":6,"19":1,"22":3,"23":4,"25":10,"26":2,"28":14,"29":2,"30":7,"31":2,"32":2,"33":3,"35":4,"42":4,"43":50,"44":73,"46":9,"47":8,"48":13,"49":4,"67":8,"68":2,"70":6,"71":2,"72":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":{"17":1}}],["juliadimtable",{"2":{"16":1}}],["juliadimpoints",{"2":{"15":1}}],["juliadimindices",{"2":{"15":1}}],["juliadimarray",{"2":{"13":1}}],["juliadimnum",{"2":{"1":1,"13":1}}],["juliadimselectors",{"2":{"15":1}}],["juliadimstack",{"2":{"14":1}}],["juliadimsmatch",{"2":{"3":1}}],["juliadims2indices",{"2":{"2":1}}],["juliadims",{"2":{"1":2,"13":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,"19":1,"24":1,"38":1,"40":1,"43":1,"48":3,"71":1,"72":1,"78":1}}],["j",{"2":{"3":2,"23":3,"63":1,"84":1}}],["jl",{"0":{"16":2,"34":1,"42":1,"51":1,"52":1,"53":1,"54":1,"55":1,"56":1,"57":1,"58":1,"59":1,"60":1,"61":1},"1":{"62":1,"63":1,"64":1,"65":1},"2":{"0":2,"4":5,"5":2,"16":2,"17":1,"18":2,"21":6,"26":1,"27":7,"31":6,"34":11,"35":1,"36":1,"37":1,"38":2,"40":3,"42":1,"43":2,"45":1,"51":3,"52":4,"53":2,"54":1,"55":1,"56":1,"57":2,"58":1,"59":1,"60":4,"61":1,"65":1,"66":1,"70":1,"71":2,"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,"13":12,"15":1,"16":1,"18":11,"21":1,"31":2,"35":2,"40":1,"43":3,"49":1,"68":1,"70":1,"72":1}}],["objects",{"0":{"66":1},"1":{"67":1,"68":1,"69":1,"70":1,"71":1,"72":1},"2":{"0":1,"2":2,"3":1,"4":1,"5":2,"7":1,"11":1,"13":1,"14":3,"17":1,"18":4,"27":1,"30":1,"35":1,"37":1,"38":1,"39":1,"40":3,"43":1,"49":2,"66":1,"71":2,"72":1,"80":1}}],["our",{"2":{"30":2,"43":1,"46":1,"48":6}}],["outer",{"2":{"41":1,"67":1,"74":1,"75":3}}],["outcome",{"2":{"14":2}}],["out",{"2":{"4":1,"16":1,"35":1,"51":1,"60":1}}],["outputs",{"2":{"57":1}}],["output",{"2":{"0":4,"3":2,"4":5,"5":7,"18":2,"25":1,"48":1,"49":1,"56":1}}],["old",{"2":{"18":6}}],["optimization",{"2":{"55":1}}],["optimised",{"2":{"7":1}}],["options",{"2":{"18":5,"42":2}}],["optional",{"2":{"13":1,"21":4,"42":2}}],["operation",{"2":{"17":1,"32":1}}],["operations",{"2":{"0":1,"13":1,"17":1,"19":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":{"17":1}}],["over",{"2":{"0":1,"4":4,"9":1,"14":3,"15":2,"17":2,"18":6,"19":2,"24":2,"25":1,"47":1,"74":1,"80":1}}],["others",{"2":{"18":2}}],["otherwise",{"2":{"4":1,"17":1,"18":1,"19":1,"36":1}}],["otherdims",{"2":{"1":3,"13":3,"15":1,"43":8,"44":13}}],["other",{"2":{"0":2,"3":2,"4":2,"5":2,"17":1,"18":3,"19":2,"24":1,"25":1,"27":1,"28":1,"36":1,"44":1,"46":1,"49":1,"61":1,"74":1,"75":2,"77":1,"78":1,"82":1,"85":1}}],["orange",{"2":{"64":1,"65":1}}],["organized",{"2":{"35":1}}],["organises",{"2":{"0":1}}],["originates",{"2":{"17":1}}],["original",{"2":{"3":3,"18":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,"13":3,"74":2}}],["order",{"0":{"7":1},"2":{"1":1,"2":1,"3":12,"4":23,"5":1,"7":9,"13":1,"15":7,"18":17,"19":4,"25":1,"30":4,"43":6,"61":1,"70":3,"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,"13":31,"14":7,"15":6,"16":4,"17":16,"18":15,"19":5,"21":4,"22":1,"23":2,"25":2,"27":1,"30":1,"31":2,"32":2,"35":1,"36":3,"38":1,"39":1,"41":1,"42":2,"43":10,"44":1,"45":1,"48":1,"64":1,"66":1,"67":1,"70":1,"73":4,"74":3,"75":3,"76":2,"77":1,"78":2,"82":1,"85":1}}],["off",{"2":{"19":1,"24":1}}],["offsetarrays",{"2":{"38":2}}],["offset",{"2":{"5":1}}],["often",{"2":{"17":1,"18":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,"13":34,"14":10,"15":16,"16":3,"17":40,"18":29,"19":10,"20":1,"21":16,"24":1,"25":2,"26":2,"27":1,"28":2,"30":8,"31":1,"34":3,"35":2,"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,"64":1,"66":1,"67":1,"69":2,"70":4,"72":2,"73":2,"74":4,"75":3,"76":2,"77":5,"78":2,"79":1,"80":3,"82":5,"84":1}}],["oneto",{"2":{"19":2,"25":2,"74":2}}],["one",{"2":{"3":1,"4":3,"9":1,"14":2,"18":1,"19":3,"26":1,"27":1,"40":2,"70":2,"73":1,"77":1,"79":1,"84":3}}],["ones",{"2":{"1":4,"3":3,"4":1,"13":10,"16":1,"18":4,"24":1,"28":4,"33":1}}],["only",{"2":{"2":1,"4":1,"5":1,"13":3,"15":4,"18":4,"40":2,"48":1,"66":1,"70":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,"13":3,"14":2,"17":3,"18":3,"19":2,"20":1,"21":3,"24":2,"26":3,"27":2,"30":1,"34":1,"41":1,"42":2,"48":1,"57":1,"60":2,"70":1,"71":1,"78":2}}],["away",{"2":{"70":1}}],["aware",{"2":{"24":1,"51":1}}],["a1",{"2":{"70":4}}],["aimed",{"2":{"52":1}}],["aggregate",{"2":{"48":1}}],["again",{"2":{"14":1,"30":1}}],["a=rand",{"2":{"77":1}}],["a=falses",{"2":{"67":1}}],["a=3",{"2":{"29":1}}],["a=1",{"2":{"23":1}}],["aug",{"2":{"48":6,"74":1}}],["auxiliary",{"2":{"27":1,"57":1}}],["autodetection",{"0":{"75":1}}],["automata",{"2":{"57":1}}],["automated",{"2":{"18":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,"18":1,"24":1,"72":1}}],["after",{"2":{"13":1,"17":3,"21":3,"25":1,"48":1}}],["affine",{"2":{"4":1}}],["affect",{"2":{"0":1}}],["apr",{"2":{"48":6,"74":2}}],["appearance",{"2":{"18":1}}],["applies",{"2":{"67":1}}],["applied",{"2":{"4":1,"14":1,"17":2,"18":1,"80":1}}],["applicable",{"2":{"18":1}}],["applications",{"2":{"70":1}}],["application",{"2":{"17":1,"34":1}}],["applying",{"2":{"17":2}}],["apply",{"2":{"14":3,"49":1}}],["api",{"0":{"12":1},"1":{"13":1,"14":1,"15":1,"16":1}}],["adherence",{"2":{"34":1}}],["adjoint",{"2":{"32":1,"80":1}}],["adjacent",{"2":{"5":1}}],["adapt",{"2":{"27":3}}],["add",{"2":{"21":1,"22":2,"28":1,"74":1}}],["addition",{"2":{"73":1}}],["additionally",{"2":{"22":1}}],["additional",{"2":{"21":2,"74":1}}],["adding",{"2":{"4":3,"21":2}}],["added",{"2":{"3":1,"21":3,"24":1,"36":1,"42":2}}],["available",{"2":{"4":1,"11":2}}],["avoids",{"2":{"14":1,"17":1}}],["avoid",{"2":{"0":1,"5":1,"14":1,"21":1,"24":1}}],["actual",{"2":{"27":1}}],["actually",{"2":{"2":1,"4":1}}],["active",{"2":{"19":2}}],["acepted",{"2":{"13":4}}],["accessed",{"2":{"78":1}}],["accessors",{"2":{"71":1}}],["accessing",{"2":{"33":1}}],["access",{"2":{"28":1,"35":1}}],["accepted",{"2":{"21":2,"42":2,"70":1}}],["accept",{"2":{"13":1,"14":1,"39":1,"41":1,"70":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,"15":6,"70":1}}],["attach",{"2":{"4":1}}],["attached",{"2":{"3":1,"38":1}}],["attempting",{"2":{"19":2}}],["attempt",{"2":{"0":1}}],["at",{"2":{"0":1,"3":2,"4":6,"5":11,"9":3,"13":1,"14":3,"15":4,"17":2,"18":1,"21":5,"43":1,"46":1,"48":1,"51":1,"52":1,"73":2,"74":2,"76":2,"77":2}}],["astroimage",{"2":{"58":1}}],["astroimages",{"0":{"58":1},"2":{"58":1}}],["astronomical",{"2":{"58":1}}],["assumes",{"2":{"70":1}}],["assert",{"2":{"49":1}}],["associate",{"2":{"35":2}}],["assignment",{"2":{"18":1,"25":1}}],["assigned",{"2":{"4":9,"66":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,"13":7,"14":6,"15":4,"16":5,"17":5,"18":8,"19":4,"21":2,"24":2,"26":2,"27":3,"32":1,"33":1,"35":1,"36":1,"38":1,"39":2,"40":4,"60":3,"61":1,"64":1,"70":3,"73":2,"74":1,"75":5}}],["above",{"2":{"44":1,"47":2}}],["about",{"2":{"0":1,"4":3,"11":1,"26":1,"71":1}}],["abstracdimarray",{"2":{"31":1}}],["abstractname",{"2":{"20":3}}],["abstraction",{"2":{"18":1}}],["abstractdimtable",{"2":{"16":2}}],["abstractdimstack",{"2":{"14":4,"16":3,"17":5,"18":10,"19":7,"21":5,"36":1,"41":1,"51":1,"54":1,"67":1,"70":2,"77":1,"80":2,"82":1}}],["abstractdimarrays",{"2":{"3":1,"18":4,"20":1,"21":2,"31":1}}],["abstractdimarray",{"2":{"0":1,"3":2,"4":1,"11":2,"13":7,"14":5,"15":1,"16":4,"17":7,"18":17,"19":7,"21":6,"24":1,"27":2,"32":1,"36":1,"40":3,"41":2,"45":1,"51":1,"52":1,"55":1,"57":2,"58":1,"60":1,"61":1,"67":1,"70":2,"77":1,"80":1,"82":1}}],["abstractrng",{"2":{"13":2}}],["abstractrange",{"2":{"4":4,"17":2,"74":1,"75":1}}],["abstractbasicarray",{"2":{"13":1}}],["abstractbasicdimarray",{"2":{"13":2,"18":1}}],["abstractmetadata",{"2":{"11":3,"18":1}}],["abstractmatrix",{"2":{"8":1}}],["abstractstring",{"2":{"4":1}}],["abstractsampled",{"2":{"4":6,"36":1,"51":1,"74":1}}],["abstractcolumns",{"2":{"16":1}}],["abstractcategorical",{"2":{"4":4,"36":1}}],["abstractcyclic",{"2":{"4":2}}],["abstractarray",{"2":{"2":3,"3":2,"4":4,"5":1,"13":4,"14":2,"15":3,"17":4,"18":4,"19":2,"28":1,"34":1,"38":1,"48":2,"74":1,"75":1,"77":1}}],["abstractvector",{"2":{"0":1,"4":4,"13":8}}],["abstract",{"2":{"0":7,"1":2,"3":4,"4":4,"5":3,"6":1,"10":1,"11":1,"13":4,"14":2,"16":1,"18":1,"20":1}}],["abs",{"2":{"23":1}}],["absent",{"2":{"3":1}}],["axis",{"2":{"0":6,"2":1,"3":2,"4":9,"10":3,"13":4,"15":1,"18":1,"38":1,"48":1,"60":1,"61":2,"73":2,"74":2}}],["axes",{"0":{"38":1},"2":{"0":1,"1":1,"4":1,"13":1,"19":3,"25":2,"30":2,"32":1,"38":2,"61":2,"70":1}}],["alpha",{"2":{"23":1}}],["alpha=",{"2":{"23":1}}],["align",{"2":{"10":1}}],["aligned",{"2":{"4":6,"76":1}}],["although",{"2":{"4":1,"13":1,"60":1}}],["alone",{"2":{"4":2}}],["along",{"0":{"25":1},"2":{"0":1,"17":1,"32":1,"43":1,"74":1}}],["algorithms",{"2":{"3":1,"70":1}}],["always",{"2":{"1":1,"3":1,"9":1,"11":2,"13":1,"14":2,"18":2,"19":4,"21":2,"40":1,"44":1,"51":1,"70":1}}],["already",{"2":{"0":1,"27":1}}],["also",{"2":{"0":3,"3":3,"5":2,"10":1,"11":1,"14":1,"17":1,"18":3,"25":1,"30":1,"31":1,"32":1,"35":1,"38":1,"39":1,"40":1,"47":1,"48":3,"49":2,"51":1,"61":2,"72":1,"73":4,"74":1,"76":1,"79":1,"85":1}}],["allocate",{"2":{"82":1}}],["allocations",{"2":{"81":2}}],["allocation",{"2":{"18":1}}],["allocs",{"2":{"33":2}}],["allows",{"2":{"10":1,"17":1,"18":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,"13":3,"14":5,"15":3,"18":11,"19":8,"20":1,"21":2,"27":1,"31":1,"40":2,"42":2,"43":1,"44":3,"48":1,"51":1,"57":2,"66":1,"67":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":{"34":1}}],["around",{"2":{"17":3}}],["arbitrary",{"0":{"29":1},"2":{"15":1,"17":2,"29":1,"48":1}}],["arg",{"2":{"21":3,"42":3,"70":1}}],["args",{"2":{"3":1,"18":3,"21":12,"40":1,"42":12}}],["argumenterror",{"2":{"30":1}}],["argument",{"2":{"2":1,"3":2,"4":4,"11":2,"13":2,"14":1,"18":4,"25":1,"39":1,"40":3,"64":1}}],["arguments",{"2":{"0":1,"1":4,"3":4,"4":8,"8":1,"13":6,"14":1,"17":1,"18":5,"21":2,"27":1,"40":1,"42":2,"70":2}}],["arrays",{"0":{"13":1},"2":{"5":1,"13":5,"14":1,"17":1,"18":2,"19":1,"20":1,"21":2,"25":1,"66":1,"67":3,"75":3,"76":1,"84":1,"85":1}}],["arrayselectors",{"2":{"5":1}}],["arrayselector",{"2":{"5":4}}],["array",{"0":{"14":1,"79":1},"2":{"0":3,"1":1,"2":2,"3":4,"4":16,"5":1,"9":1,"10":1,"11":1,"13":6,"14":3,"15":3,"16":1,"17":1,"18":8,"19":4,"20":2,"21":2,"23":1,"24":1,"25":1,"26":1,"27":3,"31":1,"32":1,"33":1,"36":2,"38":3,"41":2,"42":2,"47":1,"48":1,"55":1,"67":4,"70":4,"73":2,"74":1,"75":2,"76":1,"81":1,"82":1}}],["aren",{"2":{"76":1}}],["areound",{"2":{"18":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,"13":9,"14":3,"15":4,"16":2,"17":1,"18":15,"19":5,"21":13,"24":1,"25":1,"27":2,"28":2,"30":1,"34":2,"35":4,"36":3,"40":2,"42":10,"43":1,"46":1,"48":1,"51":2,"57":2,"61":1,"66":2,"70":3,"74":2,"75":9,"76":1,"79":2,"80":1,"81":1,"82":3}}],["analysis",{"2":{"48":1,"53":1,"54":1}}],["analogous",{"2":{"24":1}}],["answer",{"2":{"34":1}}],["ansi",{"2":{"21":1}}],["anomalies",{"2":{"17":1}}],["another",{"2":{"4":1,"13":1,"14":1,"15":2,"19":1,"29":1,"45":1,"52":1,"70":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,"18":1}}],["any",{"2":{"0":1,"1":5,"2":1,"3":4,"4":5,"5":5,"11":2,"13":5,"17":8,"18":1,"19":1,"21":2,"27":1,"28":10,"35":2,"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,"13":21,"14":1,"15":6,"16":3,"17":6,"18":8,"19":2,"20":1,"21":6,"24":1,"27":1,"30":1,"31":2,"32":1,"35":1,"38":1,"40":1,"41":2,"43":6,"47":1,"48":3,"49":1,"54":2,"64":1,"73":2,"74":2,"75":1,"77":2,"82":1}}],["and",{"0":{"24":1,"47":1,"82":1},"1":{"25":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":17,"14":13,"15":2,"16":3,"17":4,"18":10,"19":11,"20":1,"21":12,"23":1,"24":2,"25":4,"26":1,"27":4,"28":2,"29":2,"30":1,"31":3,"34":5,"35":3,"36":1,"38":2,"39":1,"40":3,"41":3,"42":6,"43":3,"44":2,"48":4,"49":1,"51":7,"52":2,"57":2,"58":1,"60":3,"61":4,"66":1,"67":2,"70":2,"71":1,"72":1,"73":3,"74":3,"75":8,"76":1,"77":1,"78":1,"80":1,"81":3,"82":6,"84":3,"85":1}}],["a",{"0":{"64":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":68,"14":32,"15":16,"16":5,"17":43,"18":46,"19":12,"20":2,"21":13,"23":6,"24":3,"25":7,"26":5,"27":1,"28":7,"29":3,"31":2,"35":4,"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":2,"61":6,"63":1,"64":3,"65":2,"66":1,"67":10,"68":9,"69":2,"70":13,"71":4,"72":14,"73":60,"74":14,"75":6,"76":5,"77":5,"78":14,"79":27,"80":41,"81":6,"83":5,"84":33,"85":9}}]],"serializationVersion":2}';export{e as default}; diff --git a/dev/assets/chunks/VPLocalSearchBox.96yseQxt.js b/dev/assets/chunks/VPLocalSearchBox.XEwDE-_y.js similarity index 68% rename from dev/assets/chunks/VPLocalSearchBox.96yseQxt.js rename to dev/assets/chunks/VPLocalSearchBox.XEwDE-_y.js index 50905869b..787a8c2ce 100644 --- a/dev/assets/chunks/VPLocalSearchBox.96yseQxt.js +++ b/dev/assets/chunks/VPLocalSearchBox.XEwDE-_y.js @@ -1,7 +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.B8l2DGq3.js";import{u as ts,c as ss}from"./theme.b8NutB4I.js";const ns={root:()=>Ot(()=>import("./@localSearchIndexroot.CMyb46FE.js"),[])};/*! +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 Ce=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,p as ne,h as ve,aj as Xe,ak as Rt,al as Ct,q as Ve,am as Mt,d as At,D as we,an as et,ao as Lt,ap as Dt,s as zt,aq as Pt,v as Me,P as de,O as xe,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 Se,C as st,F as nt,a as he,t as fe,aw as Ht,ax as it,ay as Qt,a8 as Yt,ae as Zt,az as Xt,_ as es}from"./framework.BAAK0EyE.js";import{u as ts,c as ss}from"./theme.By8UT2IG.js";const ns={root:()=>Ot(()=>import("./@localSearchIndexroot.DZIvyN8P.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)};/*! +*/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])"],ke=vt.join(","),mt=typeof Element>"u",re=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!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},Fe=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(Fe(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(ke));return t&&re.call(e,ke)&&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(!Fe(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=re.call(i,ke);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var v=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),p=!Fe(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))},ie=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=ie(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(re.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=Ne(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:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ms}):s=gt(e,t.includeContainer,$e.bind(null,t)),gs(s)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:Oe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(e,t.includeContainer,Oe.bind(null,t)),s},ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,ke)===!1?!1:$e(t,e)},ws=vt.concat("iframe").join(","),Ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,ws)===!1?!1:Oe(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}; +*/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},me=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Is=function(e){return me(e)&&!e.shiftKey},ks=function(e){return me(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},pe=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 ae(f)}),F=g.slice().reverse().find(function(f){return ae(f)}),m=!!u.find(function(f){return ie(f)>0});return{container:d,tabbableNodes:u,focusableNodes:g,posTabIndexesFound:m,firstTabbableNode:_,lastTabbableNode:E,firstDomTabbableNode:N,lastDomTabbableNode:F,nextTabbableNode:function(I){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=u.indexOf(I);return C<0?A?g.slice(g.indexOf(I)+1).find(function(M){return ae(M)}):g.slice(0,g.indexOf(I)).reverse().find(function(M){return ae(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||_e(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(T){var P=T.firstTabbableNode;return u===P});if(f<0&&(m.container===u||Ae(u,r.tabbableOptions)&&!ae(u,r.tabbableOptions)&&!m.nextTabbableNode(u,!1))&&(f=F),f>=0){var I=f===0?i.tabbableGroups.length-1:f-1,A=i.tabbableGroups[I];N=ie(u)>=0?A.lastTabbableNode:A.lastDomTabbableNode}else me(g)||(N=m.nextTabbableNode(u,!1))}else{var C=ut(i.tabbableGroups,function(T){var P=T.lastTabbableNode;return u===P});if(C<0&&(m.container===u||Ae(u,r.tabbableOptions)&&!ae(u,r.tabbableOptions)&&!m.nextTabbableNode(u))&&(C=F),C>=0){var M=C===i.tabbableGroups.length-1?0:C+1,j=i.tabbableGroups[M];N=ie(u)>=0?j.firstTabbableNode:j.firstDomTabbableNode}else me(g)||(N=m.nextTabbableNode(u))}}else N=h("fallbackFocus");return N},O=function(d){var u=_e(d);if(!(c(u,d)>=0)){if(pe(r.clickOutsideDeactivates,d)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}pe(r.allowOutsideClick,d)||d.preventDefault()}},R=function(d){var u=_e(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(ie(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(I){return ie(I)>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&&(me(d)&&d.preventDefault(),y(g))},G=function(d){(r.isKeyForward(d)||r.isKeyBackward(d))&&K(d,r.isKeyBackward(d))},W=function(d){Ts(d)&&pe(r.escapeDeactivates,d)!==!1&&(d.preventDefault(),o.deactivate())},V=function(d){var u=_e(d);c(u,d)>=0||pe(r.clickOutsideDeactivates,d)||pe(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},ge=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},L=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(L):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,ge(),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(),ge(),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=ne(!1),i=ne(!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=ve(()=>{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 Ve(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 le{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=>{le.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 le(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 le(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 le.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=le.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 Ie(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 Le{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}=oe(this._path);if(oe(t)===z)return{done:!1,value:this.result()};const s=e.get(oe(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=oe(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>oe(e)).filter(e=>e!==z).join("")}value(){return oe(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 oe=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]=Re(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Je(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 Le(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=Be(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=Be(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Le(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(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=De(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=De(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Le(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 Re=(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]),Re(a.get(s),e.slice(s.length),t);return t.push([a,e]),Re(void 0,"",t)},Be=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return Be(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Re(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]=Je(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]=Je(a);s.set(n+e,t),s.delete(n)},Je=a=>a[a.length-1],Ue="or",It="and",Ds="and_not";class ce{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?je:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},Pe),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=Ke,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=Ke,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ie(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||We.batchSize,r=e.batchWait||We.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||je.minDirtCount,s=s||je.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===ce.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 Ie(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(Pe.hasOwnProperty(e))return ze(Pe,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=Ee(n),l._fieldLength=Ee(r),l._storedFields=Ee(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),Ee(b))}l._index.set(c,v)}return l}static loadJSAsync(e,t){return Ie(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 Te(n),l._fieldLength=yield Te(r),l._storedFields=yield Te(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 Te(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 ce(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===ce.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]:ze(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=Ue){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 $=ze(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={[Ue]:(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}},Pe={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:Ue,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},We={batchSize:1e3,batchWait:10},Ke={minDirtFactor:.1,minDirtCount:20},je=Object.assign(Object.assign({},We),Ke),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,Ee=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Te=a=>Ie(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){Ce(this,"max");Ce(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=["aria-activedescendant","aria-controls","placeholder"],Ys={class:"search-actions"},Zs=["title"],Xs=["disabled","title"],en=["id","role","aria-labelledby"],tn=["id","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=we(),n=we(),r=we(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,I,A,C,M,j,T,P;return it(ce.loadJSON((I=await((f=(m=r.value)[l.value])==null?void 0:f.call(m)))==null?void 0:I.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)},...((j=c.value.search)==null?void 0:j.provider)==="local"&&((P=(T=c.value.search.options)==null?void 0:T.miniSearch)==null?void 0:P.options)}))}),p=ve(()=>{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?ne(""):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=ve(()=>{var m,f,I;return((m=c.value.search)==null?void 0:m.provider)==="local"&&(((f=c.value.search.options)==null?void 0:f.disableDetailedView)===!0||((I=c.value.search.options)==null?void 0:I.detailedView)===!1)}),x=ve(()=>{var f,I,A,C,M,j,T;const m=((f=c.value.search)==null?void 0:f.options)??c.value.algolia;return((M=(C=(A=(I=m==null?void 0:m.locales)==null?void 0:I[l.value])==null?void 0:A.translations)==null?void 0:C.button)==null?void 0:M.buttonText)||((T=(j=m==null?void 0:m.translations)==null?void 0:j.button)==null?void 0:T.buttonText)||"Search"});zt(()=>{y.value&&(b.value=!1)});const w=we([]),O=ne(!1);Ve(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,I],A,C)=>{var X,be,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 j=I?await Promise.all(w.value.map(B=>G(B.id))):[];if(M)return;for(const{id:B,mod:ee}of j){const te=B.slice(0,B.indexOf("#"));let Q=K.get(te);if(Q)continue;Q=new Map,K.set(te,Q);const U=ee.default??ee;if(U!=null&&U.render||U!=null&&U.setup){const se=Qt(U);se.config.warnHandler=()=>{},se.provide(Yt,i),Object.defineProperties(se.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");se.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ue=>{var Ze;const ye=(Ze=ue.querySelector("a"))==null?void 0:Ze.getAttribute("href"),Qe=(ye==null?void 0:ye.startsWith("#"))&&ye.slice(1);if(!Qe)return;let Ye="";for(;(ue=ue.nextElementSibling)&&!/^h[1-6]$/i.test(ue.tagName);)Ye+=ue.outerHTML;Q.set(Qe,Ye)}),se.unmount()}if(M)return}const T=new Set;if(w.value=w.value.map(B=>{const[ee,te]=B.id.split("#"),Q=K.get(ee),U=(Q==null?void 0:Q.get(te))??"";for(const se in B.match)T.add(se);return{...B,text:U}}),await de(),M)return;await new Promise(B=>{var ee;(ee=R.value)==null||ee.unmark({done:()=>{var te;(te=R.value)==null||te.markRegExp(E(T),{done:B})}})});const P=((X=s.value)==null?void 0:X.querySelectorAll(".result .excerpt"))??[];for(const B of P)(be=B.querySelector('mark[data-markjs="true"]'))==null||be.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(I){return console.error(I),{id:m,mod:{}}}}const W=ne(),V=ve(()=>{var m;return((m=p.value)==null?void 0:m.length)<=0});function $(m=!0){var f,I;(f=W.value)==null||f.focus(),m&&((I=W.value)==null||I.select())}Me(()=>{$()});function ge(m){m.pointerType==="mouse"&&$()}const L=ne(-1),H=ne(!1);Ve(w,m=>{L.value=m.length?0:-1,J()});function J(){de(()=>{const m=document.querySelector(".result.selected");m==null||m.scrollIntoView({block:"nearest"})})}xe("ArrowUp",m=>{m.preventDefault(),L.value--,L.value<0&&(L.value=w.value.length-1),H.value=!0,J()}),xe("ArrowDown",m=>{m.preventDefault(),L.value++,L.value>=w.value.length&&(L.value=0),H.value=!0,J()});const k=jt();xe("Enter",m=>{if(m.isComposing||m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const f=w.value[L.value];if(m.target instanceof HTMLInputElement&&!f){m.preventDefault();return}f&&(k.go(f.id),t("close"))}),xe("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"}}});Me(()=>{window.history.pushState(null,"",null)}),Vt("popstate",m=>{m.preventDefault(),t("close")});const g=$t(Bt?document.body:null);Me(()=>{de(()=>{g.value=!0,de().then(()=>o())})}),Wt(()=>{g.value=!1});function _(){p.value="",de().then(()=>$(!1))}function E(m){return new RegExp([...m].sort((f,I)=>I.length-f.length).map(f=>`(${Xt(f)})`).join("|"),"gi")}return(m,f)=>{var I,A,C,M,j;return q(),Kt(Ht,{to:"body"},[S("div",{ref_key:"el",ref:s,role:"button","aria-owns":(I=w.value)!=null&&I.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]=T=>m.$emit("close"))}),S("div",Us,[S("form",{class:"search-bar",onPointerup:f[4]||(f[4]=T=>ge(T)),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]=T=>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]=T=>Gt(p)?p.value=T:null),"aria-activedescendant":L.value>-1?"localsearch-item-"+L.value:void 0,"aria-autocomplete":"both","aria-controls":(A=w.value)!=null&&A.length?"localsearch-list":void 0,"aria-labelledby":"localsearch-label",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"search-input",id:"localsearch-input",enterkeyhint:"go",maxlength:"64",placeholder:x.value,spellcheck:"false",type:"search"},null,8,Qs),[[qt,D(p)]]),S("div",Ys,[y.value?Se("",!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]=T=>L.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:(C=w.value)!=null&&C.length?"localsearch-list":void 0,role:(M=w.value)!=null&&M.length?"listbox":void 0,"aria-labelledby":(j=w.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:f[7]||(f[7]=T=>H.value=!1)},[(q(!0),Y(nt,null,st(w.value,(T,P)=>(q(),Y("li",{key:T.id,id:"localsearch-item-"+P,"aria-selected":L.value===P?"true":"false",role:"option"},[S("a",{href:T.id,class:tt(["result",{selected:L.value===P}]),"aria-label":[...T.titles,T.title].join(" > "),onMouseenter:X=>!H.value&&(L.value=P),onFocusin:X=>L.value=P,onClick:f[6]||(f[6]=X=>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(T.titles,(X,be)=>(q(),Y("span",{key:be,class:"title"},[S("span",{class:"text",innerHTML:X},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:T.title},null,8,on)])]),D(b)?(q(),Y("div",ln,[T.text?(q(),Y("div",cn,[S("div",{class:"vp-doc",innerHTML:T.text},null,8,un)])):Se("",!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))])):Se("",!0)])],42,sn)],8,tn))),128)),D(p)&&!w.value.length&&O.value?(q(),Y("li",dn,[he(fe(D(u)("modal.noResultsText"))+' "',1),S("strong",null,fe(D(p)),1),f[16]||(f[16]=he('" '))])):Se("",!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),he(" "+fe(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),he(" "+fe(D(u)("modal.footer.selectText")),1)]),S("span",null,[S("kbd",{"aria-label":D(u)("modal.footer.closeKeyAriaLabel")},"esc",8,mn),he(" "+fe(D(u)("modal.footer.closeText")),1)])])])],8,Js)])}}}),_n=es(gn,[["__scopeId","data-v-1783de97"]]);export{_n as default}; diff --git a/dev/assets/chunks/framework.B8l2DGq3.js b/dev/assets/chunks/framework.B8l2DGq3.js deleted file mode 100644 index a784c3868..000000000 --- a/dev/assets/chunks/framework.B8l2DGq3.js +++ /dev/null @@ -1,18 +0,0 @@ -/** -* @vue/shared v3.5.11 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Ds(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Z={},Tt=[],Be=()=>{},zo=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hs=e=>e.startsWith("onUpdate:"),fe=Object.assign,$s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jo=Object.prototype.hasOwnProperty,J=(e,t)=>Jo.call(e,t),K=Array.isArray,Ct=e=>Hn(e)==="[object Map]",fi=e=>Hn(e)==="[object Set]",q=e=>typeof e=="function",re=e=>typeof e=="string",st=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",ui=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),di=Object.prototype.toString,Hn=e=>di.call(e),Qo=e=>Hn(e).slice(8,-1),hi=e=>Hn(e)==="[object Object]",js=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zo=/-(\w)/g,Le=$n(e=>e.replace(Zo,(t,n)=>n?n.toUpperCase():"")),el=/\B([A-Z])/g,rt=$n(e=>e.replace(el,"-$1").toLowerCase()),jn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),Sn=$n(e=>e?`on${jn(e)}`:""),tt=(e,t)=>!Object.is(e,t),En=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t},tl=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let dr;const gi=()=>dr||(dr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vs(e){if(K(e)){const t={};for(let n=0;n{if(n){const s=n.split(sl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Us(e){let t="";if(re(e))t=e;else if(K(e))for(let n=0;n!!(e&&e.__v_isRef===!0),cl=e=>re(e)?e:e==null?"":K(e)||ne(e)&&(e.toString===di||!q(e.toString))?yi(e)?cl(e.value):JSON.stringify(e,vi,2):String(e),vi=(e,t)=>yi(t)?vi(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[ts(s,i)+" =>"]=r,n),{})}:fi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ts(n))}:st(t)?ts(t):ne(t)&&!K(t)&&!hi(t)?String(t):t,ts=(e,t="")=>{var n;return st(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.11 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let _e;class al{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.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;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$t;){let t=$t;for($t=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ei(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,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ws(s),ul(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Es(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===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Es(e)){e.flags&=-3;return}const n=te,s=Ne;te=e,Ne=!0;try{Ei(e);const r=e.fn(e._value);(t.version===0||tt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Ne=s,xi(e),e.flags&=-3}}function Ws(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s),!n.subs&&n.computed){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ws(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ul(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const Ci=[];function it(){Ci.push(Ne),Ne=!1}function ot(){const e=Ci.pop();Ne=e===void 0?!0:e}function hr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Kt=0;class dl{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 Vn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Ne||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new dl(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,Ai(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Bs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ks()}}}function Ai(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ai(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const On=new WeakMap,ht=Symbol(""),xs=Symbol(""),qt=Symbol("");function ve(e,t,n){if(Ne&&te){let s=On.get(e);s||On.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Vn),r.map=s,r.key=n),r.track()}}function Ge(e,t,n,s,r,i){const o=On.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Bs(),t==="clear")o.forEach(l);else{const c=K(e),f=c&&js(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,g)=>{(g==="length"||g===qt||!st(g)&&g>=a)&&l(h)})}else switch(n!==void 0&&l(o.get(n)),f&&l(o.get(qt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(ht)),Ct(e)&&l(o.get(xs)));break;case"delete":c||(l(o.get(ht)),Ct(e)&&l(o.get(xs)));break;case"set":Ct(e)&&l(o.get(ht));break}}ks()}function hl(e,t){const n=On.get(e);return n&&n.get(t)}function _t(e){const t=z(e);return t===e?t:(ve(t,"iterate",qt),Pe(e)?t:t.map(me))}function Un(e){return ve(e=z(e),"iterate",qt),e}const pl={__proto__:null,[Symbol.iterator](){return ss(this,Symbol.iterator,me)},concat(...e){return _t(this).concat(...e.map(t=>K(t)?_t(t):t))},entries(){return ss(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 rs(this,"includes",e)},indexOf(...e){return rs(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return rs(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 pr(this,"reduce",e,t)},reduceRight(e,...t){return pr(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 _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return ss(this,"values",me)}};function ss(e,t,n){const s=Un(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const gl=Array.prototype;function We(e,t,n,s,r,i){const o=Un(e),l=o!==e&&!Pe(e),c=o[t];if(c!==gl[t]){const h=c.apply(e,i);return l?me(h):h}let f=n;o!==e&&(l?f=function(h,g){return n.call(this,me(h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function pr(e,t,n,s){const r=Un(e);let i=n;return r!==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)}),r[t](i,...s)}function rs(e,t,n){const s=z(e);ve(s,"iterate",qt);const r=s[t](...n);return(r===-1||r===!1)&&Ys(n[0])?(n[0]=z(n[0]),s[t](...n)):r}function Ft(e,t,n=[]){it(),Bs();const s=z(e)[t].apply(e,n);return ks(),ot(),s}const ml=Ds("__proto__,__v_isRef,__isVue"),Ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(st));function yl(e){st(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,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ml:Ii:i?Li:Pi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=K(t);if(!r){let c;if(o&&(c=pl[n]))return c;if(n==="hasOwnProperty")return yl}const l=Reflect.get(t,n,ae(t)?t:s);return(st(n)?Ri.has(n):ml(n))||(r||ve(t,"get",n),i)?l:ae(l)?o&&js(n)?l:l.value:ne(l)?r?Wn(l):kn(l):l}}class Mi extends Oi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(s)&&!vt(s)&&(i=z(i),s=z(s)),!K(t)&&ae(i)&&!ae(s))return c?!1:(i.value=s,!0)}const o=K(t)&&js(n)?Number(n)e,Bn=e=>Reflect.getPrototypeOf(e);function cn(e,t,n=!1,s=!1){e=e.__v_raw;const r=z(e),i=z(t);n||(tt(t,i)&&ve(r,"get",t),ve(r,"get",i));const{has:o}=Bn(r),l=s?Ks:n?Xs:me;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,s=z(n),r=z(e);return t||(tt(e,r)&&ve(s,"has",e),ve(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function fn(e,t=!1){return e=e.__v_raw,!t&&ve(z(e),"iterate",ht),Reflect.get(e,"size",e)}function gr(e,t=!1){!t&&!Pe(e)&&!vt(e)&&(e=z(e));const n=z(this);return Bn(n).has.call(n,e)||(n.add(e),Ge(n,"add",e,e)),this}function mr(e,t,n=!1){!n&&!Pe(t)&&!vt(t)&&(t=z(t));const s=z(this),{has:r,get:i}=Bn(s);let o=r.call(s,e);o||(e=z(e),o=r.call(s,e));const l=i.call(s,e);return s.set(e,t),o?tt(t,l)&&Ge(s,"set",e,t):Ge(s,"add",e,t),this}function yr(e){const t=z(this),{has:n,get:s}=Bn(t);let r=n.call(t,e);r||(e=z(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ge(t,"delete",e,void 0),i}function vr(){const e=z(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function un(e,t){return function(s,r){const i=this,o=i.__v_raw,l=z(o),c=t?Ks:e?Xs:me;return!e&&ve(l,"iterate",ht),o.forEach((f,a)=>s.call(r,c(f),c(a),i))}}function dn(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=Ct(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?Ks:t?Xs:me;return!t&&ve(i,"iterate",c?xs:ht),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Xe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Sl(){const e={get(i){return cn(this,i)},get size(){return fn(this)},has:an,add:gr,set:mr,delete:yr,clear:vr,forEach:un(!1,!1)},t={get(i){return cn(this,i,!1,!0)},get size(){return fn(this)},has:an,add(i){return gr.call(this,i,!0)},set(i,o){return mr.call(this,i,o,!0)},delete:yr,clear:vr,forEach:un(!1,!0)},n={get(i){return cn(this,i,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!1)},s={get(i){return cn(this,i,!0,!0)},get size(){return fn(this,!0)},has(i){return an.call(this,i,!0)},add:Xe("add"),set:Xe("set"),delete:Xe("delete"),clear:Xe("clear"),forEach:un(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=dn(i,!1,!1),n[i]=dn(i,!0,!1),t[i]=dn(i,!1,!0),s[i]=dn(i,!0,!0)}),[e,n,t,s]}const[El,xl,Tl,Cl]=Sl();function qs(e,t){const n=t?e?Cl:Tl:e?xl:El;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,i)}const Al={get:qs(!1,!1)},Rl={get:qs(!1,!0)},Ol={get:qs(!0,!1)};const Pi=new WeakMap,Li=new WeakMap,Ii=new WeakMap,Ml=new WeakMap;function Pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ll(e){return e.__v_skip||!Object.isExtensible(e)?0:Pl(Qo(e))}function kn(e){return vt(e)?e:Gs(e,!1,bl,Al,Pi)}function Il(e){return Gs(e,!1,wl,Rl,Li)}function Wn(e){return Gs(e,!0,_l,Ol,Ii)}function Gs(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Ll(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.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 Ys(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function xn(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&pi(e,"__v_skip",!0),e}const me=e=>ne(e)?kn(e):e,Xs=e=>ne(e)?Wn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function oe(e){return Ni(e,!1)}function zs(e){return Ni(e,!0)}function Ni(e,t){return ae(e)?e:new Nl(e,t)}class Nl{constructor(t,n){this.dep=new Vn,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,s=this.__v_isShallow||Pe(t)||vt(t);t=s?t:z(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:me(t),this.dep.trigger())}}function Fi(e){return ae(e)?e.value:e}const Fl={get:(e,t,n)=>t==="__v_raw"?e:Fi(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ae(r)&&!ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Di(e){return pt(e)?e:new Proxy(e,Fl)}class Dl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Hl(e){return new Dl(e)}class $l{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 hl(z(this._object),this._key)}}class jl{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 Vl(e,t,n){return ae(e)?e:q(e)?new jl(e):ne(e)&&arguments.length>1?Ul(e,t,n):oe(e)}function Ul(e,t,n){const s=e[t];return ae(s)?s:new $l(e,t,n)}class Bl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return Si(this,!0),!0}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 kl(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Bl(s,r,n)}const hn={},Mn=new WeakMap;let ut;function Wl(e,t=!1,n=ut){if(n){let s=Mn.get(n);s||Mn.set(n,s=[]),s.push(e)}}function Kl(e,t,n=Z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=m=>r?m:Pe(m)||r===!1||r===0?qe(m,1):qe(m);let a,h,g,b,S=!1,_=!1;if(ae(e)?(h=()=>e.value,S=Pe(e)):pt(e)?(h=()=>f(e),S=!0):K(e)?(_=!0,S=e.some(m=>pt(m)||Pe(m)),h=()=>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?h=c?()=>c(e,2):e:h=()=>{if(g){it();try{g()}finally{ot()}}const m=ut;ut=a;try{return c?c(e,3,[b]):e(b)}finally{ut=m}}:h=Be,t&&r){const m=h,M=r===!0?1/0:r;h=()=>qe(m(),M)}const k=bi(),N=()=>{a.stop(),k&&$s(k.effects,a)};if(i&&t){const m=t;t=(...M)=>{m(...M),N()}}let j=_?new Array(e.length).fill(hn):hn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(r||S||(_?M.some((F,H)=>tt(F,j[H])):tt(M,j))){g&&g();const F=ut;ut=a;try{const H=[M,j===hn?void 0:_&&j[0]===hn?[]:j,b];c?c(t,3,H):t(...H),j=M}finally{ut=F}}}else a.run()};return l&&l(p),a=new _i(h),a.scheduler=o?()=>o(p,!1):p,b=m=>Wl(m,!1,a),g=a.onStop=()=>{const m=Mn.get(a);if(m){if(c)c(m,4);else for(const M of m)M();Mn.delete(a)}},t?s?p(!0):j=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 s=0;s{qe(s,t,n)});else if(hi(e)){for(const s in e)qe(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&qe(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.11 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function en(e,t,n,s){try{return s?e(...s):e()}catch(r){tn(r,t,n)}}function De(e,t,n,s){if(q(e)){const r=en(e,t,n,s);return r&&ui(r)&&r.catch(i=>{tn(i,t,n)}),r}if(K(e)){const r=[];for(let i=0;i>>1,r=we[s],i=Gt(r);i=Gt(n)?we.push(e):we.splice(Gl(t),0,e),e.flags|=1,$i()}}function $i(){Pn||(Pn=Hi.then(ji))}function Yl(e){K(e)?Rt.push(...e):Qe&&e.id===-1?Qe.splice(St+1,0,e):e.flags&1||(Rt.push(e),e.flags|=1),$i()}function br(e,t,n=Ve+1){for(;nGt(n)-Gt(s));if(Rt.length=0,Qe){Qe.push(...t);return}for(Qe=t,St=0;Ste.id==null?e.flags&2?-1:1/0:e.id;function ji(e){try{for(Ve=0;Ve{s._d&&Ir(-1);const i=In(t);let o;try{o=e(...r)}finally{In(i),s._d&&Ir(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Pf(e,t){if(de===null)return e;const n=Jn(de),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),zl=e=>e&&(e.defer||e.defer===""),_r=e=>typeof SVGElement<"u"&&e instanceof SVGElement,wr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ts=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},Jl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:h,pbc:g,o:{insert:b,querySelector:S,createText:_,createComment:k}}=f,N=Vt(t.props);let{shapeFlag:j,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=_(""),F=t.anchor=_("");b(M,n,s),b(F,n,s);const H=(R,v)=>{j&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,v,r,i,o,l,c))},V=()=>{const R=t.target=Ts(t.props,S),v=ki(R,t,_,b);R&&(o!=="svg"&&_r(R)?o="svg":o!=="mathml"&&wr(R)&&(o="mathml"),N||(H(R,v),Tn(t)))};N&&(H(n,F),Tn(t)),zl(t.props)?Ee(V,i):V()}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,V=Vt(e.props),R=V?n:F,v=V?M:H;if(o==="svg"||_r(F)?o="svg":(o==="mathml"||wr(F))&&(o="mathml"),m?(g(e.dynamicChildren,m,R,r,i,o,l),nr(e,t,!0)):c||h(e,t,R,v,r,i,o,l,!1),N)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):pn(t,n,M,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=Ts(t.props,S);I&&pn(t,I,null,f,0)}else V&&pn(t,F,H,f,1);Tn(t)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:g}=e;if(h&&(r(f),r(a)),i&&r(c),o&16){const b=i||!Vt(g);for(let S=0;S{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},ec={name:"BaseTransition",props:Wi,setup(e,{slots:t}){const n=zn(),s=Zl();return()=>{const r=t.default&&Yi(t.default(),!0);if(!r||!r.length)return;const i=qi(r),o=z(e),{mode:l}=o;if(s.isLeaving)return is(i);const c=Sr(i);if(!c)return is(i);let f=Cs(c,o,s,n,g=>f=g);c.type!==ye&&Yt(c,f);const a=n.subTree,h=a&&Sr(a);if(h&&h.type!==ye&&!dt(c,h)&&Ki(n).type!==ye){const g=Cs(h,o,s,n);if(Yt(h,g),l==="out-in"&&c.type!==ye)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},is(i);l==="in-out"&&c.type!==ye&&(g.delayLeave=(b,S,_)=>{const k=Gi(s,h);k[String(h.key)]=h,b[Ze]=()=>{S(),b[Ze]=void 0,delete f.delayedLeave},f.delayedLeave=_})}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 tc=ec;function Gi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Cs(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:b,onAfterLeave:S,onLeaveCancelled:_,onBeforeAppear:k,onAppear:N,onAfterAppear:j,onAppearCancelled:p}=t,m=String(e.key),M=Gi(n,e),F=(R,v)=>{R&&De(R,s,9,v)},H=(R,v)=>{const I=v[1];F(R,v),K(R)?R.every(x=>x.length<=1)&&I():R.length<=1&&I()},V={mode:o,persisted:l,beforeEnter(R){let v=c;if(!n.isMounted)if(i)v=k||c;else return;R[Ze]&&R[Ze](!0);const I=M[m];I&&dt(e,I)&&I.el[Ze]&&I.el[Ze](),F(v,[R])},enter(R){let v=f,I=a,x=h;if(!n.isMounted)if(i)v=N||f,I=j||a,x=p||h;else return;let W=!1;const se=R[gn]=ce=>{W||(W=!0,ce?F(x,[R]):F(I,[R]),V.delayedLeave&&V.delayedLeave(),R[gn]=void 0)};v?H(v,[R,se]):se()},leave(R,v){const I=String(e.key);if(R[gn]&&R[gn](!0),n.isUnmounting)return v();F(g,[R]);let x=!1;const W=R[Ze]=se=>{x||(x=!0,v(),se?F(_,[R]):F(S,[R]),R[Ze]=void 0,M[I]===e&&delete M[I])};M[I]=e,b?H(b,[R,W]):W()},clone(R){const v=Cs(R,t,n,s,r);return r&&r(v),v}};return V}function is(e){if(nn(e))return e=nt(e),e.children=null,e}function Sr(e){if(!nn(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 s=[],r=0;for(let i=0;i1)for(let i=0;iNn(S,t&&(K(t)?t[_]:t),n,s,r));return}if(gt(s)&&!r)return;const i=s.shapeFlag&4?Jn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,h=l.setupState,g=z(h),b=h===Z?()=>!1:S=>J(g,S);if(f!=null&&f!==c&&(re(f)?(a[f]=null,b(f)&&(h[f]=null)):ae(f)&&(f.value=null)),q(c))en(c,l,12,[o,a]);else{const S=re(c),_=ae(c);if(S||_){const k=()=>{if(e.f){const N=S?b(c)?h[c]:a[c]:c.value;r?K(N)&&$s(N,i):K(N)?N.includes(i)||N.push(i):S?(a[c]=[i],b(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else S?(a[c]=o,b(c)&&(h[c]=o)):_&&(c.value=o,e.k&&(a[e.k]=o))};o?(k.id=-1,Ee(k,n)):k()}}}let Er=!1;const wt=()=>{Er||(console.error("Hydration completed but contains mismatches."),Er=!0)},nc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",sc=e=>e.namespaceURI.includes("MathML"),mn=e=>{if(e.nodeType===1){if(nc(e))return"svg";if(sc(e))return"mathml"}},xt=e=>e.nodeType===8;function rc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),Ln(),m._vnode=p;return}h(m.firstChild,p,null,null,null),Ln(),m._vnode=p},h=(p,m,M,F,H,V=!1)=>{V=V||!!m.dynamicChildren;const R=xt(p)&&p.data==="[",v=()=>_(p,m,M,F,H,R),{type:I,ref:x,shapeFlag:W,patchFlag:se}=m;let ce=p.nodeType;m.el=p,se===-2&&(V=!1,m.dynamicChildren=null);let U=null;switch(I){case mt:ce!==3?m.children===""?(c(m.el=r(""),o(p),p),U=p):U=v():(p.data!==m.children&&(wt(),p.data=m.children),U=i(p));break;case ye:j(p)?(U=i(p),N(m.el=p.content.firstChild,p,M)):ce!==8||R?U=v():U=i(p);break;case Bt:if(R&&(p=i(p),ce=p.nodeType),ce===1||ce===3){U=p;const Y=!m.children.length;for(let $=0;${V=V||!!m.dynamicChildren;const{type:R,props:v,patchFlag:I,shapeFlag:x,dirs:W,transition:se}=m,ce=R==="input"||R==="option";if(ce||I!==-1){W&&Ue(m,null,M,"created");let U=!1;if(j(p)){U=po(F,se)&&M&&M.vnode.props&&M.vnode.props.appear;const $=p.content.firstChild;U&&se.beforeEnter($),N($,p,M),m.el=p=$}if(x&16&&!(v&&(v.innerHTML||v.textContent))){let $=b(p.firstChild,m,p,M,F,H,V);for(;$;){yn(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!==$&&(yn(p,0)||wt(),p.textContent=m.children)}if(v){if(ce||!V||I&48){const $=p.tagName.includes("-");for(const he in v)(ce&&(he.endsWith("value")||he==="indeterminate")||Zt(he)&&!At(he)||he[0]==="."||$)&&s(p,he,null,v[he],void 0,M)}else if(v.onClick)s(p,"onClick",null,v.onClick,void 0,M);else if(I&4&&pt(v.style))for(const $ in v.style)v.style[$]}let Y;(Y=v&&v.onVnodeBeforeMount)&&Oe(Y,M,m),W&&Ue(m,null,M,"beforeMount"),((Y=v&&v.onVnodeMounted)||W||U)&&bo(()=>{Y&&Oe(Y,M,m),U&&se.enter(p),W&&Ue(m,null,M,"mounted")},F)}return p.nextSibling},b=(p,m,M,F,H,V,R)=>{R=R||!!m.dynamicChildren;const v=m.children,I=v.length;for(let x=0;x{const{slotScopeIds:R}=m;R&&(H=H?H.concat(R):R);const v=o(p),I=b(i(p),m,v,M,F,H,V);return I&&xt(I)&&I.data==="]"?i(m.anchor=I):(wt(),c(m.anchor=f("]"),v,I),I)},_=(p,m,M,F,H,V)=>{if(yn(p.parentElement,1)||wt(),m.el=null,V){const I=k(p);for(;;){const x=i(p);if(x&&x!==I)l(x);else break}}const R=i(p),v=o(p);return l(p),n(null,m,v,R,M,F,mn(v),H),R},k=(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},j=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const xr="data-allow-mismatch",ic={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function yn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(xr);)e=e.parentElement;const n=e&&e.getAttribute(xr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(ic[t])}}function oc(e,t){if(xt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(xt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function If(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const g=()=>(h++,f=null,b()),b=()=>{let S;return f||(S=f=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((k,N)=>{c(_,()=>k(g()),()=>N(_),h+1)});throw _}).then(_=>S!==f&&f?f:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return Qs({name:"AsyncComponentWrapper",__asyncLoader:b,__asyncHydrate(S,_,k){const N=i?()=>{const j=i(k,p=>oc(S,p));j&&(_.bum||(_.bum=[])).push(j)}:k;a?N():b().then(()=>!_.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const S=ue;if(Zs(S),a)return()=>os(a,S);const _=p=>{f=null,tn(p,S,13,!s)};if(l&&S.suspense||rn)return b().then(p=>()=>os(p,S)).catch(p=>(_(p),()=>s?le(s,{error:p}):null));const k=oe(!1),N=oe(),j=oe(!!r);return r&&setTimeout(()=>{j.value=!1},r),o!=null&&setTimeout(()=>{if(!k.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);_(p),N.value=p}},o),b().then(()=>{k.value=!0,S.parent&&nn(S.parent.vnode)&&S.parent.update()}).catch(p=>{_(p),N.value=p}),()=>{if(k.value&&a)return os(a,S);if(N.value&&s)return le(s,{error:N.value});if(n&&!j.value)return le(n)}}})}function os(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=le(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const nn=e=>e.type.__isKeepAlive;function lc(e,t){Xi(e,"a",t)}function cc(e,t){Xi(e,"da",t)}function Xi(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(qn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)nn(r.parent.vnode)&&ac(s,t,n,r),r=r.parent}}function ac(e,t,n,s){const r=qn(t,e,s,!0);Gn(()=>{$s(s[t],r)},n)}function qn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=sn(n),c=De(t,n,e,o);return l(),ot(),c});return s?r.unshift(i):r.push(i),i}}const Ye=e=>(t,n=ue)=>{(!rn||e==="sp")&&qn(e,(...s)=>t(...s),n)},fc=Ye("bm"),Lt=Ye("m"),uc=Ye("bu"),dc=Ye("u"),zi=Ye("bum"),Gn=Ye("um"),hc=Ye("sp"),pc=Ye("rtg"),gc=Ye("rtc");function mc(e,t=ue){qn("ec",e,t)}const Ji="components";function Nf(e,t){return Zi(Ji,e,!0,t)||e}const Qi=Symbol.for("v-ndc");function Ff(e){return re(e)?Zi(Ji,e,!1)||e:e||Qi}function Zi(e,t,n=!0,s=!1){const r=de||ue;if(r){const i=r.type;{const l=ta(i,!1);if(l&&(l===t||l===Le(t)||l===jn(Le(t))))return i}const o=Tr(r[e]||i[e],t)||Tr(r.appContext[e],t);return!o&&s?i:o}}function Tr(e,t){return e&&(e[t]||e[Le(t)]||e[jn(Le(t))])}function Df(e,t,n,s){let r;const i=n,o=K(e);if(o||re(e)){const l=o&&pt(e);let c=!1;l&&(c=!Pe(e),e=Un(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;czt(t)?!(t.type===ye||t.type===Se&&!eo(t.children)):!0)?e:null}function $f(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:Sn(s)]=e[s];return n}const As=e=>e?xo(e)?Jn(e):As(e.parent):null,Ut=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=>As(e.parent),$root:e=>As(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>er(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>$c.bind(e)}),ls=(e,t)=>e!==Z&&!e.__isScriptSetup&&J(e,t),yc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ls(s,t))return o[t]=1,s[t];if(r!==Z&&J(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&J(f,t))return o[t]=3,i[t];if(n!==Z&&J(n,t))return o[t]=4,n[t];Rs&&(o[t]=0)}}const a=Ut[t];let h,g;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&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:s,setupState:r,ctx:i}=e;return ls(r,t)?(r[t]=n,!0):s!==Z&&J(s,t)?(s[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:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Z&&J(e,o)||ls(t,o)||(l=i[0])&&J(l,o)||J(s,o)||J(Ut,o)||J(r.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 vc().slots}function vc(){const e=zn();return e.setupContext||(e.setupContext=Co(e))}function Cr(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rs=!0;function bc(e){const t=er(e),n=e.proxy,s=e.ctx;Rs=!1,t.beforeCreate&&Ar(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:g,beforeUpdate:b,updated:S,activated:_,deactivated:k,beforeDestroy:N,beforeUnmount:j,destroyed:p,unmounted:m,render:M,renderTracked:F,renderTriggered:H,errorCaptured:V,serverPrefetch:R,expose:v,inheritAttrs:I,components:x,directives:W,filters:se}=t;if(f&&_c(f,s,null),o)for(const Y in o){const $=o[Y];q($)&&(s[Y]=$.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=kn(Y))}if(Rs=!0,i)for(const Y in i){const $=i[Y],he=q($)?$.bind(n,n):q($.get)?$.get.bind(n,n):Be,on=!q($)&&q($.set)?$.set.bind(n):Be,lt=ie({get:he,set:on});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:$e=>lt.value=$e})}if(l)for(const Y in l)to(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach($=>{Cc($,Y[$])})}a&&Ar(a,e,"c");function U(Y,$){K($)?$.forEach(he=>Y(he.bind(n))):$&&Y($.bind(n))}if(U(fc,h),U(Lt,g),U(uc,b),U(dc,S),U(lc,_),U(cc,k),U(mc,V),U(gc,F),U(pc,H),U(zi,j),U(Gn,m),U(hc,R),K(v))if(v.length){const Y=e.exposed||(e.exposed={});v.forEach($=>{Object.defineProperty(Y,$,{get:()=>n[$],set:he=>n[$]=he})})}else e.exposed||(e.exposed={});M&&e.render===Be&&(e.render=M),I!=null&&(e.inheritAttrs=I),x&&(e.components=x),W&&(e.directives=W),R&&Zs(e)}function _c(e,t,n=Be){K(e)&&(e=Os(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=Mt(r.from||s,r.default,!0):i=Mt(r.from||s):i=Mt(r),ae(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ar(e,t,n){De(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function to(e,t,n,s){let r=s.includes(".")?mo(n,s):()=>n[s];if(re(e)){const i=t[e];q(i)&&Fe(r,i)}else if(q(e))Fe(r,e.bind(n));else if(ne(e))if(K(e))e.forEach(i=>to(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Fe(r,i,e)}}function er(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Fn(c,f,o,!0)),Fn(c,t,o)),ne(t)&&i.set(t,c),c}function Fn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Fn(e,i,n,!0),r&&r.forEach(o=>Fn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=wc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const wc={data:Rr,props:Or,emits:Or,methods:Ht,computed:Ht,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Ht,directives:Ht,watch:Ec,provide:Rr,inject:Sc};function Rr(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 Sc(e,t){return Ht(Os(e),Os(t))}function Os(e){if(K(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}const so={},ro=()=>Object.create(so),io=e=>Object.getPrototypeOf(e)===so;function Ac(e,t,n,s=!1){const r={},i=ro();e.propsDefaults=Object.create(null),oo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Il(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Rc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=z(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,b]=lo(h,t,!0);fe(o,g),b&&l.push(...b)};!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)&&s.set(e,Tt),Tt;if(K(i))for(let a=0;ae[0]==="_"||e==="$stable",tr=e=>K(e)?e.map(Me):[Me(e)],Mc=(e,t,n)=>{if(t._n)return t;const s=Xl((...r)=>tr(t(...r)),n);return s._c=!1,s},ao=(e,t,n)=>{const s=e._ctx;for(const r in e){if(co(r))continue;const i=e[r];if(q(i))t[r]=Mc(r,i,s);else if(i!=null){const o=tr(i);t[r]=()=>o}}},fo=(e,t)=>{const n=tr(t);e.slots.default=()=>n},uo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Pc=(e,t,n)=>{const s=e.slots=ro();if(e.vnode.shapeFlag&32){const r=t._;r?(uo(s,t,n),n&&pi(s,"_",r,!0)):ao(t,s)}else t&&fo(e,t)},Lc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:uo(r,t,n):(i=!t.$stable,ao(t,r)),o=t}else t&&(fo(e,t),o={default:1});if(i)for(const l in r)!co(l)&&o[l]==null&&delete r[l]},Ee=bo;function Ic(e){return ho(e)}function Nc(e){return ho(e,rc)}function ho(e,t){const n=gi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:g,setScopeId:b=Be,insertStaticContent:S}=e,_=(u,d,y,T=null,w=null,E=null,P=void 0,O=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!dt(u,d)&&(T=ln(u),$e(u,w,E,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:B,shapeFlag:L}=d;switch(C){case mt:k(u,d,y,T);break;case ye:N(u,d,y,T);break;case Bt:u==null&&j(d,y,T,P);break;case Se:x(u,d,y,T,w,E,P,O,A);break;default:L&1?M(u,d,y,T,w,E,P,O,A):L&6?W(u,d,y,T,w,E,P,O,A):(L&64||L&128)&&C.process(u,d,y,T,w,E,P,O,A,bt)}B!=null&&w&&Nn(B,u&&u.ref,E,d||u,!d)},k=(u,d,y,T)=>{if(u==null)s(d.el=l(d.children),y,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,y,T)=>{u==null?s(d.el=c(d.children||""),y,T):d.el=u.el},j=(u,d,y,T)=>{[u.el,u.anchor]=S(u.children,d,y,T,u.el,u.anchor)},p=({el:u,anchor:d},y,T)=>{let w;for(;u&&u!==d;)w=g(u),s(u,y,T),u=w;s(d,y,T)},m=({el:u,anchor:d})=>{let y;for(;u&&u!==d;)y=g(u),r(u),u=y;r(d)},M=(u,d,y,T,w,E,P,O,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,y,T,w,E,P,O,A):R(u,d,w,E,P,O,A)},F=(u,d,y,T,w,E,P,O)=>{let A,C;const{props:B,shapeFlag:L,transition:D,dirs:G}=u;if(A=u.el=o(u.type,E,B&&B.is,B),L&8?a(A,u.children):L&16&&V(u.children,A,null,T,w,cs(u,E),P,O),G&&Ue(u,null,T,"created"),H(A,u,u.scopeId,P,T),B){for(const ee in B)ee!=="value"&&!At(ee)&&i(A,ee,null,B[ee],E,T);"value"in B&&i(A,"value",null,B.value,E),(C=B.onVnodeBeforeMount)&&Oe(C,T,u)}G&&Ue(u,null,T,"beforeMount");const X=po(w,D);X&&D.beforeEnter(A),s(A,d,y),((C=B&&B.onVnodeMounted)||X||G)&&Ee(()=>{C&&Oe(C,T,u),X&&D.enter(A),G&&Ue(u,null,T,"mounted")},w)},H=(u,d,y,T,w)=>{if(y&&b(u,y),T)for(let E=0;E{for(let C=A;C{const O=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:B}=d;A|=u.patchFlag&16;const L=u.props||Z,D=d.props||Z;let G;if(y&&ct(y,!1),(G=D.onVnodeBeforeUpdate)&&Oe(G,y,d,u),B&&Ue(d,u,y,"beforeUpdate"),y&&ct(y,!0),(L.innerHTML&&D.innerHTML==null||L.textContent&&D.textContent==null)&&a(O,""),C?v(u.dynamicChildren,C,O,y,T,cs(d,w),E):P||$(u,d,O,null,y,T,cs(d,w),E,!1),A>0){if(A&16)I(O,L,D,y,w);else if(A&2&&L.class!==D.class&&i(O,"class",null,D.class,w),A&4&&i(O,"style",L.style,D.style,w),A&8){const X=d.dynamicProps;for(let ee=0;ee{G&&Oe(G,y,d,u),B&&Ue(d,u,y,"updated")},T)},v=(u,d,y,T,w,E,P)=>{for(let O=0;O{if(d!==y){if(d!==Z)for(const E in d)!At(E)&&!(E in y)&&i(u,E,d[E],null,w,T);for(const E in y){if(At(E))continue;const P=y[E],O=d[E];P!==O&&E!=="value"&&i(u,E,O,P,w,T)}"value"in y&&i(u,"value",d.value,y.value,w)}},x=(u,d,y,T,w,E,P,O,A)=>{const C=d.el=u?u.el:l(""),B=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:D,slotScopeIds:G}=d;G&&(O=O?O.concat(G):G),u==null?(s(C,y,T),s(B,y,T),V(d.children||[],y,B,w,E,P,O,A)):L>0&&L&64&&D&&u.dynamicChildren?(v(u.dynamicChildren,D,y,w,E,P,O),(d.key!=null||w&&d===w.subTree)&&nr(u,d,!0)):$(u,d,y,B,w,E,P,O,A)},W=(u,d,y,T,w,E,P,O,A)=>{d.slotScopeIds=O,u==null?d.shapeFlag&512?w.ctx.activate(d,y,T,P,A):se(d,y,T,w,E,P,A):ce(u,d,A)},se=(u,d,y,T,w,E,P)=>{const O=u.component=Jc(u,T,w);if(nn(u)&&(O.ctx.renderer=bt),Qc(O,!1,P),O.asyncDep){if(w&&w.registerDep(O,U,P),!u.el){const A=O.subTree=le(ye);N(null,A,d,y)}}else U(O,u,d,y,w,E,P)},ce=(u,d,y)=>{const T=d.component=u.component;if(kc(u,d,y))if(T.asyncDep&&!T.asyncResolved){Y(T,d,y);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},U=(u,d,y,T,w,E,P)=>{const O=()=>{if(u.isMounted){let{next:L,bu:D,u:G,parent:X,vnode:ee}=u;{const Te=go(u);if(Te){L&&(L.el=ee.el,Y(u,L,P)),Te.asyncDep.then(()=>{u.isUnmounted||O()});return}}let Q=L,xe;ct(u,!1),L?(L.el=ee.el,Y(u,L,P)):L=ee,D&&En(D),(xe=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(xe,X,L,ee),ct(u,!0);const pe=as(u),Ie=u.subTree;u.subTree=pe,_(Ie,pe,h(Ie.el),ln(Ie),u,w,E),L.el=pe.el,Q===null&&Wc(u,pe.el),G&&Ee(G,w),(xe=L.props&&L.props.onVnodeUpdated)&&Ee(()=>Oe(xe,X,L,ee),w)}else{let L;const{el:D,props:G}=d,{bm:X,m:ee,parent:Q,root:xe,type:pe}=u,Ie=gt(d);if(ct(u,!1),X&&En(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,d),ct(u,!0),D&&es){const Te=()=>{u.subTree=as(u),es(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=as(u);_(null,Te,y,T,u,w,E),d.el=Te.el}if(ee&&Ee(ee,w),!Ie&&(L=G&&G.onVnodeMounted)){const Te=d;Ee(()=>Oe(L,Q,Te),w)}(d.shapeFlag&256||Q&>(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&Ee(u.a,w),u.isMounted=!0,d=y=T=null}};u.scope.on();const A=u.effect=new _i(O);u.scope.off();const C=u.update=A.run.bind(A),B=u.job=A.runIfDirty.bind(A);B.i=u,B.id=u.uid,A.scheduler=()=>Js(B),ct(u,!0),C()},Y=(u,d,y)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,Rc(u,d.props,T,y),Lc(u,d.children,y),it(),br(u),ot()},$=(u,d,y,T,w,E,P,O,A=!1)=>{const C=u&&u.children,B=u?u.shapeFlag:0,L=d.children,{patchFlag:D,shapeFlag:G}=d;if(D>0){if(D&128){on(C,L,y,T,w,E,P,O,A);return}else if(D&256){he(C,L,y,T,w,E,P,O,A);return}}G&8?(B&16&&It(C,w,E),L!==C&&a(y,L)):B&16?G&16?on(C,L,y,T,w,E,P,O,A):It(C,w,E,!0):(B&8&&a(y,""),G&16&&V(L,y,T,w,E,P,O,A))},he=(u,d,y,T,w,E,P,O,A)=>{u=u||Tt,d=d||Tt;const C=u.length,B=d.length,L=Math.min(C,B);let D;for(D=0;DB?It(u,w,E,!0,!1,L):V(d,y,T,w,E,P,O,A,L)},on=(u,d,y,T,w,E,P,O,A)=>{let C=0;const B=d.length;let L=u.length-1,D=B-1;for(;C<=L&&C<=D;){const G=u[C],X=d[C]=A?et(d[C]):Me(d[C]);if(dt(G,X))_(G,X,y,null,w,E,P,O,A);else break;C++}for(;C<=L&&C<=D;){const G=u[L],X=d[D]=A?et(d[D]):Me(d[D]);if(dt(G,X))_(G,X,y,null,w,E,P,O,A);else break;L--,D--}if(C>L){if(C<=D){const G=D+1,X=GD)for(;C<=L;)$e(u[C],w,E,!0),C++;else{const G=C,X=C,ee=new Map;for(C=X;C<=D;C++){const Ce=d[C]=A?et(d[C]):Me(d[C]);Ce.key!=null&&ee.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){$e(Ce,w,E,!0);continue}let je;if(Ce.key!=null)je=ee.get(Ce.key);else for(Q=X;Q<=D;Q++)if(Nt[Q-X]===0&&dt(Ce,d[Q])){je=Q;break}je===void 0?$e(Ce,w,E,!0):(Nt[je-X]=C+1,je>=Te?Te=je:Ie=!0,_(Ce,d[je],y,null,w,E,P,O,A),xe++)}const fr=Ie?Fc(Nt):Tt;for(Q=fr.length-1,C=pe-1;C>=0;C--){const Ce=X+C,je=d[Ce],ur=Ce+1{const{el:E,type:P,transition:O,children:A,shapeFlag:C}=u;if(C&6){lt(u.component.subTree,d,y,T);return}if(C&128){u.suspense.move(d,y,T);return}if(C&64){P.move(u,d,y,bt);return}if(P===Se){s(E,d,y);for(let L=0;LO.enter(E),w);else{const{leave:L,delayLeave:D,afterLeave:G}=O,X=()=>s(E,d,y),ee=()=>{L(E,()=>{X(),G&&G()})};D?D(E,X,ee):ee()}else s(E,d,y)},$e=(u,d,y,T=!1,w=!1)=>{const{type:E,props:P,ref:O,children:A,dynamicChildren:C,shapeFlag:B,patchFlag:L,dirs:D,cacheIndex:G}=u;if(L===-2&&(w=!1),O!=null&&Nn(O,null,y,u,!0),G!=null&&(d.renderCache[G]=void 0),B&256){d.ctx.deactivate(u);return}const X=B&1&&D,ee=!gt(u);let Q;if(ee&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),B&6)Xo(u.component,y,T);else{if(B&128){u.suspense.unmount(y,T);return}X&&Ue(u,null,d,"beforeUnmount"),B&64?u.type.remove(u,d,y,bt,T):C&&!C.hasOnce&&(E!==Se||L>0&&L&64)?It(C,d,y,!1,!0):(E===Se&&L&384||!w&&B&16)&&It(A,d,y),T&&cr(u)}(ee&&(Q=P&&P.onVnodeUnmounted)||X)&&Ee(()=>{Q&&Oe(Q,d,u),X&&Ue(u,null,d,"unmounted")},y)},cr=u=>{const{type:d,el:y,anchor:T,transition:w}=u;if(d===Se){Yo(y,T);return}if(d===Bt){m(u);return}const E=()=>{r(y),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:O}=w,A=()=>P(y,E);O?O(u.el,E,A):A()}else E()},Yo=(u,d)=>{let y;for(;u!==d;)y=g(u),r(u),u=y;r(d)},Xo=(u,d,y)=>{const{bum:T,scope:w,job:E,subTree:P,um:O,m:A,a:C}=u;Pr(A),Pr(C),T&&En(T),w.stop(),E&&(E.flags|=8,$e(P,u,d,y)),O&&Ee(O,d),Ee(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(u,d,y,T=!1,w=!1,E=0)=>{for(let P=E;P{if(u.shapeFlag&6)return ln(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=g(u.anchor||u.el),y=d&&d[Ui];return y?g(y):d};let Qn=!1;const ar=(u,d,y)=>{u==null?d._vnode&&$e(d._vnode,null,null,!0):_(d._vnode||null,u,d,null,null,null,y),d._vnode=u,Qn||(Qn=!0,br(),Ln(),Qn=!1)},bt={p:_,um:$e,m:lt,r:cr,mt:se,mc:V,pc:$,pbc:v,n:ln,o:e};let Zn,es;return t&&([Zn,es]=t(bt)),{render:ar,hydrate:Zn,createApp:Tc(ar,Zn)}}function cs({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 po(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function nr(e,t,n=!1){const s=e.children,r=t.children;if(K(s)&&K(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:go(t)}function Pr(e){if(e)for(let t=0;tMt(Dc);function sr(e,t){return Yn(e,null,t)}function Vf(e,t){return Yn(e,null,{flush:"post"})}function Fe(e,t,n){return Yn(e,t,n)}function Yn(e,t,n=Z){const{immediate:s,deep:r,flush:i,once:o}=n,l=fe({},n);let c;if(rn)if(i==="sync"){const g=Hc();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!t||s)l.once=!0;else{const g=()=>{};return g.stop=Be,g.resume=Be,g.pause=Be,g}const f=ue;l.call=(g,b,S)=>De(g,f,b,S);let a=!1;i==="post"?l.scheduler=g=>{Ee(g,f&&f.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(g,b)=>{b?g():Js(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const h=Kl(e,t,l);return c&&c.push(h),h}function $c(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?mo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=sn(this),l=Yn(r,i.bind(s),n);return o(),l}function mo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${rt(t)}Modifiers`];function Vc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;let r=n;const i=t.startsWith("update:"),o=i&&jc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(Ss)));let l,c=s[l=Sn(t)]||s[l=Sn(Le(t))];!c&&i&&(c=s[l=Sn(rt(t))]),c&&De(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(f,e,6,r)}}function yo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=yo(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)&&s.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):fe(o,i),ne(e)&&s.set(e,o),o)}function Xn(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,rt(t))||J(e,t))}function as(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:g,setupState:b,ctx:S,inheritAttrs:_}=e,k=In(e);let N,j;try{if(n.shapeFlag&4){const m=r||s,M=m;N=Me(f.call(M,m,a,h,b,g,S)),j=l}else{const m=t;N=Me(m.length>1?m(h,{attrs:l,slots:o,emit:c}):m(h,null)),j=t.props?l:Uc(l)}}catch(m){kt.length=0,tn(m,e,1),N=le(ye)}let p=N;if(j&&_!==!1){const m=Object.keys(j),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some(Hs)&&(j=Bc(j,i)),p=nt(p,j,!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,In(k),N}const Uc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},Bc=(e,t)=>{const n={};for(const s in e)(!Hs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function kc(e,t,n){const{props:s,children:r,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 s?Lr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function bo(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Yl(e)}const Se=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),kt=[];let Ae=null;function Ps(e=!1){kt.push(Ae=e?null:[])}function Kc(){kt.pop(),Ae=kt[kt.length-1]||null}let Xt=1;function Ir(e){Xt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function _o(e){return e.dynamicChildren=Xt>0?Ae||Tt:null,Kc(),Xt>0&&Ae&&Ae.push(e),e}function Uf(e,t,n,s,r,i){return _o(So(e,t,n,s,r,i,!0))}function Ls(e,t,n,s,r){return _o(le(e,t,n,s,r,!0))}function zt(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const wo=({key:e})=>e??null,Cn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||ae(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function So(e,t=null,n=null,s=0,r=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wo(t),ref:t&&Cn(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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:de};return l?(rr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Xt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=qc;function qc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Qi)&&(e=ye),zt(e)){const l=nt(e,t,!0);return n&&rr(l,n),Xt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(na(e)&&(e=e.__vccOpts),t){t=Gc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=Us(l)),ne(c)&&(Ys(c)&&!K(c)&&(c=fe({},c)),t.style=Vs(c))}const o=re(e)?1:vo(e)?128:Bi(e)?64:ne(e)?4:q(e)?2:0;return So(e,t,n,s,r,o,i,!0)}function Gc(e){return e?Ys(e)||io(e)?fe({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Yc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&wo(f),ref:t&&t.ref?n&&i?K(i)?i.concat(Cn(t)):[i,Cn(t)]:Cn(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!==Se?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&&s&&Yt(a,c.clone(a)),a}function Eo(e=" ",t=0){return le(mt,null,e,t)}function Bf(e,t){const n=le(Bt,null,e);return n.staticCount=t,n}function kf(e="",t=!1){return t?(Ps(),Ls(ye,null,e)):le(ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(ye):K(e)?le(Se,null,e.slice()):zt(e)?et(e):le(mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function rr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),rr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!io(t)?t._ctx=de:r===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),s&64?(n=16,t=[Eo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yc(...e){const t={};for(let n=0;nue||de;let Dn,Is;{const e=gi(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Dn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Is=t("__VUE_SSR_SETTERS__",n=>rn=n)}const sn=e=>{const t=ue;return Dn(e),e.scope.on(),()=>{e.scope.off(),Dn(t)}},Nr=()=>{ue&&ue.scope.off(),Dn(null)};function xo(e){return e.vnode.shapeFlag&4}let rn=!1;function Qc(e,t=!1,n=!1){t&&Is(t);const{props:s,children:r}=e.vnode,i=xo(e);Ac(e,s,i,t),Pc(e,r,n);const o=i?Zc(e,t):void 0;return t&&Is(!1),o}function Zc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yc);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Co(e):null,i=sn(e);it();const o=en(s,e,0,[e.props,r]);if(ot(),i(),ui(o)){if(gt(e)||Zs(e),o.then(Nr,Nr),t)return o.then(l=>{Fr(e,l,t)}).catch(l=>{tn(l,e,0)});e.asyncDep=o}else Fr(e,o,t)}else To(e,t)}function Fr(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Di(t)),To(e,n)}let Dr;function To(e,t,n){const s=e.type;if(!e.render){if(!t&&Dr&&!s.render){const r=s.template||er(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=fe(fe({isCustomElement:i,delimiters:l},o),c);s.render=Dr(r,f)}}e.render=s.render||Be}{const r=sn(e);it();try{bc(e)}finally{ot(),r()}}}const ea={get(e,t){return ve(e,"get",""),e[t]}};function Co(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ea),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Di(xn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function ta(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function na(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>kl(e,t,rn);function Ns(e,t,n){const s=arguments.length;return s===2?ne(t)&&!K(t)?zt(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&zt(n)&&(n=[n]),le(e,t,n))}const sa="3.5.11";/** -* @vue/runtime-dom v3.5.11 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Fs;const Hr=typeof window<"u"&&window.trustedTypes;if(Hr)try{Fs=Hr.createPolicy("vue",{createHTML:e=>e})}catch{}const Ao=Fs?e=>Fs.createHTML(e):e=>e,ra="http://www.w3.org/2000/svg",ia="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,$r=Ke&&Ke.createElement("template"),oa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ke.createElementNS(ra,e):t==="mathml"?Ke.createElementNS(ia,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},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,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{$r.innerHTML=Ao(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=$r.content;if(s==="svg"||s==="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",Jt=Symbol("_vtc"),Ro={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},la=fe({},Wi,Ro),ca=e=>(e.displayName="Transition",e.props=la,e),Wf=ca((e,{slots:t})=>Ns(tc,aa(e),t)),at=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},jr=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function aa(e){const t={};for(const x in e)x in Ro||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,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:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,S=fa(r),_=S&&S[0],k=S&&S[1],{onBeforeEnter:N,onEnter:j,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:F=N,onAppear:H=j,onAppearCancelled:V=p}=t,R=(x,W,se)=>{ft(x,W?a:l),ft(x,W?f:o),se&&se()},v=(x,W)=>{x._isLeaving=!1,ft(x,h),ft(x,b),ft(x,g),W&&W()},I=x=>(W,se)=>{const ce=x?H:j,U=()=>R(W,x,se);at(ce,[W,U]),Vr(()=>{ft(W,x?c:i),Je(W,x?a:l),jr(ce)||Ur(W,s,_,U)})};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:I(!1),onAppear:I(!0),onLeave(x,W){x._isLeaving=!0;const se=()=>v(x,W);Je(x,h),Je(x,g),ha(),Vr(()=>{x._isLeaving&&(ft(x,h),Je(x,b),jr(m)||Ur(x,s,k,se))}),at(m,[x,se])},onEnterCancelled(x){R(x,!1),at(p,[x])},onAppearCancelled(x){R(x,!0),at(V,[x])},onLeaveCancelled(x){v(x),at(M,[x])}})}function fa(e){if(e==null)return null;if(ne(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return tl(e)}function Je(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jt]||(e[Jt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Jt];n&&(n.delete(t),n.size||(e[Jt]=void 0))}function Vr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ua=0;function Ur(e,t,n,s){const r=e._endId=++ua,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=da(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,g),i()},g=b=>{b.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[S]||"").split(", "),r=s(`${ze}Delay`),i=s(`${ze}Duration`),o=Br(r,i),l=s(`${Dt}Delay`),c=s(`${Dt}Duration`),f=Br(l,c);let a=null,h=0,g=0;t===ze?o>0&&(a=ze,h=o,g=i.length):t===Dt?f>0&&(a=Dt,h=f,g=c.length):(h=Math.max(o,f),a=h>0?o>f?ze:Dt:null,g=a?a===ze?i.length:c.length:0);const b=a===ze&&/\b(transform|all)(,|$)/.test(s(`${ze}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:b}}function Br(e,t){for(;e.lengthkr(n)+kr(e[s])))}function kr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ha(){return document.body.offsetHeight}function pa(e,t,n){const s=e[Jt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wr=Symbol("_vod"),ga=Symbol("_vsh"),ma=Symbol(""),ya=/(^|;)\s*display\s*:/;function va(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&An(s,l,"")}else for(const o in t)n[o]==null&&An(s,o,"");for(const o in n)o==="display"&&(i=!0),An(s,o,n[o])}else if(r){if(t!==n){const o=s[ma];o&&(n+=";"+o),s.cssText=n,i=ya.test(n)}}else t&&e.removeAttribute("style");Wr in e&&(e[Wr]=i?s.display:"",e[ga]&&(s.display="none"))}const Kr=/\s*!important$/;function An(e,t,n){if(K(n))n.forEach(s=>An(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ba(e,t);Kr.test(n)?e.setProperty(rt(s),n.replace(Kr,""),"important"):e[s]=n}}const qr=["Webkit","Moz","ms"],us={};function ba(e,t){const n=us[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return us[t]=s;s=jn(s);for(let r=0;rds||(Ea.then(()=>ds=0),ds=Date.now());function Ta(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;De(Ca(s,n.value),t,5,[s])};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(s=>r=>!r._stopped&&s&&s(r))}else return t}const Qr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Aa=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?pa(e,s,o):t==="style"?va(e,n,s):Zt(t)?Hs(t)||wa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ra(e,t,s,o))?(Xr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Yr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?Xr(e,Le(t),s):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Yr(e,t,s,o))};function Ra(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Qr(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Qr(t)&&re(n)?!1:t in e}const Zr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>En(t,n):t};function Oa(e){e.target.composing=!0}function ei(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hs=Symbol("_assign"),Kf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[hs]=Zr(r);const i=s||r.props&&r.props.type==="number";Et(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Ss(l)),e[hs](l)}),n&&Et(e,"change",()=>{e.value=e.value.trim()}),t||(Et(e,"compositionstart",Oa),Et(e,"compositionend",ei),Et(e,"change",ei))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[hs]=Zr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Ss(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&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={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=rt(r.key);if(t.some(o=>o===i||La[o]===i))return e(r)})},Oo=fe({patchProp:Aa},oa);let Wt,ti=!1;function Ia(){return Wt||(Wt=Ic(Oo))}function Na(){return Wt=ti?Wt:Nc(Oo),ti=!0,Wt}const Yf=(...e)=>{const t=Ia().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Po(s);if(!r)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Mo(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Xf=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Po(s);if(r)return n(r,!0,Mo(r))},t};function Mo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Po(e){return re(e)?document.querySelector(e):e}const zf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Fa=window.__VP_SITE_DATA__;function ir(e){return bi()?(fl(e),!0):!1}function ke(e){return typeof e=="function"?e():Fi(e)}const Lo=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]",Qt=()=>{},ni=$a();function $a(){var e,t;return Lo&&((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(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Io=e=>e();function Va(e,t={}){let n,s,r=Qt;const i=l=>{clearTimeout(l),r(),r=Qt};return l=>{const c=ke(e),f=ke(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(l())):new Promise((a,h)=>{r=t.rejectOnCancel?h:a,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,a(l())},f)),n=setTimeout(()=>{s&&i(s),s=null,a(l())},c)})}}function Ua(e=Io){const t=oe(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Wn(t),pause:n,resume:s,eventFilter:r}}function Ba(e){return zn()}function No(...e){if(e.length!==1)return Vl(...e);const t=e[0];return typeof t=="function"?Wn(Hl(()=>({get:t,set:Qt}))):oe(t)}function Fo(e,t,n={}){const{eventFilter:s=Io,...r}=n;return Fe(e,ja(s,t),r)}function ka(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Ua(s);return{stop:Fo(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function or(e,t=!0,n){Ba()?Lt(e,n):t?e():Kn(e)}function Qf(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...i}=n;return Fo(e,t,{...i,eventFilter:Va(s,{maxWait:r})})}function Zf(e,t,n){let s;ae(n)?s={evaluating:n}:s={};const{lazy:r=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Qt}=s,c=oe(!r),f=o?zs(t):oe(t);let a=0;return sr(async h=>{if(!c.value)return;a++;const g=a;let b=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const S=await e(_=>{h(()=>{i&&(i.value=!1),b||_()})});g===a&&(f.value=S)}catch(S){l(S)}finally{i&&g===a&&(i.value=!1),b=!0}}),r?ie(()=>(c.value=!0,f.value)):f}const He=Lo?window:void 0;function Do(e){var t;const n=ke(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=He):[t,n,s,r]=e,!t)return Qt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,g,b)=>(a.addEventListener(h,g,b),()=>a.removeEventListener(h,g,b)),c=Fe(()=>[Do(t),ke(r)],([a,h])=>{if(o(),!a)return;const g=Ha(h)?{...h}:h;i.push(...n.flatMap(b=>s.map(S=>l(a,b,S,g))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return ir(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,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=He,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Wa(t);return Pt(r,i,a=>{a.repeat&&ke(l)||c(a)&&n(a)},o)}function Ka(){const e=oe(!1),t=zn();return t&&Lt(()=>{e.value=!0},t),e}function qa(e){const t=Ka();return ie(()=>(t.value,!!e()))}function Ho(e,t={}){const{window:n=He}=t,s=qa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=oe(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=sr(()=>{s.value&&(l(),r=n.matchMedia(ke(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return ir(()=>{c(),l(),r=void 0}),i}const vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bn="__vueuse_ssr_handlers__",Ga=Ya();function Ya(){return bn in vn||(vn[bn]=vn[bn]||{}),vn[bn]}function $o(e,t){return Ga[e]||t}function jo(e){return Ho("(prefers-color-scheme: dark)",e)}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 lr(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=He,eventFilter:g,onError:b=v=>{console.error(v)},initOnMounted:S}=s,_=(a?zs:oe)(typeof t=="function"?t():t);if(!n)try{n=$o("getDefaultStorage",()=>{var v;return(v=He)==null?void 0:v.localStorage})()}catch(v){b(v)}if(!n)return _;const k=ke(t),N=Xa(k),j=(r=s.serializer)!=null?r:za[N],{pause:p,resume:m}=ka(_,()=>F(_.value),{flush:i,deep:o,eventFilter:g});h&&l&&or(()=>{n instanceof Storage?Pt(h,"storage",V):Pt(h,si,R),S&&V()}),S||V();function M(v,I){if(h){const x={key:e,oldValue:v,newValue:I,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(si,{detail:x}))}}function F(v){try{const I=n.getItem(e);if(v==null)M(I,null),n.removeItem(e);else{const x=j.write(v);I!==x&&(n.setItem(e,x),M(I,x))}}catch(I){b(I)}}function H(v){const I=v?v.newValue:n.getItem(e);if(I==null)return c&&k!=null&&n.setItem(e,j.write(k)),k;if(!v&&f){const x=j.read(I);return typeof f=="function"?f(x,k):N==="object"&&!Array.isArray(x)?{...k,...x}:x}else return typeof I!="string"?I:j.read(I)}function V(v){if(!(v&&v.storageArea!==n)){if(v&&v.key==null){_.value=k;return}if(!(v&&v.key!==e)){p();try{(v==null?void 0:v.newValue)!==j.write(_.value)&&(_.value=H(v))}catch(I){b(I)}finally{v?Kn(m):m()}}}}function R(v){V(v.detail)}return _}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:s="auto",window:r=He,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=jo({window:r}),b=ie(()=>g.value?"dark":"light"),S=c||(o==null?No(s):lr(o,s,i,{window:r,listenToStorageChanges:l})),_=ie(()=>S.value==="auto"?b.value:S.value),k=$o("updateHTMLAttrs",(m,M,F)=>{const H=typeof m=="string"?r==null?void 0:r.document.querySelector(m):Do(m);if(!H)return;const V=new Set,R=new Set;let v=null;if(M==="class"){const x=F.split(/\s/g);Object.values(h).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{x.includes(W)?V.add(W):R.add(W)})}else v={key:M,value:F};if(V.size===0&&R.size===0&&v===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(Ja)),r.document.head.appendChild(I));for(const x of V)H.classList.add(x);for(const x of R)H.classList.remove(x);v&&H.setAttribute(v.key,v.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(m){var M;k(t,n,(M=h[m])!=null?M:m)}function j(m){e.onChanged?e.onChanged(m,N):N(m)}Fe(_,j,{flush:"post",immediate:!0}),or(()=>j(_.value));const p=ie({get(){return f?S.value:_.value},set(m){S.value=m}});try{return Object.assign(p,{store:S,system:b,state:_})}catch{return p}}function Za(e={}){const{valueDark:t="dark",valueLight:n="",window:s=He}=e,r=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(()=>r.system?r.system.value:jo({window:s}).value?"dark":"light");return ie({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function ps(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:s=He}=n;return lr(e,t,s==null?void 0:s.localStorage,n)}function Vo(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 gs=new WeakMap;function nu(e,t=!1){const n=oe(t);let s=null,r="";Fe(No(e),l=>{const c=ps(ke(l));if(c){const f=c;if(gs.get(f)||gs.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=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=ps(ke(e));!l||n.value||(ni&&(s=Pt(l,"touchmove",c=>{ef(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=ps(ke(e));!l||!n.value||(ni&&(s==null||s()),l.style.overflow=r,gs.delete(l),n.value=!1)};return ir(o),ie({get(){return n.value},set(l){l?i():o()}})}function su(e,t,n={}){const{window:s=He}=n;return lr(e,t,s==null?void 0:s.sessionStorage,n)}function ru(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const s=oe(t.scrollX),r=oe(t.scrollY),i=ie({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function iu(e={}){const{window:t=He,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=oe(n),c=oe(s),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(),or(f),Pt("resize",f,{passive:!0}),r){const a=Ho("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const ms={BASE_URL:"/DimensionalData.jl/dev/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var ys={};const Uo=/^(?:[a-z]+:|\/\/)/i,tf="vitepress-theme-appearance",nf=/#.*$/,sf=/[?#].*$/,rf=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Bo={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=ri(`/${e}`),n)return new RegExp(t).test(e);if(ri(t)!==e)return!1;const s=t.match(nf);return s?(ge?location.hash:"")===s[0]:!0}function ri(e){return decodeURI(e).replace(sf,"").replace(rf,"$1")}function lf(e){return Uo.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 s,r,i,o,l,c,f;const n=cf(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.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:Wo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function ko(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=ff(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function ff(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function uf(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Wo(e,t){return[...e.filter(n=>!uf(t,n)),...t]}const df=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,hf=/^[a-z]:/i;function ii(e){const t=hf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(df,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const vs=new Set;function pf(e){if(vs.size===0){const n=typeof process=="object"&&(ys==null?void 0:ys.VITE_EXTRA_EXTENSIONS)||(ms==null?void 0:ms.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(s=>vs.add(s))}const t=e.split(".").pop();return t==null||!vs.has(t.toLowerCase())}function ou(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const gf=Symbol(),yt=zs(Fa);function lu(e){const t=ie(()=>af(yt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?oe(!0):n?Za({storageKey:tf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),r=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.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(()=>ko(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.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 oi(e){return Uo.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/dev/";t=ii(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${ii(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Rn=[];function cu(e){Rn.push(e),Gn(()=>{Rn=Rn.filter(t=>t!==e)})}function bf(){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=li(e,n);else if(Array.isArray(e))for(const s of e){const r=li(s,n);if(r){t=r;break}}return t}function li(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const _f=Symbol(),Ko="http://a.com",wf=()=>({path:"/",component:null,data:Bo});function au(e,t){const n=kn(wf()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=bs(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==bs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var g,b;if(await((g=s.onBeforePageLoad)==null?void 0:g.call(s,l))===!1)return;const a=new URL(l,Ko),h=i=a.pathname;try{let S=await e(h);if(!S)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:_,__pageData:k}=S;if(!_)throw new Error(`Invalid route component: ${_}`);await((b=s.onAfterPageLoad)==null?void 0:b.call(s,l)),n.path=ge?h:oi(h),n.component=xn(_),n.data=xn(k),ge&&Kn(()=>{let N=yt.value.base+k.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let j=null;try{j=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(j){ci(j,a.hash);return}}window.scrollTo(0,c)})}}catch(S){if(!/fetch|Page not found/.test(S.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(S),!f)try{const _=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await _.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:oi(h),n.component=t?xn(t):null;const _=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Bo,relativePath:_}}}}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:h,pathname:g,hash:b,search:S}=new URL(f,c.baseURI),_=new URL(location.href);h===_.origin&&pf(g)&&(l.preventDefault(),g===_.pathname&&S===_.search?(b!==_.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:_.href,newURL:a}))),b?ci(c,b,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(bs(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Sf(){const e=Mt(_f);if(!e)throw new Error("useRouter() is called without provider.");return e}function qo(){return Sf().route}function ci(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=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(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-bf()+i;requestAnimationFrame(r)}}function bs(e){const t=new URL(e,Ko);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 _n=()=>Rn.forEach(e=>e()),fu=Qs({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=qo(),{frontmatter:n,site:s}=mf();return Fe(n,_n,{deep:!0,flush:"post"}),()=>Ns(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Ns(t.component,{onVnodeMounted:_n,onVnodeUpdated:_n,onVnodeUnmounted:_n}):"404 Page Not Found"])}}),Ef="modulepreload",xf=function(e){return"/DimensionalData.jl/dev/"+e},ai={},uu=function(t,n,s){let r=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"));r=Promise.allSettled(n.map(c=>{if(c=xf(c),c in ai)return;ai[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":Ef,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,b)=>{h.addEventListener("load",g),h.addEventListener("error",()=>b(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 r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},du=Qs({setup(e,{slots:t}){const n=oe(!1);return Lt(()=>{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 s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function pu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.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 s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function gu(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=_s(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(_s);s.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 s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};sr(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=ko(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):_s(["meta",{name:"description",content:a}]),r(Wo(o.head,Af(c)))})}function _s([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&!t.async&&(s.async=!1),s}function Cf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Af(e){return e.filter(t=>!Cf(t))}const ws=new Set,Go=()=>document.createElement("link"),Rf=e=>{const t=Go();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 wn;const Mf=ge&&(wn=Go())&&wn.relList&&wn.relList.supports&&wn.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 s=()=>{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(!ws.has(c)){ws.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):ws.add(l))})})};Lt(s);const r=qo();Fe(()=>r.path,s),Gn(()=>{n&&n.disconnect()})}export{zi as $,bf as A,Nf as B,Df as C,zs as D,cu as E,Se as F,le as G,Ff as H,Uo as I,qo as J,Yc as K,Mt as L,iu as M,Vs as N,eu as O,Kn as P,ru as Q,ge as R,Wn as S,Wf as T,If as U,uu as V,nu as W,Cc as X,$f as Y,Gf as Z,zf as _,Eo as a,qf as a0,jf as a1,kn as a2,Vl as a3,Bf as a4,gu as a5,_f 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,Ns as ai,ke as aj,Do as ak,Jf as al,ir as am,Zf as an,su as ao,tu as ap,Qf as aq,Sf as ar,Pt as as,Pf as at,Kf as au,ae as av,Lf as aw,xn as ax,Yf as ay,ou as az,Ls as b,Uf as c,Qs as d,kf as e,pf as f,oi as g,ie as h,lf as i,So as j,Fi as k,of as l,Ho as m,Us as n,Ps as o,oe as p,Fe as q,Hf as r,sr as s,cl as t,mf as u,Lt as v,Xl as w,Gn as x,Vf as y,dc as z}; diff --git a/dev/assets/chunks/framework.BAAK0EyE.js b/dev/assets/chunks/framework.BAAK0EyE.js new file mode 100644 index 000000000..e6d4477b9 --- /dev/null +++ b/dev/assets/chunks/framework.BAAK0EyE.js @@ -0,0 +1,18 @@ +/** +* @vue/shared v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Ns(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Z={},Et=[],ke=()=>{},Uo=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fs=e=>e.startsWith("onUpdate:"),ce=Object.assign,Ds=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ko=Object.prototype.hasOwnProperty,z=(e,t)=>ko.call(e,t),K=Array.isArray,Tt=e=>In(e)==="[object Map]",si=e=>In(e)==="[object Set]",q=e=>typeof e=="function",re=e=>typeof e=="string",Ye=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",ri=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),ii=Object.prototype.toString,In=e=>ii.call(e),Bo=e=>In(e).slice(8,-1),oi=e=>In(e)==="[object Object]",Hs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=Ns(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wo=/-(\w)/g,Le=Nn(e=>e.replace(Wo,(t,n)=>n?n.toUpperCase():"")),Ko=/\B([A-Z])/g,st=Nn(e=>e.replace(Ko,"-$1").toLowerCase()),Fn=Nn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vn=Nn(e=>e?`on${Fn(e)}`:""),tt=(e,t)=>!Object.is(e,t),bn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qo=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let ar;const Dn=()=>ar||(ar=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $s(e){if(K(e)){const t={};for(let n=0;n{if(n){const s=n.split(Yo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function js(e){let t="";if(re(e))t=e;else if(K(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Zo=e=>re(e)?e:e==null?"":K(e)||ne(e)&&(e.toString===ii||!q(e.toString))?ai(e)?Zo(e.value):JSON.stringify(e,fi,2):String(e),fi=(e,t)=>ai(t)?fi(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[zn(s,i)+" =>"]=r,n),{})}:si(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zn(n))}:Ye(t)?zn(t):ne(t)&&!K(t)&&!oi(t)?String(t):t,zn=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let _e;class el{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.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;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$t;){let t=$t;for($t=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function gi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function mi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),ks(s),nl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function bs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(yi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function yi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!bs(e)){e.flags&=-3;return}const n=te,s=Ne;te=e,Ne=!0;try{gi(e);const r=e.fn(e._value);(t.version===0||tt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Ne=s,mi(e),e.flags&=-3}}function ks(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ks(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function nl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const vi=[];function rt(){vi.push(Ne),Ne=!1}function it(){const e=vi.pop();Ne=e===void 0?!0:e}function fr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Kt=0;class sl{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 Hn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Ne||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new sl(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,bi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Vs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Us()}}}function bi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)bi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tn=new WeakMap,dt=Symbol(""),_s=Symbol(""),qt=Symbol("");function me(e,t,n){if(Ne&&te){let s=Tn.get(e);s||Tn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Hn),r.map=s,r.key=n),r.track()}}function qe(e,t,n,s,r,i){const o=Tn.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(Vs(),t==="clear")o.forEach(l);else{const c=K(e),f=c&&Hs(n);if(c&&n==="length"){const a=Number(s);o.forEach((d,y)=>{(y==="length"||y===qt||!Ye(y)&&y>=a)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(qt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(dt)),Tt(e)&&l(o.get(_s)));break;case"delete":c||(l(o.get(dt)),Tt(e)&&l(o.get(_s)));break;case"set":Tt(e)&&l(o.get(dt));break}}Us()}function rl(e,t){const n=Tn.get(e);return n&&n.get(t)}function bt(e){const t=J(e);return t===e?t:(me(t,"iterate",qt),Pe(e)?t:t.map(ye))}function $n(e){return me(e=J(e),"iterate",qt),e}const il={__proto__:null,[Symbol.iterator](){return Zn(this,Symbol.iterator,ye)},concat(...e){return bt(this).concat(...e.map(t=>K(t)?bt(t):t))},entries(){return Zn(this,"entries",e=>(e[1]=ye(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(ye),arguments)},find(e,t){return We(this,"find",e,t,ye,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,ye,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 es(this,"includes",e)},indexOf(...e){return es(this,"indexOf",e)},join(e){return bt(this).join(e)},lastIndexOf(...e){return es(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 ur(this,"reduce",e,t)},reduceRight(e,...t){return ur(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 Zn(this,"values",ye)}};function Zn(e,t,n){const s=$n(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const ol=Array.prototype;function We(e,t,n,s,r,i){const o=$n(e),l=o!==e&&!Pe(e),c=o[t];if(c!==ol[t]){const d=c.apply(e,i);return l?ye(d):d}let f=n;o!==e&&(l?f=function(d,y){return n.call(this,ye(d),y,e)}:n.length>2&&(f=function(d,y){return n.call(this,d,y,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function ur(e,t,n,s){const r=$n(e);let i=n;return r!==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,ye(l),c,e)}),r[t](i,...s)}function es(e,t,n){const s=J(e);me(s,"iterate",qt);const r=s[t](...n);return(r===-1||r===!1)&&Ks(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function Ft(e,t,n=[]){rt(),Vs();const s=J(e)[t].apply(e,n);return Us(),it(),s}const ll=Ns("__proto__,__v_isRef,__isVue"),_i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function cl(e){Ye(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class wi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?vl:Ti:i?Ei:xi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=K(t);if(!r){let c;if(o&&(c=il[n]))return c;if(n==="hasOwnProperty")return cl}const l=Reflect.get(t,n,fe(t)?t:s);return(Ye(n)?_i.has(n):ll(n))||(r||me(t,"get",n),i)?l:fe(l)?o&&Hs(n)?l:l.value:ne(l)?r?Vn(l):jn(l):l}}class Si extends wi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=yt(i);if(!Pe(s)&&!yt(s)&&(i=J(i),s=J(s)),!K(t)&&fe(i)&&!fe(s))return c?!1:(i.value=s,!0)}const o=K(t)&&Hs(n)?Number(n)e,ln=e=>Reflect.getPrototypeOf(e);function hl(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=Tt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?ws:t?Ss:ye;return!t&&me(i,"iterate",c?_s:dt),{next(){const{value:d,done:y}=f.next();return y?{value:d,done:y}:{value:l?[a(d[0]),a(d[1])]:a(d),done:y}},[Symbol.iterator](){return this}}}}function cn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(tt(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=ln(o),f=t?ws:e?Ss:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",dt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(tt(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?ws:e?Ss:ye;return!e&&me(c,"iterate",dt),l.forEach((a,d)=>r.call(i,f(a),f(d),o))}};return ce(n,e?{add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear")}:{add(r){!t&&!Pe(r)&&!yt(r)&&(r=J(r));const i=J(this);return ln(i).has.call(i,r)||(i.add(r),qe(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!yt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=ln(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?tt(i,a)&&qe(o,"set",r,i):qe(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=ln(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&qe(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&qe(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=hl(r,e,t)}),n}function Bs(e,t){const n=pl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const gl={get:Bs(!1,!1)},ml={get:Bs(!1,!0)},yl={get:Bs(!0,!1)};const xi=new WeakMap,Ei=new WeakMap,Ti=new WeakMap,vl=new WeakMap;function bl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _l(e){return e.__v_skip||!Object.isExtensible(e)?0:bl(Bo(e))}function jn(e){return yt(e)?e:Ws(e,!1,fl,gl,xi)}function wl(e){return Ws(e,!1,dl,ml,Ei)}function Vn(e){return Ws(e,!0,ul,yl,Ti)}function Ws(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=_l(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ht(e){return yt(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function _n(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&li(e,"__v_skip",!0),e}const ye=e=>ne(e)?jn(e):e,Ss=e=>ne(e)?Vn(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function oe(e){return Ci(e,!1)}function qs(e){return Ci(e,!0)}function Ci(e,t){return fe(e)?e:new Sl(e,t)}class Sl{constructor(t,n){this.dep=new Hn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||yt(t);t=s?t:J(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function Ai(e){return fe(e)?e.value:e}const xl={get:(e,t,n)=>t==="__v_raw"?e:Ai(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ri(e){return ht(e)?e:new Proxy(e,xl)}class El{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Hn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Tl(e){return new El(e)}class Cl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 rl(J(this._object),this._key)}}class Al{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 Rl(e,t,n){return fe(e)?e:q(e)?new Al(e):ne(e)&&arguments.length>1?Ol(e,t,n):oe(e)}function Ol(e,t,n){const s=e[t];return fe(s)?s:new Cl(e,t,n)}class Ml{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Hn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return pi(this,!0),!0}get value(){const t=this.dep.track();return yi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Pl(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Ml(s,r,n)}const an={},Cn=new WeakMap;let ft;function Ll(e,t=!1,n=ft){if(n){let s=Cn.get(n);s||Cn.set(n,s=[]),s.push(e)}}function Il(e,t,n=Z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?Ge(g,1):Ge(g);let a,d,y,v,S=!1,b=!1;if(fe(e)?(d=()=>e.value,S=Pe(e)):ht(e)?(d=()=>f(e),S=!0):K(e)?(b=!0,S=e.some(g=>ht(g)||Pe(g)),d=()=>e.map(g=>{if(fe(g))return g.value;if(ht(g))return f(g);if(q(g))return c?c(g,2):g()})):q(e)?t?d=c?()=>c(e,2):e:d=()=>{if(y){rt();try{y()}finally{it()}}const g=ft;ft=a;try{return c?c(e,3,[v]):e(v)}finally{ft=g}}:d=ke,t&&r){const g=d,M=r===!0?1/0:r;d=()=>Ge(g(),M)}const B=ui(),N=()=>{a.stop(),B&&Ds(B.effects,a)};if(i&&t){const g=t;t=(...M)=>{g(...M),N()}}let j=b?new Array(e.length).fill(an):an;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const M=a.run();if(r||S||(b?M.some((F,H)=>tt(F,j[H])):tt(M,j))){y&&y();const F=ft;ft=a;try{const H=[M,j===an?void 0:b&&j[0]===an?[]:j,v];c?c(t,3,H):t(...H),j=M}finally{ft=F}}}else a.run()};return l&&l(p),a=new di(d),a.scheduler=o?()=>o(p,!1):p,v=g=>Ll(g,!1,a),y=a.onStop=()=>{const g=Cn.get(a);if(g){if(c)c(g,4);else for(const M of g)M();Cn.delete(a)}},t?s?p(!0):j=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 Ge(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--,fe(e))Ge(e.value,t,n);else if(K(e))for(let s=0;s{Ge(s,t,n)});else if(oi(e)){for(const s in e)Ge(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ge(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function en(e,t,n,s){try{return s?e(...s):e()}catch(r){tn(r,t,n)}}function De(e,t,n,s){if(q(e)){const r=en(e,t,n,s);return r&&ri(r)&&r.catch(i=>{tn(i,t,n)}),r}if(K(e)){const r=[];for(let i=0;i>>1,r=we[s],i=Gt(r);i=Gt(n)?we.push(e):we.splice(Fl(t),0,e),e.flags|=1,Mi()}}function Mi(){An||(An=Oi.then(Pi))}function Dl(e){K(e)?At.push(...e):Qe&&e.id===-1?Qe.splice(wt+1,0,e):e.flags&1||(At.push(e),e.flags|=1),Mi()}function dr(e,t,n=Ve+1){for(;nGt(n)-Gt(s));if(At.length=0,Qe){Qe.push(...t);return}for(Qe=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function Pi(e){try{for(Ve=0;Ve{s._d&&Cr(-1);const i=On(t);let o;try{o=e(...r)}finally{On(i),s._d&&Cr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function bf(e,t){if(de===null)return e;const n=Gn(de),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),$l=e=>e&&(e.defer||e.defer===""),hr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,pr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,xs=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},jl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:d,pbc:y,o:{insert:v,querySelector:S,createText:b,createComment:B}}=f,N=Vt(t.props);let{shapeFlag:j,children:p,dynamicChildren:g}=t;if(e==null){const M=t.el=b(""),F=t.anchor=b("");v(M,n,s),v(F,n,s);const H=(R,_)=>{j&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,_,r,i,o,l,c))},V=()=>{const R=t.target=xs(t.props,S),_=Fi(R,t,b,v);R&&(o!=="svg"&&hr(R)?o="svg":o!=="mathml"&&pr(R)&&(o="mathml"),N||(H(R,_),wn(t,!1)))};N&&(H(n,F),wn(t,!0)),$l(t.props)?xe(V,i):V()}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,V=Vt(e.props),R=V?n:F,_=V?M:H;if(o==="svg"||hr(F)?o="svg":(o==="mathml"||pr(F))&&(o="mathml"),g?(y(e.dynamicChildren,g,R,r,i,o,l),Qs(e,t,!0)):c||d(e,t,R,_,r,i,o,l,!1),N)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fn(t,n,M,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=xs(t.props,S);I&&fn(t,I,null,f,0)}else V&&fn(t,F,H,f,1);wn(t,N)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:d,props:y}=e;if(d&&(r(f),r(a)),i&&r(c),o&16){const v=i||!Vt(y);for(let S=0;S{e.isMounted=!0}),ki(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Di={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},Hi=e=>{const t=e.subTree;return t.component?Hi(t.component):t},kl={name:"BaseTransition",props:Di,setup(e,{slots:t}){const n=qn(),s=Ul();return()=>{const r=t.default&&Vi(t.default(),!0);if(!r||!r.length)return;const i=$i(r),o=J(e),{mode:l}=o;if(s.isLeaving)return ts(i);const c=gr(i);if(!c)return ts(i);let f=Es(c,o,s,n,y=>f=y);c.type!==ve&&Yt(c,f);const a=n.subTree,d=a&&gr(a);if(d&&d.type!==ve&&!ut(c,d)&&Hi(n).type!==ve){const y=Es(d,o,s,n);if(Yt(d,y),l==="out-in"&&c.type!==ve)return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete y.afterLeave},ts(i);l==="in-out"&&c.type!==ve&&(y.delayLeave=(v,S,b)=>{const B=ji(s,d);B[String(d.key)]=d,v[Ze]=()=>{S(),v[Ze]=void 0,delete f.delayedLeave},f.delayedLeave=b})}return i}}};function $i(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ve){t=n;break}}return t}const Bl=kl;function ji(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Es(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:y,onLeave:v,onAfterLeave:S,onLeaveCancelled:b,onBeforeAppear:B,onAppear:N,onAfterAppear:j,onAppearCancelled:p}=t,g=String(e.key),M=ji(n,e),F=(R,_)=>{R&&De(R,s,9,_)},H=(R,_)=>{const I=_[1];F(R,_),K(R)?R.every(E=>E.length<=1)&&I():R.length<=1&&I()},V={mode:o,persisted:l,beforeEnter(R){let _=c;if(!n.isMounted)if(i)_=B||c;else return;R[Ze]&&R[Ze](!0);const I=M[g];I&&ut(e,I)&&I.el[Ze]&&I.el[Ze](),F(_,[R])},enter(R){let _=f,I=a,E=d;if(!n.isMounted)if(i)_=N||f,I=j||a,E=p||d;else return;let W=!1;const se=R[un]=ae=>{W||(W=!0,ae?F(E,[R]):F(I,[R]),V.delayedLeave&&V.delayedLeave(),R[un]=void 0)};_?H(_,[R,se]):se()},leave(R,_){const I=String(e.key);if(R[un]&&R[un](!0),n.isUnmounting)return _();F(y,[R]);let E=!1;const W=R[Ze]=se=>{E||(E=!0,_(),se?F(b,[R]):F(S,[R]),R[Ze]=void 0,M[I]===e&&delete M[I])};M[I]=e,v?H(v,[R,W]):W()},clone(R){const _=Es(R,t,n,s,r);return r&&r(_),_}};return V}function ts(e){if(nn(e))return e=nt(e),e.children=null,e}function gr(e){if(!nn(e))return Ni(e.type)&&e.children?$i(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 Vi(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iMn(S,t&&(K(t)?t[b]:t),n,s,r));return}if(pt(s)&&!r)return;const i=s.shapeFlag&4?Gn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,d=l.setupState,y=J(d),v=d===Z?()=>!1:S=>z(y,S);if(f!=null&&f!==c&&(re(f)?(a[f]=null,v(f)&&(d[f]=null)):fe(f)&&(f.value=null)),q(c))en(c,l,12,[o,a]);else{const S=re(c),b=fe(c);if(S||b){const B=()=>{if(e.f){const N=S?v(c)?d[c]:a[c]:c.value;r?K(N)&&Ds(N,i):K(N)?N.includes(i)||N.push(i):S?(a[c]=[i],v(c)&&(d[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else S?(a[c]=o,v(c)&&(d[c]=o)):b&&(c.value=o,e.k&&(a[e.k]=o))};o?(B.id=-1,xe(B,n)):B()}}}let mr=!1;const _t=()=>{mr||(console.error("Hydration completed but contains mismatches."),mr=!0)},Wl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Kl=e=>e.namespaceURI.includes("MathML"),dn=e=>{if(e.nodeType===1){if(Wl(e))return"svg";if(Kl(e))return"mathml"}},xt=e=>e.nodeType===8;function ql(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),Rn(),g._vnode=p;return}d(g.firstChild,p,null,null,null),Rn(),g._vnode=p},d=(p,g,M,F,H,V=!1)=>{V=V||!!g.dynamicChildren;const R=xt(p)&&p.data==="[",_=()=>b(p,g,M,F,H,R),{type:I,ref:E,shapeFlag:W,patchFlag:se}=g;let ae=p.nodeType;g.el=p,se===-2&&(V=!1,g.dynamicChildren=null);let U=null;switch(I){case gt:ae!==3?g.children===""?(c(g.el=r(""),o(p),p),U=p):U=_():(p.data!==g.children&&(_t(),p.data=g.children),U=i(p));break;case ve:j(p)?(U=i(p),N(g.el=p.content.firstChild,p,M)):ae!==8||R?U=_():U=i(p);break;case kt:if(R&&(p=i(p),ae=p.nodeType),ae===1||ae===3){U=p;const Y=!g.children.length;for(let $=0;${V=V||!!g.dynamicChildren;const{type:R,props:_,patchFlag:I,shapeFlag:E,dirs:W,transition:se}=g,ae=R==="input"||R==="option";if(ae||I!==-1){W&&Ue(g,null,M,"created");let U=!1;if(j(p)){U=io(null,se)&&M&&M.vnode.props&&M.vnode.props.appear;const $=p.content.firstChild;U&&se.beforeEnter($),N($,p,M),g.el=p=$}if(E&16&&!(_&&(_.innerHTML||_.textContent))){let $=v(p.firstChild,g,p,M,F,H,V);for(;$;){hn(p,1)||_t();const he=$;$=$.nextSibling,l(he)}}else if(E&8){let $=g.children;$[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&($=$.slice(1)),p.textContent!==$&&(hn(p,0)||_t(),p.textContent=g.children)}if(_){if(ae||!V||I&48){const $=p.tagName.includes("-");for(const he in _)(ae&&(he.endsWith("value")||he==="indeterminate")||Zt(he)&&!Ct(he)||he[0]==="."||$)&&s(p,he,null,_[he],void 0,M)}else if(_.onClick)s(p,"onClick",null,_.onClick,void 0,M);else if(I&4&&ht(_.style))for(const $ in _.style)_.style[$]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Oe(Y,M,g),W&&Ue(g,null,M,"beforeMount"),((Y=_&&_.onVnodeMounted)||W||U)&&fo(()=>{Y&&Oe(Y,M,g),U&&se.enter(p),W&&Ue(g,null,M,"mounted")},F)}return p.nextSibling},v=(p,g,M,F,H,V,R)=>{R=R||!!g.dynamicChildren;const _=g.children,I=_.length;for(let E=0;E{const{slotScopeIds:R}=g;R&&(H=H?H.concat(R):R);const _=o(p),I=v(i(p),g,_,M,F,H,V);return I&&xt(I)&&I.data==="]"?i(g.anchor=I):(_t(),c(g.anchor=f("]"),_,I),I)},b=(p,g,M,F,H,V)=>{if(hn(p.parentElement,1)||_t(),g.el=null,V){const I=B(p);for(;;){const E=i(p);if(E&&E!==I)l(E);else break}}const R=i(p),_=o(p);return l(p),n(null,g,_,R,M,F,dn(_),H),R},B=(p,g="[",M="]")=>{let F=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===g&&F++,p.data===M)){if(F===0)return i(p);F--}return p},N=(p,g,M)=>{const F=g.parentNode;F&&F.replaceChild(p,g);let H=M;for(;H;)H.vnode.el===g&&(H.vnode.el=H.subTree.el=p),H=H.parent},j=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const yr="data-allow-mismatch",Gl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function hn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(yr);)e=e.parentElement;const n=e&&e.getAttribute(yr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Gl[t])}}Dn().requestIdleCallback;Dn().cancelIdleCallback;function Yl(e,t){if(xt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(xt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function wf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,d=0;const y=()=>(d++,f=null,v()),v=()=>{let S;return f||(S=f=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((B,N)=>{c(b,()=>B(y()),()=>N(b),d+1)});throw b}).then(b=>S!==f&&f?f:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),a=b,b)))};return Ys({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(S,b,B){const N=i?()=>{const j=i(B,p=>Yl(S,p));j&&(b.bum||(b.bum=[])).push(j)}:B;a?N():v().then(()=>!b.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const S=ue;if(Xs(S),a)return()=>ns(a,S);const b=p=>{f=null,tn(p,S,13,!s)};if(l&&S.suspense||Mt)return v().then(p=>()=>ns(p,S)).catch(p=>(b(p),()=>s?le(s,{error:p}):null));const B=oe(!1),N=oe(),j=oe(!!r);return r&&setTimeout(()=>{j.value=!1},r),o!=null&&setTimeout(()=>{if(!B.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);b(p),N.value=p}},o),v().then(()=>{B.value=!0,S.parent&&nn(S.parent.vnode)&&S.parent.update()}).catch(p=>{b(p),N.value=p}),()=>{if(B.value&&a)return ns(a,S);if(N.value&&s)return le(s,{error:N.value});if(n&&!j.value)return le(n)}}})}function ns(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=le(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const nn=e=>e.type.__isKeepAlive;function Xl(e,t){Ui(e,"a",t)}function Jl(e,t){Ui(e,"da",t)}function Ui(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)nn(r.parent.vnode)&&zl(s,t,n,r),r=r.parent}}function zl(e,t,n,s){const r=kn(t,e,s,!0);Bn(()=>{Ds(s[t],r)},n)}function kn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{rt();const l=sn(n),c=De(t,n,e,o);return l(),it(),c});return s?r.unshift(i):r.push(i),i}}const Xe=e=>(t,n=ue)=>{(!Mt||e==="sp")&&kn(e,(...s)=>t(...s),n)},Ql=Xe("bm"),Lt=Xe("m"),Zl=Xe("bu"),ec=Xe("u"),ki=Xe("bum"),Bn=Xe("um"),tc=Xe("sp"),nc=Xe("rtg"),sc=Xe("rtc");function rc(e,t=ue){kn("ec",e,t)}const Bi="components";function Sf(e,t){return Ki(Bi,e,!0,t)||e}const Wi=Symbol.for("v-ndc");function xf(e){return re(e)?Ki(Bi,e,!1)||e:e||Wi}function Ki(e,t,n=!0,s=!1){const r=de||ue;if(r){const i=r.type;{const l=Bc(i,!1);if(l&&(l===t||l===Le(t)||l===Fn(Le(t))))return i}const o=vr(r[e]||i[e],t)||vr(r.appContext[e],t);return!o&&s?i:o}}function vr(e,t){return e&&(e[t]||e[Le(t)]||e[Fn(Le(t))])}function Ef(e,t,n,s){let r;const i=n,o=K(e);if(o||re(e)){const l=o&&ht(e);let c=!1;l&&(c=!Pe(e),e=$n(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;cJt(t)?!(t.type===ve||t.type===Se&&!qi(t.children)):!0)?e:null}function Cf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:vn(s)]=e[s];return n}const Ts=e=>e?mo(e)?Gn(e):Ts(e.parent):null,Ut=ce(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=>Ts(e.parent),$root:e=>Ts(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Js(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=Un.bind(e.proxy)),$watch:e=>Cc.bind(e)}),ss=(e,t)=>e!==Z&&!e.__isScriptSetup&&z(e,t),ic={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,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 s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ss(s,t))return o[t]=1,s[t];if(r!==Z&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==Z&&z(n,t))return o[t]=4,n[t];Cs&&(o[t]=0)}}const a=Ut[t];let d,y;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Z&&z(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return ss(r,t)?(r[t]=n,!0):s!==Z&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Z&&z(e,o)||ss(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Ut,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Af(){return oc().slots}function oc(){const e=qn();return e.setupContext||(e.setupContext=vo(e))}function br(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Cs=!0;function lc(e){const t=Js(e),n=e.proxy,s=e.ctx;Cs=!1,t.beforeCreate&&_r(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:d,mounted:y,beforeUpdate:v,updated:S,activated:b,deactivated:B,beforeDestroy:N,beforeUnmount:j,destroyed:p,unmounted:g,render:M,renderTracked:F,renderTriggered:H,errorCaptured:V,serverPrefetch:R,expose:_,inheritAttrs:I,components:E,directives:W,filters:se}=t;if(f&&cc(f,s,null),o)for(const Y in o){const $=o[Y];q($)&&(s[Y]=$.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=jn(Y))}if(Cs=!0,i)for(const Y in i){const $=i[Y],he=q($)?$.bind(n,n):q($.get)?$.get.bind(n,n):ke,rn=!q($)&&q($.set)?$.set.bind(n):ke,ot=ie({get:he,set:rn});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ot.value,set:$e=>ot.value=$e})}if(l)for(const Y in l)Gi(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach($=>{pc($,Y[$])})}a&&_r(a,e,"c");function U(Y,$){K($)?$.forEach(he=>Y(he.bind(n))):$&&Y($.bind(n))}if(U(Ql,d),U(Lt,y),U(Zl,v),U(ec,S),U(Xl,b),U(Jl,B),U(rc,V),U(sc,F),U(nc,H),U(ki,j),U(Bn,g),U(tc,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===ke&&(e.render=M),I!=null&&(e.inheritAttrs=I),E&&(e.components=E),W&&(e.directives=W),R&&Xs(e)}function cc(e,t,n=ke){K(e)&&(e=As(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=Ot(r.from||s,r.default,!0):i=Ot(r.from||s):i=Ot(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function _r(e,t,n){De(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Gi(e,t,n,s){let r=s.includes(".")?lo(n,s):()=>n[s];if(re(e)){const i=t[e];q(i)&&Fe(r,i)}else if(q(e))Fe(r,e.bind(n));else if(ne(e))if(K(e))e.forEach(i=>Gi(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Fe(r,i,e)}}function Js(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Pn(c,f,o,!0)),Pn(c,t,o)),ne(t)&&i.set(t,c),c}function Pn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Pn(e,i,n,!0),r&&r.forEach(o=>Pn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=ac[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ac={data:wr,props:Sr,emits:Sr,methods:Ht,computed:Ht,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Ht,directives:Ht,watch:uc,provide:wr,inject:fc};function wr(e,t){return t?e?function(){return ce(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function fc(e,t){return Ht(As(e),As(t))}function As(e){if(K(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}const Xi={},Ji=()=>Object.create(Xi),zi=e=>Object.getPrototypeOf(e)===Xi;function gc(e,t,n,s=!1){const r={},i=Ji();e.propsDefaults=Object.create(null),Qi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:wl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function mc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[y,v]=Zi(d,t,!0);ce(o,y),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)&&s.set(e,Et),Et;if(K(i))for(let a=0;ae[0]==="_"||e==="$stable",zs=e=>K(e)?e.map(Me):[Me(e)],vc=(e,t,n)=>{if(t._n)return t;const s=Hl((...r)=>zs(t(...r)),n);return s._c=!1,s},to=(e,t,n)=>{const s=e._ctx;for(const r in e){if(eo(r))continue;const i=e[r];if(q(i))t[r]=vc(r,i,s);else if(i!=null){const o=zs(i);t[r]=()=>o}}},no=(e,t)=>{const n=zs(t);e.slots.default=()=>n},so=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},bc=(e,t,n)=>{const s=e.slots=Ji();if(e.vnode.shapeFlag&32){const r=t._;r?(so(s,t,n),n&&li(s,"_",r,!0)):to(t,s)}else t&&no(e,t)},_c=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:so(r,t,n):(i=!t.$stable,to(t,r)),o=t}else t&&(no(e,t),o={default:1});if(i)for(const l in r)!eo(l)&&o[l]==null&&delete r[l]},xe=fo;function wc(e){return ro(e)}function Sc(e){return ro(e,ql)}function ro(e,t){const n=Dn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:d,nextSibling:y,setScopeId:v=ke,insertStaticContent:S}=e,b=(u,h,m,T=null,w=null,x=null,P=void 0,O=null,A=!!h.dynamicChildren)=>{if(u===h)return;u&&!ut(u,h)&&(T=on(u),$e(u,w,x,!0),u=null),h.patchFlag===-2&&(A=!1,h.dynamicChildren=null);const{type:C,ref:k,shapeFlag:L}=h;switch(C){case gt:B(u,h,m,T);break;case ve:N(u,h,m,T);break;case kt:u==null&&j(h,m,T,P);break;case Se:E(u,h,m,T,w,x,P,O,A);break;default:L&1?M(u,h,m,T,w,x,P,O,A):L&6?W(u,h,m,T,w,x,P,O,A):(L&64||L&128)&&C.process(u,h,m,T,w,x,P,O,A,vt)}k!=null&&w&&Mn(k,u&&u.ref,x,h||u,!h)},B=(u,h,m,T)=>{if(u==null)s(h.el=l(h.children),m,T);else{const w=h.el=u.el;h.children!==u.children&&f(w,h.children)}},N=(u,h,m,T)=>{u==null?s(h.el=c(h.children||""),m,T):h.el=u.el},j=(u,h,m,T)=>{[u.el,u.anchor]=S(u.children,h,m,T,u.el,u.anchor)},p=({el:u,anchor:h},m,T)=>{let w;for(;u&&u!==h;)w=y(u),s(u,m,T),u=w;s(h,m,T)},g=({el:u,anchor:h})=>{let m;for(;u&&u!==h;)m=y(u),r(u),u=m;r(h)},M=(u,h,m,T,w,x,P,O,A)=>{h.type==="svg"?P="svg":h.type==="math"&&(P="mathml"),u==null?F(h,m,T,w,x,P,O,A):R(u,h,w,x,P,O,A)},F=(u,h,m,T,w,x,P,O)=>{let A,C;const{props:k,shapeFlag:L,transition:D,dirs:G}=u;if(A=u.el=o(u.type,x,k&&k.is,k),L&8?a(A,u.children):L&16&&V(u.children,A,null,T,w,rs(u,x),P,O),G&&Ue(u,null,T,"created"),H(A,u,u.scopeId,P,T),k){for(const ee in k)ee!=="value"&&!Ct(ee)&&i(A,ee,null,k[ee],x,T);"value"in k&&i(A,"value",null,k.value,x),(C=k.onVnodeBeforeMount)&&Oe(C,T,u)}G&&Ue(u,null,T,"beforeMount");const X=io(w,D);X&&D.beforeEnter(A),s(A,h,m),((C=k&&k.onVnodeMounted)||X||G)&&xe(()=>{C&&Oe(C,T,u),X&&D.enter(A),G&&Ue(u,null,T,"mounted")},w)},H=(u,h,m,T,w)=>{if(m&&v(u,m),T)for(let x=0;x{for(let C=A;C{const O=h.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=h;A|=u.patchFlag&16;const L=u.props||Z,D=h.props||Z;let G;if(m&<(m,!1),(G=D.onVnodeBeforeUpdate)&&Oe(G,m,h,u),k&&Ue(h,u,m,"beforeUpdate"),m&<(m,!0),(L.innerHTML&&D.innerHTML==null||L.textContent&&D.textContent==null)&&a(O,""),C?_(u.dynamicChildren,C,O,m,T,rs(h,w),x):P||$(u,h,O,null,m,T,rs(h,w),x,!1),A>0){if(A&16)I(O,L,D,m,w);else if(A&2&&L.class!==D.class&&i(O,"class",null,D.class,w),A&4&&i(O,"style",L.style,D.style,w),A&8){const X=h.dynamicProps;for(let ee=0;ee{G&&Oe(G,m,h,u),k&&Ue(h,u,m,"updated")},T)},_=(u,h,m,T,w,x,P)=>{for(let O=0;O{if(h!==m){if(h!==Z)for(const x in h)!Ct(x)&&!(x in m)&&i(u,x,h[x],null,w,T);for(const x in m){if(Ct(x))continue;const P=m[x],O=h[x];P!==O&&x!=="value"&&i(u,x,O,P,w,T)}"value"in m&&i(u,"value",h.value,m.value,w)}},E=(u,h,m,T,w,x,P,O,A)=>{const C=h.el=u?u.el:l(""),k=h.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:D,slotScopeIds:G}=h;G&&(O=O?O.concat(G):G),u==null?(s(C,m,T),s(k,m,T),V(h.children||[],m,k,w,x,P,O,A)):L>0&&L&64&&D&&u.dynamicChildren?(_(u.dynamicChildren,D,m,w,x,P,O),(h.key!=null||w&&h===w.subTree)&&Qs(u,h,!0)):$(u,h,m,k,w,x,P,O,A)},W=(u,h,m,T,w,x,P,O,A)=>{h.slotScopeIds=O,u==null?h.shapeFlag&512?w.ctx.activate(h,m,T,P,A):se(h,m,T,w,x,P,A):ae(u,h,A)},se=(u,h,m,T,w,x,P)=>{const O=u.component=jc(u,T,w);if(nn(u)&&(O.ctx.renderer=vt),Vc(O,!1,P),O.asyncDep){if(w&&w.registerDep(O,U,P),!u.el){const A=O.subTree=le(ve);N(null,A,h,m)}}else U(O,u,h,m,w,x,P)},ae=(u,h,m)=>{const T=h.component=u.component;if(Pc(u,h,m))if(T.asyncDep&&!T.asyncResolved){Y(T,h,m);return}else T.next=h,T.update();else h.el=u.el,T.vnode=h},U=(u,h,m,T,w,x,P)=>{const O=()=>{if(u.isMounted){let{next:L,bu:D,u:G,parent:X,vnode:ee}=u;{const Te=oo(u);if(Te){L&&(L.el=ee.el,Y(u,L,P)),Te.asyncDep.then(()=>{u.isUnmounted||O()});return}}let Q=L,Ee;lt(u,!1),L?(L.el=ee.el,Y(u,L,P)):L=ee,D&&bn(D),(Ee=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(Ee,X,L,ee),lt(u,!0);const pe=is(u),Ie=u.subTree;u.subTree=pe,b(Ie,pe,d(Ie.el),on(Ie),u,w,x),L.el=pe.el,Q===null&&Lc(u,pe.el),G&&xe(G,w),(Ee=L.props&&L.props.onVnodeUpdated)&&xe(()=>Oe(Ee,X,L,ee),w)}else{let L;const{el:D,props:G}=h,{bm:X,m:ee,parent:Q,root:Ee,type:pe}=u,Ie=pt(h);if(lt(u,!1),X&&bn(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,h),lt(u,!0),D&&Jn){const Te=()=>{u.subTree=is(u),Jn(D,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(D,u,Te):Te()}else{Ee.ce&&Ee.ce._injectChildStyle(pe);const Te=u.subTree=is(u);b(null,Te,m,T,u,w,x),h.el=Te.el}if(ee&&xe(ee,w),!Ie&&(L=G&&G.onVnodeMounted)){const Te=h;xe(()=>Oe(L,Q,Te),w)}(h.shapeFlag&256||Q&&pt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&xe(u.a,w),u.isMounted=!0,h=m=T=null}};u.scope.on();const A=u.effect=new di(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=()=>Gs(k),lt(u,!0),C()},Y=(u,h,m)=>{h.component=u;const T=u.vnode.props;u.vnode=h,u.next=null,mc(u,h.props,T,m),_c(u,h.children,m),rt(),dr(u),it()},$=(u,h,m,T,w,x,P,O,A=!1)=>{const C=u&&u.children,k=u?u.shapeFlag:0,L=h.children,{patchFlag:D,shapeFlag:G}=h;if(D>0){if(D&128){rn(C,L,m,T,w,x,P,O,A);return}else if(D&256){he(C,L,m,T,w,x,P,O,A);return}}G&8?(k&16&&It(C,w,x),L!==C&&a(m,L)):k&16?G&16?rn(C,L,m,T,w,x,P,O,A):It(C,w,x,!0):(k&8&&a(m,""),G&16&&V(L,m,T,w,x,P,O,A))},he=(u,h,m,T,w,x,P,O,A)=>{u=u||Et,h=h||Et;const C=u.length,k=h.length,L=Math.min(C,k);let D;for(D=0;Dk?It(u,w,x,!0,!1,L):V(h,m,T,w,x,P,O,A,L)},rn=(u,h,m,T,w,x,P,O,A)=>{let C=0;const k=h.length;let L=u.length-1,D=k-1;for(;C<=L&&C<=D;){const G=u[C],X=h[C]=A?et(h[C]):Me(h[C]);if(ut(G,X))b(G,X,m,null,w,x,P,O,A);else break;C++}for(;C<=L&&C<=D;){const G=u[L],X=h[D]=A?et(h[D]):Me(h[D]);if(ut(G,X))b(G,X,m,null,w,x,P,O,A);else break;L--,D--}if(C>L){if(C<=D){const G=D+1,X=GD)for(;C<=L;)$e(u[C],w,x,!0),C++;else{const G=C,X=C,ee=new Map;for(C=X;C<=D;C++){const Ce=h[C]=A?et(h[C]):Me(h[C]);Ce.key!=null&&ee.set(Ce.key,C)}let Q,Ee=0;const pe=D-X+1;let Ie=!1,Te=0;const Nt=new Array(pe);for(C=0;C=pe){$e(Ce,w,x,!0);continue}let je;if(Ce.key!=null)je=ee.get(Ce.key);else for(Q=X;Q<=D;Q++)if(Nt[Q-X]===0&&ut(Ce,h[Q])){je=Q;break}je===void 0?$e(Ce,w,x,!0):(Nt[je-X]=C+1,je>=Te?Te=je:Ie=!0,b(Ce,h[je],m,null,w,x,P,O,A),Ee++)}const lr=Ie?xc(Nt):Et;for(Q=lr.length-1,C=pe-1;C>=0;C--){const Ce=X+C,je=h[Ce],cr=Ce+1{const{el:x,type:P,transition:O,children:A,shapeFlag:C}=u;if(C&6){ot(u.component.subTree,h,m,T);return}if(C&128){u.suspense.move(h,m,T);return}if(C&64){P.move(u,h,m,vt);return}if(P===Se){s(x,h,m);for(let L=0;LO.enter(x),w);else{const{leave:L,delayLeave:D,afterLeave:G}=O,X=()=>s(x,h,m),ee=()=>{L(x,()=>{X(),G&&G()})};D?D(x,X,ee):ee()}else s(x,h,m)},$e=(u,h,m,T=!1,w=!1)=>{const{type:x,props:P,ref:O,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:L,dirs:D,cacheIndex:G}=u;if(L===-2&&(w=!1),O!=null&&Mn(O,null,m,u,!0),G!=null&&(h.renderCache[G]=void 0),k&256){h.ctx.deactivate(u);return}const X=k&1&&D,ee=!pt(u);let Q;if(ee&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,h,u),k&6)Vo(u.component,m,T);else{if(k&128){u.suspense.unmount(m,T);return}X&&Ue(u,null,h,"beforeUnmount"),k&64?u.type.remove(u,h,m,vt,T):C&&!C.hasOnce&&(x!==Se||L>0&&L&64)?It(C,h,m,!1,!0):(x===Se&&L&384||!w&&k&16)&&It(A,h,m),T&&ir(u)}(ee&&(Q=P&&P.onVnodeUnmounted)||X)&&xe(()=>{Q&&Oe(Q,h,u),X&&Ue(u,null,h,"unmounted")},m)},ir=u=>{const{type:h,el:m,anchor:T,transition:w}=u;if(h===Se){jo(m,T);return}if(h===kt){g(u);return}const x=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:O}=w,A=()=>P(m,x);O?O(u.el,x,A):A()}else x()},jo=(u,h)=>{let m;for(;u!==h;)m=y(u),r(u),u=m;r(h)},Vo=(u,h,m)=>{const{bum:T,scope:w,job:x,subTree:P,um:O,m:A,a:C}=u;Er(A),Er(C),T&&bn(T),w.stop(),x&&(x.flags|=8,$e(P,u,h,m)),O&&xe(O,h),xe(()=>{u.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},It=(u,h,m,T=!1,w=!1,x=0)=>{for(let P=x;P{if(u.shapeFlag&6)return on(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const h=y(u.anchor||u.el),m=h&&h[Ii];return m?y(m):h};let Yn=!1;const or=(u,h,m)=>{u==null?h._vnode&&$e(h._vnode,null,null,!0):b(h._vnode||null,u,h,null,null,null,m),h._vnode=u,Yn||(Yn=!0,dr(),Rn(),Yn=!1)},vt={p:b,um:$e,m:ot,r:ir,mt:se,mc:V,pc:$,pbc:_,n:on,o:e};let Xn,Jn;return t&&([Xn,Jn]=t(vt)),{render:or,hydrate:Xn,createApp:hc(or,Xn)}}function rs({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 lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function io(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qs(e,t,n=!1){const s=e.children,r=t.children;if(K(s)&&K(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function oo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oo(t)}function Er(e){if(e)for(let t=0;tOt(Ec);function Zs(e,t){return Wn(e,null,t)}function Rf(e,t){return Wn(e,null,{flush:"post"})}function Fe(e,t,n){return Wn(e,t,n)}function Wn(e,t,n=Z){const{immediate:s,deep:r,flush:i,once:o}=n,l=ce({},n),c=t&&s||!t&&i!=="post";let f;if(Mt){if(i==="sync"){const v=Tc();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=ke,v.resume=ke,v.pause=ke,v}}const a=ue;l.call=(v,S,b)=>De(v,a,S,b);let d=!1;i==="post"?l.scheduler=v=>{xe(v,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(v,S)=>{S?v():Gs(v)}),l.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const y=Il(e,t,l);return Mt&&(f?f.push(y):c&&y()),y}function Cc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?lo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=sn(this),l=Wn(r,i.bind(s),n);return o(),l}function lo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Rc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;let r=n;const i=t.startsWith("update:"),o=i&&Ac(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(vs)));let l,c=s[l=vn(t)]||s[l=vn(Le(t))];!c&&i&&(c=s[l=vn(st(t))]),c&&De(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(f,e,6,r)}}function co(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=co(f,t,!0);a&&(l=!0,ce(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)&&s.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):ce(o,i),ne(e)&&s.set(e,o),o)}function Kn(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function is(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:d,data:y,setupState:v,ctx:S,inheritAttrs:b}=e,B=On(e);let N,j;try{if(n.shapeFlag&4){const g=r||s,M=g;N=Me(f.call(M,g,a,d,v,y,S)),j=l}else{const g=t;N=Me(g.length>1?g(d,{attrs:l,slots:o,emit:c}):g(d,null)),j=t.props?l:Oc(l)}}catch(g){Bt.length=0,tn(g,e,1),N=le(ve)}let p=N;if(j&&b!==!1){const g=Object.keys(j),{shapeFlag:M}=p;g.length&&M&7&&(i&&g.some(Fs)&&(j=Mc(j,i)),p=nt(p,j,!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,On(B),N}const Oc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},Mc=(e,t)=>{const n={};for(const s in e)(!Fs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Pc(e,t,n){const{props:s,children:r,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 s?Tr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;de.__isSuspense;function fo(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Dl(e)}const Se=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),kt=Symbol.for("v-stc"),Bt=[];let Ae=null;function Os(e=!1){Bt.push(Ae=e?null:[])}function Ic(){Bt.pop(),Ae=Bt[Bt.length-1]||null}let Xt=1;function Cr(e){Xt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function uo(e){return e.dynamicChildren=Xt>0?Ae||Et:null,Ic(),Xt>0&&Ae&&Ae.push(e),e}function Of(e,t,n,s,r,i){return uo(po(e,t,n,s,r,i,!0))}function Ms(e,t,n,s,r){return uo(le(e,t,n,s,r,!0))}function Jt(e){return e?e.__v_isVNode===!0:!1}function ut(e,t){return e.type===t.type&&e.key===t.key}const ho=({key:e})=>e??null,Sn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||fe(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function po(e,t=null,n=null,s=0,r=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ho(t),ref:t&&Sn(t),scopeId:Li,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:de};return l?(er(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Xt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=Nc;function Nc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Wi)&&(e=ve),Jt(e)){const l=nt(e,t,!0);return n&&er(l,n),Xt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(Wc(e)&&(e=e.__vccOpts),t){t=Fc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=js(l)),ne(c)&&(Ks(c)&&!K(c)&&(c=ce({},c)),t.style=$s(c))}const o=re(e)?1:ao(e)?128:Ni(e)?64:ne(e)?4:q(e)?2:0;return po(e,t,n,s,r,o,i,!0)}function Fc(e){return e?Ks(e)||zi(e)?ce({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Dc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&ho(f),ref:t&&t.ref?n&&i?K(i)?i.concat(Sn(t)):[i,Sn(t)]:Sn(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!==Se?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&&s&&Yt(a,c.clone(a)),a}function go(e=" ",t=0){return le(gt,null,e,t)}function Mf(e,t){const n=le(kt,null,e);return n.staticCount=t,n}function Pf(e="",t=!1){return t?(Os(),Ms(ve,null,e)):le(ve,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(ve):K(e)?le(Se,null,e.slice()):Jt(e)?et(e):le(gt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function er(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),er(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!zi(t)?t._ctx=de:r===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),s&64?(n=16,t=[go(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dc(...e){const t={};for(let n=0;nue||de;let Ln,Ps;{const e=Dn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Ps=t("__VUE_SSR_SETTERS__",n=>Mt=n)}const sn=e=>{const t=ue;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},Ar=()=>{ue&&ue.scope.off(),Ln(null)};function mo(e){return e.vnode.shapeFlag&4}let Mt=!1;function Vc(e,t=!1,n=!1){t&&Ps(t);const{props:s,children:r}=e.vnode,i=mo(e);gc(e,s,i,t),bc(e,r,n);const o=i?Uc(e,t):void 0;return t&&Ps(!1),o}function Uc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ic);const{setup:s}=n;if(s){rt();const r=e.setupContext=s.length>1?vo(e):null,i=sn(e),o=en(s,e,0,[e.props,r]),l=ri(o);if(it(),i(),(l||e.sp)&&!pt(e)&&Xs(e),l){if(o.then(Ar,Ar),t)return o.then(c=>{Rr(e,c,t)}).catch(c=>{tn(c,e,0)});e.asyncDep=o}else Rr(e,o,t)}else yo(e,t)}function Rr(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Ri(t)),yo(e,n)}let Or;function yo(e,t,n){const s=e.type;if(!e.render){if(!t&&Or&&!s.render){const r=s.template||Js(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ce(ce({isCustomElement:i,delimiters:l},o),c);s.render=Or(r,f)}}e.render=s.render||ke}{const r=sn(e);rt();try{lc(e)}finally{it(),r()}}}const kc={get(e,t){return me(e,"get",""),e[t]}};function vo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kc),slots:e.slots,emit:e.emit,expose:t}}function Gn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ri(_n(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function Bc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Wc(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>Pl(e,t,Mt);function Ls(e,t,n){const s=arguments.length;return s===2?ne(t)&&!K(t)?Jt(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Jt(n)&&(n=[n]),le(e,t,n))}const Kc="3.5.12";/** +* @vue/runtime-dom v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Is;const Mr=typeof window<"u"&&window.trustedTypes;if(Mr)try{Is=Mr.createPolicy("vue",{createHTML:e=>e})}catch{}const bo=Is?e=>Is.createHTML(e):e=>e,qc="http://www.w3.org/2000/svg",Gc="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Pr=Ke&&Ke.createElement("template"),Yc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ke.createElementNS(qc,e):t==="mathml"?Ke.createElementNS(Gc,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},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,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Pr.innerHTML=bo(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Pr.content;if(s==="svg"||s==="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]}},Je="transition",Dt="animation",zt=Symbol("_vtc"),_o={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},Xc=ce({},Di,_o),Jc=e=>(e.displayName="Transition",e.props=Xc,e),Lf=Jc((e,{slots:t})=>Ls(Bl,zc(e),t)),ct=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Lr=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function zc(e){const t={};for(const E in e)E in _o||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,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:y=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Qc(r),b=S&&S[0],B=S&&S[1],{onBeforeEnter:N,onEnter:j,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:F=N,onAppear:H=j,onAppearCancelled:V=p}=t,R=(E,W,se)=>{at(E,W?a:l),at(E,W?f:o),se&&se()},_=(E,W)=>{E._isLeaving=!1,at(E,d),at(E,v),at(E,y),W&&W()},I=E=>(W,se)=>{const ae=E?H:j,U=()=>R(W,E,se);ct(ae,[W,U]),Ir(()=>{at(W,E?c:i),ze(W,E?a:l),Lr(ae)||Nr(W,s,b,U)})};return ce(t,{onBeforeEnter(E){ct(N,[E]),ze(E,i),ze(E,o)},onBeforeAppear(E){ct(F,[E]),ze(E,c),ze(E,f)},onEnter:I(!1),onAppear:I(!0),onLeave(E,W){E._isLeaving=!0;const se=()=>_(E,W);ze(E,d),ze(E,y),ta(),Ir(()=>{E._isLeaving&&(at(E,d),ze(E,v),Lr(g)||Nr(E,s,B,se))}),ct(g,[E,se])},onEnterCancelled(E){R(E,!1),ct(p,[E])},onAppearCancelled(E){R(E,!0),ct(V,[E])},onLeaveCancelled(E){_(E),ct(M,[E])}})}function Qc(e){if(e==null)return null;if(ne(e))return[os(e.enter),os(e.leave)];{const t=os(e);return[t,t]}}function os(e){return qo(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zt]||(e[zt]=new Set)).add(t)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[zt];n&&(n.delete(t),n.size||(e[zt]=void 0))}function Ir(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zc=0;function Nr(e,t,n,s){const r=e._endId=++Zc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ea(e,t);if(!o)return s();const f=o+"end";let a=0;const d=()=>{e.removeEventListener(f,y),i()},y=v=>{v.target===e&&++a>=c&&d()};setTimeout(()=>{a(n[S]||"").split(", "),r=s(`${Je}Delay`),i=s(`${Je}Duration`),o=Fr(r,i),l=s(`${Dt}Delay`),c=s(`${Dt}Duration`),f=Fr(l,c);let a=null,d=0,y=0;t===Je?o>0&&(a=Je,d=o,y=i.length):t===Dt?f>0&&(a=Dt,d=f,y=c.length):(d=Math.max(o,f),a=d>0?o>f?Je:Dt:null,y=a?a===Je?i.length:c.length:0);const v=a===Je&&/\b(transform|all)(,|$)/.test(s(`${Je}Property`).toString());return{type:a,timeout:d,propCount:y,hasTransform:v}}function Fr(e,t){for(;e.lengthDr(n)+Dr(e[s])))}function Dr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ta(){return document.body.offsetHeight}function na(e,t,n){const s=e[zt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hr=Symbol("_vod"),sa=Symbol("_vsh"),ra=Symbol(""),ia=/(^|;)\s*display\s*:/;function oa(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&xn(s,l,"")}else for(const o in t)n[o]==null&&xn(s,o,"");for(const o in n)o==="display"&&(i=!0),xn(s,o,n[o])}else if(r){if(t!==n){const o=s[ra];o&&(n+=";"+o),s.cssText=n,i=ia.test(n)}}else t&&e.removeAttribute("style");Hr in e&&(e[Hr]=i?s.display:"",e[sa]&&(s.display="none"))}const $r=/\s*!important$/;function xn(e,t,n){if(K(n))n.forEach(s=>xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=la(e,t);$r.test(n)?e.setProperty(st(s),n.replace($r,""),"important"):e[s]=n}}const jr=["Webkit","Moz","ms"],ls={};function la(e,t){const n=ls[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return ls[t]=s;s=Fn(s);for(let r=0;rcs||(ua.then(()=>cs=0),cs=Date.now());function ha(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;De(pa(s,n.value),t,5,[s])};return n.value=e,n.attached=da(),n}function pa(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Kr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ga=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?na(e,s,o):t==="style"?oa(e,n,s):Zt(t)?Fs(t)||aa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ma(e,t,s,o))?(kr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ur(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?kr(e,Le(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ur(e,t,s,o))};function ma(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kr(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Kr(t)&&re(n)?!1:t in e}const qr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>bn(t,n):t};function ya(e){e.target.composing=!0}function Gr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const as=Symbol("_assign"),If={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[as]=qr(r);const i=s||r.props&&r.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=vs(l)),e[as](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",ya),St(e,"compositionend",Gr),St(e,"change",Gr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[as]=qr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?vs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},va=["ctrl","shift","alt","meta"],ba={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)=>va.some(n=>e[`${n}Key`]&&!t.includes(n))},Nf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=st(r.key);if(t.some(o=>o===i||_a[o]===i))return e(r)})},wo=ce({patchProp:ga},Yc);let Wt,Yr=!1;function wa(){return Wt||(Wt=wc(wo))}function Sa(){return Wt=Yr?Wt:Sc(wo),Yr=!0,Wt}const Df=(...e)=>{const t=wa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=xo(s);if(!r)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,So(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Hf=(...e)=>{const t=Sa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=xo(s);if(r)return n(r,!0,So(r))},t};function So(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function xo(e){return re(e)?document.querySelector(e):e}const $f=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},xa=window.__VP_SITE_DATA__;function tr(e){return ui()?(tl(e),!0):!1}function Be(e){return typeof e=="function"?e():Ai(e)}const Eo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jf=e=>e!=null,Ea=Object.prototype.toString,Ta=e=>Ea.call(e)==="[object Object]",Qt=()=>{},Xr=Ca();function Ca(){var e,t;return Eo&&((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 Aa(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const To=e=>e();function Ra(e,t={}){let n,s,r=Qt;const i=l=>{clearTimeout(l),r(),r=Qt};return l=>{const c=Be(e),f=Be(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(l())):new Promise((a,d)=>{r=t.rejectOnCancel?d:a,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,a(l())},f)),n=setTimeout(()=>{s&&i(s),s=null,a(l())},c)})}}function Oa(e=To){const t=oe(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Vn(t),pause:n,resume:s,eventFilter:r}}function Ma(e){return qn()}function Co(...e){if(e.length!==1)return Rl(...e);const t=e[0];return typeof t=="function"?Vn(Tl(()=>({get:t,set:Qt}))):oe(t)}function Ao(e,t,n={}){const{eventFilter:s=To,...r}=n;return Fe(e,Aa(s,t),r)}function Pa(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Oa(s);return{stop:Ao(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function nr(e,t=!0,n){Ma()?Lt(e,n):t?e():Un(e)}function Vf(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...i}=n;return Ao(e,t,{...i,eventFilter:Ra(s,{maxWait:r})})}function Uf(e,t,n){let s;fe(n)?s={evaluating:n}:s={};const{lazy:r=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Qt}=s,c=oe(!r),f=o?qs(t):oe(t);let a=0;return Zs(async d=>{if(!c.value)return;a++;const y=a;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const S=await e(b=>{d(()=>{i&&(i.value=!1),v||b()})});y===a&&(f.value=S)}catch(S){l(S)}finally{i&&y===a&&(i.value=!1),v=!0}}),r?ie(()=>(c.value=!0,f.value)):f}const He=Eo?window:void 0;function Ro(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=He):[t,n,s,r]=e,!t)return Qt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,d,y,v)=>(a.addEventListener(d,y,v),()=>a.removeEventListener(d,y,v)),c=Fe(()=>[Ro(t),Be(r)],([a,d])=>{if(o(),!a)return;const y=Ta(d)?{...d}:d;i.push(...n.flatMap(v=>s.map(S=>l(a,v,S,y))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return tr(f),f}function La(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function kf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=He,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=La(t);return Pt(r,i,a=>{a.repeat&&Be(l)||c(a)&&n(a)},o)}function Ia(){const e=oe(!1),t=qn();return t&&Lt(()=>{e.value=!0},t),e}function Na(e){const t=Ia();return ie(()=>(t.value,!!e()))}function Oo(e,t={}){const{window:n=He}=t,s=Na(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=oe(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=Zs(()=>{s.value&&(l(),r=n.matchMedia(Be(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return tr(()=>{c(),l(),r=void 0}),i}const pn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gn="__vueuse_ssr_handlers__",Fa=Da();function Da(){return gn in pn||(pn[gn]=pn[gn]||{}),pn[gn]}function Mo(e,t){return Fa[e]||t}function sr(e){return Oo("(prefers-color-scheme: dark)",e)}function Ha(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 $a={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()}},Jr="vueuse-storage";function rr(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:d=He,eventFilter:y,onError:v=_=>{console.error(_)},initOnMounted:S}=s,b=(a?qs:oe)(typeof t=="function"?t():t);if(!n)try{n=Mo("getDefaultStorage",()=>{var _;return(_=He)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return b;const B=Be(t),N=Ha(B),j=(r=s.serializer)!=null?r:$a[N],{pause:p,resume:g}=Pa(b,()=>F(b.value),{flush:i,deep:o,eventFilter:y});d&&l&&nr(()=>{n instanceof Storage?Pt(d,"storage",V):Pt(d,Jr,R),S&&V()}),S||V();function M(_,I){if(d){const E={key:e,oldValue:_,newValue:I,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",E):new CustomEvent(Jr,{detail:E}))}}function F(_){try{const I=n.getItem(e);if(_==null)M(I,null),n.removeItem(e);else{const E=j.write(_);I!==E&&(n.setItem(e,E),M(I,E))}}catch(I){v(I)}}function H(_){const I=_?_.newValue:n.getItem(e);if(I==null)return c&&B!=null&&n.setItem(e,j.write(B)),B;if(!_&&f){const E=j.read(I);return typeof f=="function"?f(E,B):N==="object"&&!Array.isArray(E)?{...B,...E}:E}else return typeof I!="string"?I:j.read(I)}function V(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){b.value=B;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==j.write(b.value)&&(b.value=H(_))}catch(I){v(I)}finally{_?Un(g):g()}}}}function R(_){V(_.detail)}return b}const ja="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Va(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=He,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||{}},y=sr({window:r}),v=ie(()=>y.value?"dark":"light"),S=c||(o==null?Co(s):rr(o,s,i,{window:r,listenToStorageChanges:l})),b=ie(()=>S.value==="auto"?v.value:S.value),B=Mo("updateHTMLAttrs",(g,M,F)=>{const H=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Ro(g);if(!H)return;const V=new Set,R=new Set;let _=null;if(M==="class"){const E=F.split(/\s/g);Object.values(d).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{E.includes(W)?V.add(W):R.add(W)})}else _={key:M,value:F};if(V.size===0&&R.size===0&&_===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(ja)),r.document.head.appendChild(I));for(const E of V)H.classList.add(E);for(const E of R)H.classList.remove(E);_&&H.setAttribute(_.key,_.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(g){var M;B(t,n,(M=d[g])!=null?M:g)}function j(g){e.onChanged?e.onChanged(g,N):N(g)}Fe(b,j,{flush:"post",immediate:!0}),nr(()=>j(b.value));const p=ie({get(){return f?S.value:b.value},set(g){S.value=g}});try{return Object.assign(p,{store:S,system:v,state:b})}catch{return p}}function Ua(e={}){const{valueDark:t="dark",valueLight:n="",window:s=He}=e,r=Va({...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(()=>r.system?r.system.value:sr({window:s}).value?"dark":"light");return ie({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function fs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Bf(e,t,n={}){const{window:s=He}=n;return rr(e,t,s==null?void 0:s.localStorage,n)}function Po(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 us=new WeakMap;function Wf(e,t=!1){const n=oe(t);let s=null,r="";Fe(Co(e),l=>{const c=fs(Be(l));if(c){const f=c;if(us.get(f)||us.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=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=fs(Be(e));!l||n.value||(Xr&&(s=Pt(l,"touchmove",c=>{ka(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=fs(Be(e));!l||!n.value||(Xr&&(s==null||s()),l.style.overflow=r,us.delete(l),n.value=!1)};return tr(o),ie({get(){return n.value},set(l){l?i():o()}})}function Kf(e,t,n={}){const{window:s=He}=n;return rr(e,t,s==null?void 0:s.sessionStorage,n)}function qf(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const s=oe(t.scrollX),r=oe(t.scrollY),i=ie({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function Gf(e={}){const{window:t=He,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=oe(n),c=oe(s),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(),nr(f),Pt("resize",f,{passive:!0}),r){const a=Oo("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const ds={BASE_URL:"/DimensionalData.jl/dev/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var hs={};const Lo=/^(?:[a-z]+:|\/\/)/i,Ba="vitepress-theme-appearance",Wa=/#.*$/,Ka=/[?#].*$/,qa=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Io={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ga(e,t,n=!1){if(t===void 0)return!1;if(e=zr(`/${e}`),n)return new RegExp(t).test(e);if(zr(t)!==e)return!1;const s=t.match(Wa);return s?(ge?location.hash:"")===s[0]:!0}function zr(e){return decodeURI(e).replace(Ka,"").replace(qa,"$1")}function Ya(e){return Lo.test(e)}function Xa(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Ya(n)&&Ga(t,`/${n}/`,!0))||"root"}function Ja(e,t){var s,r,i,o,l,c,f;const n=Xa(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.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:Fo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function No(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=za(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function za(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Qa(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Fo(e,t){return[...e.filter(n=>!Qa(t,n)),...t]}const Za=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ef=/^[a-z]:/i;function Qr(e){const t=ef.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Za,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ps=new Set;function tf(e){if(ps.size===0){const n=typeof process=="object"&&(hs==null?void 0:hs.VITE_EXTRA_EXTENSIONS)||(ds==null?void 0:ds.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(s=>ps.add(s))}const t=e.split(".").pop();return t==null||!ps.has(t.toLowerCase())}function Yf(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const nf=Symbol(),mt=qs(xa);function Xf(e){const t=ie(()=>Ja(mt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?oe(!0):n==="force-auto"?sr():n?Ua({storageKey:Ba,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),r=oe(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.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(()=>No(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.value)}}function sf(){const e=Ot(nf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function rf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Zr(e){return Lo.test(e)||!e.startsWith("/")?e:rf(mt.value.base,e)}function of(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/DimensionalData.jl/dev/";t=Qr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${Qr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let En=[];function Jf(e){En.push(e),Bn(()=>{En=En.filter(t=>t!==e)})}function lf(){let e=mt.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=ei(e,n);else if(Array.isArray(e))for(const s of e){const r=ei(s,n);if(r){t=r;break}}return t}function ei(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const cf=Symbol(),Do="http://a.com",af=()=>({path:"/",component:null,data:Io});function zf(e,t){const n=jn(af()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=gs(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==gs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var y,v;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const a=new URL(l,Do),d=i=a.pathname;try{let S=await e(d);if(!S)throw new Error(`Page not found: ${d}`);if(i===d){i=null;const{default:b,__pageData:B}=S;if(!b)throw new Error(`Invalid route component: ${b}`);await((v=s.onAfterPageLoad)==null?void 0:v.call(s,l)),n.path=ge?d:Zr(d),n.component=_n(b),n.data=_n(B),ge&&Un(()=>{let N=mt.value.base+B.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!mt.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let j=null;try{j=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(j){ti(j,a.hash);return}}window.scrollTo(0,c)})}}catch(S){if(!/fetch|Page not found/.test(S.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(S),!f)try{const b=await fetch(mt.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:Zr(d),n.component=t?_n(t):null;const b=ge?d.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Io,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:y,hash:v,search:S}=new URL(f,c.baseURI),b=new URL(location.href);d===b.origin&&tf(y)&&(l.preventDefault(),y===b.pathname&&S===b.search?(v!==b.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:b.href,newURL:a}))),v?ti(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(gs(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ff(){const e=Ot(cf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ho(){return ff().route}function ti(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=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(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-lf()+i;requestAnimationFrame(r)}}function gs(e){const t=new URL(e,Do);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),mt.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 mn=()=>En.forEach(e=>e()),Qf=Ys({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ho(),{frontmatter:n,site:s}=sf();return Fe(n,mn,{deep:!0,flush:"post"}),()=>Ls(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Ls(t.component,{onVnodeMounted:mn,onVnodeUpdated:mn,onVnodeUnmounted:mn}):"404 Page Not Found"])}}),uf="modulepreload",df=function(e){return"/DimensionalData.jl/dev/"+e},ni={},Zf=function(t,n,s){let r=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"));r=Promise.allSettled(n.map(c=>{if(c=df(c),c in ni)return;ni[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":uf,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((y,v)=>{d.addEventListener("load",y),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 r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},eu=Ys({setup(e,{slots:t}){const n=oe(!1);return Lt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function tu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function nu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.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()),hf(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 hf(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 s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function su(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=ms(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(ms);s.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 s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};Zs(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=No(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):ms(["meta",{name:"description",content:a}]),r(Fo(o.head,gf(c)))})}function ms([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function pf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function gf(e){return e.filter(t=>!pf(t))}const ys=new Set,$o=()=>document.createElement("link"),mf=e=>{const t=$o();t.rel="prefetch",t.href=e,document.head.appendChild(t)},yf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let yn;const vf=ge&&(yn=$o())&&yn.relList&&yn.relList.supports&&yn.relList.supports("prefetch")?mf:yf;function ru(){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 s=()=>{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(!ys.has(c)){ys.add(c);const f=of(c);f&&vf(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):ys.add(l))})})};Lt(s);const r=Ho();Fe(()=>r.path,s),Bn(()=>{n&&n.disconnect()})}export{ki as $,lf as A,Sf as B,Ef as C,qs as D,Jf as E,Se as F,le as G,xf as H,Lo as I,Ho as J,Dc as K,Ot as L,Gf as M,$s as N,kf as O,Un as P,qf as Q,ge as R,Vn as S,Lf as T,wf as U,Zf as V,Wf as W,pc as X,Cf as Y,Ff as Z,$f as _,go as a,Nf as a0,Af as a1,jn as a2,Rl as a3,Mf as a4,su as a5,cf as a6,Xf as a7,nf as a8,Qf as a9,eu as aa,mt as ab,Hf as ac,zf as ad,of as ae,ru as af,nu as ag,tu as ah,Ls as ai,Be as aj,Ro as ak,jf as al,tr as am,Uf as an,Kf as ao,Bf as ap,Vf as aq,ff as ar,Pt as as,bf as at,If as au,fe as av,_f as aw,_n as ax,Df as ay,Yf as az,Ms as b,Of as c,Ys as d,Pf as e,tf as f,Zr as g,ie as h,Ya as i,po as j,Ai as k,Ga as l,Oo as m,js as n,Os as o,oe as p,Fe as q,Tf as r,Zs as s,Zo as t,sf as u,Lt as v,Hl as w,Bn as x,Rf as y,ec as z}; diff --git a/dev/assets/chunks/theme.By8UT2IG.js b/dev/assets/chunks/theme.By8UT2IG.js new file mode 100644 index 000000000..46228f401 --- /dev/null +++ b/dev/assets/chunks/theme.By8UT2IG.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.XEwDE-_y.js","assets/chunks/framework.BAAK0EyE.js"])))=>i.map(i=>d[i]); +import{d as b,o as a,c as d,r as u,n as I,a as j,t as N,b as k,w as f,e as _,T as de,_ as $,u as Ve,i as je,f as ze,g as ve,h as P,j as p,k as r,l as z,m as re,p as T,q as D,s as Z,v as F,x as pe,y as fe,z as Ke,A as qe,B as K,F as M,C as B,D as Se,E as x,G as g,H,I as Le,J as ee,K as G,L as W,M as We,N as Te,O as ie,P as we,Q as Ne,R as te,S as Je,U as Ye,V as Xe,W as Ie,X as he,Y as Qe,Z as Ze,$ as xe,a0 as et,a1 as Me,a2 as tt,a3 as nt}from"./framework.BAAK0EyE.js";const ot=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),d("span",{class:I(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[j(N(e.text),1)])],2))}}),st={key:0,class:"VPBackdrop"},at=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(de,{name:"fade"},{default:f(()=>[e.show?(a(),d("div",st)):_("",!0)]),_:1}))}}),rt=$(at,[["__scopeId","data-v-b06cdb19"]]),L=Ve;function it(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(je(s)||s.startsWith("#")||!n.startsWith("http")||!ze(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=P(()=>{var c,h;return{label:(c=e.value.locales[t.value])==null?void 0:c.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:P(()=>Object.entries(e.value.locales).flatMap(([c,h])=>l.value.label===h.label?[]:{text:h.label,link:lt(h.link||(c==="root"?"/":`/${c}/`),n.value.i18nRouting!==!1&&s,o.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:l}}function lt(s,e,t,o){return e?s.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,o?".html":"")):s}const ct={class:"NotFound"},ut={class:"code"},dt={class:"title"},vt={class:"quote"},pt={class:"action"},ft=["href","aria-label"],ht=b({__name:"NotFound",setup(s){const{theme:e}=L(),{currentLang:t}=Y();return(o,n)=>{var i,l,v,c,h;return a(),d("div",ct,[p("p",ut,N(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),p("h1",dt,N(((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",vt,N(((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",pt,[p("a",{class:"link",href:r(ve)(r(t).link),"aria-label":((c=r(e).notFound)==null?void 0:c.linkLabel)??"go to home"},N(((h=r(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,ft)])])}}}),mt=$(ht,[["__scopeId","data-v-951cab6c"]]);function Ce(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 _t(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 bt(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 R(){const{frontmatter:s,page:e,theme:t}=L(),o=re("(min-width: 960px)"),n=T(!1),i=P(()=>{const A=t.value.sidebar,w=e.value.relativePath;return A?Ce(A,w):[]}),l=T(i.value);D(i,(A,w)=>{JSON.stringify(A)!==JSON.stringify(w)&&(l.value=i.value)});const v=P(()=>s.value.sidebar!==!1&&l.value.length>0&&s.value.layout!=="home"),c=P(()=>h?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),h=P(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),y=P(()=>v.value&&o.value),m=P(()=>v.value?_t(l.value):[]);function V(){n.value=!0}function S(){n.value=!1}function C(){n.value?S():V()}return{isOpen:n,sidebar:l,sidebarGroups:m,hasSidebar:v,hasAside:h,leftAside:c,isSidebarEnabled:y,open:V,close:S,toggle:C}}function kt(s,e){let t;Z(()=>{t=s.value?document.activeElement:void 0}),F(()=>{window.addEventListener("keyup",o)}),pe(()=>{window.removeEventListener("keyup",o)});function o(n){n.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}function gt(s){const{page:e,hash:t}=L(),o=T(!1),n=P(()=>s.value.collapsed!=null),i=P(()=>!!s.value.link),l=T(!1),v=()=>{l.value=z(e.value.relativePath,s.value.link)};D([e,s,t],v),F(v);const c=P(()=>l.value?!0:s.value.items?ce(e.value.relativePath,s.value.items):!1),h=P(()=>!!(s.value.items&&s.value.items.length));Z(()=>{o.value=!!(n.value&&s.value.collapsed)}),fe(()=>{(l.value||c.value)&&(o.value=!1)});function y(){n.value&&(o.value=!o.value)}return{collapsed:o,collapsible:n,isLink:i,isActiveLink:l,hasActiveLink:c,hasChildren:h,toggle:y}}function $t(){const{hasSidebar:s}=R(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:P(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const ue=[];function Ae(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:yt(t),link:"#"+t.id,level:o}});return Pt(e,s)}function yt(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 Pt(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;return Lt(s,o,n)}function Vt(s,e){const{isAsideEnabled:t}=$t(),o=it(i,100);let n=null;F(()=>{requestAnimationFrame(i),window.addEventListener("scroll",o)}),Ke(()=>{l(location.hash)}),pe(()=>{window.removeEventListener("scroll",o)});function i(){if(!t.value)return;const v=window.scrollY,c=window.innerHeight,h=document.body.offsetHeight,y=Math.abs(v+c-h)<1,m=ue.map(({element:S,link:C})=>({link:C,top:St(S)})).filter(({top:S})=>!Number.isNaN(S)).sort((S,C)=>S.top-C.top);if(!m.length){l(null);return}if(v<1){l(null);return}if(y){l(m[m.length-1].link);return}let V=null;for(const{link:S,top:C}of m){if(C>v+qe()+4)break;V=S}l(V)}function l(v){n&&n.classList.remove("active"),v==null?n=null:n=s.value.querySelector(`a[href="${decodeURIComponent(v)}"]`);const c=n;c?(c.classList.add("active"),e.value.style.top=c.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function St(s){let e=0;for(;s!==document.body;){if(s===null)return NaN;e+=s.offsetTop,s=s.offsetParent}return e}function Lt(s,e,t){ue.length=0;const o=[],n=[];return s.forEach(i=>{const l={...i,children:[]};let v=n[n.length-1];for(;v&&v.level>=l.level;)n.pop(),v=n[n.length-1];if(l.element.classList.contains("ignore-header")||v&&"shouldIgnore"in v){n.push({level:l.level,shouldIgnore:!0});return}l.level>t||l.level{const n=K("VPDocOutlineItem",!0);return a(),d("ul",{class:I(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),d(M,null,B(t.headers,({children:i,link:l,title:v})=>(a(),d("li",null,[p("a",{class:"outline-link",href:l,onClick:e,title:v},N(v),9,Tt),i!=null&&i.length?(a(),k(n,{key:0,headers:i},null,8,["headers"])):_("",!0)]))),256))],2)}}}),Be=$(wt,[["__scopeId","data-v-3f927ebe"]]),Nt={class:"content"},It={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Mt=b({__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 Vt(n,i),(l,v)=>(a(),d("nav",{"aria-labelledby":"doc-outline-aria-label",class:I(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:n},[p("div",Nt,[p("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),p("div",It,N(r(Ae)(r(t))),1),g(Be,{headers:o.value,root:!0},null,8,["headers"])])],2))}}),Ct=$(Mt,[["__scopeId","data-v-b38bf2ff"]]),At={class:"VPDocAsideCarbonAds"},Bt=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,o)=>(a(),d("div",At,[g(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Et={class:"VPDocAside"},Ht=b({__name:"VPDocAside",setup(s){const{theme:e}=L();return(t,o)=>(a(),d("div",Et,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),g(Ct),u(t.$slots,"aside-outline-after",{},void 0,!0),o[0]||(o[0]=p("div",{class:"spacer"},null,-1)),u(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Bt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):_("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Ot=$(Ht,[["__scopeId","data-v-6d7b3c46"]]);function Dt(){const{theme:s,page:e}=L();return P(()=>{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 Ft(){const{page:s,theme:e,frontmatter:t}=L();return P(()=>{var h,y,m,V,S,C,A,w;const o=Ce(e.value.sidebar,s.value.relativePath),n=bt(o),i=Rt(n,E=>E.link.replace(/[?#].*$/,"")),l=i.findIndex(E=>z(s.value.relativePath,E.link)),v=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,c=((y=e.value.docFooter)==null?void 0:y.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)??((m=i[l-1])==null?void 0:m.docFooterText)??((V=i[l-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((S=i[l-1])==null?void 0:S.link)},next:c?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((C=i[l+1])==null?void 0:C.docFooterText)??((A=i[l+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((w=i[l+1])==null?void 0:w.link)}}})}function Rt(s,e){const t=new Set;return s.filter(o=>{const n=e(o);return t.has(n)?!1:t.add(n)})}const O=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=P(()=>e.tag??(e.href?"a":"span")),o=P(()=>e.href&&Le.test(e.href)||e.target==="_blank");return(n,i)=>(a(),k(H(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(()=>[u(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ut={class:"VPLastUpdated"},Gt=["datetime"],jt=b({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,lang:o}=L(),n=P(()=>new Date(t.value.lastUpdated)),i=P(()=>n.value.toISOString()),l=T("");return F(()=>{Z(()=>{var v,c,h;l.value=new Intl.DateTimeFormat((c=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&c.forceLocale?o.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(v,c)=>{var h;return a(),d("p",Ut,[j(N(((h=r(e).lastUpdated)==null?void 0:h.text)||r(e).lastUpdatedText||"Last updated")+": ",1),p("time",{datetime:i.value},N(l.value),9,Gt)])}}}),zt=$(jt,[["__scopeId","data-v-475f71b8"]]),Kt={key:0,class:"VPDocFooter"},qt={key:0,class:"edit-info"},Wt={key:0,class:"edit-link"},Jt={key:1,class:"last-updated"},Yt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Xt={class:"pager"},Qt=["innerHTML"],Zt=["innerHTML"],xt={class:"pager"},en=["innerHTML"],tn=["innerHTML"],nn=b({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:o}=L(),n=Dt(),i=Ft(),l=P(()=>e.value.editLink&&o.value.editLink!==!1),v=P(()=>t.value.lastUpdated),c=P(()=>l.value||v.value||i.value.prev||i.value.next);return(h,y)=>{var m,V,S,C;return c.value?(a(),d("footer",Kt,[u(h.$slots,"doc-footer-before",{},void 0,!0),l.value||v.value?(a(),d("div",qt,[l.value?(a(),d("div",Wt,[g(O,{class:"edit-link-button",href:r(n).url,"no-icon":!0},{default:f(()=>[y[0]||(y[0]=p("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),j(" "+N(r(n).text),1)]),_:1},8,["href"])])):_("",!0),v.value?(a(),d("div",Jt,[g(zt)])):_("",!0)])):_("",!0),(m=r(i).prev)!=null&&m.link||(V=r(i).next)!=null&&V.link?(a(),d("nav",Yt,[y[1]||(y[1]=p("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),p("div",Xt,[(S=r(i).prev)!=null&&S.link?(a(),k(O,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:f(()=>{var A;return[p("span",{class:"desc",innerHTML:((A=r(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,Qt),p("span",{class:"title",innerHTML:r(i).prev.text},null,8,Zt)]}),_:1},8,["href"])):_("",!0)]),p("div",xt,[(C=r(i).next)!=null&&C.link?(a(),k(O,{key:0,class:"pager-link next",href:r(i).next.link},{default:f(()=>{var A;return[p("span",{class:"desc",innerHTML:((A=r(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,en),p("span",{class:"title",innerHTML:r(i).next.text},null,8,tn)]}),_:1},8,["href"])):_("",!0)])])):_("",!0)])):_("",!0)}}}),on=$(nn,[["__scopeId","data-v-4f9813fa"]]),sn={class:"container"},an={class:"aside-container"},rn={class:"aside-content"},ln={class:"content"},cn={class:"content-container"},un={class:"main"},dn=b({__name:"VPDoc",setup(s){const{theme:e}=L(),t=ee(),{hasSidebar:o,hasAside:n,leftAside:i}=R(),l=P(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(v,c)=>{const h=K("Content");return a(),d("div",{class:I(["VPDoc",{"has-sidebar":r(o),"has-aside":r(n)}])},[u(v.$slots,"doc-top",{},void 0,!0),p("div",sn,[r(n)?(a(),d("div",{key:0,class:I(["aside",{"left-aside":r(i)}])},[c[0]||(c[0]=p("div",{class:"aside-curtain"},null,-1)),p("div",an,[p("div",rn,[g(Ot,null,{"aside-top":f(()=>[u(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[u(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[u(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[u(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[u(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[u(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):_("",!0),p("div",ln,[p("div",cn,[u(v.$slots,"doc-before",{},void 0,!0),p("main",un,[g(h,{class:I(["vp-doc",[l.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),g(on,null,{"doc-footer-before":f(()=>[u(v.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(v.$slots,"doc-after",{},void 0,!0)])])]),u(v.$slots,"doc-bottom",{},void 0,!0)],2)}}}),vn=$(dn,[["__scopeId","data-v-83890dd9"]]),pn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(s){const e=s,t=P(()=>e.href&&Le.test(e.href)),o=P(()=>e.tag||(e.href?"a":"button"));return(n,i)=>(a(),k(H(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(()=>[j(N(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),fn=$(pn,[["__scopeId","data-v-906d7fb4"]]),hn=["src","alt"],mn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const o=K("VPImage",!0);return e.image?(a(),d(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),d("img",G({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,hn)):(a(),d(M,{key:1},[g(o,G({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),g(o,G({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):_("",!0)}}}),Q=$(mn,[["__scopeId","data-v-35a7d0b8"]]),_n={class:"container"},bn={class:"main"},kn={key:0,class:"name"},gn=["innerHTML"],$n=["innerHTML"],yn=["innerHTML"],Pn={key:0,class:"actions"},Vn={key:0,class:"image"},Sn={class:"image-container"},Ln=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=W("hero-image-slot-exists");return(t,o)=>(a(),d("div",{class:I(["VPHero",{"has-image":t.image||r(e)}])},[p("div",_n,[p("div",bn,[u(t.$slots,"home-hero-info-before",{},void 0,!0),u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),d("h1",kn,[p("span",{innerHTML:t.name,class:"clip"},null,8,gn)])):_("",!0),t.text?(a(),d("p",{key:1,innerHTML:t.text,class:"text"},null,8,$n)):_("",!0),t.tagline?(a(),d("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,yn)):_("",!0)],!0),u(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),d("div",Pn,[(a(!0),d(M,null,B(t.actions,n=>(a(),d("div",{key:n.link,class:"action"},[g(fn,{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))])):_("",!0),u(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),d("div",Vn,[p("div",Sn,[o[0]||(o[0]=p("div",{class:"image-bg"},null,-1)),u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):_("",!0)],!0)])])):_("",!0)])],2))}}),Tn=$(Ln,[["__scopeId","data-v-955009fc"]]),wn=b({__name:"VPHomeHero",setup(s){const{frontmatter:e}=L();return(t,o)=>r(e).hero?(a(),k(Tn,{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(()=>[u(t.$slots,"home-hero-info-before")]),"home-hero-info":f(()=>[u(t.$slots,"home-hero-info")]),"home-hero-info-after":f(()=>[u(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":f(()=>[u(t.$slots,"home-hero-actions-after")]),"home-hero-image":f(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):_("",!0)}}),Nn={class:"box"},In={key:0,class:"icon"},Mn=["innerHTML"],Cn=["innerHTML"],An=["innerHTML"],Bn={key:4,class:"link-text"},En={class:"link-text-value"},Hn=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(O,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:f(()=>[p("article",Nn,[typeof e.icon=="object"&&e.icon.wrap?(a(),d("div",In,[g(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(),k(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(),d("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Mn)):_("",!0),p("h2",{class:"title",innerHTML:e.title},null,8,Cn),e.details?(a(),d("p",{key:3,class:"details",innerHTML:e.details},null,8,An)):_("",!0),e.linkText?(a(),d("div",Bn,[p("p",En,[j(N(e.linkText)+" ",1),t[0]||(t[0]=p("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):_("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),On=$(Hn,[["__scopeId","data-v-f5e9645b"]]),Dn={key:0,class:"VPFeatures"},Fn={class:"container"},Rn={class:"items"},Un=b({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=P(()=>{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(),d("div",Dn,[p("div",Fn,[p("div",Rn,[(a(!0),d(M,null,B(o.features,i=>(a(),d("div",{key:i.title,class:I(["item",[t.value]])},[g(On,{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))])])])):_("",!0)}}),Gn=$(Un,[["__scopeId","data-v-d0a190d7"]]),jn=b({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=L();return(t,o)=>r(e).features?(a(),k(Gn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):_("",!0)}}),zn=b({__name:"VPHomeContent",setup(s){const{width:e}=We({initialWidth:0,includeScrollbar:!1});return(t,o)=>(a(),d("div",{class:"vp-doc container",style:Te(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[u(t.$slots,"default",{},void 0,!0)],4))}}),Kn=$(zn,[["__scopeId","data-v-7a48a447"]]),qn={class:"VPHome"},Wn=b({__name:"VPHome",setup(s){const{frontmatter:e}=L();return(t,o)=>{const n=K("Content");return a(),d("div",qn,[u(t.$slots,"home-hero-before",{},void 0,!0),g(wn,null,{"home-hero-info-before":f(()=>[u(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[u(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[u(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[u(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[u(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(t.$slots,"home-hero-after",{},void 0,!0),u(t.$slots,"home-features-before",{},void 0,!0),g(jn),u(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(Kn,{key:0},{default:f(()=>[g(n)]),_:1})):(a(),k(n,{key:1}))])}}}),Jn=$(Wn,[["__scopeId","data-v-cbb6ec48"]]),Yn={},Xn={class:"VPPage"};function Qn(s,e){const t=K("Content");return a(),d("div",Xn,[u(s.$slots,"page-top"),g(t),u(s.$slots,"page-bottom")])}const Zn=$(Yn,[["render",Qn]]),xn=b({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=L(),{hasSidebar:o}=R();return(n,i)=>(a(),d("div",{class:I(["VPContent",{"has-sidebar":r(o),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?u(n.$slots,"not-found",{key:0},()=>[g(mt)],!0):r(t).layout==="page"?(a(),k(Zn,{key:1},{"page-top":f(()=>[u(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[u(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(Jn,{key:2},{"home-hero-before":f(()=>[u(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[u(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[u(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[u(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[u(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[u(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[u(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[u(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[u(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(H(r(t).layout),{key:3})):(a(),k(vn,{key:4},{"doc-top":f(()=>[u(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[u(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":f(()=>[u(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[u(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[u(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":f(()=>[u(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":f(()=>[u(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[u(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[u(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[u(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":f(()=>[u(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),eo=$(xn,[["__scopeId","data-v-91765379"]]),to={class:"container"},no=["innerHTML"],oo=["innerHTML"],so=b({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=L(),{hasSidebar:o}=R();return(n,i)=>r(e).footer&&r(t).footer!==!1?(a(),d("footer",{key:0,class:I(["VPFooter",{"has-sidebar":r(o)}])},[p("div",to,[r(e).footer.message?(a(),d("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,no)):_("",!0),r(e).footer.copyright?(a(),d("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,oo)):_("",!0)])],2)):_("",!0)}}),ao=$(so,[["__scopeId","data-v-c970a860"]]);function ro(){const{theme:s,frontmatter:e}=L(),t=Se([]),o=P(()=>t.value.length>0);return x(()=>{t.value=_e(e.value.outline??s.value.outline)}),{headers:t,hasLocalNav:o}}const io={class:"menu-text"},lo={class:"header"},co={class:"outline"},uo=b({__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(m){var V;(V=i.value)!=null&&V.contains(m.target)||(o.value=!1)}D(o,m=>{if(m){document.addEventListener("click",v);return}document.removeEventListener("click",v)}),ie("Escape",()=>{o.value=!1}),x(()=>{o.value=!1});function c(){o.value=!o.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),we(()=>{o.value=!1}))}function y(){o.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,V)=>(a(),d("div",{class:"VPLocalNavOutlineDropdown",style:Te({"--vp-vh":n.value+"px"}),ref_key:"main",ref:i},[m.headers.length>0?(a(),d("button",{key:0,onClick:c,class:I({open:o.value})},[p("span",io,N(r(Ae)(r(t))),1),V[0]||(V[0]=p("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),d("button",{key:1,onClick:y},N(r(t).returnToTopLabel||"Return to top"),1)),g(de,{name:"flyout"},{default:f(()=>[o.value?(a(),d("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[p("div",lo,[p("a",{class:"top-link",href:"#",onClick:y},N(r(t).returnToTopLabel||"Return to top"),1)]),p("div",co,[g(Be,{headers:m.headers},null,8,["headers"])])],512)):_("",!0)]),_:1})],4))}}),vo=$(uo,[["__scopeId","data-v-bc9dc845"]]),po={class:"container"},fo=["aria-expanded"],ho={class:"menu-text"},mo=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=L(),{hasSidebar:o}=R(),{headers:n}=ro(),{y:i}=Ne(),l=T(0);F(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{n.value=_e(t.value.outline??e.value.outline)});const v=P(()=>n.value.length===0),c=P(()=>v.value&&!o.value),h=P(()=>({VPLocalNav:!0,"has-sidebar":o.value,empty:v.value,fixed:c.value}));return(y,m)=>r(t).layout!=="home"&&(!c.value||r(i)>=l.value)?(a(),d("div",{key:0,class:I(h.value)},[p("div",po,[r(o)?(a(),d("button",{key:0,class:"menu","aria-expanded":y.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=V=>y.$emit("open-menu"))},[m[1]||(m[1]=p("span",{class:"vpi-align-left menu-icon"},null,-1)),p("span",ho,N(r(e).sidebarMenuLabel||"Menu"),1)],8,fo)):_("",!0),g(vo,{headers:r(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):_("",!0)}}),_o=$(mo,[["__scopeId","data-v-070ab83d"]]);function bo(){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 D(()=>i.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:o}}const ko={},go={class:"VPSwitch",type:"button",role:"switch"},$o={class:"check"},yo={key:0,class:"icon"};function Po(s,e){return a(),d("button",go,[p("span",$o,[s.$slots.default?(a(),d("span",yo,[u(s.$slots,"default",{},void 0,!0)])):_("",!0)])])}const Vo=$(ko,[["render",Po],["__scopeId","data-v-4a1c76db"]]),So=b({__name:"VPSwitchAppearance",setup(s){const{isDark:e,theme:t}=L(),o=W("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(),k(Vo,{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=$(So,[["__scopeId","data-v-e40a8bb6"]]),Lo={key:0,class:"VPNavBarAppearance"},To=b({__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(),d("div",Lo,[g(be)])):_("",!0)}}),wo=$(To,[["__scopeId","data-v-af096f4a"]]),ke=T();let Ee=!1,ae=0;function No(s){const e=T(!1);if(te){!Ee&&Io(),ae++;const t=D(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||Mo()})}return Je(e)}function Io(){document.addEventListener("focusin",He),Ee=!0,ke.value=document.activeElement}function Mo(){document.removeEventListener("focusin",He)}function He(){ke.value=document.activeElement}const Co={class:"VPMenuLink"},Ao=["innerHTML"],Bo=b({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=L();return(t,o)=>(a(),d("div",Co,[g(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,"no-icon":t.item.noIcon},{default:f(()=>[p("span",{innerHTML:t.item.text},null,8,Ao)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),ne=$(Bo,[["__scopeId","data-v-acbfed09"]]),Eo={class:"VPMenuGroup"},Ho={key:0,class:"title"},Oo=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),d("div",Eo,[e.text?(a(),d("p",Ho,N(e.text),1)):_("",!0),(a(!0),d(M,null,B(e.items,o=>(a(),d(M,null,["link"in o?(a(),k(ne,{key:0,item:o},null,8,["item"])):_("",!0)],64))),256))]))}}),Do=$(Oo,[["__scopeId","data-v-48c802d0"]]),Fo={class:"VPMenu"},Ro={key:0,class:"items"},Uo=b({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),d("div",Fo,[e.items?(a(),d("div",Ro,[(a(!0),d(M,null,B(e.items,o=>(a(),d(M,{key:JSON.stringify(o)},["link"in o?(a(),k(ne,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(H(o.component),G({key:1,ref_for:!0},o.props),null,16)):(a(),k(Do,{key:2,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):_("",!0),u(e.$slots,"default",{},void 0,!0)]))}}),Go=$(Uo,[["__scopeId","data-v-7dd3104a"]]),jo=["aria-expanded","aria-label"],zo={key:0,class:"text"},Ko=["innerHTML"],qo={key:1,class:"vpi-more-horizontal icon"},Wo={class:"menu"},Jo=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=T(!1),t=T();No({el:t,onBlur:o});function o(){e.value=!1}return(n,i)=>(a(),d("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(),d("span",zo,[n.icon?(a(),d("span",{key:0,class:I([n.icon,"option-icon"])},null,2)):_("",!0),n.button?(a(),d("span",{key:1,innerHTML:n.button},null,8,Ko)):_("",!0),i[3]||(i[3]=p("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),d("span",qo))],8,jo),p("div",Wo,[g(Go,{items:n.items},{default:f(()=>[u(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ge=$(Jo,[["__scopeId","data-v-04f5c5e9"]]),Yo=["href","aria-label","innerHTML"],Xo=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=P(()=>typeof e.icon=="object"?e.icon.svg:``);return(o,n)=>(a(),d("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,Yo))}}),Qo=$(Xo,[["__scopeId","data-v-717b8b75"]]),Zo={class:"VPSocialLinks"},xo=b({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),d("div",Zo,[(a(!0),d(M,null,B(e.links,({link:o,icon:n,ariaLabel:i})=>(a(),k(Qo,{key:o,icon:n,link:o,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),$e=$(xo,[["__scopeId","data-v-ee7a9424"]]),es={key:0,class:"group translations"},ts={class:"trans-title"},ns={key:1,class:"group"},os={class:"item appearance"},ss={class:"label"},as={class:"appearance-action"},rs={key:2,class:"group"},is={class:"item social-links"},ls=b({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=L(),{localeLinks:o,currentLang:n}=Y({correspondingLink:!0}),i=P(()=>o.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,v)=>i.value?(a(),k(ge,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:f(()=>[r(o).length&&r(n).label?(a(),d("div",es,[p("p",ts,N(r(n).label),1),(a(!0),d(M,null,B(r(o),c=>(a(),k(ne,{key:c.link,item:c},null,8,["item"]))),128))])):_("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),d("div",ns,[p("div",os,[p("p",ss,N(r(t).darkModeSwitchLabel||"Appearance"),1),p("div",as,[g(be)])])])):_("",!0),r(t).socialLinks?(a(),d("div",rs,[p("div",is,[g($e,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):_("",!0)]),_:1})):_("",!0)}}),cs=$(ls,[["__scopeId","data-v-925effce"]]),us=["aria-expanded"],ds=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),d("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,us))}}),vs=$(ds,[["__scopeId","data-v-5dea55bf"]]),ps=["innerHTML"],fs=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=L();return(t,o)=>(a(),k(O,{class:I({VPNavBarMenuLink:!0,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,"no-icon":t.item.noIcon,tabindex:"0"},{default:f(()=>[p("span",{innerHTML:t.item.text},null,8,ps)]),_:1},8,["class","href","target","rel","no-icon"]))}}),hs=$(fs,[["__scopeId","data-v-956ec74c"]]),Oe=b({__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=P(()=>o(e.item));return(i,l)=>(a(),k(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"]))}}),ms={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},_s=b({__name:"VPNavBarMenu",setup(s){const{theme:e}=L();return(t,o)=>r(e).nav?(a(),d("nav",ms,[o[0]||(o[0]=p("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),d(M,null,B(r(e).nav,n=>(a(),d(M,{key:JSON.stringify(n)},["link"in n?(a(),k(hs,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(H(n.component),G({key:1,ref_for:!0},n.props),null,16)):(a(),k(Oe,{key:2,item:n},null,8,["item"]))],64))),128))])):_("",!0)}}),bs=$(_s,[["__scopeId","data-v-e6d46098"]]);function ks(s){const{localeIndex:e,theme:t}=L();function o(n){var C,A,w;const i=n.split("."),l=(C=t.value.search)==null?void 0:C.options,v=l&&typeof l=="object",c=v&&((w=(A=l.locales)==null?void 0:A[e.value])==null?void 0:w.translations)||null,h=v&&l.translations||null;let y=c,m=h,V=s;const S=i.pop();for(const E of i){let U=null;const q=V==null?void 0:V[E];q&&(U=V=q);const oe=m==null?void 0:m[E];oe&&(U=m=oe);const se=y==null?void 0:y[E];se&&(U=y=se),q||(V=U),oe||(m=U),se||(y=U)}return(y==null?void 0:y[S])??(m==null?void 0:m[S])??(V==null?void 0:V[S])??""}return o}const gs=["aria-label"],$s={class:"DocSearch-Button-Container"},ys={class:"DocSearch-Button-Placeholder"},ye=b({__name:"VPNavBarSearchButton",setup(s){const t=ks({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(o,n)=>(a(),d("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[p("span",$s,[n[0]||(n[0]=p("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),p("span",ys,N(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,gs))}}),Ps={class:"VPNavBarSearch"},Vs={id:"local-search"},Ss={key:1,id:"docsearch"},Ls=b({__name:"VPNavBarSearch",setup(s){const e=Ye(()=>Xe(()=>import("./VPLocalSearchBox.XEwDE-_y.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:o}=L(),n=T(!1),i=T(!1);F(()=>{});function l(){n.value||(n.value=!0,setTimeout(v,16))}function v(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||v()},16)}function c(m){const V=m.target,S=V.tagName;return V.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const h=T(!1);ie("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),ie("/",m=>{c(m)||(m.preventDefault(),h.value=!0)});const y="local";return(m,V)=>{var S;return a(),d("div",Ps,[r(y)==="local"?(a(),d(M,{key:0},[h.value?(a(),k(r(e),{key:0,onClose:V[0]||(V[0]=C=>h.value=!1)})):_("",!0),p("div",Vs,[g(ye,{onClick:V[1]||(V[1]=C=>h.value=!0)})])],64)):r(y)==="algolia"?(a(),d(M,{key:1},[n.value?(a(),k(r(t),{key:0,algolia:((S=r(o).search)==null?void 0:S.options)??r(o).algolia,onVnodeBeforeMount:V[2]||(V[2]=C=>i.value=!0)},null,8,["algolia"])):_("",!0),i.value?_("",!0):(a(),d("div",Ss,[g(ye,{onClick:l})]))],64)):_("",!0)])}}}),Ts=b({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=L();return(t,o)=>r(e).socialLinks?(a(),k($e,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):_("",!0)}}),ws=$(Ts,[["__scopeId","data-v-164c457f"]]),Ns=["href","rel","target"],Is={key:1},Ms={key:2},Cs=b({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=L(),{hasSidebar:o}=R(),{currentLang:n}=Y(),i=P(()=>{var c;return typeof t.value.logoLink=="string"?t.value.logoLink:(c=t.value.logoLink)==null?void 0:c.link}),l=P(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.rel}),v=P(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.target});return(c,h)=>(a(),d("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},[u(c.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):_("",!0),r(t).siteTitle?(a(),d("span",Is,N(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),d("span",Ms,N(r(e).title),1)):_("",!0),u(c.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ns)],2))}}),As=$(Cs,[["__scopeId","data-v-28a961f9"]]),Bs={class:"items"},Es={class:"title"},Hs=b({__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(),k(ge,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:f(()=>[p("div",Bs,[p("p",Es,N(r(o).label),1),(a(!0),d(M,null,B(r(t),l=>(a(),k(ne,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):_("",!0)}}),Os=$(Hs,[["__scopeId","data-v-c80d9ad0"]]),Ds={class:"wrapper"},Fs={class:"container"},Rs={class:"title"},Us={class:"content"},Gs={class:"content-body"},js=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const e=s,{y:t}=Ne(),{hasSidebar:o}=R(),{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(),d("div",{class:I(["VPNavBar",i.value])},[p("div",Ds,[p("div",Fs,[p("div",Rs,[g(As,null,{"nav-bar-title-before":f(()=>[u(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[u(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),p("div",Us,[p("div",Gs,[u(l.$slots,"nav-bar-content-before",{},void 0,!0),g(Ls,{class:"search"}),g(bs,{class:"menu"}),g(Os,{class:"translations"}),g(wo,{class:"appearance"}),g(ws,{class:"social-links"}),g(cs,{class:"extra"}),u(l.$slots,"nav-bar-content-after",{},void 0,!0),g(vs,{class:"hamburger",active:l.isScreenOpen,onClick:v[0]||(v[0]=c=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),v[1]||(v[1]=p("div",{class:"divider"},[p("div",{class:"divider-line"})],-1))],2))}}),zs=$(js,[["__scopeId","data-v-822684d1"]]),Ks={key:0,class:"VPNavScreenAppearance"},qs={class:"text"},Ws=b({__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(),d("div",Ks,[p("p",qs,N(r(t).darkModeSwitchLabel||"Appearance"),1),g(be)])):_("",!0)}}),Js=$(Ws,[["__scopeId","data-v-ffb44008"]]),Ys=["innerHTML"],Xs=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=W("close-screen");return(t,o)=>(a(),k(O,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:r(e)},{default:f(()=>[p("span",{innerHTML:t.item.text},null,8,Ys)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Qs=$(Xs,[["__scopeId","data-v-735512b8"]]),Zs=["innerHTML"],xs=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=W("close-screen");return(t,o)=>(a(),k(O,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:r(e)},{default:f(()=>[p("span",{innerHTML:t.item.text},null,8,Zs)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),De=$(xs,[["__scopeId","data-v-372ae7c0"]]),ea={class:"VPNavScreenMenuGroupSection"},ta={key:0,class:"title"},na=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),d("div",ea,[e.text?(a(),d("p",ta,N(e.text),1)):_("",!0),(a(!0),d(M,null,B(e.items,o=>(a(),k(De,{key:o.text,item:o},null,8,["item"]))),128))]))}}),oa=$(na,[["__scopeId","data-v-4b8941ac"]]),sa=["aria-controls","aria-expanded"],aa=["innerHTML"],ra=["id"],ia={key:0,class:"item"},la={key:1,class:"item"},ca={key:2,class:"group"},ua=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=T(!1),o=P(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(i,l)=>(a(),d("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,aa),l[0]||(l[0]=p("span",{class:"vpi-plus button-icon"},null,-1))],8,sa),p("div",{id:o.value,class:"items"},[(a(!0),d(M,null,B(i.items,v=>(a(),d(M,{key:JSON.stringify(v)},["link"in v?(a(),d("div",ia,[g(De,{item:v},null,8,["item"])])):"component"in v?(a(),d("div",la,[(a(),k(H(v.component),G({ref_for:!0},v.props,{"screen-menu":""}),null,16))])):(a(),d("div",ca,[g(oa,{text:v.text,items:v.items},null,8,["text","items"])]))],64))),128))],8,ra)],2))}}),Fe=$(ua,[["__scopeId","data-v-875057a5"]]),da={key:0,class:"VPNavScreenMenu"},va=b({__name:"VPNavScreenMenu",setup(s){const{theme:e}=L();return(t,o)=>r(e).nav?(a(),d("nav",da,[(a(!0),d(M,null,B(r(e).nav,n=>(a(),d(M,{key:JSON.stringify(n)},["link"in n?(a(),k(Qs,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(H(n.component),G({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(a(),k(Fe,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):_("",!0)}}),pa=b({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=L();return(t,o)=>r(e).socialLinks?(a(),k($e,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):_("",!0)}}),fa={class:"list"},ha=b({__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(),d("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)),j(" "+N(r(t).label)+" ",1),l[1]||(l[1]=p("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),p("ul",fa,[(a(!0),d(M,null,B(r(e),v=>(a(),d("li",{key:v.link,class:"item"},[g(O,{class:"link",href:v.link},{default:f(()=>[j(N(v.text),1)]),_:2},1032,["href"])]))),128))])],2)):_("",!0)}}),ma=$(ha,[["__scopeId","data-v-362991c2"]]),_a={class:"container"},ba=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=T(null),t=Ie(te?document.body:null);return(o,n)=>(a(),k(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(),d("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[p("div",_a,[u(o.$slots,"nav-screen-content-before",{},void 0,!0),g(va,{class:"menu"}),g(ma,{class:"translations"}),g(Js,{class:"appearance"}),g(pa,{class:"social-links"}),u(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):_("",!0)]),_:3}))}}),ka=$(ba,[["__scopeId","data-v-833aabba"]]),ga={key:0,class:"VPNav"},$a=b({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=bo(),{frontmatter:n}=L(),i=P(()=>n.value.navbar!==!1);return he("close-screen",t),Z(()=>{te&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(l,v)=>i.value?(a(),d("header",ga,[g(zs,{"is-screen-open":r(e),onToggleScreen:r(o)},{"nav-bar-title-before":f(()=>[u(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[u(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[u(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[u(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),g(ka,{open:r(e)},{"nav-screen-content-before":f(()=>[u(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[u(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):_("",!0)}}),ya=$($a,[["__scopeId","data-v-f1e365da"]]),Pa=["role","tabindex"],Va={key:1,class:"items"},Sa=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:o,isLink:n,isActiveLink:i,hasActiveLink:l,hasChildren:v,toggle:c}=gt(P(()=>e.item)),h=P(()=>v.value?"section":"div"),y=P(()=>n.value?"a":"div"),m=P(()=>v.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=P(()=>n.value?void 0:"button"),S=P(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":n.value},{"is-active":i.value},{"has-active":l.value}]);function C(w){"key"in w&&w.key!=="Enter"||!e.item.link&&c()}function A(){e.item.link&&c()}return(w,E)=>{const U=K("VPSidebarItem",!0);return a(),k(H(h.value),{class:I(["VPSidebarItem",S.value])},{default:f(()=>[w.item.text?(a(),d("div",G({key:0,class:"item",role:V.value},Qe(w.item.items?{click:C,keydown:C}:{},!0),{tabindex:w.item.items&&0}),[E[1]||(E[1]=p("div",{class:"indicator"},null,-1)),w.item.link?(a(),k(O,{key:0,tag:y.value,class:"link",href:w.item.link,rel:w.item.rel,target:w.item.target},{default:f(()=>[(a(),k(H(m.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(H(m.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null&&w.item.items&&w.item.items.length?(a(),d("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Ze(A,["enter"]),tabindex:"0"},E[0]||(E[0]=[p("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):_("",!0)],16,Pa)):_("",!0),w.item.items&&w.item.items.length?(a(),d("div",Va,[w.depth<5?(a(!0),d(M,{key:0},B(w.item.items,q=>(a(),k(U,{key:q.text,item:q,depth:w.depth+1},null,8,["item","depth"]))),128)):_("",!0)])):_("",!0)]),_:1},8,["class"])}}}),La=$(Sa,[["__scopeId","data-v-196b2e5f"]]),Ta=b({__name:"VPSidebarGroup",props:{items:{}},setup(s){const e=T(!0);let t=null;return F(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),xe(()=>{t!=null&&(clearTimeout(t),t=null)}),(o,n)=>(a(!0),d(M,null,B(o.items,i=>(a(),d("div",{key:i.text,class:I(["group",{"no-transition":e.value}])},[g(La,{item:i,depth:0},null,8,["item"])],2))),128))}}),wa=$(Ta,[["__scopeId","data-v-9e426adc"]]),Na={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Ia=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=R(),o=s,n=T(null),i=Ie(te?document.body:null);D([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 D(e,()=>{l.value+=1},{deep:!0}),(v,c)=>r(t)?(a(),d("aside",{key:0,class:I(["VPSidebar",{open:v.open}]),ref_key:"navEl",ref:n,onClick:c[0]||(c[0]=et(()=>{},["stop"]))},[c[2]||(c[2]=p("div",{class:"curtain"},null,-1)),p("nav",Na,[c[1]||(c[1]=p("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),u(v.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(wa,{items:r(e),key:l.value},null,8,["items"])),u(v.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):_("",!0)}}),Ma=$(Ia,[["__scopeId","data-v-18756405"]]),Ca=b({__name:"VPSkipLink",setup(s){const e=ee(),t=T();D(()=>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(),d(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))}}),Aa=$(Ca,[["__scopeId","data-v-c3508ec8"]]),Ba=b({__name:"Layout",setup(s){const{isOpen:e,open:t,close:o}=R(),n=ee();D(()=>n.path,o),kt(e,o);const{frontmatter:i}=L(),l=Me(),v=P(()=>!!l["home-hero-image"]);return he("hero-image-slot-exists",v),(c,h)=>{const y=K("Content");return r(i).layout!==!1?(a(),d("div",{key:0,class:I(["Layout",r(i).pageClass])},[u(c.$slots,"layout-top",{},void 0,!0),g(Aa),g(rt,{class:"backdrop",show:r(e),onClick:r(o)},null,8,["show","onClick"]),g(ya,null,{"nav-bar-title-before":f(()=>[u(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[u(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[u(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[u(c.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":f(()=>[u(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[u(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),g(_o,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),g(Ma,{open:r(e)},{"sidebar-nav-before":f(()=>[u(c.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":f(()=>[u(c.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),g(eo,null,{"page-top":f(()=>[u(c.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[u(c.$slots,"page-bottom",{},void 0,!0)]),"not-found":f(()=>[u(c.$slots,"not-found",{},void 0,!0)]),"home-hero-before":f(()=>[u(c.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[u(c.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[u(c.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[u(c.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[u(c.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[u(c.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[u(c.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[u(c.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[u(c.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":f(()=>[u(c.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[u(c.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[u(c.$slots,"doc-after",{},void 0,!0)]),"doc-top":f(()=>[u(c.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[u(c.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":f(()=>[u(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[u(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[u(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[u(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[u(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[u(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),g(ao),u(c.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(y,{key:1}))}}}),Ea=$(Ba,[["__scopeId","data-v-a9a9e638"]]),Ha={Layout:Ea,enhanceApp:({app:s})=>{s.component("Badge",ot)}},Oa=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 we(),e.scrollTop=l.offsetTop-v,i}}},Re="vitepress:tabSharedState",J=typeof localStorage<"u"?localStorage:null,Ue="vitepress:tabsSharedState",Da=()=>{const s=J==null?void 0:J.getItem(Ue);if(s)try{return JSON.parse(s)}catch{}return{}},Fa=s=>{J&&J.setItem(Ue,JSON.stringify(s))},Ra=s=>{const e=tt({});D(()=>e.content,(t,o)=>{t&&o&&Fa(t)},{deep:!0}),s.provide(Re,e)},Ua=(s,e)=>{const t=W(Re);if(!t)throw new Error("[vitepress-plugin-tabs] TabsSharedState should be injected");F(()=>{t.content||(t.content=Da())});const o=T(),n=P({get(){var c;const l=e.value,v=s.value;if(l){const h=(c=t.content)==null?void 0:c[l];if(h&&v.includes(h))return h}else{const h=o.value;if(h)return h}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 Ga=()=>(Pe++,""+Pe);function ja(){const s=Me();return P(()=>{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 Ge="vitepress:tabSingleState",za=s=>{he(Ge,s)},Ka=()=>{const s=W(Ge);if(!s)throw new Error("[vitepress-plugin-tabs] TabsSingleState should be injected");return s},qa={class:"plugin-tabs"},Wa=["id","aria-selected","aria-controls","tabindex","onClick"],Ja=b({__name:"PluginTabs",props:{sharedStateKey:{}},setup(s){const e=s,t=ja(),{selected:o,select:n}=Ua(t,nt(e,"sharedStateKey")),i=T(),{stabilizeScrollPosition:l}=Oa(i),v=l(n),c=T([]),h=m=>{var C;const V=t.value.indexOf(o.value);let S;m.key==="ArrowLeft"?S=V>=1?V-1:t.value.length-1:m.key==="ArrowRight"&&(S=V(a(),d("div",qa,[p("div",{ref_key:"tablist",ref:i,class:"plugin-tabs--tab-list",role:"tablist",onKeydown:h},[(a(!0),d(M,null,B(r(t),S=>(a(),d("button",{id:`tab-${S}-${r(y)}`,ref_for:!0,ref_key:"buttonRefs",ref:c,key:S,role:"tab",class:"plugin-tabs--tab","aria-selected":S===r(o),"aria-controls":`panel-${S}-${r(y)}`,tabindex:S===r(o)?0:-1,onClick:()=>r(v)(S)},N(S),9,Wa))),128))],544),u(m.$slots,"default")]))}}),Ya=["id","aria-labelledby"],Xa=b({__name:"PluginTabsTab",props:{label:{}},setup(s){const{uid:e,selected:t}=Ka();return(o,n)=>r(t)===o.label?(a(),d("div",{key:0,id:`panel-${o.label}-${r(e)}`,class:"plugin-tabs--content",role:"tabpanel",tabindex:"0","aria-labelledby":`tab-${o.label}-${r(e)}`},[u(o.$slots,"default",{},void 0,!0)],8,Ya)):_("",!0)}}),Qa=$(Xa,[["__scopeId","data-v-9b0d03d2"]]),Za=s=>{Ra(s),s.component("PluginTabs",Ja),s.component("PluginTabsTab",Qa)},xa=b({__name:"VersionPicker",props:{screenMenu:{type:Boolean}},setup(s){const e=T([]),t=T("Versions"),o=T(!1);Ve();const n=()=>typeof window<"u"&&(window.location.hostname==="localhost"||window.location.hostname==="127.0.0.1"),i=()=>{if(typeof window>"u")return"";const{origin:c,pathname:h}=window.location;if(c.includes("github.io")){const y=h.split("/").filter(Boolean),m=y.length>0?`/${y[0]}/`:"/";return`${c}${m}`}else return c},l=()=>new Promise(c=>{if(n()){c(!1);return}const h=setInterval(()=>{window.DOC_VERSIONS&&window.DOCUMENTER_CURRENT_VERSION&&(clearInterval(h),c(!0))},100);setTimeout(()=>{clearInterval(h),c(!1)},5e3)});return F(async()=>{if(!(typeof window>"u")){try{if(n()){const c=["dev"];e.value=c.map(h=>({text:h,link:"/"})),t.value="dev"}else{const c=await l(),h=P(()=>i());if(c&&window.DOC_VERSIONS&&window.DOCUMENTER_CURRENT_VERSION)e.value=window.DOC_VERSIONS.map(y=>({text:y,link:`${h.value}/${y}/`})),t.value=window.DOCUMENTER_CURRENT_VERSION;else{const y=["dev"];e.value=y.map(m=>({text:m,link:`${h.value}/${m}/`})),t.value="dev"}}}catch(c){console.warn("Error loading versions:",c);const h=["dev"],y=P(()=>i());e.value=h.map(m=>({text:m,link:`${y.value}/${m}/`})),t.value="dev"}o.value=!0}}),(c,h)=>o.value?(a(),d(M,{key:0},[!c.screenMenu&&e.value.length>0?(a(),k(Oe,{key:0,item:{text:t.value,items:e.value},class:"VPVersionPicker"},null,8,["item"])):c.screenMenu&&e.value.length>0?(a(),k(Fe,{key:1,text:t.value,items:e.value,class:"VPVersionPicker"},null,8,["text","items"])):_("",!0)],64)):_("",!0)}}),er=$(xa,[["__scopeId","data-v-f465cb49"]]),nr={extends:Ha,enhanceApp({app:s,router:e,siteData:t}){Za(s),s.component("VersionPicker",er)}};export{nr as R,ks as c,L as u}; diff --git a/dev/assets/chunks/theme.b8NutB4I.js b/dev/assets/chunks/theme.b8NutB4I.js deleted file mode 100644 index 277a448b0..000000000 --- a/dev/assets/chunks/theme.b8NutB4I.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.96yseQxt.js","assets/chunks/framework.B8l2DGq3.js"])))=>i.map(i=>d[i]); -import{d as b,o as a,c as d,r as u,n as I,a as F,t as N,b as k,w as f,e as _,T as de,_ as $,u as Ve,i as je,f as ze,g as ve,h as P,j as p,k as r,l as z,m as re,p as T,q as D,s as Z,v as R,x as pe,y as fe,z as Ke,A as We,B as K,F as M,C as B,D as Se,E as x,G as g,H,I as Le,J as ee,K as j,L as q,M as qe,N as Te,O as ie,P as we,Q as Ne,R as te,S as Je,U as Ye,V as Xe,W as Ie,X as he,Y as Qe,Z as Ze,$ as xe,a0 as et,a1 as Me,a2 as tt,a3 as nt}from"./framework.B8l2DGq3.js";const st=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(a(),d("span",{class:I(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[F(N(e.text),1)])],2))}}),ot={key:0,class:"VPBackdrop"},at=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(a(),k(de,{name:"fade"},{default:f(()=>[e.show?(a(),d("div",ot)):_("",!0)]),_:1}))}}),rt=$(at,[["__scopeId","data-v-b06cdb19"]]),L=Ve;function it(o,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(o,e):(o(),(s=!0)&&setTimeout(()=>s=!1,e))}}function le(o){return/^\//.test(o)?o:`/${o}`}function me(o){const{pathname:e,search:t,hash:s,protocol:n}=new URL(o,"http://a.com");if(je(o)||o.startsWith("#")||!n.startsWith("http")||!ze(e))return o;const{site:i}=L(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${s}`);return ve(l)}function Y({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:s,theme:n,hash:i}=L(),l=P(()=>{var c,h;return{label:(c=e.value.locales[t.value])==null?void 0:c.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:P(()=>Object.entries(e.value.locales).flatMap(([c,h])=>l.value.label===h.label?[]:{text:h.label,link:lt(h.link||(c==="root"?"/":`/${c}/`),n.value.i18nRouting!==!1&&o,s.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:l}}function lt(o,e,t,s){return e?o.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):o}const ct={class:"NotFound"},ut={class:"code"},dt={class:"title"},vt={class:"quote"},pt={class:"action"},ft=["href","aria-label"],ht=b({__name:"NotFound",setup(o){const{theme:e}=L(),{currentLang:t}=Y();return(s,n)=>{var i,l,v,c,h;return a(),d("div",ct,[p("p",ut,N(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),p("h1",dt,N(((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",vt,N(((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",pt,[p("a",{class:"link",href:r(ve)(r(t).link),"aria-label":((c=r(e).notFound)==null?void 0:c.linkLabel)??"go to home"},N(((h=r(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,ft)])])}}}),mt=$(ht,[["__scopeId","data-v-951cab6c"]]);function Ce(o,e){if(Array.isArray(o))return X(o);if(o==null)return[];e=le(e);const t=Object.keys(o).sort((n,i)=>i.split("/").length-n.split("/").length).find(n=>e.startsWith(le(n))),s=t?o[t]:[];return Array.isArray(s)?X(s):X(s.items,s.base)}function _t(o){const e=[];let t=0;for(const s in o){const n=o[s];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function bt(o){const e=[];function t(s){for(const n of s)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(o),e}function ce(o,e){return Array.isArray(e)?e.some(t=>ce(o,t)):z(o,e.link)?!0:e.items?ce(o,e.items):!1}function X(o,e){return[...o].map(t=>{const s={...t},n=s.base||e;return n&&s.link&&(s.link=n+s.link),s.items&&(s.items=X(s.items,n)),s})}function U(){const{frontmatter:o,page:e,theme:t}=L(),s=re("(min-width: 960px)"),n=T(!1),i=P(()=>{const A=t.value.sidebar,w=e.value.relativePath;return A?Ce(A,w):[]}),l=T(i.value);D(i,(A,w)=>{JSON.stringify(A)!==JSON.stringify(w)&&(l.value=i.value)});const v=P(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),c=P(()=>h?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),h=P(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),y=P(()=>v.value&&s.value),m=P(()=>v.value?_t(l.value):[]);function V(){n.value=!0}function S(){n.value=!1}function C(){n.value?S():V()}return{isOpen:n,sidebar:l,sidebarGroups:m,hasSidebar:v,hasAside:h,leftAside:c,isSidebarEnabled:y,open:V,close:S,toggle:C}}function kt(o,e){let t;Z(()=>{t=o.value?document.activeElement:void 0}),R(()=>{window.addEventListener("keyup",s)}),pe(()=>{window.removeEventListener("keyup",s)});function s(n){n.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function gt(o){const{page:e,hash:t}=L(),s=T(!1),n=P(()=>o.value.collapsed!=null),i=P(()=>!!o.value.link),l=T(!1),v=()=>{l.value=z(e.value.relativePath,o.value.link)};D([e,o,t],v),R(v);const c=P(()=>l.value?!0:o.value.items?ce(e.value.relativePath,o.value.items):!1),h=P(()=>!!(o.value.items&&o.value.items.length));Z(()=>{s.value=!!(n.value&&o.value.collapsed)}),fe(()=>{(l.value||c.value)&&(s.value=!1)});function y(){n.value&&(s.value=!s.value)}return{collapsed:s,collapsible:n,isLink:i,isActiveLink:l,hasActiveLink:c,hasChildren:h,toggle:y}}function $t(){const{hasSidebar:o}=U(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:P(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const ue=[];function Ae(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function _e(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:yt(t),link:"#"+t.id,level:s}});return Pt(e,o)}function yt(o){let e="";for(const t of o.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 Pt(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return Lt(o,s,n)}function Vt(o,e){const{isAsideEnabled:t}=$t(),s=it(i,100);let n=null;R(()=>{requestAnimationFrame(i),window.addEventListener("scroll",s)}),Ke(()=>{l(location.hash)}),pe(()=>{window.removeEventListener("scroll",s)});function i(){if(!t.value)return;const v=window.scrollY,c=window.innerHeight,h=document.body.offsetHeight,y=Math.abs(v+c-h)<1,m=ue.map(({element:S,link:C})=>({link:C,top:St(S)})).filter(({top:S})=>!Number.isNaN(S)).sort((S,C)=>S.top-C.top);if(!m.length){l(null);return}if(v<1){l(null);return}if(y){l(m[m.length-1].link);return}let V=null;for(const{link:S,top:C}of m){if(C>v+We()+4)break;V=S}l(V)}function l(v){n&&n.classList.remove("active"),v==null?n=null:n=o.value.querySelector(`a[href="${decodeURIComponent(v)}"]`);const c=n;c?(c.classList.add("active"),e.value.style.top=c.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function St(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}function Lt(o,e,t){ue.length=0;const s=[],n=[];return o.forEach(i=>{const l={...i,children:[]};let v=n[n.length-1];for(;v&&v.level>=l.level;)n.pop(),v=n[n.length-1];if(l.element.classList.contains("ignore-header")||v&&"shouldIgnore"in v){n.push({level:l.level,shouldIgnore:!0});return}l.level>t||l.level{const n=K("VPDocOutlineItem",!0);return a(),d("ul",{class:I(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),d(M,null,B(t.headers,({children:i,link:l,title:v})=>(a(),d("li",null,[p("a",{class:"outline-link",href:l,onClick:e,title:v},N(v),9,Tt),i!=null&&i.length?(a(),k(n,{key:0,headers:i},null,8,["headers"])):_("",!0)]))),256))],2)}}}),Be=$(wt,[["__scopeId","data-v-3f927ebe"]]),Nt={class:"content"},It={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Mt=b({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=L(),s=Se([]);x(()=>{s.value=_e(e.value.outline??t.value.outline)});const n=T(),i=T();return Vt(n,i),(l,v)=>(a(),d("nav",{"aria-labelledby":"doc-outline-aria-label",class:I(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:n},[p("div",Nt,[p("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),p("div",It,N(r(Ae)(r(t))),1),g(Be,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),Ct=$(Mt,[["__scopeId","data-v-b38bf2ff"]]),At={class:"VPDocAsideCarbonAds"},Bt=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,s)=>(a(),d("div",At,[g(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Et={class:"VPDocAside"},Ht=b({__name:"VPDocAside",setup(o){const{theme:e}=L();return(t,s)=>(a(),d("div",Et,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),g(Ct),u(t.$slots,"aside-outline-after",{},void 0,!0),s[0]||(s[0]=p("div",{class:"spacer"},null,-1)),u(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Bt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):_("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Ot=$(Ht,[["__scopeId","data-v-6d7b3c46"]]);function Dt(){const{theme:o,page:e}=L();return P(()=>{const{text:t="Edit this page",pattern:s=""}=o.value.editLink||{};let n;return typeof s=="function"?n=s(e.value):n=s.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Ft(){const{page:o,theme:e,frontmatter:t}=L();return P(()=>{var h,y,m,V,S,C,A,w;const s=Ce(e.value.sidebar,o.value.relativePath),n=bt(s),i=Rt(n,E=>E.link.replace(/[?#].*$/,"")),l=i.findIndex(E=>z(o.value.relativePath,E.link)),v=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,c=((y=e.value.docFooter)==null?void 0:y.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)??((m=i[l-1])==null?void 0:m.docFooterText)??((V=i[l-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((S=i[l-1])==null?void 0:S.link)},next:c?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((C=i[l+1])==null?void 0:C.docFooterText)??((A=i[l+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((w=i[l+1])==null?void 0:w.link)}}})}function Rt(o,e){const t=new Set;return o.filter(s=>{const n=e(s);return t.has(n)?!1:t.add(n)})}const O=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=P(()=>e.tag??(e.href?"a":"span")),s=P(()=>e.href&&Le.test(e.href)||e.target==="_blank");return(n,i)=>(a(),k(H(t.value),{class:I(["VPLink",{link:n.href,"vp-external-link-icon":s.value,"no-icon":n.noIcon}]),href:n.href?r(me)(n.href):void 0,target:n.target??(s.value?"_blank":void 0),rel:n.rel??(s.value?"noreferrer":void 0)},{default:f(()=>[u(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ut={class:"VPLastUpdated"},Gt=["datetime"],jt=b({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:s}=L(),n=P(()=>new Date(t.value.lastUpdated)),i=P(()=>n.value.toISOString()),l=T("");return R(()=>{Z(()=>{var v,c,h;l.value=new Intl.DateTimeFormat((c=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&c.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(v,c)=>{var h;return a(),d("p",Ut,[F(N(((h=r(e).lastUpdated)==null?void 0:h.text)||r(e).lastUpdatedText||"Last updated")+": ",1),p("time",{datetime:i.value},N(l.value),9,Gt)])}}}),zt=$(jt,[["__scopeId","data-v-475f71b8"]]),Kt={key:0,class:"VPDocFooter"},Wt={key:0,class:"edit-info"},qt={key:0,class:"edit-link"},Jt={key:1,class:"last-updated"},Yt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Xt={class:"pager"},Qt=["innerHTML"],Zt=["innerHTML"],xt={class:"pager"},en=["innerHTML"],tn=["innerHTML"],nn=b({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:s}=L(),n=Dt(),i=Ft(),l=P(()=>e.value.editLink&&s.value.editLink!==!1),v=P(()=>t.value.lastUpdated),c=P(()=>l.value||v.value||i.value.prev||i.value.next);return(h,y)=>{var m,V,S,C;return c.value?(a(),d("footer",Kt,[u(h.$slots,"doc-footer-before",{},void 0,!0),l.value||v.value?(a(),d("div",Wt,[l.value?(a(),d("div",qt,[g(O,{class:"edit-link-button",href:r(n).url,"no-icon":!0},{default:f(()=>[y[0]||(y[0]=p("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),F(" "+N(r(n).text),1)]),_:1},8,["href"])])):_("",!0),v.value?(a(),d("div",Jt,[g(zt)])):_("",!0)])):_("",!0),(m=r(i).prev)!=null&&m.link||(V=r(i).next)!=null&&V.link?(a(),d("nav",Yt,[y[1]||(y[1]=p("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),p("div",Xt,[(S=r(i).prev)!=null&&S.link?(a(),k(O,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:f(()=>{var A;return[p("span",{class:"desc",innerHTML:((A=r(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,Qt),p("span",{class:"title",innerHTML:r(i).prev.text},null,8,Zt)]}),_:1},8,["href"])):_("",!0)]),p("div",xt,[(C=r(i).next)!=null&&C.link?(a(),k(O,{key:0,class:"pager-link next",href:r(i).next.link},{default:f(()=>{var A;return[p("span",{class:"desc",innerHTML:((A=r(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,en),p("span",{class:"title",innerHTML:r(i).next.text},null,8,tn)]}),_:1},8,["href"])):_("",!0)])])):_("",!0)])):_("",!0)}}}),sn=$(nn,[["__scopeId","data-v-4f9813fa"]]),on={class:"container"},an={class:"aside-container"},rn={class:"aside-content"},ln={class:"content"},cn={class:"content-container"},un={class:"main"},dn=b({__name:"VPDoc",setup(o){const{theme:e}=L(),t=ee(),{hasSidebar:s,hasAside:n,leftAside:i}=U(),l=P(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(v,c)=>{const h=K("Content");return a(),d("div",{class:I(["VPDoc",{"has-sidebar":r(s),"has-aside":r(n)}])},[u(v.$slots,"doc-top",{},void 0,!0),p("div",on,[r(n)?(a(),d("div",{key:0,class:I(["aside",{"left-aside":r(i)}])},[c[0]||(c[0]=p("div",{class:"aside-curtain"},null,-1)),p("div",an,[p("div",rn,[g(Ot,null,{"aside-top":f(()=>[u(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[u(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[u(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[u(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[u(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[u(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):_("",!0),p("div",ln,[p("div",cn,[u(v.$slots,"doc-before",{},void 0,!0),p("main",un,[g(h,{class:I(["vp-doc",[l.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),g(sn,null,{"doc-footer-before":f(()=>[u(v.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(v.$slots,"doc-after",{},void 0,!0)])])]),u(v.$slots,"doc-bottom",{},void 0,!0)],2)}}}),vn=$(dn,[["__scopeId","data-v-83890dd9"]]),pn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=P(()=>e.href&&Le.test(e.href)),s=P(()=>e.tag||(e.href?"a":"button"));return(n,i)=>(a(),k(H(s.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(N(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),fn=$(pn,[["__scopeId","data-v-906d7fb4"]]),hn=["src","alt"],mn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const s=K("VPImage",!0);return e.image?(a(),d(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),d("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,hn)):(a(),d(M,{key:1},[g(s,j({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),g(s,j({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):_("",!0)}}}),Q=$(mn,[["__scopeId","data-v-35a7d0b8"]]),_n={class:"container"},bn={class:"main"},kn={key:0,class:"name"},gn=["innerHTML"],$n=["innerHTML"],yn=["innerHTML"],Pn={key:0,class:"actions"},Vn={key:0,class:"image"},Sn={class:"image-container"},Ln=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=q("hero-image-slot-exists");return(t,s)=>(a(),d("div",{class:I(["VPHero",{"has-image":t.image||r(e)}])},[p("div",_n,[p("div",bn,[u(t.$slots,"home-hero-info-before",{},void 0,!0),u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),d("h1",kn,[p("span",{innerHTML:t.name,class:"clip"},null,8,gn)])):_("",!0),t.text?(a(),d("p",{key:1,innerHTML:t.text,class:"text"},null,8,$n)):_("",!0),t.tagline?(a(),d("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,yn)):_("",!0)],!0),u(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),d("div",Pn,[(a(!0),d(M,null,B(t.actions,n=>(a(),d("div",{key:n.link,class:"action"},[g(fn,{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))])):_("",!0),u(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),d("div",Vn,[p("div",Sn,[s[0]||(s[0]=p("div",{class:"image-bg"},null,-1)),u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):_("",!0)],!0)])])):_("",!0)])],2))}}),Tn=$(Ln,[["__scopeId","data-v-955009fc"]]),wn=b({__name:"VPHomeHero",setup(o){const{frontmatter:e}=L();return(t,s)=>r(e).hero?(a(),k(Tn,{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(()=>[u(t.$slots,"home-hero-info-before")]),"home-hero-info":f(()=>[u(t.$slots,"home-hero-info")]),"home-hero-info-after":f(()=>[u(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":f(()=>[u(t.$slots,"home-hero-actions-after")]),"home-hero-image":f(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):_("",!0)}}),Nn={class:"box"},In={key:0,class:"icon"},Mn=["innerHTML"],Cn=["innerHTML"],An=["innerHTML"],Bn={key:4,class:"link-text"},En={class:"link-text-value"},Hn=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(a(),k(O,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:f(()=>[p("article",Nn,[typeof e.icon=="object"&&e.icon.wrap?(a(),d("div",In,[g(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(),k(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(),d("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Mn)):_("",!0),p("h2",{class:"title",innerHTML:e.title},null,8,Cn),e.details?(a(),d("p",{key:3,class:"details",innerHTML:e.details},null,8,An)):_("",!0),e.linkText?(a(),d("div",Bn,[p("p",En,[F(N(e.linkText)+" ",1),t[0]||(t[0]=p("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):_("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),On=$(Hn,[["__scopeId","data-v-f5e9645b"]]),Dn={key:0,class:"VPFeatures"},Fn={class:"container"},Rn={class:"items"},Un=b({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=P(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,n)=>s.features?(a(),d("div",Dn,[p("div",Fn,[p("div",Rn,[(a(!0),d(M,null,B(s.features,i=>(a(),d("div",{key:i.title,class:I(["item",[t.value]])},[g(On,{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))])])])):_("",!0)}}),Gn=$(Un,[["__scopeId","data-v-d0a190d7"]]),jn=b({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=L();return(t,s)=>r(e).features?(a(),k(Gn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):_("",!0)}}),zn=b({__name:"VPHomeContent",setup(o){const{width:e}=qe({initialWidth:0,includeScrollbar:!1});return(t,s)=>(a(),d("div",{class:"vp-doc container",style:Te(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[u(t.$slots,"default",{},void 0,!0)],4))}}),Kn=$(zn,[["__scopeId","data-v-7a48a447"]]),Wn={class:"VPHome"},qn=b({__name:"VPHome",setup(o){const{frontmatter:e}=L();return(t,s)=>{const n=K("Content");return a(),d("div",Wn,[u(t.$slots,"home-hero-before",{},void 0,!0),g(wn,null,{"home-hero-info-before":f(()=>[u(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[u(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[u(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[u(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[u(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(t.$slots,"home-hero-after",{},void 0,!0),u(t.$slots,"home-features-before",{},void 0,!0),g(jn),u(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(Kn,{key:0},{default:f(()=>[g(n)]),_:1})):(a(),k(n,{key:1}))])}}}),Jn=$(qn,[["__scopeId","data-v-cbb6ec48"]]),Yn={},Xn={class:"VPPage"};function Qn(o,e){const t=K("Content");return a(),d("div",Xn,[u(o.$slots,"page-top"),g(t),u(o.$slots,"page-bottom")])}const Zn=$(Yn,[["render",Qn]]),xn=b({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=L(),{hasSidebar:s}=U();return(n,i)=>(a(),d("div",{class:I(["VPContent",{"has-sidebar":r(s),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?u(n.$slots,"not-found",{key:0},()=>[g(mt)],!0):r(t).layout==="page"?(a(),k(Zn,{key:1},{"page-top":f(()=>[u(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[u(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(Jn,{key:2},{"home-hero-before":f(()=>[u(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[u(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[u(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[u(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[u(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[u(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[u(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[u(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[u(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(H(r(t).layout),{key:3})):(a(),k(vn,{key:4},{"doc-top":f(()=>[u(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[u(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":f(()=>[u(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[u(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[u(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":f(()=>[u(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":f(()=>[u(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[u(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[u(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[u(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":f(()=>[u(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),es=$(xn,[["__scopeId","data-v-91765379"]]),ts={class:"container"},ns=["innerHTML"],ss=["innerHTML"],os=b({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=L(),{hasSidebar:s}=U();return(n,i)=>r(e).footer&&r(t).footer!==!1?(a(),d("footer",{key:0,class:I(["VPFooter",{"has-sidebar":r(s)}])},[p("div",ts,[r(e).footer.message?(a(),d("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,ns)):_("",!0),r(e).footer.copyright?(a(),d("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ss)):_("",!0)])],2)):_("",!0)}}),as=$(os,[["__scopeId","data-v-c970a860"]]);function rs(){const{theme:o,frontmatter:e}=L(),t=Se([]),s=P(()=>t.value.length>0);return x(()=>{t.value=_e(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:s}}const is={class:"menu-text"},ls={class:"header"},cs={class:"outline"},us=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=L(),s=T(!1),n=T(0),i=T(),l=T();function v(m){var V;(V=i.value)!=null&&V.contains(m.target)||(s.value=!1)}D(s,m=>{if(m){document.addEventListener("click",v);return}document.removeEventListener("click",v)}),ie("Escape",()=>{s.value=!1}),x(()=>{s.value=!1});function c(){s.value=!s.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),we(()=>{s.value=!1}))}function y(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,V)=>(a(),d("div",{class:"VPLocalNavOutlineDropdown",style:Te({"--vp-vh":n.value+"px"}),ref_key:"main",ref:i},[m.headers.length>0?(a(),d("button",{key:0,onClick:c,class:I({open:s.value})},[p("span",is,N(r(Ae)(r(t))),1),V[0]||(V[0]=p("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),d("button",{key:1,onClick:y},N(r(t).returnToTopLabel||"Return to top"),1)),g(de,{name:"flyout"},{default:f(()=>[s.value?(a(),d("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[p("div",ls,[p("a",{class:"top-link",href:"#",onClick:y},N(r(t).returnToTopLabel||"Return to top"),1)]),p("div",cs,[g(Be,{headers:m.headers},null,8,["headers"])])],512)):_("",!0)]),_:1})],4))}}),ds=$(us,[["__scopeId","data-v-bc9dc845"]]),vs={class:"container"},ps=["aria-expanded"],fs={class:"menu-text"},hs=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=L(),{hasSidebar:s}=U(),{headers:n}=rs(),{y:i}=Ne(),l=T(0);R(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),x(()=>{n.value=_e(t.value.outline??e.value.outline)});const v=P(()=>n.value.length===0),c=P(()=>v.value&&!s.value),h=P(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:v.value,fixed:c.value}));return(y,m)=>r(t).layout!=="home"&&(!c.value||r(i)>=l.value)?(a(),d("div",{key:0,class:I(h.value)},[p("div",vs,[r(s)?(a(),d("button",{key:0,class:"menu","aria-expanded":y.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=V=>y.$emit("open-menu"))},[m[1]||(m[1]=p("span",{class:"vpi-align-left menu-icon"},null,-1)),p("span",fs,N(r(e).sidebarMenuLabel||"Menu"),1)],8,ps)):_("",!0),g(ds,{headers:r(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):_("",!0)}}),ms=$(hs,[["__scopeId","data-v-070ab83d"]]);function _s(){const o=T(!1);function e(){o.value=!0,window.addEventListener("resize",n)}function t(){o.value=!1,window.removeEventListener("resize",n)}function s(){o.value?t():e()}function n(){window.outerWidth>=768&&t()}const i=ee();return D(()=>i.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:s}}const bs={},ks={class:"VPSwitch",type:"button",role:"switch"},gs={class:"check"},$s={key:0,class:"icon"};function ys(o,e){return a(),d("button",ks,[p("span",gs,[o.$slots.default?(a(),d("span",$s,[u(o.$slots,"default",{},void 0,!0)])):_("",!0)])])}const Ps=$(bs,[["render",ys],["__scopeId","data-v-4a1c76db"]]),Vs=b({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=L(),s=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(),k(Ps,{title:n.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(s)},{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=$(Vs,[["__scopeId","data-v-e40a8bb6"]]),Ss={key:0,class:"VPNavBarAppearance"},Ls=b({__name:"VPNavBarAppearance",setup(o){const{site:e}=L();return(t,s)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),d("div",Ss,[g(be)])):_("",!0)}}),Ts=$(Ls,[["__scopeId","data-v-af096f4a"]]),ke=T();let Ee=!1,ae=0;function ws(o){const e=T(!1);if(te){!Ee&&Ns(),ae++;const t=D(ke,s=>{var n,i,l;s===o.el.value||(n=o.el.value)!=null&&n.contains(s)?(e.value=!0,(i=o.onFocus)==null||i.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});pe(()=>{t(),ae--,ae||Is()})}return Je(e)}function Ns(){document.addEventListener("focusin",He),Ee=!0,ke.value=document.activeElement}function Is(){document.removeEventListener("focusin",He)}function He(){ke.value=document.activeElement}const Ms={class:"VPMenuLink"},Cs=b({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=L();return(t,s)=>(a(),d("div",Ms,[g(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(N(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=$(Cs,[["__scopeId","data-v-8b74d055"]]),As={class:"VPMenuGroup"},Bs={key:0,class:"title"},Es=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),d("div",As,[e.text?(a(),d("p",Bs,N(e.text),1)):_("",!0),(a(!0),d(M,null,B(e.items,s=>(a(),d(M,null,["link"in s?(a(),k(ne,{key:0,item:s},null,8,["item"])):_("",!0)],64))),256))]))}}),Hs=$(Es,[["__scopeId","data-v-48c802d0"]]),Os={class:"VPMenu"},Ds={key:0,class:"items"},Fs=b({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(a(),d("div",Os,[e.items?(a(),d("div",Ds,[(a(!0),d(M,null,B(e.items,s=>(a(),d(M,{key:JSON.stringify(s)},["link"in s?(a(),k(ne,{key:0,item:s},null,8,["item"])):"component"in s?(a(),k(H(s.component),j({key:1,ref_for:!0},s.props),null,16)):(a(),k(Hs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):_("",!0),u(e.$slots,"default",{},void 0,!0)]))}}),Rs=$(Fs,[["__scopeId","data-v-7dd3104a"]]),Us=["aria-expanded","aria-label"],Gs={key:0,class:"text"},js=["innerHTML"],zs={key:1,class:"vpi-more-horizontal icon"},Ks={class:"menu"},Ws=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=T(!1),t=T();ws({el:t,onBlur:s});function s(){e.value=!1}return(n,i)=>(a(),d("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(),d("span",Gs,[n.icon?(a(),d("span",{key:0,class:I([n.icon,"option-icon"])},null,2)):_("",!0),n.button?(a(),d("span",{key:1,innerHTML:n.button},null,8,js)):_("",!0),i[3]||(i[3]=p("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),d("span",zs))],8,Us),p("div",Ks,[g(Rs,{items:n.items},{default:f(()=>[u(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ge=$(Ws,[["__scopeId","data-v-04f5c5e9"]]),qs=["href","aria-label","innerHTML"],Js=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=P(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,n)=>(a(),d("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,qs))}}),Ys=$(Js,[["__scopeId","data-v-717b8b75"]]),Xs={class:"VPSocialLinks"},Qs=b({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(a(),d("div",Xs,[(a(!0),d(M,null,B(e.links,({link:s,icon:n,ariaLabel:i})=>(a(),k(Ys,{key:s,icon:n,link:s,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),$e=$(Qs,[["__scopeId","data-v-ee7a9424"]]),Zs={key:0,class:"group translations"},xs={class:"trans-title"},eo={key:1,class:"group"},to={class:"item appearance"},no={class:"label"},so={class:"appearance-action"},oo={key:2,class:"group"},ao={class:"item social-links"},ro=b({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=L(),{localeLinks:s,currentLang:n}=Y({correspondingLink:!0}),i=P(()=>s.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,v)=>i.value?(a(),k(ge,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:f(()=>[r(s).length&&r(n).label?(a(),d("div",Zs,[p("p",xs,N(r(n).label),1),(a(!0),d(M,null,B(r(s),c=>(a(),k(ne,{key:c.link,item:c},null,8,["item"]))),128))])):_("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),d("div",eo,[p("div",to,[p("p",no,N(r(t).darkModeSwitchLabel||"Appearance"),1),p("div",so,[g(be)])])])):_("",!0),r(t).socialLinks?(a(),d("div",oo,[p("div",ao,[g($e,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):_("",!0)]),_:1})):_("",!0)}}),io=$(ro,[["__scopeId","data-v-925effce"]]),lo=["aria-expanded"],co=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(a(),d("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]=s=>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,lo))}}),uo=$(co,[["__scopeId","data-v-5dea55bf"]]),vo=["innerHTML"],po=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=L();return(t,s)=>(a(),k(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,vo)]),_:1},8,["class","href","noIcon","target","rel"]))}}),fo=$(po,[["__scopeId","data-v-ed5ac1f6"]]),Oe=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=L(),s=i=>"component"in i?!1:"link"in i?z(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(s),n=P(()=>s(e.item));return(i,l)=>(a(),k(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"]))}}),ho={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},mo=b({__name:"VPNavBarMenu",setup(o){const{theme:e}=L();return(t,s)=>r(e).nav?(a(),d("nav",ho,[s[0]||(s[0]=p("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),d(M,null,B(r(e).nav,n=>(a(),d(M,{key:JSON.stringify(n)},["link"in n?(a(),k(fo,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(H(n.component),j({key:1,ref_for:!0},n.props),null,16)):(a(),k(Oe,{key:2,item:n},null,8,["item"]))],64))),128))])):_("",!0)}}),_o=$(mo,[["__scopeId","data-v-e6d46098"]]);function bo(o){const{localeIndex:e,theme:t}=L();function s(n){var C,A,w;const i=n.split("."),l=(C=t.value.search)==null?void 0:C.options,v=l&&typeof l=="object",c=v&&((w=(A=l.locales)==null?void 0:A[e.value])==null?void 0:w.translations)||null,h=v&&l.translations||null;let y=c,m=h,V=o;const S=i.pop();for(const E of i){let G=null;const W=V==null?void 0:V[E];W&&(G=V=W);const se=m==null?void 0:m[E];se&&(G=m=se);const oe=y==null?void 0:y[E];oe&&(G=y=oe),W||(V=G),se||(m=G),oe||(y=G)}return(y==null?void 0:y[S])??(m==null?void 0:m[S])??(V==null?void 0:V[S])??""}return s}const ko=["aria-label"],go={class:"DocSearch-Button-Container"},$o={class:"DocSearch-Button-Placeholder"},ye=b({__name:"VPNavBarSearchButton",setup(o){const t=bo({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,n)=>(a(),d("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[p("span",go,[n[0]||(n[0]=p("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),p("span",$o,N(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,ko))}}),yo={class:"VPNavBarSearch"},Po={id:"local-search"},Vo={key:1,id:"docsearch"},So=b({__name:"VPNavBarSearch",setup(o){const e=Ye(()=>Xe(()=>import("./VPLocalSearchBox.96yseQxt.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=L(),n=T(!1),i=T(!1);R(()=>{});function l(){n.value||(n.value=!0,setTimeout(v,16))}function v(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||v()},16)}function c(m){const V=m.target,S=V.tagName;return V.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const h=T(!1);ie("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),ie("/",m=>{c(m)||(m.preventDefault(),h.value=!0)});const y="local";return(m,V)=>{var S;return a(),d("div",yo,[r(y)==="local"?(a(),d(M,{key:0},[h.value?(a(),k(r(e),{key:0,onClose:V[0]||(V[0]=C=>h.value=!1)})):_("",!0),p("div",Po,[g(ye,{onClick:V[1]||(V[1]=C=>h.value=!0)})])],64)):r(y)==="algolia"?(a(),d(M,{key:1},[n.value?(a(),k(r(t),{key:0,algolia:((S=r(s).search)==null?void 0:S.options)??r(s).algolia,onVnodeBeforeMount:V[2]||(V[2]=C=>i.value=!0)},null,8,["algolia"])):_("",!0),i.value?_("",!0):(a(),d("div",Vo,[g(ye,{onClick:l})]))],64)):_("",!0)])}}}),Lo=b({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=L();return(t,s)=>r(e).socialLinks?(a(),k($e,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):_("",!0)}}),To=$(Lo,[["__scopeId","data-v-164c457f"]]),wo=["href","rel","target"],No={key:1},Io={key:2},Mo=b({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=L(),{hasSidebar:s}=U(),{currentLang:n}=Y(),i=P(()=>{var c;return typeof t.value.logoLink=="string"?t.value.logoLink:(c=t.value.logoLink)==null?void 0:c.link}),l=P(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.rel}),v=P(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.target});return(c,h)=>(a(),d("div",{class:I(["VPNavBarTitle",{"has-sidebar":r(s)}])},[p("a",{class:"title",href:i.value??r(me)(r(n).link),rel:l.value,target:v.value},[u(c.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):_("",!0),r(t).siteTitle?(a(),d("span",No,N(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),d("span",Io,N(r(e).title),1)):_("",!0),u(c.$slots,"nav-bar-title-after",{},void 0,!0)],8,wo)],2))}}),Co=$(Mo,[["__scopeId","data-v-28a961f9"]]),Ao={class:"items"},Bo={class:"title"},Eo=b({__name:"VPNavBarTranslations",setup(o){const{theme:e}=L(),{localeLinks:t,currentLang:s}=Y({correspondingLink:!0});return(n,i)=>r(t).length&&r(s).label?(a(),k(ge,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:f(()=>[p("div",Ao,[p("p",Bo,N(r(s).label),1),(a(!0),d(M,null,B(r(t),l=>(a(),k(ne,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):_("",!0)}}),Ho=$(Eo,[["__scopeId","data-v-c80d9ad0"]]),Oo={class:"wrapper"},Do={class:"container"},Fo={class:"title"},Ro={class:"content"},Uo={class:"content-body"},Go=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=Ne(),{hasSidebar:s}=U(),{frontmatter:n}=L(),i=T({});return fe(()=>{i.value={"has-sidebar":s.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,v)=>(a(),d("div",{class:I(["VPNavBar",i.value])},[p("div",Oo,[p("div",Do,[p("div",Fo,[g(Co,null,{"nav-bar-title-before":f(()=>[u(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[u(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),p("div",Ro,[p("div",Uo,[u(l.$slots,"nav-bar-content-before",{},void 0,!0),g(So,{class:"search"}),g(_o,{class:"menu"}),g(Ho,{class:"translations"}),g(Ts,{class:"appearance"}),g(To,{class:"social-links"}),g(io,{class:"extra"}),u(l.$slots,"nav-bar-content-after",{},void 0,!0),g(uo,{class:"hamburger",active:l.isScreenOpen,onClick:v[0]||(v[0]=c=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),v[1]||(v[1]=p("div",{class:"divider"},[p("div",{class:"divider-line"})],-1))],2))}}),jo=$(Go,[["__scopeId","data-v-822684d1"]]),zo={key:0,class:"VPNavScreenAppearance"},Ko={class:"text"},Wo=b({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=L();return(s,n)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),d("div",zo,[p("p",Ko,N(r(t).darkModeSwitchLabel||"Appearance"),1),g(be)])):_("",!0)}}),qo=$(Wo,[["__scopeId","data-v-ffb44008"]]),Jo=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=q("close-screen");return(t,s)=>(a(),k(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"]))}}),Yo=$(Jo,[["__scopeId","data-v-27d04aeb"]]),Xo=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=q("close-screen");return(t,s)=>(a(),k(O,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:f(()=>[F(N(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),De=$(Xo,[["__scopeId","data-v-7179dbb7"]]),Qo={class:"VPNavScreenMenuGroupSection"},Zo={key:0,class:"title"},xo=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(a(),d("div",Qo,[e.text?(a(),d("p",Zo,N(e.text),1)):_("",!0),(a(!0),d(M,null,B(e.items,s=>(a(),k(De,{key:s.text,item:s},null,8,["item"]))),128))]))}}),ea=$(xo,[["__scopeId","data-v-4b8941ac"]]),ta=["aria-controls","aria-expanded"],na=["innerHTML"],sa=["id"],oa={key:0,class:"item"},aa={key:1,class:"item"},ra={key:2,class:"group"},ia=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=T(!1),s=P(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(i,l)=>(a(),d("div",{class:I(["VPNavScreenMenuGroup",{open:t.value}])},[p("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:n},[p("span",{class:"button-text",innerHTML:i.text},null,8,na),l[0]||(l[0]=p("span",{class:"vpi-plus button-icon"},null,-1))],8,ta),p("div",{id:s.value,class:"items"},[(a(!0),d(M,null,B(i.items,v=>(a(),d(M,{key:JSON.stringify(v)},["link"in v?(a(),d("div",oa,[g(De,{item:v},null,8,["item"])])):"component"in v?(a(),d("div",aa,[(a(),k(H(v.component),j({ref_for:!0},v.props,{"screen-menu":""}),null,16))])):(a(),d("div",ra,[g(ea,{text:v.text,items:v.items},null,8,["text","items"])]))],64))),128))],8,sa)],2))}}),Fe=$(ia,[["__scopeId","data-v-875057a5"]]),la={key:0,class:"VPNavScreenMenu"},ca=b({__name:"VPNavScreenMenu",setup(o){const{theme:e}=L();return(t,s)=>r(e).nav?(a(),d("nav",la,[(a(!0),d(M,null,B(r(e).nav,n=>(a(),d(M,{key:JSON.stringify(n)},["link"in n?(a(),k(Yo,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(H(n.component),j({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(a(),k(Fe,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):_("",!0)}}),ua=b({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=L();return(t,s)=>r(e).socialLinks?(a(),k($e,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):_("",!0)}}),da={class:"list"},va=b({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=Y({correspondingLink:!0}),s=T(!1);function n(){s.value=!s.value}return(i,l)=>r(e).length&&r(t).label?(a(),d("div",{key:0,class:I(["VPNavScreenTranslations",{open:s.value}])},[p("button",{class:"title",onClick:n},[l[0]||(l[0]=p("span",{class:"vpi-languages icon lang"},null,-1)),F(" "+N(r(t).label)+" ",1),l[1]||(l[1]=p("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),p("ul",da,[(a(!0),d(M,null,B(r(e),v=>(a(),d("li",{key:v.link,class:"item"},[g(O,{class:"link",href:v.link},{default:f(()=>[F(N(v.text),1)]),_:2},1032,["href"])]))),128))])],2)):_("",!0)}}),pa=$(va,[["__scopeId","data-v-362991c2"]]),fa={class:"container"},ha=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=T(null),t=Ie(te?document.body:null);return(s,n)=>(a(),k(de,{name:"fade",onEnter:n[0]||(n[0]=i=>t.value=!0),onAfterLeave:n[1]||(n[1]=i=>t.value=!1)},{default:f(()=>[s.open?(a(),d("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[p("div",fa,[u(s.$slots,"nav-screen-content-before",{},void 0,!0),g(ca,{class:"menu"}),g(pa,{class:"translations"}),g(qo,{class:"appearance"}),g(ua,{class:"social-links"}),u(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):_("",!0)]),_:3}))}}),ma=$(ha,[["__scopeId","data-v-833aabba"]]),_a={key:0,class:"VPNav"},ba=b({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=_s(),{frontmatter:n}=L(),i=P(()=>n.value.navbar!==!1);return he("close-screen",t),Z(()=>{te&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(l,v)=>i.value?(a(),d("header",_a,[g(jo,{"is-screen-open":r(e),onToggleScreen:r(s)},{"nav-bar-title-before":f(()=>[u(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[u(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[u(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[u(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),g(ma,{open:r(e)},{"nav-screen-content-before":f(()=>[u(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[u(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):_("",!0)}}),ka=$(ba,[["__scopeId","data-v-f1e365da"]]),ga=["role","tabindex"],$a={key:1,class:"items"},ya=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:s,isLink:n,isActiveLink:i,hasActiveLink:l,hasChildren:v,toggle:c}=gt(P(()=>e.item)),h=P(()=>v.value?"section":"div"),y=P(()=>n.value?"a":"div"),m=P(()=>v.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=P(()=>n.value?void 0:"button"),S=P(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":n.value},{"is-active":i.value},{"has-active":l.value}]);function C(w){"key"in w&&w.key!=="Enter"||!e.item.link&&c()}function A(){e.item.link&&c()}return(w,E)=>{const G=K("VPSidebarItem",!0);return a(),k(H(h.value),{class:I(["VPSidebarItem",S.value])},{default:f(()=>[w.item.text?(a(),d("div",j({key:0,class:"item",role:V.value},Qe(w.item.items?{click:C,keydown:C}:{},!0),{tabindex:w.item.items&&0}),[E[1]||(E[1]=p("div",{class:"indicator"},null,-1)),w.item.link?(a(),k(O,{key:0,tag:y.value,class:"link",href:w.item.link,rel:w.item.rel,target:w.item.target},{default:f(()=>[(a(),k(H(m.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(H(m.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null&&w.item.items&&w.item.items.length?(a(),d("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Ze(A,["enter"]),tabindex:"0"},E[0]||(E[0]=[p("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):_("",!0)],16,ga)):_("",!0),w.item.items&&w.item.items.length?(a(),d("div",$a,[w.depth<5?(a(!0),d(M,{key:0},B(w.item.items,W=>(a(),k(G,{key:W.text,item:W,depth:w.depth+1},null,8,["item","depth"]))),128)):_("",!0)])):_("",!0)]),_:1},8,["class"])}}}),Pa=$(ya,[["__scopeId","data-v-196b2e5f"]]),Va=b({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=T(!0);let t=null;return R(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),xe(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,n)=>(a(!0),d(M,null,B(s.items,i=>(a(),d("div",{key:i.text,class:I(["group",{"no-transition":e.value}])},[g(Pa,{item:i,depth:0},null,8,["item"])],2))),128))}}),Sa=$(Va,[["__scopeId","data-v-9e426adc"]]),La={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Ta=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=U(),s=o,n=T(null),i=Ie(te?document.body:null);D([s,n],()=>{var v;s.open?(i.value=!0,(v=n.value)==null||v.focus()):i.value=!1},{immediate:!0,flush:"post"});const l=T(0);return D(e,()=>{l.value+=1},{deep:!0}),(v,c)=>r(t)?(a(),d("aside",{key:0,class:I(["VPSidebar",{open:v.open}]),ref_key:"navEl",ref:n,onClick:c[0]||(c[0]=et(()=>{},["stop"]))},[c[2]||(c[2]=p("div",{class:"curtain"},null,-1)),p("nav",La,[c[1]||(c[1]=p("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),u(v.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(Sa,{items:r(e),key:l.value},null,8,["items"])),u(v.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):_("",!0)}}),wa=$(Ta,[["__scopeId","data-v-18756405"]]),Na=b({__name:"VPSkipLink",setup(o){const e=ee(),t=T();D(()=>e.path,()=>t.value.focus());function s({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(),d(M,null,[p("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),p("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),Ia=$(Na,[["__scopeId","data-v-c3508ec8"]]),Ma=b({__name:"Layout",setup(o){const{isOpen:e,open:t,close:s}=U(),n=ee();D(()=>n.path,s),kt(e,s);const{frontmatter:i}=L(),l=Me(),v=P(()=>!!l["home-hero-image"]);return he("hero-image-slot-exists",v),(c,h)=>{const y=K("Content");return r(i).layout!==!1?(a(),d("div",{key:0,class:I(["Layout",r(i).pageClass])},[u(c.$slots,"layout-top",{},void 0,!0),g(Ia),g(rt,{class:"backdrop",show:r(e),onClick:r(s)},null,8,["show","onClick"]),g(ka,null,{"nav-bar-title-before":f(()=>[u(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[u(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[u(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[u(c.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":f(()=>[u(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[u(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),g(ms,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),g(wa,{open:r(e)},{"sidebar-nav-before":f(()=>[u(c.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":f(()=>[u(c.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),g(es,null,{"page-top":f(()=>[u(c.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[u(c.$slots,"page-bottom",{},void 0,!0)]),"not-found":f(()=>[u(c.$slots,"not-found",{},void 0,!0)]),"home-hero-before":f(()=>[u(c.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[u(c.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[u(c.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[u(c.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[u(c.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[u(c.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[u(c.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[u(c.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[u(c.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":f(()=>[u(c.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[u(c.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[u(c.$slots,"doc-after",{},void 0,!0)]),"doc-top":f(()=>[u(c.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[u(c.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":f(()=>[u(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[u(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[u(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[u(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[u(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[u(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),g(as),u(c.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(y,{key:1}))}}}),Ca=$(Ma,[["__scopeId","data-v-a9a9e638"]]),Aa={Layout:Ca,enhanceApp:({app:o})=>{o.component("Badge",st)}},Ba=o=>{if(typeof document>"u")return{stabilizeScrollPosition:n=>async(...i)=>n(...i)};const e=document.documentElement;return{stabilizeScrollPosition:s=>async(...n)=>{const i=s(...n),l=o.value;if(!l)return i;const v=l.offsetTop-e.scrollTop;return await we(),e.scrollTop=l.offsetTop-v,i}}},Re="vitepress:tabSharedState",J=typeof localStorage<"u"?localStorage:null,Ue="vitepress:tabsSharedState",Ea=()=>{const o=J==null?void 0:J.getItem(Ue);if(o)try{return JSON.parse(o)}catch{}return{}},Ha=o=>{J&&J.setItem(Ue,JSON.stringify(o))},Oa=o=>{const e=tt({});D(()=>e.content,(t,s)=>{t&&s&&Ha(t)},{deep:!0}),o.provide(Re,e)},Da=(o,e)=>{const t=q(Re);if(!t)throw new Error("[vitepress-plugin-tabs] TabsSharedState should be injected");R(()=>{t.content||(t.content=Ea())});const s=T(),n=P({get(){var c;const l=e.value,v=o.value;if(l){const h=(c=t.content)==null?void 0:c[l];if(h&&v.includes(h))return h}else{const h=s.value;if(h)return h}return v[0]},set(l){const v=e.value;v?t.content&&(t.content[v]=l):s.value=l}});return{selected:n,select:l=>{n.value=l}}};let Pe=0;const Fa=()=>(Pe++,""+Pe);function Ra(){const o=Me();return P(()=>{var s;const t=(s=o.default)==null?void 0:s.call(o);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 Ge="vitepress:tabSingleState",Ua=o=>{he(Ge,o)},Ga=()=>{const o=q(Ge);if(!o)throw new Error("[vitepress-plugin-tabs] TabsSingleState should be injected");return o},ja={class:"plugin-tabs"},za=["id","aria-selected","aria-controls","tabindex","onClick"],Ka=b({__name:"PluginTabs",props:{sharedStateKey:{}},setup(o){const e=o,t=Ra(),{selected:s,select:n}=Da(t,nt(e,"sharedStateKey")),i=T(),{stabilizeScrollPosition:l}=Ba(i),v=l(n),c=T([]),h=m=>{var C;const V=t.value.indexOf(s.value);let S;m.key==="ArrowLeft"?S=V>=1?V-1:t.value.length-1:m.key==="ArrowRight"&&(S=V(a(),d("div",ja,[p("div",{ref_key:"tablist",ref:i,class:"plugin-tabs--tab-list",role:"tablist",onKeydown:h},[(a(!0),d(M,null,B(r(t),S=>(a(),d("button",{id:`tab-${S}-${r(y)}`,ref_for:!0,ref_key:"buttonRefs",ref:c,key:S,role:"tab",class:"plugin-tabs--tab","aria-selected":S===r(s),"aria-controls":`panel-${S}-${r(y)}`,tabindex:S===r(s)?0:-1,onClick:()=>r(v)(S)},N(S),9,za))),128))],544),u(m.$slots,"default")]))}}),Wa=["id","aria-labelledby"],qa=b({__name:"PluginTabsTab",props:{label:{}},setup(o){const{uid:e,selected:t}=Ga();return(s,n)=>r(t)===s.label?(a(),d("div",{key:0,id:`panel-${s.label}-${r(e)}`,class:"plugin-tabs--content",role:"tabpanel",tabindex:"0","aria-labelledby":`tab-${s.label}-${r(e)}`},[u(s.$slots,"default",{},void 0,!0)],8,Wa)):_("",!0)}}),Ja=$(qa,[["__scopeId","data-v-9b0d03d2"]]),Ya=o=>{Oa(o),o.component("PluginTabs",Ka),o.component("PluginTabsTab",Ja)},Xa=b({__name:"VersionPicker",props:{screenMenu:{type:Boolean}},setup(o){const e=T([]),t=T("Versions"),s=T(!1);Ve();const n=()=>typeof window<"u"&&(window.location.hostname==="localhost"||window.location.hostname==="127.0.0.1"),i=()=>{if(typeof window>"u")return"";const{origin:c,pathname:h}=window.location;if(c.includes("github.io")){const y=h.split("/").filter(Boolean),m=y.length>0?`/${y[0]}/`:"/";return`${c}${m}`}else return c},l=()=>new Promise(c=>{if(n()){c(!1);return}const h=setInterval(()=>{window.DOC_VERSIONS&&window.DOCUMENTER_CURRENT_VERSION&&(clearInterval(h),c(!0))},100);setTimeout(()=>{clearInterval(h),c(!1)},5e3)});return R(async()=>{if(!(typeof window>"u")){try{if(n()){const c=["dev"];e.value=c.map(h=>({text:h,link:"/"})),t.value="dev"}else{const c=await l(),h=P(()=>i());if(c&&window.DOC_VERSIONS&&window.DOCUMENTER_CURRENT_VERSION)e.value=window.DOC_VERSIONS.map(y=>({text:y,link:`${h.value}/${y}/`})),t.value=window.DOCUMENTER_CURRENT_VERSION;else{const y=["dev"];e.value=y.map(m=>({text:m,link:`${h.value}/${m}/`})),t.value="dev"}}}catch(c){console.warn("Error loading versions:",c);const h=["dev"],y=P(()=>i());e.value=h.map(m=>({text:m,link:`${y.value}/${m}/`})),t.value="dev"}s.value=!0}}),(c,h)=>s.value?(a(),d(M,{key:0},[!c.screenMenu&&e.value.length>0?(a(),k(Oe,{key:0,item:{text:t.value,items:e.value},class:"VPVersionPicker"},null,8,["item"])):c.screenMenu&&e.value.length>0?(a(),k(Fe,{key:1,text:t.value,items:e.value,class:"VPVersionPicker"},null,8,["text","items"])):_("",!0)],64)):_("",!0)}}),Qa=$(Xa,[["__scopeId","data-v-f465cb49"]]),xa={extends:Aa,enhanceApp({app:o,router:e,siteData:t}){Ya(o),o.component("VersionPicker",Qa)}};export{xa as R,bo as c,L as u}; diff --git a/dev/assets/cuda.md.DmbWVZki.js b/dev/assets/cuda.md.D8Q-T0cP.js similarity index 86% rename from dev/assets/cuda.md.DmbWVZki.js rename to dev/assets/cuda.md.D8Q-T0cP.js index e5a3dd9c8..85a3529d8 100644 --- a/dev/assets/cuda.md.DmbWVZki.js +++ b/dev/assets/cuda.md.D8Q-T0cP.js @@ -1,10 +1,10 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.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
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.BAAK0EyE.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
+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 ┐
@@ -25,4 +25,4 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.js";const C
   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}; +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 convert 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, so Name{:layer_name}() replaces :layer_name.

  • Metadata dictionaries need to be stripped, as 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/dev/assets/cuda.md.DmbWVZki.lean.js b/dev/assets/cuda.md.D8Q-T0cP.lean.js similarity index 86% rename from dev/assets/cuda.md.DmbWVZki.lean.js rename to dev/assets/cuda.md.D8Q-T0cP.lean.js index e5a3dd9c8..85a3529d8 100644 --- a/dev/assets/cuda.md.DmbWVZki.lean.js +++ b/dev/assets/cuda.md.D8Q-T0cP.lean.js @@ -1,10 +1,10 @@ -import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.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
+import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.BAAK0EyE.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
+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 ┐
@@ -25,4 +25,4 @@ import{_ as i,c as a,a4 as n,o as h}from"./chunks/framework.B8l2DGq3.js";const C
   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}; +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 convert 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, so Name{:layer_name}() replaces :layer_name.

  • Metadata dictionaries need to be stripped, as 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/dev/assets/dcljjmm.DHFgsALw.png b/dev/assets/dcljjmm.DHFgsALw.png new file mode 100644 index 000000000..f85d47902 Binary files /dev/null and b/dev/assets/dcljjmm.DHFgsALw.png differ diff --git a/dev/assets/dimarrays.md.DAoE3lud.js b/dev/assets/dimarrays.md.BoEU5ZVn.js similarity index 73% rename from dev/assets/dimarrays.md.DAoE3lud.js rename to dev/assets/dimarrays.md.BoEU5ZVn.js index 7379f4ce8..372b1b8c9 100644 --- a/dev/assets/dimarrays.md.DAoE3lud.js +++ b/dev/assets/dimarrays.md.BoEU5ZVn.js @@ -1,45 +1,45 @@ -import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./chunks/framework.B8l2DGq3.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=k("PluginTabsTab"),n=k("PluginTabs");return g(),p("div",null,[a[5]||(a[5]=l(`

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
+import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./chunks/framework.BAAK0EyE.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=k("PluginTabsTab"),n=k("PluginTabs");return g(),p("div",null,[a[5]||(a[5]=l(`

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))
╭──────────────────────────╮
+ 0.827655   0.0102884  0.688175  0.254555  …  0.628275   0.517329  0.886959
+ 0.223602   0.737979   0.996807  0.124594     0.0959042  0.628507  0.893267
+ 0.0392779  0.792885   0.249616  0.519235     0.0315486  0.113704  0.997572
+ 0.451879   0.846175   0.373575  0.891743     0.700389   0.958811  0.68136
+ 0.689712   0.0927459  0.765773  0.273573     0.688928   0.761347  0.596077
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(` + 0.827655 0.0102884 0.688175 0.254555 … 0.628275 0.517329 0.886959 + 0.223602 0.737979 0.996807 0.124594 0.0959042 0.628507 0.893267 + 0.0392779 0.792885 0.249616 0.519235 0.0315486 0.113704 0.997572 + 0.451879 0.846175 0.373575 0.891743 0.700389 0.958811 0.68136 + 0.689712 0.0927459 0.765773 0.273573 0.688928 0.761347 0.596077

We can access a value with the same dimension wrappers:

julia
julia> da[Y(1), X(2)]
0.2236016853688918

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.670688 0.534915 0.111072 0.194465 … 0.121525 0.797168 0.0239356")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.741593 0.707692 0.879899 0.813705 0.601833 0.826098 0.493417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.119505 0.0999314 0.403111 0.755958 0.289335 0.542251 0.0622255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.775377 0.217733 0.865298 0.876395 0.108514 0.306932 0.627107")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.576903 0.950338 0.854076 0.511978 0.866334 0.905021 0.0238569")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.670688 0.534915 0.111072 0.194465 … 0.121525 0.797168 0.0239356")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.741593 0.707692 0.879899 0.813705 0.601833 0.826098 0.493417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.119505 0.0999314 0.403111 0.755958 0.289335 0.542251 0.0622255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.775377 0.217733 0.865298 0.876395 0.108514 0.306932 0.627107")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.576903 0.950338 0.854076 0.511978 0.866334 0.905021 0.0238569")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.670688 0.534915 0.111072 0.194465 … 0.121525 0.797168 0.0239356")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.741593 0.707692 0.879899 0.813705 0.601833 0.826098 0.493417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.119505 0.0999314 0.403111 0.755958 0.289335 0.542251 0.0622255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.775377 0.217733 0.865298 0.876395 0.108514 0.306932 0.627107")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.576903 0.950338 0.854076 0.511978 0.866334 0.905021 0.0238569")])])])],-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(` @@ -84,22 +84,22 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch `),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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.227455 0.764613 0.7826 0.625257 … 0.374451 0.629882 0.0140644")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.67178 0.760205 0.796812 0.0707995 0.661715 0.321923 0.0697249")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.677207 0.553558 0.280686 0.054613 0.557524 0.342437 0.392848")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.768325 0.667976 0.917543 0.8234 0.874037 0.847981 0.126976")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.514177 0.413756 0.0621546 0.700218 0.15388 0.912676 0.222681")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.934419 0.176197 0.675467 0.208384 … 0.273986 0.509231 0.299799")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.677974 0.468066 0.347379 0.541438 0.385262 0.52496 0.468184")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0599255 0.247198 0.813229 0.391395 0.208542 0.750146 0.106224")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.557369 0.261741 0.44104 0.178902 0.561365 0.475747 0.264242")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.104867 0.497181 0.570254 0.906883 0.986207 0.0287126 0.108968")])])])],-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(` @@ -124,44 +124,44 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch ├─────────────────────────┴──────────────────────────────── 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]
╭───────────────────────────────╮
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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))
╭────────────────────────────╮
+ 0.910981
+ 0.503823
+ 0.488029

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))]
╭───────────────────────────────╮
+ 0.41173   0.0789906  0.655936    0.762722   0.56273    0.0160205  0.640693
+ 0.228294  0.687236   0.345046    0.749573   0.949769   0.783195   0.591606
+ 0.258576  0.89609    0.00337686  0.99118    0.169845   0.159817   0.784693
+ 0.295346  0.768639   0.754468    0.0738813  0.675126   0.968484   0.243035
+ 0.254627  0.411529   0.629352    0.285205   0.18989    0.891663   0.597808
+ 0.435719  0.0450386  0.0531003   0.385452   0.322612   0.667691   0.906601
+ 0.88841   0.571658   0.991676    0.677848   0.697976   0.971252   0.776593
+ 0.284399  0.196524   0.119937    0.493258   0.342919   0.866772   0.0990347
+ 0.192286  0.765808   0.502499    0.404773   0.0623616  0.627002   0.184813
+ 0.762199  0.159233   0.769884    0.74428    0.606279   0.351096   0.268379
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}}}:
+ 0.644748
+ 0.493072
+ 0.316833
+ 0.372311
+ 0.313185
+ 0.494267
+ 0.705582

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]
╭─────────────────────────╮
@@ -170,66 +170,66 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch
 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)]
╭──────────────────────────╮
+  (3, 5)    (7, 4)     (8, 2)
+ 0.644748  0.510196   0.528138
+ 0.493072  0.925624   0.142957
+ 0.316833  0.485321   0.708081
+ 0.372311  0.676945   0.406221
+ 0.313185  0.0379776  0.6778
+ 0.494267  0.287739   0.155826
+ 0.705582  0.996358   0.638336

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.
+ 0.655936    0.853835  0.870583   0.0578313  0.971794
+ 0.345046    0.17597   0.638072   0.136127   0.962808
+ 0.00337686  0.378395  0.0314382  0.310753   0.316833
+ 0.754468    0.188864  0.614012   0.883048   0.191049
+ 0.629352    0.190726  0.338669   0.105539   0.925844
+ 0.0531003   0.876115  0.945147   0.873096   0.342887
+ 0.991676    0.702956  0.281077   0.485321   0.798621
+ 0.119937    0.708081  0.0363983  0.247755   0.527261
+ 0.502499    0.641023  0.0104608  0.10233    0.635425
+ 0.769884    0.37821   0.881533   0.535933   0.454033

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.
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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))
╭───────────────────────────╮
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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)
╭───────────────────────────╮
+ 0.573147   0.206406  0.916702  0.481184
+ 0.0760848  0.94412   0.48817   0.758865
+ 0.0992684  0.917457  0.811947  0.0641884
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
+ 2.89248  1.86986  2.12435  1.86194
+ 1.29325  2.76668  2.64923  2.70488
+ 1.11475  3.10914  3.02098  2.35189

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}
@@ -239,21 +239,21 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch
  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):  2.785 ns18.735 ns GC (min … max): 0.00% … 0.00%
- Time  (median):     2.795 ns               GC (median):    0.00%
- Time  (mean ± σ):   2.822 ns ±  0.462 ns GC (mean ± σ):  0.00% ± 0.00%
+ Range (minmax):  3.095 ns19.216 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.106 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.118 ns ±  0.327 ns GC (mean ± σ):  0.00% ± 0.00%
 
-                                            
-
-  2.78 ns        Histogram: frequency by time        2.83 ns <
+                            
+
+  3.1 ns         Histogram: frequency by time        3.12 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 ns17.072 ns GC (min … max): 0.00% … 0.00%
- Time  (median):     3.105 ns               GC (median):    0.00%
- Time  (mean ± σ):   3.136 ns ±  0.481 ns GC (mean ± σ):  0.00% ± 0.00%
+ Range (minmax):  3.095 ns27.762 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.106 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.125 ns ±  0.396 ns GC (mean ± σ):  0.00% ± 0.00%
 
-
-
-  3.1 ns       Histogram: log(frequency) by time     3.14 ns <
+
+
+  3.1 ns       Histogram: log(frequency) by time     3.67 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/dev/assets/dimarrays.md.DAoE3lud.lean.js b/dev/assets/dimarrays.md.BoEU5ZVn.lean.js similarity index 73% rename from dev/assets/dimarrays.md.DAoE3lud.lean.js rename to dev/assets/dimarrays.md.BoEU5ZVn.lean.js index 7379f4ce8..372b1b8c9 100644 --- a/dev/assets/dimarrays.md.DAoE3lud.lean.js +++ b/dev/assets/dimarrays.md.BoEU5ZVn.lean.js @@ -1,45 +1,45 @@ -import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./chunks/framework.B8l2DGq3.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=k("PluginTabsTab"),n=k("PluginTabs");return g(),p("div",null,[a[5]||(a[5]=l(`

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
+import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./chunks/framework.BAAK0EyE.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=k("PluginTabsTab"),n=k("PluginTabs");return g(),p("div",null,[a[5]||(a[5]=l(`

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))
╭──────────────────────────╮
+ 0.827655   0.0102884  0.688175  0.254555  …  0.628275   0.517329  0.886959
+ 0.223602   0.737979   0.996807  0.124594     0.0959042  0.628507  0.893267
+ 0.0392779  0.792885   0.249616  0.519235     0.0315486  0.113704  0.997572
+ 0.451879   0.846175   0.373575  0.891743     0.700389   0.958811  0.68136
+ 0.689712   0.0927459  0.765773  0.273573     0.688928   0.761347  0.596077
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(` + 0.827655 0.0102884 0.688175 0.254555 … 0.628275 0.517329 0.886959 + 0.223602 0.737979 0.996807 0.124594 0.0959042 0.628507 0.893267 + 0.0392779 0.792885 0.249616 0.519235 0.0315486 0.113704 0.997572 + 0.451879 0.846175 0.373575 0.891743 0.700389 0.958811 0.68136 + 0.689712 0.0927459 0.765773 0.273573 0.688928 0.761347 0.596077

We can access a value with the same dimension wrappers:

julia
julia> da[Y(1), X(2)]
0.2236016853688918

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.670688 0.534915 0.111072 0.194465 … 0.121525 0.797168 0.0239356")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.741593 0.707692 0.879899 0.813705 0.601833 0.826098 0.493417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.119505 0.0999314 0.403111 0.755958 0.289335 0.542251 0.0622255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.775377 0.217733 0.865298 0.876395 0.108514 0.306932 0.627107")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.576903 0.950338 0.854076 0.511978 0.866334 0.905021 0.0238569")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.670688 0.534915 0.111072 0.194465 … 0.121525 0.797168 0.0239356")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.741593 0.707692 0.879899 0.813705 0.601833 0.826098 0.493417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.119505 0.0999314 0.403111 0.755958 0.289335 0.542251 0.0622255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.775377 0.217733 0.865298 0.876395 0.108514 0.306932 0.627107")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.576903 0.950338 0.854076 0.511978 0.866334 0.905021 0.0238569")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.670688 0.534915 0.111072 0.194465 … 0.121525 0.797168 0.0239356")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.741593 0.707692 0.879899 0.813705 0.601833 0.826098 0.493417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.119505 0.0999314 0.403111 0.755958 0.289335 0.542251 0.0622255")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.775377 0.217733 0.865298 0.876395 0.108514 0.306932 0.627107")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.576903 0.950338 0.854076 0.511978 0.866334 0.905021 0.0238569")])])])],-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(` @@ -84,22 +84,22 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch `),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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.227455 0.764613 0.7826 0.625257 … 0.374451 0.629882 0.0140644")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.67178 0.760205 0.796812 0.0707995 0.661715 0.321923 0.0697249")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.677207 0.553558 0.280686 0.054613 0.557524 0.342437 0.392848")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.768325 0.667976 0.917543 0.8234 0.874037 0.847981 0.126976")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.514177 0.413756 0.0621546 0.700218 0.15388 0.912676 0.222681")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.934419 0.176197 0.675467 0.208384 … 0.273986 0.509231 0.299799")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.677974 0.468066 0.347379 0.541438 0.385262 0.52496 0.468184")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0599255 0.247198 0.813229 0.391395 0.208542 0.750146 0.106224")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.557369 0.261741 0.44104 0.178902 0.561365 0.475747 0.264242")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.104867 0.497181 0.570254 0.906883 0.986207 0.0287126 0.108968")])])])],-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(` @@ -124,44 +124,44 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch ├─────────────────────────┴──────────────────────────────── 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]
╭───────────────────────────────╮
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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))
╭────────────────────────────╮
+ 0.910981
+ 0.503823
+ 0.488029

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))]
╭───────────────────────────────╮
+ 0.41173   0.0789906  0.655936    0.762722   0.56273    0.0160205  0.640693
+ 0.228294  0.687236   0.345046    0.749573   0.949769   0.783195   0.591606
+ 0.258576  0.89609    0.00337686  0.99118    0.169845   0.159817   0.784693
+ 0.295346  0.768639   0.754468    0.0738813  0.675126   0.968484   0.243035
+ 0.254627  0.411529   0.629352    0.285205   0.18989    0.891663   0.597808
+ 0.435719  0.0450386  0.0531003   0.385452   0.322612   0.667691   0.906601
+ 0.88841   0.571658   0.991676    0.677848   0.697976   0.971252   0.776593
+ 0.284399  0.196524   0.119937    0.493258   0.342919   0.866772   0.0990347
+ 0.192286  0.765808   0.502499    0.404773   0.0623616  0.627002   0.184813
+ 0.762199  0.159233   0.769884    0.74428    0.606279   0.351096   0.268379
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}}}:
+ 0.644748
+ 0.493072
+ 0.316833
+ 0.372311
+ 0.313185
+ 0.494267
+ 0.705582

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]
╭─────────────────────────╮
@@ -170,66 +170,66 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch
 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)]
╭──────────────────────────╮
+  (3, 5)    (7, 4)     (8, 2)
+ 0.644748  0.510196   0.528138
+ 0.493072  0.925624   0.142957
+ 0.316833  0.485321   0.708081
+ 0.372311  0.676945   0.406221
+ 0.313185  0.0379776  0.6778
+ 0.494267  0.287739   0.155826
+ 0.705582  0.996358   0.638336

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.
+ 0.655936    0.853835  0.870583   0.0578313  0.971794
+ 0.345046    0.17597   0.638072   0.136127   0.962808
+ 0.00337686  0.378395  0.0314382  0.310753   0.316833
+ 0.754468    0.188864  0.614012   0.883048   0.191049
+ 0.629352    0.190726  0.338669   0.105539   0.925844
+ 0.0531003   0.876115  0.945147   0.873096   0.342887
+ 0.991676    0.702956  0.281077   0.485321   0.798621
+ 0.119937    0.708081  0.0363983  0.247755   0.527261
+ 0.502499    0.641023  0.0104608  0.10233    0.635425
+ 0.769884    0.37821   0.881533   0.535933   0.454033

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.
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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))
╭───────────────────────────╮
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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)
╭───────────────────────────╮
+ 0.573147   0.206406  0.916702  0.481184
+ 0.0760848  0.94412   0.48817   0.758865
+ 0.0992684  0.917457  0.811947  0.0641884
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
+ 2.89248  1.86986  2.12435  1.86194
+ 1.29325  2.76668  2.64923  2.70488
+ 1.11475  3.10914  3.02098  2.35189

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}
@@ -239,21 +239,21 @@ import{_ as d,c as p,a4 as l,G as h,w as e,B as k,o as g,j as i,a as s}from"./ch
  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):  2.785 ns18.735 ns GC (min … max): 0.00% … 0.00%
- Time  (median):     2.795 ns               GC (median):    0.00%
- Time  (mean ± σ):   2.822 ns ±  0.462 ns GC (mean ± σ):  0.00% ± 0.00%
+ Range (minmax):  3.095 ns19.216 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.106 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.118 ns ±  0.327 ns GC (mean ± σ):  0.00% ± 0.00%
 
-                                            
-
-  2.78 ns        Histogram: frequency by time        2.83 ns <
+                            
+
+  3.1 ns         Histogram: frequency by time        3.12 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 ns17.072 ns GC (min … max): 0.00% … 0.00%
- Time  (median):     3.105 ns               GC (median):    0.00%
- Time  (mean ± σ):   3.136 ns ±  0.481 ns GC (mean ± σ):  0.00% ± 0.00%
+ Range (minmax):  3.095 ns27.762 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.106 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.125 ns ±  0.396 ns GC (mean ± σ):  0.00% ± 0.00%
 
-
-
-  3.1 ns       Histogram: log(frequency) by time     3.14 ns <
+
+
+  3.1 ns       Histogram: log(frequency) by time     3.67 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/dev/assets/dimensions.md.Btc7hsPQ.js b/dev/assets/dimensions.md.Btc7hsPQ.js deleted file mode 100644 index e2f87a7e5..000000000 --- a/dev/assets/dimensions.md.Btc7hsPQ.js +++ /dev/null @@ -1,3 +0,0 @@ -import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.B8l2DGq3.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/dev/assets/dimensions.md.Btc7hsPQ.lean.js b/dev/assets/dimensions.md.Btc7hsPQ.lean.js deleted file mode 100644 index e2f87a7e5..000000000 --- a/dev/assets/dimensions.md.Btc7hsPQ.lean.js +++ /dev/null @@ -1,3 +0,0 @@ -import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.B8l2DGq3.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/dev/assets/dimensions.md.BukE2hG-.js b/dev/assets/dimensions.md.BukE2hG-.js new file mode 100644 index 000000000..034238f6c --- /dev/null +++ b/dev/assets/dimensions.md.BukE2hG-.js @@ -0,0 +1,3 @@ +import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.BAAK0EyE.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 create 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:

  • Dimensions are returned from dims to specify the names of the dimensions of an object

  • They can wrap Lookups to associate the lookups with those names

  • To index into these objects, they can wrap indices like Int or a Selector

This symmetry means we can ignore how data is organized, and label and access it by name, letting DD work out the details for us.

Dimensions are defined in the Dimensions submodule, and 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/dev/assets/dimensions.md.BukE2hG-.lean.js b/dev/assets/dimensions.md.BukE2hG-.lean.js new file mode 100644 index 000000000..034238f6c --- /dev/null +++ b/dev/assets/dimensions.md.BukE2hG-.lean.js @@ -0,0 +1,3 @@ +import{_ as i,c as a,a4 as e,o as n}from"./chunks/framework.BAAK0EyE.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 create 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:

  • Dimensions are returned from dims to specify the names of the dimensions of an object

  • They can wrap Lookups to associate the lookups with those names

  • To index into these objects, they can wrap indices like Int or a Selector

This symmetry means we can ignore how data is organized, and label and access it by name, letting DD work out the details for us.

Dimensions are defined in the Dimensions submodule, and 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/dev/assets/diskarrays.md.DNn9Ahrm.js b/dev/assets/diskarrays.md.DGsdRCSJ.js similarity index 54% rename from dev/assets/diskarrays.md.DNn9Ahrm.js rename to dev/assets/diskarrays.md.DGsdRCSJ.js index 0139c94ad..7e51e1423 100644 --- a/dev/assets/diskarrays.md.DNn9Ahrm.js +++ b/dev/assets/diskarrays.md.DGsdRCSJ.js @@ -1 +1 @@ -import{_ as t,c as i,a4 as r,o as e}from"./chunks/framework.B8l2DGq3.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}; +import{_ as t,c as i,a4 as r,o as e}from"./chunks/framework.BAAK0EyE.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.jl, GRIBDatasets.jl and CommonDataModel.jl

The combination of DiskArrays.jl and DimensionalData.jl is Julia's answer to python's xarray. Rasters.jl and YAXArrays.jl are user-facing tools building on this combination.

They have no direct dependency relationships, but are intentionally designed to integrate via both adherence to Julia's AbstractArray interface, and by coordination during development of both packages.

',6)]))}const u=t(s,[["render",l]]);export{m as __pageData,u as default}; diff --git a/dev/assets/diskarrays.md.DNn9Ahrm.lean.js b/dev/assets/diskarrays.md.DGsdRCSJ.lean.js similarity index 54% rename from dev/assets/diskarrays.md.DNn9Ahrm.lean.js rename to dev/assets/diskarrays.md.DGsdRCSJ.lean.js index 0139c94ad..7e51e1423 100644 --- a/dev/assets/diskarrays.md.DNn9Ahrm.lean.js +++ b/dev/assets/diskarrays.md.DGsdRCSJ.lean.js @@ -1 +1 @@ -import{_ as t,c as i,a4 as r,o as e}from"./chunks/framework.B8l2DGq3.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}; +import{_ as t,c as i,a4 as r,o as e}from"./chunks/framework.BAAK0EyE.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.jl, GRIBDatasets.jl and CommonDataModel.jl

The combination of DiskArrays.jl and DimensionalData.jl is Julia's answer to python's xarray. Rasters.jl and YAXArrays.jl are user-facing tools building on this combination.

They have no direct dependency relationships, but are intentionally designed to integrate via both adherence to Julia's AbstractArray interface, and by coordination during development of both packages.

',6)]))}const u=t(s,[["render",l]]);export{m as __pageData,u as default}; diff --git a/dev/assets/esowbav.y1SvPNdA.png b/dev/assets/esowbav.y1SvPNdA.png new file mode 100644 index 000000000..0a4932e02 Binary files /dev/null and b/dev/assets/esowbav.y1SvPNdA.png differ diff --git a/dev/assets/extending_dd.md.DoS75dmN.lean.js b/dev/assets/extending_dd.md.BXSXpgVw.js similarity index 81% rename from dev/assets/extending_dd.md.DoS75dmN.lean.js rename to dev/assets/extending_dd.md.BXSXpgVw.js index 714803264..2285c00ba 100644 --- a/dev/assets/extending_dd.md.DoS75dmN.lean.js +++ b/dev/assets/extending_dd.md.BXSXpgVw.js @@ -1,4 +1,4 @@ -import{_ as n,c as d,a4 as r,G as a,w as t,B as l,o as p,j as i,a as s}from"./chunks/framework.B8l2DGq3.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(` +import{_ as n,c as d,a4 as r,G as a,w as t,B as l,o as p,j as i,a as s}from"./chunks/framework.BAAK0EyE.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 is easily extended to custom array types. Raster or YAXArray are examples from other packages.

  • AbstractDimStack is easily extended to custom mixed array datasets. 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 returned 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/dev/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(` diff --git a/dev/assets/extending_dd.md.DoS75dmN.js b/dev/assets/extending_dd.md.BXSXpgVw.lean.js similarity index 81% rename from dev/assets/extending_dd.md.DoS75dmN.js rename to dev/assets/extending_dd.md.BXSXpgVw.lean.js index 714803264..2285c00ba 100644 --- a/dev/assets/extending_dd.md.DoS75dmN.js +++ b/dev/assets/extending_dd.md.BXSXpgVw.lean.js @@ -1,4 +1,4 @@ -import{_ as n,c as d,a4 as r,G as a,w as t,B as l,o as p,j as i,a as s}from"./chunks/framework.B8l2DGq3.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(` +import{_ as n,c as d,a4 as r,G as a,w as t,B as l,o as p,j as i,a as s}from"./chunks/framework.BAAK0EyE.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 is easily extended to custom array types. Raster or YAXArray are examples from other packages.

  • AbstractDimStack is easily extended to custom mixed array datasets. 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 returned 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/dev/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(` diff --git a/dev/assets/garsckr.CNIu1Nb4.png b/dev/assets/garsckr.CNIu1Nb4.png new file mode 100644 index 000000000..d74bbb5e2 Binary files /dev/null and b/dev/assets/garsckr.CNIu1Nb4.png differ diff --git a/dev/assets/get_info.md.B7K6LY7P.js b/dev/assets/get_info.md.oVG65ArA.js similarity index 88% rename from dev/assets/get_info.md.B7K6LY7P.js rename to dev/assets/get_info.md.oVG65ArA.js index 0cb00aba1..1c41ba988 100644 --- a/dev/assets/get_info.md.B7K6LY7P.js +++ b/dev/assets/get_info.md.oVG65ArA.js @@ -1,4 +1,4 @@ -import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./chunks/framework.B8l2DGq3.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=n("PluginTabsTab"),h=n("PluginTabs");return g(),p("div",null,[a[24]||(a[24]=k(`

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
+import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./chunks/framework.BAAK0EyE.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=n("PluginTabsTab"),h=n("PluginTabs");return g(),p("div",null,[a[24]||(a[24]=k(`

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)
╭───────────────────────────╮
@@ -7,17 +7,17 @@ import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./ch
 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(` + 100.0 110.0 120.0190.0 200.0 + 10 0.616666 0.561953 0.0157247 0.177857 0.856524 + 9 0.660024 0.395523 0.0109523 0.552838 0.0536623 + 8 0.112606 0.548479 0.0545071 0.755722 0.830655 + 7 0.839223 0.0400057 0.702845 0.384116 0.445628 + 6 0.734452 0.65906 0.506965 … 0.654591 0.44097 + 5 0.89757 0.748725 0.00633515 0.178022 0.106904 + 4 0.969026 0.0042232 0.63959 0.423538 0.556096 + 3 0.106472 0.274713 0.589536 0.805743 0.390342 + 2 0.861535 0.167465 0.507581 0.799964 0.292431 + 1 0.245499 0.742732 0.095824 … 0.90203 0.86858
`,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 that you can filter which dimensions you want, and specify 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(` @@ -28,7 +28,7 @@ import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./ch `),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":"#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,[s("("),i("code",null,"locus"),s(" 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(` @@ -51,7 +51,7 @@ import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./ch `),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]=k('

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":"#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]=k('

Predicates

These always return true or false. With multiple dimensions, false 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(` diff --git a/dev/assets/get_info.md.B7K6LY7P.lean.js b/dev/assets/get_info.md.oVG65ArA.lean.js similarity index 88% rename from dev/assets/get_info.md.B7K6LY7P.lean.js rename to dev/assets/get_info.md.oVG65ArA.lean.js index 0cb00aba1..1c41ba988 100644 --- a/dev/assets/get_info.md.B7K6LY7P.lean.js +++ b/dev/assets/get_info.md.oVG65ArA.lean.js @@ -1,4 +1,4 @@ -import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./chunks/framework.B8l2DGq3.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=n("PluginTabsTab"),h=n("PluginTabs");return g(),p("div",null,[a[24]||(a[24]=k(`

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
+import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./chunks/framework.BAAK0EyE.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=n("PluginTabsTab"),h=n("PluginTabs");return g(),p("div",null,[a[24]||(a[24]=k(`

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)
╭───────────────────────────╮
@@ -7,17 +7,17 @@ import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./ch
 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(` + 100.0 110.0 120.0190.0 200.0 + 10 0.616666 0.561953 0.0157247 0.177857 0.856524 + 9 0.660024 0.395523 0.0109523 0.552838 0.0536623 + 8 0.112606 0.548479 0.0545071 0.755722 0.830655 + 7 0.839223 0.0400057 0.702845 0.384116 0.445628 + 6 0.734452 0.65906 0.506965 … 0.654591 0.44097 + 5 0.89757 0.748725 0.00633515 0.178022 0.106904 + 4 0.969026 0.0042232 0.63959 0.423538 0.556096 + 3 0.106472 0.274713 0.589536 0.805743 0.390342 + 2 0.861535 0.167465 0.507581 0.799964 0.292431 + 1 0.245499 0.742732 0.095824 … 0.90203 0.86858
`,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 that you can filter which dimensions you want, and specify 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(` @@ -28,7 +28,7 @@ import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./ch `),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":"#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,[s("("),i("code",null,"locus"),s(" 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(` @@ -51,7 +51,7 @@ import{_ as d,c as p,a4 as k,G as l,w as e,B as n,o as g,j as i,a as s}from"./ch `),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]=k('

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":"#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]=k('

Predicates

These always return true or false. With multiple dimensions, false 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(` diff --git a/dev/assets/groupby.md.DESSK1W0.js b/dev/assets/groupby.md.BUxX6owS.js similarity index 89% rename from dev/assets/groupby.md.DESSK1W0.js rename to dev/assets/groupby.md.BUxX6owS.js index 9f6cbbb9b..aaf3e0a1d 100644 --- a/dev/assets/groupby.md.DESSK1W0.js +++ b/dev/assets/groupby.md.BUxX6owS.js @@ -1,7 +1,7 @@ -import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.B8l2DGq3.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=n("PluginTabsTab"),k=n("PluginTabs");return r(),d("div",null,[a[25]||(a[25]=t(`

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
+import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.BAAK0EyE.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=n("PluginTabsTab"),k=n("PluginTabs");return r(),d("div",null,[a[25]||(a[25]=t(`

Group By

DimensionalData.jl provides a groupby function for dimensional grouping. This guide covers:

  • simple grouping with a function

  • grouping with Bins

  • grouping with another existing AbstractDimArray or Dimension

Grouping functions

Let's 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(` +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")

Let's see how some common functions work.

The hour function will transform values to the 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(` @@ -141,7 +141,7 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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"}}," (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 returns 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(` @@ -161,23 +161,23 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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]=t(`

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))
╭───────────────────────────────╮
+`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")])])])],-1)])),_:1})]),_:1}),a[27]||(a[27]=t(`

Grouping and reducing

Let's 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.0   0.654537              0.418968                 0.677549
+ 1.01  0.664038              0.674881                 0.578183
+ 1.02  0.00832284            0.475569                 0.454715
+ 1.03  0.639212              0.616635                 0.875994
  ⋮                                                 ⋱  ⋮
- 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(` + 1.96 0.0106725 0.846581 0.757228 + 1.97 0.585756 0.485119 0.299692 + 1.98 0.471877 0.889153 0.336768 + 1.99 0.428951 0.312976 … 0.948798 + 2.0 0.921012 0.397575 0.0897302
`,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(` @@ -200,14 +200,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500665")]),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.499693")]),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.500331")]),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.499353")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499069")]),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.500155")]),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.500136")])])])],-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(` @@ -215,14 +215,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2436.33")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2423.17")]),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.16")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2433.51")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 364"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2396.82")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 365"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1201.31")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 366"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1229.82")])])])],-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(` @@ -230,14 +230,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999742")]),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.999253")]),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.999781")]),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.999957")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 28)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999149")]),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.999534")]),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.999774")])])])],-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(` @@ -245,14 +245,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2.48912e-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"}}," 3.21035e-5")]),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"}}," 5.69689e-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"}}," 2.2237e-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":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 10)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 3.00125e-5")]),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"}}," 3.78136e-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"}}," 2.97132e-5")])])])],-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(` @@ -260,14 +260,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.501282")]),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.497559")]),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.501998")]),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.496943")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 21"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500058")]),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.50102")]),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.497705")])])])],-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(` @@ -275,14 +275,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.506084")]),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.499237")]),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.505694")]),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.503785")]),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/dev/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":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 362)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.496329")]),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.496532")]),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.496092")])])])],-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/dev/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(` @@ -303,8 +303,8 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500665")]),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.499693")])])])],-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(` @@ -312,9 +312,9 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500665")]),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.500331")]),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.499901")])])])],-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(": Here 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(` @@ -325,7 +325,7 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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/dev/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":"#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, let's see what "),i("a",{href:"/DimensionalData.jl/dev/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(` @@ -384,10 +384,10 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 1.3 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499837")]),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.500331")]),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.500355")]),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.499959")])])])],-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(` @@ -438,7 +438,7 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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/dev/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":"#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/dev/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 object's 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(` @@ -453,23 +453,23 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.654537 0.530908 0.980637")]),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.664038 0.243842 0.19041")]),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.00832284 0.272731 0.532757")]),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.639212 0.654129 0.179889")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.96"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0106725 0.75622 0.364079")]),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.585756 0.564152 0.107427")]),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.471877 0.97406 0.575878")]),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.428951 0.207482 … 0.97437")]),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.921012 0.999338 0.325413")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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(` @@ -479,9 +479,9 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.654537 0.530908 0.980637")]),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.664038 0.243842 0.19041")]),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}; +`),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.471877 0.97406 0.575878")]),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.428951 0.207482 … 0.97437")]),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.921012 0.999338 0.325413")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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/dev/assets/groupby.md.DESSK1W0.lean.js b/dev/assets/groupby.md.BUxX6owS.lean.js similarity index 89% rename from dev/assets/groupby.md.DESSK1W0.lean.js rename to dev/assets/groupby.md.BUxX6owS.lean.js index 9f6cbbb9b..aaf3e0a1d 100644 --- a/dev/assets/groupby.md.DESSK1W0.lean.js +++ b/dev/assets/groupby.md.BUxX6owS.lean.js @@ -1,7 +1,7 @@ -import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.B8l2DGq3.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=n("PluginTabsTab"),k=n("PluginTabs");return r(),d("div",null,[a[25]||(a[25]=t(`

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
+import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.BAAK0EyE.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=n("PluginTabsTab"),k=n("PluginTabs");return r(),d("div",null,[a[25]||(a[25]=t(`

Group By

DimensionalData.jl provides a groupby function for dimensional grouping. This guide covers:

  • simple grouping with a function

  • grouping with Bins

  • grouping with another existing AbstractDimArray or Dimension

Grouping functions

Let's 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(` +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")

Let's see how some common functions work.

The hour function will transform values to the 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(` @@ -141,7 +141,7 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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"}}," (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 returns 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(` @@ -161,23 +161,23 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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]=t(`

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))
╭───────────────────────────────╮
+`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (2001, 364)")])])])],-1)])),_:1})]),_:1}),a[27]||(a[27]=t(`

Grouping and reducing

Let's 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.0   0.654537              0.418968                 0.677549
+ 1.01  0.664038              0.674881                 0.578183
+ 1.02  0.00832284            0.475569                 0.454715
+ 1.03  0.639212              0.616635                 0.875994
  ⋮                                                 ⋱  ⋮
- 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(` + 1.96 0.0106725 0.846581 0.757228 + 1.97 0.585756 0.485119 0.299692 + 1.98 0.471877 0.889153 0.336768 + 1.99 0.428951 0.312976 … 0.948798 + 2.0 0.921012 0.397575 0.0897302
`,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(` @@ -200,14 +200,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500665")]),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.499693")]),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.500331")]),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.499353")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 10"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499069")]),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.500155")]),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.500136")])])])],-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(` @@ -215,14 +215,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2436.33")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2423.17")]),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.16")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2433.51")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 364"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2396.82")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 365"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1201.31")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#ff875f","--shiki-dark":"#ff875f"}}," 366"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 1229.82")])])])],-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(` @@ -230,14 +230,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999742")]),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.999253")]),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.999781")]),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.999957")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 12, 28)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.999149")]),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.999534")]),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.999774")])])])],-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(` @@ -245,14 +245,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 2.48912e-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"}}," 3.21035e-5")]),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"}}," 5.69689e-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"}}," 2.2237e-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":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 10)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 3.00125e-5")]),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"}}," 3.78136e-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"}}," 2.97132e-5")])])])],-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(` @@ -260,14 +260,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.501282")]),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.497559")]),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.501998")]),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.496943")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 21"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500058")]),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.50102")]),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.497705")])])])],-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(` @@ -275,14 +275,14 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," (2000, 1)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.506084")]),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.499237")]),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.505694")]),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.503785")]),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/dev/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":"#ff875f","--shiki-dark":"#ff875f"}}," (2001, 362)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.496329")]),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.496532")]),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.496092")])])])],-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/dev/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(` @@ -303,8 +303,8 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500665")]),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.499693")])])])],-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(` @@ -312,9 +312,9 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.500665")]),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.500331")]),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.499901")])])])],-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(": Here 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(` @@ -325,7 +325,7 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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/dev/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":"#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, let's see what "),i("a",{href:"/DimensionalData.jl/dev/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(` @@ -384,10 +384,10 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0 .. 1.3 (closed-open)"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.499837")]),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.500331")]),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.500355")]),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.499959")])])])],-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(` @@ -438,7 +438,7 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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/dev/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":"#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/dev/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 object's 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(` @@ -453,23 +453,23 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.654537 0.530908 0.980637")]),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.664038 0.243842 0.19041")]),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.00832284 0.272731 0.532757")]),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.639212 0.654129 0.179889")]),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.96"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.0106725 0.75622 0.364079")]),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.585756 0.564152 0.107427")]),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.471877 0.97406 0.575878")]),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.428951 0.207482 … 0.97437")]),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.921012 0.999338 0.325413")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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(` @@ -479,9 +479,9 @@ import{_ as p,c as d,a4 as t,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.654537 0.530908 0.980637")]),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.664038 0.243842 0.19041")]),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}; +`),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.471877 0.97406 0.575878")]),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.428951 0.207482 … 0.97437")]),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.921012 0.999338 0.325413")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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/dev/assets/index.md.uhypFJup.js b/dev/assets/index.md.BtPO60nF.js similarity index 95% rename from dev/assets/index.md.uhypFJup.js rename to dev/assets/index.md.BtPO60nF.js index 6f73cca4d..100790dc6 100644 --- a/dev/assets/index.md.uhypFJup.js +++ b/dev/assets/index.md.BtPO60nF.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.B8l2DGq3.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}; +import{_ as e,c as t,o as a}from"./chunks/framework.BAAK0EyE.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/dev/assets/index.md.uhypFJup.lean.js b/dev/assets/index.md.BtPO60nF.lean.js similarity index 95% rename from dev/assets/index.md.uhypFJup.lean.js rename to dev/assets/index.md.BtPO60nF.lean.js index 6f73cca4d..100790dc6 100644 --- a/dev/assets/index.md.uhypFJup.lean.js +++ b/dev/assets/index.md.BtPO60nF.lean.js @@ -1 +1 @@ -import{_ as e,c as t,o as a}from"./chunks/framework.B8l2DGq3.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}; +import{_ as e,c as t,o as a}from"./chunks/framework.BAAK0EyE.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/dev/assets/integrations.md.CffVJNNA.js b/dev/assets/integrations.md.CffVJNNA.js new file mode 100644 index 000000000..3314d4eb7 --- /dev/null +++ b/dev/assets/integrations.md.CffVJNNA.js @@ -0,0 +1 @@ +import{_ as e,c as r,a4 as t,o}from"./chunks/framework.BAAK0EyE.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 DimensionalData for geospatial data manipulation, providing file load/save capabilities for a wide range of raster data sources and common GIS tools like polygon rasterization and masking. Raster types are aware of their 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 AbstractSampled lookups.

YAXArrays.jl

YAXArrays.jl is another spatial data package aimed more at (very) large datasets. Its functionality is slowly converging with Rasters.jl (both wrapping DiskArrays.jl/DimensionalData.jl) and we work closely with the developers.

YAXArray is a AbstractDimArray and inherits its behaviours.

ClimateBase.jl

ClimateBase.jl Extends DimensionalData.jl 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/dev/assets/integrations.md.CffVJNNA.lean.js b/dev/assets/integrations.md.CffVJNNA.lean.js new file mode 100644 index 000000000..3314d4eb7 --- /dev/null +++ b/dev/assets/integrations.md.CffVJNNA.lean.js @@ -0,0 +1 @@ +import{_ as e,c as r,a4 as t,o}from"./chunks/framework.BAAK0EyE.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 DimensionalData for geospatial data manipulation, providing file load/save capabilities for a wide range of raster data sources and common GIS tools like polygon rasterization and masking. Raster types are aware of their 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 AbstractSampled lookups.

YAXArrays.jl

YAXArrays.jl is another spatial data package aimed more at (very) large datasets. Its functionality is slowly converging with Rasters.jl (both wrapping DiskArrays.jl/DimensionalData.jl) and we work closely with the developers.

YAXArray is a AbstractDimArray and inherits its behaviours.

ClimateBase.jl

ClimateBase.jl Extends DimensionalData.jl 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/dev/assets/integrations.md.dJo1qUjg.js b/dev/assets/integrations.md.dJo1qUjg.js deleted file mode 100644 index 810aa2cb8..000000000 --- a/dev/assets/integrations.md.dJo1qUjg.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as r,a4 as t,o}from"./chunks/framework.B8l2DGq3.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/dev/assets/integrations.md.dJo1qUjg.lean.js b/dev/assets/integrations.md.dJo1qUjg.lean.js deleted file mode 100644 index 810aa2cb8..000000000 --- a/dev/assets/integrations.md.dJo1qUjg.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as r,a4 as t,o}from"./chunks/framework.B8l2DGq3.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/dev/assets/iqbzbbw.CmaGXDA6.png b/dev/assets/iqbzbbw.CmaGXDA6.png new file mode 100644 index 000000000..b7484db24 Binary files /dev/null and b/dev/assets/iqbzbbw.CmaGXDA6.png differ diff --git a/dev/assets/izkfogt.nOjqWh1g.png b/dev/assets/izkfogt.nOjqWh1g.png deleted file mode 100644 index c64eb156b..000000000 Binary files a/dev/assets/izkfogt.nOjqWh1g.png and /dev/null differ diff --git a/dev/assets/jmmhsxu.iiL4UBgm.png b/dev/assets/jmmhsxu.iiL4UBgm.png deleted file mode 100644 index c38c82e31..000000000 Binary files a/dev/assets/jmmhsxu.iiL4UBgm.png and /dev/null differ diff --git a/dev/assets/jrsvknx.DWa7L8iX.png b/dev/assets/jrsvknx.DWa7L8iX.png new file mode 100644 index 000000000..c0500f8d6 Binary files /dev/null and b/dev/assets/jrsvknx.DWa7L8iX.png differ diff --git a/dev/assets/kddpcoo.DDw-uyO9.png b/dev/assets/kddpcoo.DDw-uyO9.png new file mode 100644 index 000000000..f954ddc4e Binary files /dev/null and b/dev/assets/kddpcoo.DDw-uyO9.png differ diff --git a/dev/assets/object_modification.md.-cjSpi5I.js b/dev/assets/object_modification.md.Bn8irSF4.js similarity index 81% rename from dev/assets/object_modification.md.-cjSpi5I.js rename to dev/assets/object_modification.md.Bn8irSF4.js index 1c42af456..6c84f0b86 100644 --- a/dev/assets/object_modification.md.-cjSpi5I.js +++ b/dev/assets/object_modification.md.Bn8irSF4.js @@ -1,4 +1,4 @@ -import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.B8l2DGq3.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(` +import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.BAAK0EyE.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(` @@ -20,7 +20,7 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#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 applies 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(` @@ -47,27 +47,27 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.884218 0.686915 0.208271 0.744517 0.487197 0.86789")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.159092 0.193627 0.317813 0.474755 0.474052 0.364844")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.86789 0.487197 0.744517 0.208271 0.686915 0.884218")]),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.933212 0.298728 0.824556 0.247032 0.0915867 0.903705")]),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.364844 0.474052 0.474755 0.317813 0.193627 0.159092")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -78,9 +78,9 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -89,49 +89,49 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.615705 … 0.474755 0.474052 0.364844")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.903705 0.0915867 0.247032 0.565229 0.824556 0.298728 0.933212")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.884218 0.686915 0.208271 0.593346 0.744517 0.487197 0.86789")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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}; +`),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.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-1),i("p",null,":::",-1)])),_:1})]),_:1})])}const v=d(g,[["render",y]]);export{m as __pageData,v as default}; diff --git a/dev/assets/object_modification.md.-cjSpi5I.lean.js b/dev/assets/object_modification.md.Bn8irSF4.lean.js similarity index 81% rename from dev/assets/object_modification.md.-cjSpi5I.lean.js rename to dev/assets/object_modification.md.Bn8irSF4.lean.js index 1c42af456..6c84f0b86 100644 --- a/dev/assets/object_modification.md.-cjSpi5I.lean.js +++ b/dev/assets/object_modification.md.Bn8irSF4.lean.js @@ -1,4 +1,4 @@ -import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.B8l2DGq3.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(` +import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./chunks/framework.BAAK0EyE.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(` @@ -20,7 +20,7 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#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 applies 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(` @@ -47,27 +47,27 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.884218 0.686915 0.208271 0.744517 0.487197 0.86789")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.159092 0.193627 0.317813 0.474755 0.474052 0.364844")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 3.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.86789 0.487197 0.744517 0.208271 0.686915 0.884218")]),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.933212 0.298728 0.824556 0.247032 0.0915867 0.903705")]),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.364844 0.474052 0.474755 0.317813 0.193627 0.159092")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -78,9 +78,9 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -89,49 +89,49 @@ import{_ as d,c as p,a4 as k,G as e,w as l,j as i,a as s,B as n,o as r}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.615705 … 0.474755 0.474052 0.364844")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.903705 0.0915867 0.247032 0.565229 0.824556 0.298728 0.933212")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.884218 0.686915 0.208271 0.593346 0.744517 0.487197 0.86789")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-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}; +`),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.159092 0.193627 0.317813 0.474755 0.474052 0.364844")]),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.903705 0.0915867 0.247032 0.824556 0.298728 0.933212")]),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.884218 0.686915 0.208271 0.744517 0.487197 0.86789")])])])],-1),i("p",null,":::",-1)])),_:1})]),_:1})])}const v=d(g,[["render",y]]);export{m as __pageData,v as default}; diff --git a/dev/assets/plots.md.kpY9w3i0.js b/dev/assets/plots.md.D4kZ1izt.js similarity index 96% rename from dev/assets/plots.md.kpY9w3i0.js rename to dev/assets/plots.md.D4kZ1izt.js index b8e46c42a..4554d0b32 100644 --- a/dev/assets/plots.md.kpY9w3i0.js +++ b/dev/assets/plots.md.D4kZ1izt.js @@ -1,4 +1,4 @@ -import{_ as i,c as a,a4 as t,o as l}from"./chunks/framework.B8l2DGq3.js";const e="/DimensionalData.jl/dev/assets/jmmhsxu.iiL4UBgm.png",h="/DimensionalData.jl/dev/assets/ybmzrjc.BIa4VhRY.png",n="/DimensionalData.jl/dev/assets/veptoqy.CZKDtjAN.png",p="/DimensionalData.jl/dev/assets/izkfogt.nOjqWh1g.png",k="/DimensionalData.jl/dev/assets/yhxwiti.CBNkYhiq.png",r="/DimensionalData.jl/dev/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 l(),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
+import{_ as i,c as a,a4 as t,o as l}from"./chunks/framework.BAAK0EyE.js";const e="/DimensionalData.jl/dev/assets/esowbav.y1SvPNdA.png",h="/DimensionalData.jl/dev/assets/iqbzbbw.CmaGXDA6.png",n="/DimensionalData.jl/dev/assets/jrsvknx.DWa7L8iX.png",p="/DimensionalData.jl/dev/assets/garsckr.CNIu1Nb4.png",k="/DimensionalData.jl/dev/assets/kddpcoo.DDw-uyO9.png",r="/DimensionalData.jl/dev/assets/dcljjmm.DHFgsALw.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 l(),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]))
diff --git a/dev/assets/plots.md.kpY9w3i0.lean.js b/dev/assets/plots.md.D4kZ1izt.lean.js
similarity index 96%
rename from dev/assets/plots.md.kpY9w3i0.lean.js
rename to dev/assets/plots.md.D4kZ1izt.lean.js
index b8e46c42a..4554d0b32 100644
--- a/dev/assets/plots.md.kpY9w3i0.lean.js
+++ b/dev/assets/plots.md.D4kZ1izt.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,a4 as t,o as l}from"./chunks/framework.B8l2DGq3.js";const e="/DimensionalData.jl/dev/assets/jmmhsxu.iiL4UBgm.png",h="/DimensionalData.jl/dev/assets/ybmzrjc.BIa4VhRY.png",n="/DimensionalData.jl/dev/assets/veptoqy.CZKDtjAN.png",p="/DimensionalData.jl/dev/assets/izkfogt.nOjqWh1g.png",k="/DimensionalData.jl/dev/assets/yhxwiti.CBNkYhiq.png",r="/DimensionalData.jl/dev/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 l(),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
+import{_ as i,c as a,a4 as t,o as l}from"./chunks/framework.BAAK0EyE.js";const e="/DimensionalData.jl/dev/assets/esowbav.y1SvPNdA.png",h="/DimensionalData.jl/dev/assets/iqbzbbw.CmaGXDA6.png",n="/DimensionalData.jl/dev/assets/jrsvknx.DWa7L8iX.png",p="/DimensionalData.jl/dev/assets/garsckr.CNIu1Nb4.png",k="/DimensionalData.jl/dev/assets/kddpcoo.DDw-uyO9.png",r="/DimensionalData.jl/dev/assets/dcljjmm.DHFgsALw.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 l(),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]))
diff --git a/dev/assets/rcywifo.NnnTWDGw.png b/dev/assets/rcywifo.NnnTWDGw.png
deleted file mode 100644
index 3653bcd6f..000000000
Binary files a/dev/assets/rcywifo.NnnTWDGw.png and /dev/null differ
diff --git a/dev/assets/selectors.md.Cu8DY1IK.js b/dev/assets/selectors.md.BYwWS6hp.js
similarity index 63%
rename from dev/assets/selectors.md.Cu8DY1IK.js
rename to dev/assets/selectors.md.BYwWS6hp.js
index 334341268..f7e97ce8d 100644
--- a/dev/assets/selectors.md.Cu8DY1IK.js
+++ b/dev/assets/selectors.md.BYwWS6hp.js
@@ -1,48 +1,48 @@
-import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./chunks/framework.B8l2DGq3.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]))
╭─────────────────────────╮
+import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./chunks/framework.BAAK0EyE.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

In addition to choosing dimensions by name, we can also select values within them.

First, we can create a 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/dev/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(` + :a :b :c + 1.0 0.782081 0.381692 0.751977 + 1.2 0.836407 0.992013 0.806006 + 1.4 0.429267 0.367576 0.376108 + 1.6 0.127082 0.114532 0.0943594 + 1.8 0.677743 0.354013 0.910098 + 2.0 0.822783 0.874735 0.144269

Then we can use the 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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.At"},[i("code",null,"At(x)")]),s(" selector 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.806005979085237")])])])],-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/dev/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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1),i("p",null,[i("a",{href:"/DimensionalData.jl/dev/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/dev/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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.836407 0.806006")]),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.429267 0.376108")])])])],-1)])),_:1}),l(e,{label:"Near"},{default:h(()=>a[1]||(a[1]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Near"},[i("code",null,"Near(x)")]),s(" selector 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":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.836407")]),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.992013")]),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.806006")])])])],-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/dev/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"},[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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1)])),_:1}),l(e,{label:"Contains"},{default:h(()=>a[2]||(a[2]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Contains"},[i("code",null,"Contains(x)")]),s(" selector gets 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(` @@ -50,43 +50,43 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")]),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.127082 0.114532 0.0943594")]),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.677743 0.354013 0.910098")]),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.822783 0.874735 0.144269")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#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":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.836407")]),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.992013")]),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.806006")])])])],-1),i("p",null,[i("code",null,"Contains"),s(" can also take vectors and ranges, which is like 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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")])])])],-1)])),_:1}),l(e,{label:".."},{default:h(()=>a[3]||(a[3]=[i("p",null,[s("The "),i("code",null,".."),s(" or "),i("code",null,"IntervalSets.Interval"),s(" selector 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"},[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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")]),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.127082 0.114532 0.0943594")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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(` @@ -95,59 +95,59 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.429267 0.367576 0.376108")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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/dev/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":"#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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1)])),_:1}),l(e,{label:"Touches"},{default:h(()=>a[4]||(a[4]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Touches"},[i("code",null,"Touches")]),s(" selector 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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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/dev/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":"#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.836407 0.992013 0.806006")])])])],-1)])),_:1}),l(e,{label:"Where"},{default:h(()=>a[5]||(a[5]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Where"},[i("code",null,"Where(f)")]),s(" selector filters 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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.127082 0.0943594")]),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.677743 0.910098")]),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.822783 0.144269")])])])],-1)])),_:1}),l(e,{label:"Not"},{default:h(()=>a[6]||(a[6]=[i("p",null,[s("The "),i("code",null,"Not(x)"),s(" selector gets 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/dev/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/dev/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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.381692")]),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.992013")]),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.114532")]),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.354013")]),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.874735")])])])],-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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Sampled"},[i("code",null,"Sampled(x)")]),s(" lookup holds 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("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 can't 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/dev/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/dev/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":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")])])])],-1)])),_:1}),l(e,{label:"Categorical lookup"},{default:h(()=>a[8]||(a[8]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Categorical"},[i("code",null,"Categorical(x)")]),s(" lookup is a categorical lookup that holds categories, and may be ordered.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/dev/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(` @@ -155,7 +155,7 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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/dev/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/dev/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"},[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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Cyclic"},[i("code",null,"Cyclic(x)")]),s(" lookup is an "),i("code",null,"AbstractSampled"),s(" lookup for cyclical values.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/dev/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(` @@ -174,85 +174,85 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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/dev/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/dev/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])))
╭─────────────────────────╮
+`),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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.NoLookup"},[i("code",null,"NoLookup(x)")]),s(" lookup has 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 shown in REPL printing.")],-1),i("p",null,[s("Here we create a "),i("a",{href:"/DimensionalData.jl/dev/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))
╭─────────────────────────╮
+ 10    0.659048  0.883222  0.621603  0.41767   0.48849
+ 20    0.796999  0.872742  0.768488  0.594101  0.956886
+ 30    0.27736   0.530405  0.721125  0.530389  0.00114293
+ 40    0.444305  0.226064  0.806166  0.794725  0.522816
+ 50    0.184738  0.764895  0.496058  0.298029  0.305342
+ 60    0.772277  0.86273   0.973357  0.491103  0.927836
+ 70    0.711133  0.748041  0.925367  0.976465  0.239921

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 the 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))
╭───────────────────────────╮
+  10          12           14         16         18         20
+ 1.0   0.672504    0.72217      0.196478   0.650675   0.238831   0.396585
+ 1.2   0.71372     0.896257     0.791844   0.97293    0.570603   0.687921
+ 1.4   0.905616    0.00498986   0.758149   0.883323   0.929034   0.880178
+ 1.6   0.0928922   0.307762     0.229418   0.679453   0.21921    0.855976
+ 1.8   0.441181    0.651538     0.75985    0.442111   0.506221   0.0575993
+ 2.0   0.621662    0.314906     0.152068   0.882656   0.680987   0.771237

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.0    0.0775482   0.473944   0.898833      0.746037    0.594523   0.312277
+ 1.04   0.838572    0.631878   0.429465      0.812342    0.737151   0.5053
+ 1.08   0.166221    0.29205    0.244582      0.363678    0.801242   0.328169
+ 1.12   0.11787     0.371583   0.400001      0.92906     0.337296   0.760043
  ⋮                                       ⋱               ⋮
- 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)]
╭─────────────────────────╮
+ 1.84   0.528009    0.951796   0.188707      0.0411113   0.608263   0.993001
+ 1.88   0.229792    0.565165   0.910836      0.162784    0.410125   0.699118
+ 1.92   0.574678    0.618541   0.187648      0.952744    0.583476   0.460775
+ 1.96   0.89559     0.812106   0.953145  …   0.727405    0.559465   0.788252
+ 2.0    0.595409    0.630782   0.298791      0.391258    0.320737   0.216905

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))
╭────────────────────────────╮
+  10         12         14          16          18          20
+ 1.0   0.312277   0.746037   0.0623229   0.930614    0.898833    0.0775482
+ 1.2   0.825676   0.208304   0.232648    0.856029    0.649595    0.495624
+ 1.4   0.87475    0.403556   0.0990865   0.571126    0.0564029   0.909826
+ 1.6   0.939546   0.097066   0.139173    0.0566306   0.833475    0.0831822
+ 1.8   0.747695   0.721253   0.998253    0.781923    0.554833    0.228081
+ 2.0   0.216905   0.391258   0.719849    0.127621    0.298791    0.595409

If the lookups aren't aligned, we can use Near instead of At, which is 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)]
╭─────────────────────────╮
+    10.0       10.9       11.828.0       28.9       29.8
+ 1.0     0.412631   0.707629   0.640577       0.329029   0.945549   0.505129
+ 1.007   0.300304   0.66424    0.948532       0.565649   0.27236    0.782344
+ 1.014   0.421525   0.564636   0.267693       0.861783   0.53422    0.906871
+ 1.021   0.399781   0.381315   0.970303       0.449093   0.560553   0.565202
+ ⋮                                        ⋱
+ 1.966   0.608086   0.605375   0.336929       0.891637   0.537974   0.509288
+ 1.973   0.500679   0.179953   0.183503   …   0.851044   0.206886   0.824656
+ 1.98    0.673494   0.613381   0.0136364      0.427523   0.397621   0.742451
+ 1.987   0.294489   0.949143   0.520037       0.307031   0.18378    0.531598
+ 1.994   0.725774   0.525431   0.870641       0.919448   0.09814    0.331422
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}; + 10.0 11.8 13.6 16.3 18.1 19.9 + 1.0 0.412631 0.640577 0.505726 0.371838 0.49487 0.0639461 + 1.203 0.824659 0.913321 0.510752 0.29488 0.154653 0.647062 + 1.399 0.366634 0.653364 0.568727 0.925888 0.660823 0.645043 + 1.602 0.0515532 0.324073 0.424831 0.808144 0.838211 0.71953 + 1.798 0.205861 0.414017 0.453507 0.526825 0.180915 0.125626 + 1.994 0.725774 0.870641 0.484227 0.0294193 0.6675 0.712805
`,22))])}const b=p(g,[["render",y]]);export{C as __pageData,b as default}; diff --git a/dev/assets/selectors.md.Cu8DY1IK.lean.js b/dev/assets/selectors.md.BYwWS6hp.lean.js similarity index 63% rename from dev/assets/selectors.md.Cu8DY1IK.lean.js rename to dev/assets/selectors.md.BYwWS6hp.lean.js index 334341268..f7e97ce8d 100644 --- a/dev/assets/selectors.md.Cu8DY1IK.lean.js +++ b/dev/assets/selectors.md.BYwWS6hp.lean.js @@ -1,48 +1,48 @@ -import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./chunks/framework.B8l2DGq3.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]))
╭─────────────────────────╮
+import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./chunks/framework.BAAK0EyE.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

In addition to choosing dimensions by name, we can also select values within them.

First, we can create a 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/dev/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(` + :a :b :c + 1.0 0.782081 0.381692 0.751977 + 1.2 0.836407 0.992013 0.806006 + 1.4 0.429267 0.367576 0.376108 + 1.6 0.127082 0.114532 0.0943594 + 1.8 0.677743 0.354013 0.910098 + 2.0 0.822783 0.874735 0.144269

Then we can use the 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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.At"},[i("code",null,"At(x)")]),s(" selector 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.806005979085237")])])])],-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/dev/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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1),i("p",null,[i("a",{href:"/DimensionalData.jl/dev/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/dev/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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.2"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.836407 0.806006")]),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.429267 0.376108")])])])],-1)])),_:1}),l(e,{label:"Near"},{default:h(()=>a[1]||(a[1]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Near"},[i("code",null,"Near(x)")]),s(" selector 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":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.836407")]),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.992013")]),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.806006")])])])],-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/dev/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"},[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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1)])),_:1}),l(e,{label:"Contains"},{default:h(()=>a[2]||(a[2]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Contains"},[i("code",null,"Contains(x)")]),s(" selector gets 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(` @@ -50,43 +50,43 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")]),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.127082 0.114532 0.0943594")]),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.677743 0.354013 0.910098")]),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.822783 0.874735 0.144269")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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":"#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":"#ff875f","--shiki-dark":"#ff875f"}}," :a"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.836407")]),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.992013")]),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.806006")])])])],-1),i("p",null,[i("code",null,"Contains"),s(" can also take vectors and ranges, which is like 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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")])])])],-1)])),_:1}),l(e,{label:".."},{default:h(()=>a[3]||(a[3]=[i("p",null,[s("The "),i("code",null,".."),s(" or "),i("code",null,"IntervalSets.Interval"),s(" selector 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"},[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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")]),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.127082 0.114532 0.0943594")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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(` @@ -95,59 +95,59 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.4"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.429267 0.367576 0.376108")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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/dev/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":"#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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1)])),_:1}),l(e,{label:"Touches"},{default:h(()=>a[4]||(a[4]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Touches"},[i("code",null,"Touches")]),s(" selector 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":"#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.782081 0.381692 0.751977")]),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.836407 0.992013 0.806006")]),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.429267 0.367576 0.376108")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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/dev/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":"#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.836407 0.992013 0.806006")])])])],-1)])),_:1}),l(e,{label:"Where"},{default:h(()=>a[5]||(a[5]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Where"},[i("code",null,"Where(f)")]),s(" selector filters 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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.6"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.127082 0.0943594")]),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.677743 0.910098")]),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.822783 0.144269")])])])],-1)])),_:1}),l(e,{label:"Not"},{default:h(()=>a[6]||(a[6]=[i("p",null,[s("The "),i("code",null,"Not(x)"),s(" selector gets 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/dev/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/dev/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":"#ff875f","--shiki-dark":"#ff875f"}}," 1.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.381692")]),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.992013")]),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.114532")]),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.354013")]),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.874735")])])])],-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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Sampled"},[i("code",null,"Sampled(x)")]),s(" lookup holds 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("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 can't 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/dev/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/dev/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":"#24292e","--shiki-dark":"#e1e4e8"}}," 1")])])])],-1)])),_:1}),l(e,{label:"Categorical lookup"},{default:h(()=>a[8]||(a[8]=[i("p",null,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Categorical"},[i("code",null,"Categorical(x)")]),s(" lookup is a categorical lookup that holds categories, and may be ordered.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/dev/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(` @@ -155,7 +155,7 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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/dev/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/dev/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"},[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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.Cyclic"},[i("code",null,"Cyclic(x)")]),s(" lookup is an "),i("code",null,"AbstractSampled"),s(" lookup for cyclical values.")],-1),i("p",null,[s("Create a "),i("a",{href:"/DimensionalData.jl/dev/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(` @@ -174,85 +174,85 @@ import{_ as p,c as d,a4 as k,G as l,w as h,B as n,o as r,j as i,a as s}from"./ch `),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/dev/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/dev/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])))
╭─────────────────────────╮
+`),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,[s("The "),i("a",{href:"/DimensionalData.jl/dev/api/lookuparrays#DimensionalData.Dimensions.Lookups.NoLookup"},[i("code",null,"NoLookup(x)")]),s(" lookup has 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 shown in REPL printing.")],-1),i("p",null,[s("Here we create a "),i("a",{href:"/DimensionalData.jl/dev/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))
╭─────────────────────────╮
+ 10    0.659048  0.883222  0.621603  0.41767   0.48849
+ 20    0.796999  0.872742  0.768488  0.594101  0.956886
+ 30    0.27736   0.530405  0.721125  0.530389  0.00114293
+ 40    0.444305  0.226064  0.806166  0.794725  0.522816
+ 50    0.184738  0.764895  0.496058  0.298029  0.305342
+ 60    0.772277  0.86273   0.973357  0.491103  0.927836
+ 70    0.711133  0.748041  0.925367  0.976465  0.239921

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 the 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))
╭───────────────────────────╮
+  10          12           14         16         18         20
+ 1.0   0.672504    0.72217      0.196478   0.650675   0.238831   0.396585
+ 1.2   0.71372     0.896257     0.791844   0.97293    0.570603   0.687921
+ 1.4   0.905616    0.00498986   0.758149   0.883323   0.929034   0.880178
+ 1.6   0.0928922   0.307762     0.229418   0.679453   0.21921    0.855976
+ 1.8   0.441181    0.651538     0.75985    0.442111   0.506221   0.0575993
+ 2.0   0.621662    0.314906     0.152068   0.882656   0.680987   0.771237

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.0    0.0775482   0.473944   0.898833      0.746037    0.594523   0.312277
+ 1.04   0.838572    0.631878   0.429465      0.812342    0.737151   0.5053
+ 1.08   0.166221    0.29205    0.244582      0.363678    0.801242   0.328169
+ 1.12   0.11787     0.371583   0.400001      0.92906     0.337296   0.760043
  ⋮                                       ⋱               ⋮
- 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)]
╭─────────────────────────╮
+ 1.84   0.528009    0.951796   0.188707      0.0411113   0.608263   0.993001
+ 1.88   0.229792    0.565165   0.910836      0.162784    0.410125   0.699118
+ 1.92   0.574678    0.618541   0.187648      0.952744    0.583476   0.460775
+ 1.96   0.89559     0.812106   0.953145  …   0.727405    0.559465   0.788252
+ 2.0    0.595409    0.630782   0.298791      0.391258    0.320737   0.216905

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))
╭────────────────────────────╮
+  10         12         14          16          18          20
+ 1.0   0.312277   0.746037   0.0623229   0.930614    0.898833    0.0775482
+ 1.2   0.825676   0.208304   0.232648    0.856029    0.649595    0.495624
+ 1.4   0.87475    0.403556   0.0990865   0.571126    0.0564029   0.909826
+ 1.6   0.939546   0.097066   0.139173    0.0566306   0.833475    0.0831822
+ 1.8   0.747695   0.721253   0.998253    0.781923    0.554833    0.228081
+ 2.0   0.216905   0.391258   0.719849    0.127621    0.298791    0.595409

If the lookups aren't aligned, we can use Near instead of At, which is 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)]
╭─────────────────────────╮
+    10.0       10.9       11.828.0       28.9       29.8
+ 1.0     0.412631   0.707629   0.640577       0.329029   0.945549   0.505129
+ 1.007   0.300304   0.66424    0.948532       0.565649   0.27236    0.782344
+ 1.014   0.421525   0.564636   0.267693       0.861783   0.53422    0.906871
+ 1.021   0.399781   0.381315   0.970303       0.449093   0.560553   0.565202
+ ⋮                                        ⋱
+ 1.966   0.608086   0.605375   0.336929       0.891637   0.537974   0.509288
+ 1.973   0.500679   0.179953   0.183503   …   0.851044   0.206886   0.824656
+ 1.98    0.673494   0.613381   0.0136364      0.427523   0.397621   0.742451
+ 1.987   0.294489   0.949143   0.520037       0.307031   0.18378    0.531598
+ 1.994   0.725774   0.525431   0.870641       0.919448   0.09814    0.331422
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}; + 10.0 11.8 13.6 16.3 18.1 19.9 + 1.0 0.412631 0.640577 0.505726 0.371838 0.49487 0.0639461 + 1.203 0.824659 0.913321 0.510752 0.29488 0.154653 0.647062 + 1.399 0.366634 0.653364 0.568727 0.925888 0.660823 0.645043 + 1.602 0.0515532 0.324073 0.424831 0.808144 0.838211 0.71953 + 1.798 0.205861 0.414017 0.453507 0.526825 0.180915 0.125626 + 1.994 0.725774 0.870641 0.484227 0.0294193 0.6675 0.712805
`,22))])}const b=p(g,[["render",y]]);export{C as __pageData,b as default}; diff --git a/dev/assets/stacks.md.SmvHWrk4.js b/dev/assets/stacks.md.DhVQ6mRN.js similarity index 90% rename from dev/assets/stacks.md.SmvHWrk4.js rename to dev/assets/stacks.md.DhVQ6mRN.js index 9586148b9..cb668b0d2 100644 --- a/dev/assets/stacks.md.SmvHWrk4.js +++ b/dev/assets/stacks.md.DhVQ6mRN.js @@ -1,4 +1,4 @@ -import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./chunks/framework.B8l2DGq3.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
+import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./chunks/framework.BAAK0EyE.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)))
╭───────────────╮
@@ -11,33 +11,33 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch
   :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(` +└──────────────────────────────────────────────────────────────────────────────┘

The behavior of a DimStack is at times like a NamedTuple of DimArray and, at other times, 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":"#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.105474 0.924846 0.935937 0.956044 0.841169 0.178846")]),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.606746 0.31628 0.745734 0.912254 0.581458 0.287284")]),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.0461633 0.0979352 0.497456 0.940199 0.459336 0.477439")]),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.341785 0.25853 0.788056 0.392071 0.277507 0.048092")]),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.275784 0.130942 0.0251457 0.0883392 0.257433 0.0878344")]),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.659836 0.220699 0.249439 0.0571503 0.192702 0.620657")]),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.168617 0.842552 0.935022 0.544803 0.970824 0.704105")]),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.395053 0.565883 0.19689 0.569194 0.317199 0.574623")]),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.790418 0.0329394 0.389598 0.879411 0.780527 0.579492")]),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.113361 0.106544 0.8698 0.722335 0.544125 0.562491")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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":"#ff875f","--shiki-dark":"#ff875f"}}," 5.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.150559")]),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.91305")]),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.938732")]),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.498429")]),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.887397")]),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.576224")])])])],-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(` @@ -95,7 +95,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)")])])])],-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.287284213573217, b = 0.8002301328044032, c = 0.5762235094109146, d = 0.8030281996030815)")])])])],-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(` @@ -105,26 +105,26 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}}," (a = 0.10547438260234843, b = 0.20258969376355607, c = 0.15055904027841316, d = 0.48240020633837055)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.6067463820279478, b = 0.7177678881661339, c = 0.15055904027841316, d = 0.8030281996030815)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.04616326467070997, b = 0.6518774627227301, c = 0.15055904027841316, d = 0.006378200703587189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.3417845510633072, b = 0.11115487324489237, c = 0.15055904027841316, d = 0.2868262581079416)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.275783886021123, b = 0.3863063388395396, c = 0.15055904027841316, d = 0.7802406914680406)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.6598361711868228, b = 0.34882573131206984, c = 0.15055904027841316, d = 0.5476725802849189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.16861675953228428, b = 0.5201836703588896, c = 0.15055904027841316, d = 0.6672884952890055)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.3950526238122817, b = 0.45152471334016764, c = 0.15055904027841316, d = 0.05946710667513877)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.7904180889084199, b = 0.10363647991272806, c = 0.15055904027841316, d = 0.17715541586710937)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.1133609324748911, b = 0.38290995355378155, c = 0.15055904027841316, d = 0.04060837507113502)")]),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":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.287284213573217, b = 0.8002301328044032, c = 0.5762235094109146, d = 0.8030281996030815)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.47743850127749476, b = 0.5370455292538254, c = 0.5762235094109146, d = 0.006378200703587189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.048092019187169766, b = 0.7814968833366662, c = 0.5762235094109146, d = 0.2868262581079416)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.08783435714630261, b = 0.4408839264303761, c = 0.5762235094109146, d = 0.7802406914680406)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.6206571460949776, b = 0.5203602669427675, c = 0.5762235094109146, d = 0.5476725802849189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.7041047189542633, b = 0.7057009741792366, c = 0.5762235094109146, d = 0.6672884952890055)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5746233955742341, b = 0.3517350991207968, c = 0.5762235094109146, d = 0.05946710667513877)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5794916001308447, b = 0.6691920691407321, c = 0.5762235094109146, d = 0.17715541586710937)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5624913882274706, b = 0.7140841681506571, c = 0.5762235094109146, d = 0.04060837507113502)")])])])],-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.9708243398463525, b = 0.97164033242648, c = 0.938732432349465, d = 0.8030281996030815)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -134,7 +134,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.02514568569664144, b = 0.0038728108200783984, c = 0.15055904027841316, d = 0.006378200703587189)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -144,7 +144,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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 = 28.038407066827922, b = 29.50156726022296, c = 3.9643902442904744, d = 3.851065529408329)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -154,7 +154,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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 = 4.612615296500003e-29, b = 2.1532608102742886e-28, c = 0.032889338556748006, d = 8.64500911377966e-8)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -164,7 +164,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.46730678444713203, b = 0.49169278767038266, c = 0.6607317073817457, d = 0.3851065529408329)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -174,7 +174,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.3015920521232277, b = 0.2834645880044695, c = 0.31179659785762176, d = 0.31044194430853883)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -184,7 +184,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.0909577659038997, b = 0.08035217265254364, c = 0.09721711843558752, d = 0.09637420078606593)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -194,7 +194,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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 = 28.038407066827922, b = 29.50156726022296, c = 3.9643902442904744, d = 3.851065529408329)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -204,7 +204,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.02514568569664144, 0.9708243398463525), b = (0.0038728108200783984, 0.97164033242648), c = (0.15055904027841316, 0.938732432349465), d = (0.006378200703587189, 0.8030281996030815))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -233,7 +233,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[28]||(a[28]=i("p",null,[i("a",{href:"/DimensionalData.jl/dev/api/reference#DimensionalData.broadcast_dims"},[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(` @@ -361,8 +361,8 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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
+`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[29]||(a[29]=t(`

Performance

Indexing a stack is fast - indexing a single value and returning a NamedTuple from all layers is usually measured 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.028 ns (0 allocations: 0 bytes)
-(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
julia
julia> @btime $st[1, 4]
  4.028 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}; +julia> @btime $st[X=1, Y=4]
  4.067 ns (0 allocations: 0 bytes)
+(a = 0.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)
julia
julia> @btime $st[1, 4]
  4.038 ns (0 allocations: 0 bytes)
+(a = 0.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)
`,7))])}const F=n(g,[["render",y]]);export{b as __pageData,F as default}; diff --git a/dev/assets/stacks.md.SmvHWrk4.lean.js b/dev/assets/stacks.md.DhVQ6mRN.lean.js similarity index 90% rename from dev/assets/stacks.md.SmvHWrk4.lean.js rename to dev/assets/stacks.md.DhVQ6mRN.lean.js index 9586148b9..cb668b0d2 100644 --- a/dev/assets/stacks.md.SmvHWrk4.lean.js +++ b/dev/assets/stacks.md.DhVQ6mRN.lean.js @@ -1,4 +1,4 @@ -import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./chunks/framework.B8l2DGq3.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
+import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./chunks/framework.BAAK0EyE.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)))
╭───────────────╮
@@ -11,33 +11,33 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch
   :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(` +└──────────────────────────────────────────────────────────────────────────────┘

The behavior of a DimStack is at times like a NamedTuple of DimArray and, at other times, 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":"#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.105474 0.924846 0.935937 0.956044 0.841169 0.178846")]),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.606746 0.31628 0.745734 0.912254 0.581458 0.287284")]),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.0461633 0.0979352 0.497456 0.940199 0.459336 0.477439")]),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.341785 0.25853 0.788056 0.392071 0.277507 0.048092")]),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.275784 0.130942 0.0251457 0.0883392 0.257433 0.0878344")]),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.659836 0.220699 0.249439 0.0571503 0.192702 0.620657")]),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.168617 0.842552 0.935022 0.544803 0.970824 0.704105")]),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.395053 0.565883 0.19689 0.569194 0.317199 0.574623")]),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.790418 0.0329394 0.389598 0.879411 0.780527 0.579492")]),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.113361 0.106544 0.8698 0.722335 0.544125 0.562491")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[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":"#ff875f","--shiki-dark":"#ff875f"}}," 5.0"),i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," 0.150559")]),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.91305")]),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.938732")]),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.498429")]),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.887397")]),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.576224")])])])],-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(` @@ -95,7 +95,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)")])])])],-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.287284213573217, b = 0.8002301328044032, c = 0.5762235094109146, d = 0.8030281996030815)")])])])],-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(` @@ -105,26 +105,26 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}}," (a = 0.10547438260234843, b = 0.20258969376355607, c = 0.15055904027841316, d = 0.48240020633837055)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.6067463820279478, b = 0.7177678881661339, c = 0.15055904027841316, d = 0.8030281996030815)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.04616326467070997, b = 0.6518774627227301, c = 0.15055904027841316, d = 0.006378200703587189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.3417845510633072, b = 0.11115487324489237, c = 0.15055904027841316, d = 0.2868262581079416)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.275783886021123, b = 0.3863063388395396, c = 0.15055904027841316, d = 0.7802406914680406)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.6598361711868228, b = 0.34882573131206984, c = 0.15055904027841316, d = 0.5476725802849189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.16861675953228428, b = 0.5201836703588896, c = 0.15055904027841316, d = 0.6672884952890055)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.3950526238122817, b = 0.45152471334016764, c = 0.15055904027841316, d = 0.05946710667513877)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.7904180889084199, b = 0.10363647991272806, c = 0.15055904027841316, d = 0.17715541586710937)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.1133609324748911, b = 0.38290995355378155, c = 0.15055904027841316, d = 0.04060837507113502)")]),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":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.287284213573217, b = 0.8002301328044032, c = 0.5762235094109146, d = 0.8030281996030815)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.47743850127749476, b = 0.5370455292538254, c = 0.5762235094109146, d = 0.006378200703587189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.048092019187169766, b = 0.7814968833366662, c = 0.5762235094109146, d = 0.2868262581079416)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.08783435714630261, b = 0.4408839264303761, c = 0.5762235094109146, d = 0.7802406914680406)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.6206571460949776, b = 0.5203602669427675, c = 0.5762235094109146, d = 0.5476725802849189)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.7041047189542633, b = 0.7057009741792366, c = 0.5762235094109146, d = 0.6672884952890055)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5746233955742341, b = 0.3517350991207968, c = 0.5762235094109146, d = 0.05946710667513877)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5794916001308447, b = 0.6691920691407321, c = 0.5762235094109146, d = 0.17715541586710937)")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8"}}," (a = 0.5624913882274706, b = 0.7140841681506571, c = 0.5762235094109146, d = 0.04060837507113502)")])])])],-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.9708243398463525, b = 0.97164033242648, c = 0.938732432349465, d = 0.8030281996030815)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -134,7 +134,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.02514568569664144, b = 0.0038728108200783984, c = 0.15055904027841316, d = 0.006378200703587189)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -144,7 +144,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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 = 28.038407066827922, b = 29.50156726022296, c = 3.9643902442904744, d = 3.851065529408329)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -154,7 +154,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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 = 4.612615296500003e-29, b = 2.1532608102742886e-28, c = 0.032889338556748006, d = 8.64500911377966e-8)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -164,7 +164,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.46730678444713203, b = 0.49169278767038266, c = 0.6607317073817457, d = 0.3851065529408329)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -174,7 +174,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.3015920521232277, b = 0.2834645880044695, c = 0.31179659785762176, d = 0.31044194430853883)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -184,7 +184,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.0909577659038997, b = 0.08035217265254364, c = 0.09721711843558752, d = 0.09637420078606593)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -194,7 +194,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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 = 28.038407066827922, b = 29.50156726022296, c = 3.9643902442904744, d = 3.851065529408329)")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -204,7 +204,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-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.02514568569664144, 0.9708243398463525), b = (0.0038728108200783984, 0.97164033242648), c = (0.15055904027841316, 0.938732432349465), d = (0.006378200703587189, 0.8030281996030815))")])])])],-1),i("div",{class:"language-julia vp-adaptive-theme"},[i("button",{title:"Copy Code",class:"copy"}),i("span",{class:"lang"},"julia"),i("pre",{class:"shiki shiki-themes github-light github-dark vp-code",tabindex:"0"},[i("code",null,[i("span",{class:"line"},[i("span",{style:{"--shiki-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(` @@ -233,7 +233,7 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[28]||(a[28]=i("p",null,[i("a",{href:"/DimensionalData.jl/dev/api/reference#DimensionalData.broadcast_dims"},[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(` @@ -361,8 +361,8 @@ import{_ as n,c as p,a4 as t,G as h,w as l,j as i,a as s,B as d,o as r}from"./ch `),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
+`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-dark":"#959da5"}},"└──────────────────────────────────────────────────────────────────────────────┘")])])])],-1)])),_:1})]),_:1}),a[29]||(a[29]=t(`

Performance

Indexing a stack is fast - indexing a single value and returning a NamedTuple from all layers is usually measured 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.028 ns (0 allocations: 0 bytes)
-(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
julia
julia> @btime $st[1, 4]
  4.028 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}; +julia> @btime $st[X=1, Y=4]
  4.067 ns (0 allocations: 0 bytes)
+(a = 0.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)
julia
julia> @btime $st[1, 4]
  4.038 ns (0 allocations: 0 bytes)
+(a = 0.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)
`,7))])}const F=n(g,[["render",y]]);export{b as __pageData,F as default}; diff --git a/dev/assets/style.CaBzy52z.css b/dev/assets/style.BjYx-k93.css similarity index 97% rename from dev/assets/style.CaBzy52z.css rename to dev/assets/style.BjYx-k93.css index ebdf959e5..2c2c3b350 100644 --- a/dev/assets/style.CaBzy52z.css +++ b/dev/assets/style.BjYx-k93.css @@ -1 +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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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-906d7fb4]{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-906d7fb4]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-906d7fb4]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-906d7fb4]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-906d7fb4]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-906d7fb4]: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-906d7fb4]: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-906d7fb4]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-906d7fb4]: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-906d7fb4]: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-906d7fb4]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-906d7fb4]: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-906d7fb4]: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-04f5c5e9]{position:relative}.VPFlyout[data-v-04f5c5e9]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-04f5c5e9]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-04f5c5e9]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-04f5c5e9]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-04f5c5e9]{color:var(--vp-c-brand-2)}.button[aria-expanded=false]+.menu[data-v-04f5c5e9]{opacity:0;visibility:hidden;transform:translateY(0)}.VPFlyout:hover .menu[data-v-04f5c5e9],.button[aria-expanded=true]+.menu[data-v-04f5c5e9]{opacity:1;visibility:visible;transform:translateY(0)}.button[data-v-04f5c5e9]{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-04f5c5e9]{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-04f5c5e9]{margin-right:0;font-size:16px}.text-icon[data-v-04f5c5e9]{margin-left:4px;font-size:14px}.icon[data-v-04f5c5e9]{font-size:20px;transition:fill .25s}.menu[data-v-04f5c5e9]{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.2 | 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)}.VPVersionPicker[data-v-f465cb49] button .text{color:var(--vp-c-text-1)!important}.VPVersionPicker[data-v-f465cb49]:hover button .text{color:var(--vp-c-text-2)!important}.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} +@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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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/dev/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-906d7fb4]{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-906d7fb4]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-906d7fb4]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-906d7fb4]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-906d7fb4]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-906d7fb4]: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-906d7fb4]: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-906d7fb4]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-906d7fb4]: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-906d7fb4]: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-906d7fb4]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-906d7fb4]: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-906d7fb4]: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-acbfed09]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-acbfed09]{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-acbfed09]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-acbfed09]{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-04f5c5e9]{position:relative}.VPFlyout[data-v-04f5c5e9]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-04f5c5e9]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-04f5c5e9]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-04f5c5e9]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-04f5c5e9]{color:var(--vp-c-brand-2)}.button[aria-expanded=false]+.menu[data-v-04f5c5e9]{opacity:0;visibility:hidden;transform:translateY(0)}.VPFlyout:hover .menu[data-v-04f5c5e9],.button[aria-expanded=true]+.menu[data-v-04f5c5e9]{opacity:1;visibility:visible;transform:translateY(0)}.button[data-v-04f5c5e9]{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-04f5c5e9]{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-04f5c5e9]{margin-right:0;font-size:16px}.text-icon[data-v-04f5c5e9]{margin-left:4px;font-size:14px}.icon[data-v-04f5c5e9]{font-size:20px;transition:fill .25s}.menu[data-v-04f5c5e9]{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-956ec74c]{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-956ec74c],.VPNavBarMenuLink[data-v-956ec74c]: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.2 | 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-735512b8]{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-735512b8]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-372ae7c0]{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-372ae7c0]: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)}.VPVersionPicker[data-v-f465cb49] button .text{color:var(--vp-c-text-1)!important}.VPVersionPicker[data-v-f465cb49]:hover button .text{color:var(--vp-c-text-2)!important}.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-1783de97]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-1783de97]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-1783de97]{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-1783de97]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-1783de97]{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-1783de97]{padding:0 8px}}.search-bar[data-v-1783de97]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-1783de97]{display:block;font-size:18px}.navigate-icon[data-v-1783de97]{display:block;font-size:14px}.search-icon[data-v-1783de97]{margin:8px}@media (max-width: 767px){.search-icon[data-v-1783de97]{display:none}}.search-input[data-v-1783de97]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-1783de97]{padding:6px 4px}}.search-actions[data-v-1783de97]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-1783de97]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-1783de97]{display:none}}.search-actions button[data-v-1783de97]{padding:8px}.search-actions button[data-v-1783de97]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-1783de97]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-1783de97]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-1783de97]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-1783de97]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-1783de97]{display:none}}.search-keyboard-shortcuts kbd[data-v-1783de97]{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-1783de97]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-1783de97]{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-1783de97]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-1783de97]{margin:8px}}.titles[data-v-1783de97]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-1783de97]{display:flex;align-items:center;gap:4px}.title.main[data-v-1783de97]{font-weight:500}.title-icon[data-v-1783de97]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-1783de97]{opacity:.5}.result.selected[data-v-1783de97]{--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-1783de97]{position:relative}.excerpt[data-v-1783de97]{opacity:50%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;margin-top:4px}.result.selected .excerpt[data-v-1783de97]{opacity:1}.excerpt[data-v-1783de97] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-1783de97] mark,.excerpt[data-v-1783de97] 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-1783de97] .vp-code-group .tabs{display:none}.excerpt[data-v-1783de97] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-1783de97]{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-1783de97]{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-1783de97],.result.selected .title-icon[data-v-1783de97]{color:var(--vp-c-brand-1)!important}.no-results[data-v-1783de97]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-1783de97]{flex:none} diff --git a/dev/assets/tables.md.t8vBJGld.js b/dev/assets/tables.md.C58ZkjII.js similarity index 86% rename from dev/assets/tables.md.t8vBJGld.js rename to dev/assets/tables.md.C58ZkjII.js index 295501fa3..a4500e654 100644 --- a/dev/assets/tables.md.t8vBJGld.js +++ b/dev/assets/tables.md.C58ZkjII.js @@ -1,8 +1,8 @@ -import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./chunks/framework.B8l2DGq3.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=d("PluginTabsTab"),k=d("PluginTabs");return p(),g("div",null,[a[6]||(a[6]=e(`

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
+import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./chunks/framework.BAAK0EyE.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=d("PluginTabsTab"),k=d("PluginTabs");return p(),g("div",null,[a[6]||(a[6]=e(`

Tables and DataFrames

Tables.jl provides an ecosystem-wide interface to tabular data in Julia, ensuring 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 of the array or stack layer, and the result of DD.name(dimension) for Dimension columns.

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(` +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(` @@ -10,16 +10,16 @@ import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./ch `),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":"#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.846254 0.684303 0.939201 0.61378 0.231047 0.0950183")]),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.782777 0.224351 0.240351 0.319803 0.554735 0.99531")]),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.807522 0.767136 0.390515 0.207789 0.204906 0.605097")]),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.960754 0.73427 0.71403 0.317665 0.685225 0.66882")]),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.685603 0.444969 0.899242 0.374729 0.778193 0.556711")]),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.0987646 0.628875 0.901156 0.571628 0.652397 0.057459")]),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.596036 0.110489 0.215681 0.998548 0.918952 0.806689")]),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.603358 0.245564 0.431383 … 0.258165 0.233468 0.99726")])])])],-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(` @@ -28,66 +28,66 @@ import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./ch `),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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼──────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.921958")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.449491")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.581131")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.194849")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.364097")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.022593")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.191934")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.450701")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.236866")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.894053")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.350024")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.417756")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.125477")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.599789")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.363373")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×5 DataFrame")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.846254")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.782777")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.807522")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.960754")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.0965086")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.889194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.685603")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.0987646")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.404604")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.0769145")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.292495")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.227142")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.635786")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.210417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.849817")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×5 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.447327 0.555606")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.965529 0.102767")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.487488 0.222371")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.267433 0.550148")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.599241 0.0930075")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.192192 0.489525")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.607291 0.793832")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.921958 0.00191986")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.107233 0.963013")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.934189 0.82194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.294486 0.368519")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.616331 0.233504")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.0201588 0.795927")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.334393 0.377799")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.485876 0.2276")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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/dev/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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"100×28 DataFrame")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_a "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_b "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_c "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_d "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_ ⋯")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 ⋯")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"─────┼──────────────────────────────────────────────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 0.846254 0.747231 0.947824 0.49413 0.726966 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 0.782777 0.365215 0.17004 0.449062 0.029790")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 0.807522 0.113556 0.634008 0.634405 0.887684")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 0.960754 0.579501 0.997558 0.768418 0.568669")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 0.0965086 0.171519 0.664597 0.896537 0.337662 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 0.889194 0.207662 0.0615946 0.785915 0.385875")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 0.685603 0.521608 0.496268 0.130122 0.905295")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 0.0987646 0.227811 0.653044 0.701935 0.952573")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋱")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 94 │ 4 10 0.66882 0.908419 0.49574 0.382223 0.924198 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 95 │ 5 10 0.0648408 0.979155 0.865462 0.503582 0.844321")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 96 │ 6 10 0.433724 0.90654 0.0894465 0.533196 0.749403")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 97 │ 7 10 0.556711 0.402627 0.180188 0.639993 0.765715")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 98 │ 8 10 0.057459 0.993473 0.786614 0.92641 0.348164 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 99 │ 9 10 0.806689 0.202238 0.302384 0.290933 0.91454")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 100 │ 10 10 0.99726 0.556427 0.463976 0.490566 0.810841")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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(` @@ -121,45 +121,45 @@ import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./ch `),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/dev/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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," XY "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Tuple… "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," XY "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Tuple… "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ (10, 10) z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ (1, 1) a 0.447327 0.555606")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ (2, 1) a 0.965529 0.102767")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ (3, 1) a 0.487488 0.222371")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ (4, 1) a 0.267433 0.550148")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ (5, 1) a 0.599241 0.0930075")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ (6, 1) a 0.192192 0.489525")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ (7, 1) a 0.607291 0.793832")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ (8, 1) a 0.921958 0.00191986")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ (4, 10) z 0.107233 0.963013")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ (5, 10) z 0.934189 0.82194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ (6, 10) z 0.294486 0.368519")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ (7, 10) z 0.616331 0.233504")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ (8, 10) z 0.0201588 0.795927")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ (9, 10) z 0.334393 0.377799")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ (10, 10) z 0.485876 0.2276")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1})]),_:1}),a[8]||(a[8]=e(`

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"
+ "1,1,a,0.4473266106898912,0.55560637324799"
+ "2,1,a,0.9655293490481315,0.10276733254788795"
+ "3,1,a,0.48748811097285394,0.22237128922242078"
+ "4,1,a,0.2674330482715843,0.5501481631111826"
+ "5,1,a,0.5992407552660244,0.09300753748828394"
+ "6,1,a,0.19219227965820063,0.48952511607945026"
+ "7,1,a,0.6072910004472037,0.7938317326707394"
+ "8,1,a,0.9219584479428687,0.0019198597596568057"
+ "9,1,a,0.9217489713778885,0.44833963865079907"
 
- "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}; + "2,10,z,0.39189449474581917,0.42429962356614626" + "3,10,z,0.21066413424755615,0.836907965319872" + "4,10,z,0.10723267004015569,0.9630127530566065" + "5,10,z,0.9341886269251364,0.8219403925584018" + "6,10,z,0.29448593792551514,0.36851882799081104" + "7,10,z,0.6163310918833074,0.23350386812772128" + "8,10,z,0.020158765333216477,0.7959265671836858" + "9,10,z,0.3343926384599254,0.3777991041100621" + "10,10,z,0.4858762080349691,0.2276004407628871"
`,4))])}const E=n(r,[["render",f]]);export{m as __pageData,E as default}; diff --git a/dev/assets/tables.md.t8vBJGld.lean.js b/dev/assets/tables.md.C58ZkjII.lean.js similarity index 86% rename from dev/assets/tables.md.t8vBJGld.lean.js rename to dev/assets/tables.md.C58ZkjII.lean.js index 295501fa3..a4500e654 100644 --- a/dev/assets/tables.md.t8vBJGld.lean.js +++ b/dev/assets/tables.md.C58ZkjII.lean.js @@ -1,8 +1,8 @@ -import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./chunks/framework.B8l2DGq3.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=d("PluginTabsTab"),k=d("PluginTabs");return p(),g("div",null,[a[6]||(a[6]=e(`

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
+import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./chunks/framework.BAAK0EyE.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=d("PluginTabsTab"),k=d("PluginTabs");return p(),g("div",null,[a[6]||(a[6]=e(`

Tables and DataFrames

Tables.jl provides an ecosystem-wide interface to tabular data in Julia, ensuring 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 of the array or stack layer, and the result of DD.name(dimension) for Dimension columns.

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(` +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(` @@ -10,16 +10,16 @@ import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./ch `),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":"#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.846254 0.684303 0.939201 0.61378 0.231047 0.0950183")]),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.782777 0.224351 0.240351 0.319803 0.554735 0.99531")]),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.807522 0.767136 0.390515 0.207789 0.204906 0.605097")]),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.960754 0.73427 0.71403 0.317665 0.685225 0.66882")]),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.685603 0.444969 0.899242 0.374729 0.778193 0.556711")]),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.0987646 0.628875 0.901156 0.571628 0.652397 0.057459")]),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.596036 0.110489 0.215681 0.998548 0.918952 0.806689")]),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.603358 0.245564 0.431383 … 0.258165 0.233468 0.99726")])])])],-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(` @@ -28,66 +28,66 @@ import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./ch `),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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼──────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.921958")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.449491")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.581131")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.194849")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.364097")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.022593")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.191934")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.450701")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.236866")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.894053")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.350024")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.417756")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.125477")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.599789")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.363373")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×5 DataFrame")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.846254")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.782777")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.807522")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.960754")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.0965086")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.889194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.685603")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.0987646")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.404604")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.0769145")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.292495")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.227142")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.635786")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.210417")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.849817")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×5 DataFrame")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 a 0.447327 0.555606")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 a 0.965529 0.102767")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 a 0.487488 0.222371")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 a 0.267433 0.550148")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 a 0.599241 0.0930075")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 a 0.192192 0.489525")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 a 0.607291 0.793832")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 a 0.921958 0.00191986")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ 4 10 z 0.107233 0.963013")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ 5 10 z 0.934189 0.82194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ 6 10 z 0.294486 0.368519")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ 7 10 z 0.616331 0.233504")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ 8 10 z 0.0201588 0.795927")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ 9 10 z 0.334393 0.377799")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ 10 10 z 0.485876 0.2276")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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/dev/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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"100×28 DataFrame")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," X "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Y "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_a "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_b "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_c "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_d "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category_ ⋯")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Int64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 ⋯")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"─────┼──────────────────────────────────────────────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ 1 1 0.846254 0.747231 0.947824 0.49413 0.726966 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ 2 1 0.782777 0.365215 0.17004 0.449062 0.029790")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ 3 1 0.807522 0.113556 0.634008 0.634405 0.887684")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ 4 1 0.960754 0.579501 0.997558 0.768418 0.568669")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ 5 1 0.0965086 0.171519 0.664597 0.896537 0.337662 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ 6 1 0.889194 0.207662 0.0615946 0.785915 0.385875")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ 7 1 0.685603 0.521608 0.496268 0.130122 0.905295")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ 8 1 0.0987646 0.227811 0.653044 0.701935 0.952573")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋱")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 94 │ 4 10 0.66882 0.908419 0.49574 0.382223 0.924198 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 95 │ 5 10 0.0648408 0.979155 0.865462 0.503582 0.844321")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 96 │ 6 10 0.433724 0.90654 0.0894465 0.533196 0.749403")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 97 │ 7 10 0.556711 0.402627 0.180188 0.639993 0.765715")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 98 │ 8 10 0.057459 0.993473 0.786614 0.92641 0.348164 ⋯")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 99 │ 9 10 0.806689 0.202238 0.302384 0.290933 0.91454")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 100 │ 10 10 0.99726 0.556427 0.463976 0.490566 0.810841")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--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(` @@ -121,45 +121,45 @@ import{_ as n,c as g,a4 as e,G as h,w as t,j as i,a as s,B as d,o as p}from"./ch `),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/dev/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-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}},"2600×4 DataFrame")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," XY "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Tuple… "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," Row │"),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," XY "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," category "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data1 "),i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," data2")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292e","--shiki-light-font-weight":"bold","--shiki-dark":"#e1e4e8","--shiki-dark-font-weight":"bold"}}," │"),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Tuple… "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Char "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64 "),i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," Float64")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}},"──────┼───────────────────────────────────────────")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` -`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--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-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ (10, 10) z 0.8289 0.813696")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 1 │ (1, 1) a 0.447327 0.555606")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2 │ (2, 1) a 0.965529 0.102767")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 3 │ (3, 1) a 0.487488 0.222371")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 4 │ (4, 1) a 0.267433 0.550148")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 5 │ (5, 1) a 0.599241 0.0930075")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 6 │ (6, 1) a 0.192192 0.489525")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 7 │ (7, 1) a 0.607291 0.793832")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 8 │ (8, 1) a 0.921958 0.00191986")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," ⋮ │ ⋮ ⋮ ⋮ ⋮")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2594 │ (4, 10) z 0.107233 0.963013")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2595 │ (5, 10) z 0.934189 0.82194")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2596 │ (6, 10) z 0.294486 0.368519")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2597 │ (7, 10) z 0.616331 0.233504")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2598 │ (8, 10) z 0.0201588 0.795927")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2599 │ (9, 10) z 0.334393 0.377799")]),s(` +`),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#959da5","--shiki-light-font-weight":"bold","--shiki-dark":"#959da5","--shiki-dark-font-weight":"bold"}}," 2600 │ (10, 10) z 0.485876 0.2276")]),s(` `),i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#1b7c83","--shiki-light-font-weight":"bold","--shiki-dark":"#39c5cf","--shiki-dark-font-weight":"bold"}}," 2585 rows omitted")])])])],-1)])),_:1})]),_:1}),a[8]||(a[8]=e(`

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"
+ "1,1,a,0.4473266106898912,0.55560637324799"
+ "2,1,a,0.9655293490481315,0.10276733254788795"
+ "3,1,a,0.48748811097285394,0.22237128922242078"
+ "4,1,a,0.2674330482715843,0.5501481631111826"
+ "5,1,a,0.5992407552660244,0.09300753748828394"
+ "6,1,a,0.19219227965820063,0.48952511607945026"
+ "7,1,a,0.6072910004472037,0.7938317326707394"
+ "8,1,a,0.9219584479428687,0.0019198597596568057"
+ "9,1,a,0.9217489713778885,0.44833963865079907"
 
- "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}; + "2,10,z,0.39189449474581917,0.42429962356614626" + "3,10,z,0.21066413424755615,0.836907965319872" + "4,10,z,0.10723267004015569,0.9630127530566065" + "5,10,z,0.9341886269251364,0.8219403925584018" + "6,10,z,0.29448593792551514,0.36851882799081104" + "7,10,z,0.6163310918833074,0.23350386812772128" + "8,10,z,0.020158765333216477,0.7959265671836858" + "9,10,z,0.3343926384599254,0.3777991041100621" + "10,10,z,0.4858762080349691,0.2276004407628871"
`,4))])}const E=n(r,[["render",f]]);export{m as __pageData,E as default}; diff --git a/dev/assets/veptoqy.CZKDtjAN.png b/dev/assets/veptoqy.CZKDtjAN.png deleted file mode 100644 index 1443d43f0..000000000 Binary files a/dev/assets/veptoqy.CZKDtjAN.png and /dev/null differ diff --git a/dev/assets/ybmzrjc.BIa4VhRY.png b/dev/assets/ybmzrjc.BIa4VhRY.png deleted file mode 100644 index 6f0e615af..000000000 Binary files a/dev/assets/ybmzrjc.BIa4VhRY.png and /dev/null differ diff --git a/dev/assets/yhxwiti.CBNkYhiq.png b/dev/assets/yhxwiti.CBNkYhiq.png deleted file mode 100644 index 5128e884c..000000000 Binary files a/dev/assets/yhxwiti.CBNkYhiq.png and /dev/null differ diff --git a/dev/basics.html b/dev/basics.html index 52f103983..93b559fe9 100644 --- a/dev/basics.html +++ b/dev/basics.html @@ -5,14 +5,14 @@ DimensionalData.jl - - + + - + - - - + + + @@ -20,7 +20,7 @@ -
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
+    
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))
╭─────────────────────────╮
@@ -29,36 +29,36 @@
 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',))
╭─────────────────────────────╮
+  1          2         3          4          5
+ 1    0.0333106  0.758203  0.973154   0.0710221  0.868064
+ 2    0.52849    0.571821  0.920182   0.545156   0.106593
+ 3    0.70366    0.539028  0.0670111  0.404635   0.799977
+ 4    0.68316    0.965008  0.0781957  0.130775   0.570914

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}:
+ 'a'  -21
+ 'b'  101
+ 'c'   51
+ 'd'  -35
+ 'e'  106
+ 'f'   88
+ 'g'  -98
+ 'h'   14
+ 'i'  -73
+ 'j'  -54

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
+ 46  76  38  32  120  122  29  57   9  23
+ 78  26   6  50   16  125  11  98  39  95
 
 [:, :, 2] =
- 106  84  74  80   9   26  35  74  28  47
-  87   1  42  54  15  107  77  23  89  34
+  50  101  46  48  76  17    1   69  11  112
+ 105   15  50  90   5  70  107  120  86   15
 
 [:, :, 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))
╭─────────────────────────╮
+ 38  59   41  47  41   11  117   82   74   61
+ 76  72  112  89  39  109   86  117  117  120
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,
@@ -66,10 +66,10 @@
 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
- + 1 2 3 4 5 6 7 8 9 10 + :left 46 76 38 32 120 122 29 57 9 23 + :right 78 26 6 50 16 125 11 98 39 95
+ \ No newline at end of file diff --git a/dev/broadcasts.html b/dev/broadcasts.html index ca4b50aa2..bc6f6034b 100644 --- a/dev/broadcasts.html +++ b/dev/broadcasts.html @@ -5,14 +5,14 @@ Dimensional broadcasts with @d and broadcast_dims | DimensionalData.jl - - + + - + - - - + + + @@ -20,7 +20,7 @@ -
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
+    
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 each other, and that values match. Strict checks can be turned off 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 broadcasting. broadcast_dims is analogous to Base Julia's broadcast.

Because we know the names of the dimensions, there is no ambiguity in which ones 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,
@@ -48,16 +48,16 @@
 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
╭───────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

A regular broadcast fails:

julia
julia> scaled = data .* month_scalars
ERROR: DimensionMismatch: arrays could not be broadcast to a common size: a has axes DimensionalData.Dimensions.DimUnitRange(Base.OneTo(100), X{Sampled{Int64, UnitRange{Int64}, ForwardOrdered, Regular{Int64}, Points, NoMetadata}}([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100])) and b has axes DimensionalData.Dimensions.DimUnitRange(Base.OneTo(12), Ti{Sampled{Dates.DateTime, StepRange{Dates.DateTime, Dates.Month}, ForwardOrdered, Regular{Dates.Month}, Points, NoMetadata}}([Dates.DateTime("2000-01-01T00:00:00"), Dates.DateTime("2000-02-01T00:00:00"), Dates.DateTime("2000-03-01T00:00:00"), Dates.DateTime("2000-04-01T00:00:00"), Dates.DateTime("2000-05-01T00:00:00"), Dates.DateTime("2000-06-01T00:00:00"), Dates.DateTime("2000-07-01T00:00:00"), Dates.DateTime("2000-08-01T00:00:00"), Dates.DateTime("2000-09-01T00:00:00"), Dates.DateTime("2000-10-01T00:00:00"), Dates.DateTime("2000-11-01T00:00:00"), Dates.DateTime("2000-12-01T00:00:00")]))

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,
@@ -65,48 +65,48 @@
 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)))
╭────────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

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)))
╭────────────────────────────────╮
+ 2000-01-01T00:00:00  0.50854
+ 2000-02-01T00:00:00  0.499674
+ 2000-03-01T00:00:00  0.510863
+ 2000-04-01T00:00:00  0.500818
+ 2000-05-01T00:00:00  0.501124
+ 2000-06-01T00:00:00  0.495215
+ 2000-07-01T00:00:00  0.489497
+ 2000-08-01T00:00:00  0.500495
+ 2000-09-01T00:00:00  0.491479
+ 2000-10-01T00:00:00  0.499282
+ 2000-11-01T00:00:00  0.491202
+ 2000-12-01T00:00:00  0.485718
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)
╭───────────────────────────────╮
+ 2000-01-01T00:00:00  0.50854
+ 2000-02-01T00:00:00  0.999348
+ 2000-03-01T00:00:00  1.53259
+ 2000-04-01T00:00:00  2.00327
+ 2000-05-01T00:00:00  2.50562
+ 2000-06-01T00:00:00  2.97129
+ 2000-07-01T00:00:00  3.42648
+ 2000-08-01T00:00:00  4.00396
+ 2000-09-01T00:00:00  4.42331
+ 2000-10-01T00:00:00  4.99282
+ 2000-11-01T00:00:00  5.40322
+ 2000-12-01T00:00:00  5.82862

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,
@@ -114,16 +114,16 @@
 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)
╭───────────────────────────────╮
+  1          2         323          24         25
+   1    0.624685   0.909533  0.43314        0.0541549   0.721101   0.600306
+   2    0.546357   0.621601  0.960677       0.129382    0.434374   0.438592
+   3    0.407207   0.861652  0.0837074      0.0725917   0.800084   0.749829
+   4    0.67539    0.637399  0.416444       0.853879    0.988957   0.44724
+   ⋮                                    ⋱                          ⋮
+  97    0.474087   0.475786  0.759047       0.704613    0.706165   0.1279
+  98    0.844262   0.668594  0.431398       0.746465    0.919534   0.398776
+  99    0.0471885  0.788358  0.0145691      0.647328    0.517971   0.910412
+ 100    0.0442448  0.702787  0.585658   …   0.68326     0.774131   0.403955

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,
@@ -131,16 +131,16 @@
 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)
╭──────────────────────────────────────╮
+                   198         99          100
+  2000-01-01T00:00:00  0.624685      0.844262   0.0471885    0.0442448
+  2000-02-01T00:00:00  0.547848      1.79785    0.187495     0.441762
+  2000-03-01T00:00:00  2.49232       1.15489    2.82356      0.921936
+  2000-04-01T00:00:00  0.439142      2.61341    1.59542      2.24247
+ ⋮                               ⋱                           ⋮
+  2000-09-01T00:00:00  3.27042       6.61858    3.10246      5.93972
+  2000-10-01T00:00:00  0.12404   …   2.53632    7.83904      6.55713
+  2000-11-01T00:00:00  1.79388       2.5891     2.14203      5.52389
+  2000-12-01T00:00:00  8.84219       6.15004    5.04169      6.10415

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,
@@ -148,17 +148,17 @@
 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
- + 198 99 100 + 2000-01-01T00:00:00 0.624685 0.844262 0.0471885 0.0442448 + 2000-02-01T00:00:00 0.547848 1.79785 0.187495 0.441762 + 2000-03-01T00:00:00 2.49232 1.15489 2.82356 0.921936 + 2000-04-01T00:00:00 0.439142 2.61341 1.59542 2.24247 + ⋮ ⋱ ⋮ + 2000-09-01T00:00:00 3.27042 6.61858 3.10246 5.93972 + 2000-10-01T00:00:00 0.12404 … 2.53632 7.83904 6.55713 + 2000-11-01T00:00:00 1.79388 2.5891 2.14203 5.52389 + 2000-12-01T00:00:00 8.84219 6.15004 5.04169 6.10415
+ \ No newline at end of file diff --git a/dev/cuda.html b/dev/cuda.html index 9d091813e..1e1a0d1c6 100644 --- a/dev/cuda.html +++ b/dev/cuda.html @@ -5,14 +5,14 @@ CUDA & GPUs | DimensionalData.jl - - + + - + - - - + + + @@ -20,13 +20,13 @@ -
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
+    
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
+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 ┐
@@ -47,8 +47,8 @@
   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.

- +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 convert 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, so Name{:layer_name}() replaces :layer_name.

  • Metadata dictionaries need to be stripped, as 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/dev/dimarrays.html b/dev/dimarrays.html index 3630935f7..9e8aebcb4 100644 --- a/dev/dimarrays.html +++ b/dev/dimarrays.html @@ -5,14 +5,14 @@ DimArrays | DimensionalData.jl - - + + - + - - - + + + @@ -20,90 +20,90 @@ -
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
+    
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))
╭──────────────────────────╮
+ 0.827655   0.0102884  0.688175  0.254555  …  0.628275   0.517329  0.886959
+ 0.223602   0.737979   0.996807  0.124594     0.0959042  0.628507  0.893267
+ 0.0392779  0.792885   0.249616  0.519235     0.0315486  0.113704  0.997572
+ 0.451879   0.846175   0.373575  0.891743     0.700389   0.958811  0.68136
+ 0.689712   0.0927459  0.765773  0.273573     0.688928   0.761347  0.596077
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))
╭──────────────────────────╮
+ 0.827655   0.0102884  0.688175  0.254555  …  0.628275   0.517329  0.886959
+ 0.223602   0.737979   0.996807  0.124594     0.0959042  0.628507  0.893267
+ 0.0392779  0.792885   0.249616  0.519235     0.0315486  0.113704  0.997572
+ 0.451879   0.846175   0.373575  0.891743     0.700389   0.958811  0.68136
+ 0.689712   0.0927459  0.765773  0.273573     0.688928   0.761347  0.596077

We can access a value with the same dimension wrappers:

julia
julia> da[Y(1), X(2)]
0.2236016853688918

There are shortcuts for creating DimArray:

julia
julia> A = rand(5, 10)
5×10 Matrix{Float64}:
+ 0.670688  0.534915   0.111072  0.194465  …  0.121525  0.797168  0.0239356
+ 0.741593  0.707692   0.879899  0.813705     0.601833  0.826098  0.493417
+ 0.119505  0.0999314  0.403111  0.755958     0.289335  0.542251  0.0622255
+ 0.775377  0.217733   0.865298  0.876395     0.108514  0.306932  0.627107
+ 0.576903  0.950338   0.854076  0.511978     0.866334  0.905021  0.0238569
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())
╭───────────────────────────────────╮
+ 0.670688  0.534915   0.111072  0.194465  …  0.121525  0.797168  0.0239356
+ 0.741593  0.707692   0.879899  0.813705     0.601833  0.826098  0.493417
+ 0.119505  0.0999314  0.403111  0.755958     0.289335  0.542251  0.0622255
+ 0.775377  0.217733   0.865298  0.876395     0.108514  0.306932  0.627107
+ 0.576903  0.950338   0.854076  0.511978     0.866334  0.905021  0.0238569
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))
╭─────────────────────────╮
+ 0.670688  0.534915   0.111072  0.194465  …  0.121525  0.797168  0.0239356
+ 0.741593  0.707692   0.879899  0.813705     0.601833  0.826098  0.493417
+ 0.119505  0.0999314  0.403111  0.755958     0.289335  0.542251  0.0622255
+ 0.775377  0.217733   0.865298  0.876395     0.108514  0.306932  0.627107
+ 0.576903  0.950338   0.854076  0.511978     0.866334  0.905021  0.0238569

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]
╭───────────────────────────────╮
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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))
╭────────────────────────────╮
+ 0.910981
+ 0.503823
+ 0.488029

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))]
╭───────────────────────────────╮
+ 0.41173   0.0789906  0.655936    0.762722   0.56273    0.0160205  0.640693
+ 0.228294  0.687236   0.345046    0.749573   0.949769   0.783195   0.591606
+ 0.258576  0.89609    0.00337686  0.99118    0.169845   0.159817   0.784693
+ 0.295346  0.768639   0.754468    0.0738813  0.675126   0.968484   0.243035
+ 0.254627  0.411529   0.629352    0.285205   0.18989    0.891663   0.597808
+ 0.435719  0.0450386  0.0531003   0.385452   0.322612   0.667691   0.906601
+ 0.88841   0.571658   0.991676    0.677848   0.697976   0.971252   0.776593
+ 0.284399  0.196524   0.119937    0.493258   0.342919   0.866772   0.0990347
+ 0.192286  0.765808   0.502499    0.404773   0.0623616  0.627002   0.184813
+ 0.762199  0.159233   0.769884    0.74428    0.606279   0.351096   0.268379
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}}}:
+ 0.644748
+ 0.493072
+ 0.316833
+ 0.372311
+ 0.313185
+ 0.494267
+ 0.705582

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]
╭─────────────────────────╮
@@ -112,66 +112,66 @@
 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)]
╭──────────────────────────╮
+  (3, 5)    (7, 4)     (8, 2)
+ 0.644748  0.510196   0.528138
+ 0.493072  0.925624   0.142957
+ 0.316833  0.485321   0.708081
+ 0.372311  0.676945   0.406221
+ 0.313185  0.0379776  0.6778
+ 0.494267  0.287739   0.155826
+ 0.705582  0.996358   0.638336

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.
+ 0.655936    0.853835  0.870583   0.0578313  0.971794
+ 0.345046    0.17597   0.638072   0.136127   0.962808
+ 0.00337686  0.378395  0.0314382  0.310753   0.316833
+ 0.754468    0.188864  0.614012   0.883048   0.191049
+ 0.629352    0.190726  0.338669   0.105539   0.925844
+ 0.0531003   0.876115  0.945147   0.873096   0.342887
+ 0.991676    0.702956  0.281077   0.485321   0.798621
+ 0.119937    0.708081  0.0363983  0.247755   0.527261
+ 0.502499    0.641023  0.0104608  0.10233    0.635425
+ 0.769884    0.37821   0.881533   0.535933   0.454033

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.
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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))
╭───────────────────────────╮
+ 0.601474  0.337576  0.770316  0.21149    0.121375
+ 0.113873  0.511078  0.201362  0.716257   0.253984
+ 0.910981  0.503823  0.488029  0.0130048  0.121186
+ 0.436293  0.789198  0.32806   0.361921   0.830187
+ 0.426888  0.46788   0.724709  0.15163    0.996398

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)
╭───────────────────────────╮
+ 0.573147   0.206406  0.916702  0.481184
+ 0.0760848  0.94412   0.48817   0.758865
+ 0.0992684  0.917457  0.811947  0.0641884
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
+ 2.89248  1.86986  2.12435  1.86194
+ 1.29325  2.76668  2.64923  2.70488
+ 1.11475  3.10914  3.02098  2.35189

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}
@@ -181,25 +181,25 @@
  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):  2.785 ns18.735 ns GC (min … max): 0.00% … 0.00%
- Time  (median):     2.795 ns               GC (median):    0.00%
- Time  (mean ± σ):   2.822 ns ±  0.462 ns GC (mean ± σ):  0.00% ± 0.00%
+ Range (minmax):  3.095 ns19.216 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.106 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.118 ns ±  0.327 ns GC (mean ± σ):  0.00% ± 0.00%
 
-                                            
-
-  2.78 ns        Histogram: frequency by time        2.83 ns <
+                            
+
+  3.1 ns         Histogram: frequency by time        3.12 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 ns17.072 ns GC (min … max): 0.00% … 0.00%
- Time  (median):     3.105 ns               GC (median):    0.00%
- Time  (mean ± σ):   3.136 ns ±  0.481 ns GC (mean ± σ):  0.00% ± 0.00%
+ Range (minmax):  3.095 ns27.762 ns GC (min … max): 0.00% … 0.00%
+ Time  (median):     3.106 ns               GC (median):    0.00%
+ Time  (mean ± σ):   3.125 ns ±  0.396 ns GC (mean ± σ):  0.00% ± 0.00%
 
-
-
-  3.1 ns       Histogram: log(frequency) by time     3.14 ns <
+
+
+  3.1 ns       Histogram: log(frequency) by time     3.67 ns <
 
  Memory estimate: 0 bytes, allocs estimate: 0.
- + \ No newline at end of file diff --git a/dev/dimensions.html b/dev/dimensions.html index f614bd45d..019f49c45 100644 --- a/dev/dimensions.html +++ b/dev/dimensions.html @@ -5,14 +5,14 @@ Dimensions | DimensionalData.jl - - + + - + - - - + + + @@ -20,10 +20,10 @@ -
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
+    
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
- +julia> X(1)
X 1
julia
julia> X(1), Y(2), Z(3)
(X 1, Y 2, Z 3)

You can also create 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:

  • Dimensions are returned from dims to specify the names of the dimensions of an object

  • They can wrap Lookups to associate the lookups with those names

  • To index into these objects, they can wrap indices like Int or a Selector

This symmetry means we can ignore how data is organized, and label and access it by name, letting DD work out the details for us.

Dimensions are defined in the Dimensions submodule, and some Dimension-specific methods can be brought into scope with:

julia
using DimensionalData.Dimensions
+ \ No newline at end of file diff --git a/dev/diskarrays.html b/dev/diskarrays.html index 38744368e..e58fb665a 100644 --- a/dev/diskarrays.html +++ b/dev/diskarrays.html @@ -5,14 +5,14 @@ DiskArrays.jl compatibility | DimensionalData.jl - - + + - + - - - + + + @@ -20,8 +20,8 @@ -
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.

- +
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.jl, GRIBDatasets.jl and CommonDataModel.jl

The combination of DiskArrays.jl and DimensionalData.jl is Julia's answer to python's xarray. Rasters.jl and YAXArrays.jl are user-facing tools building on this combination.

They have no direct dependency relationships, 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/dev/extending_dd.html b/dev/extending_dd.html index 24adc0dc7..a95fe3190 100644 --- a/dev/extending_dd.html +++ b/dev/extending_dd.html @@ -5,14 +5,14 @@ Extending DimensionalData | DimensionalData.jl - - + + - + - - - + + + @@ -20,8 +20,8 @@ -
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
+    
Skip to content

Extending DimensionalData

Nearly everything in DimensionalData.jl is designed to be extensible.

  • AbstractDimArray is easily extended to custom array types. Raster or YAXArray are examples from other packages.

  • AbstractDimStack is easily extended to custom mixed array datasets. 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 returned 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
@@ -50,7 +50,7 @@
 Implementation summary:
   DimArray correctly implements DimensionalData.DimArrayInterface: true
 true
- + \ No newline at end of file diff --git a/dev/get_info.html b/dev/get_info.html index f1e64c5d0..16659b289 100644 --- a/dev/get_info.html +++ b/dev/get_info.html @@ -5,14 +5,14 @@ Getters | DimensionalData.jl - - + + - + - - - + + + @@ -20,7 +20,7 @@ -
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
+    
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)
╭───────────────────────────╮
@@ -29,27 +29,27 @@
 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,
+  100.0       110.0        120.0190.0       200.0
+ 10      0.616666    0.561953     0.0157247        0.177857    0.856524
+  9      0.660024    0.395523     0.0109523        0.552838    0.0536623
+  8      0.112606    0.548479     0.0545071        0.755722    0.830655
+  7      0.839223    0.0400057    0.702845         0.384116    0.445628
+  6      0.734452    0.65906      0.506965    …    0.654591    0.44097
+  5      0.89757     0.748725     0.00633515       0.178022    0.106904
+  4      0.969026    0.0042232    0.63959          0.423538    0.556096
+  3      0.106472    0.274713     0.589536         0.805743    0.390342
+  2      0.861535    0.167465     0.507581         0.799964    0.292431
+  1      0.245499    0.742732     0.095824    …    0.90203     0.86858

dims retrieves dimensions from any object that has them.

What makes it so useful is that you can filter which dimensions you want, and specify 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)

Predicates

These always return true or false. With multiple dimensions, false 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/dev/groupby.html b/dev/groupby.html index 3bf451a07..d374cc8ea 100644 --- a/dev/groupby.html +++ b/dev/groupby.html @@ -5,14 +5,14 @@ Group By | DimensionalData.jl - - + + - + - - - + + + @@ -20,10 +20,10 @@ -
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
+    
Skip to content

Group By

DimensionalData.jl provides a groupby function for dimensional grouping. This guide covers:

  • simple grouping with a function

  • grouping with Bins

  • grouping with another existing AbstractDimArray or Dimension

Grouping functions

Let's 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}:
+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")

Let's see how some common functions work.

The hour function will transform values to the hour of the day - the integers 0:23

julia
julia> hour.(tempo)
17520-element Vector{Int64}:
   0
   1
   2
@@ -43,7 +43,7 @@
  20
  21
  22
- 23

Tuple groupings

julia
julia> yearmonth.(tempo)
17520-element Vector{Tuple{Int64, Int64}}:
+ 23

Tuple groupings

julia
julia> yearmonth.(tempo)
17520-element Vector{Tuple{Int64, Int64}}:
  (2000, 1)
  (2000, 1)
  (2000, 1)
@@ -63,23 +63,23 @@
  (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))
╭───────────────────────────────╮
+ (2001, 12)

Grouping and reducing

Let's 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.0   0.654537              0.418968                 0.677549
+ 1.01  0.664038              0.674881                 0.578183
+ 1.02  0.00832284            0.475569                 0.454715
+ 1.03  0.639212              0.616635                 0.875994
  ⋮                                                 ⋱  ⋮
- 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)
╭───────────────────────────────────────────────────╮
+ 1.96  0.0106725             0.846581                 0.757228
+ 1.97  0.585756              0.485119                 0.299692
+ 1.98  0.471877              0.889153                 0.336768
+ 1.99  0.428951              0.312976              …  0.948798
+ 2.0   0.921012              0.397575                 0.0897302

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
@@ -102,14 +102,14 @@
   Dict{Symbol, Any} with 1 entry:
   :groupby => :Ti=>month
 └──────────────────────────────────────────────────────────────────────────────┘
-  1  0.500757
-  2  0.498832
-  3  0.498388
-  4  0.500913
+  1  0.500665
+  2  0.499693
+  3  0.500331
+  4  0.499353
 
- 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))
╭──────────────────────────────────────────────────╮
+ 10  0.499069
+ 11  0.500155
+ 12  0.500136

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}
@@ -122,7 +122,7 @@
  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))
╭──────────────────────────────────────────────────────╮
+ 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 object's 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
@@ -138,7 +138,7 @@
 
  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/dev/hashmap.json b/dev/hashmap.json index 60f6dc7ce..1a6d7021f 100644 --- a/dev/hashmap.json +++ b/dev/hashmap.json @@ -1 +1 @@ -{"api_dimensions.md":"SBrxkSyF","api_lookuparrays.md":"4gWyIReH","api_reference.md":"Cbzd03zL","basics.md":"1otrM5SC","broadcasts.md":"CVzEqDHf","cuda.md":"DmbWVZki","dimarrays.md":"DAoE3lud","dimensions.md":"Btc7hsPQ","diskarrays.md":"DNn9Ahrm","extending_dd.md":"DoS75dmN","get_info.md":"B7K6LY7P","groupby.md":"DESSK1W0","index.md":"uhypFJup","integrations.md":"dJo1qUjg","object_modification.md":"-cjSpi5I","plots.md":"kpY9w3i0","selectors.md":"Cu8DY1IK","stacks.md":"SmvHWrk4","tables.md":"t8vBJGld"} +{"api_dimensions.md":"0EpvcW_-","api_lookuparrays.md":"QQHTyv_S","api_reference.md":"CbFETIiO","basics.md":"NNYczrui","broadcasts.md":"Dz88oNfL","cuda.md":"D8Q-T0cP","dimarrays.md":"BoEU5ZVn","dimensions.md":"BukE2hG-","diskarrays.md":"DGsdRCSJ","extending_dd.md":"BXSXpgVw","get_info.md":"oVG65ArA","groupby.md":"BUxX6owS","index.md":"BtPO60nF","integrations.md":"CffVJNNA","object_modification.md":"Bn8irSF4","plots.md":"D4kZ1izt","selectors.md":"BYwWS6hp","stacks.md":"DhVQ6mRN","tables.md":"C58ZkjII"} diff --git a/dev/index.html b/dev/index.html index 6f53a7cab..f793811b7 100644 --- a/dev/index.html +++ b/dev/index.html @@ -5,14 +5,14 @@ DimensionalData.jl - - + + - + - - - + + + @@ -20,8 +20,8 @@ -
Skip to content

DimensionalData.jl

Julia datasets with named dimensions

High performance named indexing for Julia

- +
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/dev/integrations.html b/dev/integrations.html index 929599c64..b78789835 100644 --- a/dev/integrations.html +++ b/dev/integrations.html @@ -5,14 +5,14 @@ Integrations | DimensionalData.jl - - + + - + - - - + + + @@ -20,8 +20,8 @@ -
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.

- +
Skip to content

Integrations

Rasters.jl

Rasters.jl extends DimensionalData for geospatial data manipulation, providing file load/save capabilities for a wide range of raster data sources and common GIS tools like polygon rasterization and masking. Raster types are aware of their 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 AbstractSampled lookups.

YAXArrays.jl

YAXArrays.jl is another spatial data package aimed more at (very) large datasets. Its functionality is slowly converging with Rasters.jl (both wrapping DiskArrays.jl/DimensionalData.jl) and we work closely with the developers.

YAXArray is a AbstractDimArray and inherits its behaviours.

ClimateBase.jl

ClimateBase.jl Extends DimensionalData.jl 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/dev/object_modification.html b/dev/object_modification.html index 0e49023c8..60ca958ba 100644 --- a/dev/object_modification.html +++ b/dev/object_modification.html @@ -3,16 +3,16 @@ - Modifying objects | DimensionalData.jl + Modifying Objects | DimensionalData.jl - - + + - + - - - + + + @@ -20,7 +20,7 @@ -
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
+    
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}
@@ -53,28 +53,28 @@
 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.0  0.884218  0.686915   0.208271     0.744517  0.487197  0.86789
+ 2.0  0.903705  0.0915867  0.247032     0.824556  0.298728  0.933212
+ 1.0  0.159092  0.193627   0.317813     0.474755  0.474052  0.364844

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)
╭──────────────────────────╮
+ 1.0  0.159092  0.193627   0.317813     0.474755  0.474052  0.364844
+ 2.0  0.903705  0.0915867  0.247032     0.824556  0.298728  0.933212
+ 3.0  0.884218  0.686915   0.208271     0.744517  0.487197  0.86789
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
- + 1.0 0.159092 0.193627 0.317813 0.474755 0.474052 0.364844 + 2.0 0.903705 0.0915867 0.247032 0.824556 0.298728 0.933212 + 3.0 0.884218 0.686915 0.208271 0.744517 0.487197 0.86789
+ \ No newline at end of file diff --git a/dev/plots.html b/dev/plots.html index 8f9740b59..4bccf983a 100644 --- a/dev/plots.html +++ b/dev/plots.html @@ -5,14 +5,14 @@ Plots.jl | DimensionalData.jl - - + + - + - - - + + + @@ -20,12 +20,12 @@ -
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
+    
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!

- +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/dev/selectors.html b/dev/selectors.html index 75b26057f..d8c2540e0 100644 --- a/dev/selectors.html +++ b/dev/selectors.html @@ -5,14 +5,14 @@ Selectors | DimensionalData.jl - - + + - + - - - + + + @@ -20,37 +20,37 @@ -
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]))
╭─────────────────────────╮
+    
Skip to content

Selectors

In addition to choosing dimensions by name, we can also select values within them.

First, we can create a 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)]
╭─────────────────────────╮
+   :a        :b        :c
+ 1.0  0.782081  0.381692  0.751977
+ 1.2  0.836407  0.992013  0.806006
+ 1.4  0.429267  0.367576  0.376108
+ 1.6  0.127082  0.114532  0.0943594
+ 1.8  0.677743  0.354013  0.910098
+ 2.0  0.822783  0.874735  0.144269

Then we can use the Selector to select values from the array:

The At(x) selector gets the index or indices exactly matching the passed in value(s).

julia
julia> A[X=At(1.2), Y=At(:c)]
0.806005979085237

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])]
╭─────────────────────────╮
+   :a        :b        :c
+ 1.0  0.782081  0.381692  0.751977
+ 1.2  0.836407  0.992013  0.806006
+ 1.4  0.429267  0.367576  0.376108

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}
+ 1.2  0.836407  0.806006
+ 1.4  0.429267  0.376108

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

The Sampled(x) lookup holds 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 can't 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
@@ -64,82 +64,82 @@
 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))
╭─────────────────────────╮
+ 10    0.659048  0.883222  0.621603  0.41767   0.48849
+ 20    0.796999  0.872742  0.768488  0.594101  0.956886
+ 30    0.27736   0.530405  0.721125  0.530389  0.00114293
+ 40    0.444305  0.226064  0.806166  0.794725  0.522816
+ 50    0.184738  0.764895  0.496058  0.298029  0.305342
+ 60    0.772277  0.86273   0.973357  0.491103  0.927836
+ 70    0.711133  0.748041  0.925367  0.976465  0.239921

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 the 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))
╭───────────────────────────╮
+  10          12           14         16         18         20
+ 1.0   0.672504    0.72217      0.196478   0.650675   0.238831   0.396585
+ 1.2   0.71372     0.896257     0.791844   0.97293    0.570603   0.687921
+ 1.4   0.905616    0.00498986   0.758149   0.883323   0.929034   0.880178
+ 1.6   0.0928922   0.307762     0.229418   0.679453   0.21921    0.855976
+ 1.8   0.441181    0.651538     0.75985    0.442111   0.506221   0.0575993
+ 2.0   0.621662    0.314906     0.152068   0.882656   0.680987   0.771237

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.0    0.0775482   0.473944   0.898833      0.746037    0.594523   0.312277
+ 1.04   0.838572    0.631878   0.429465      0.812342    0.737151   0.5053
+ 1.08   0.166221    0.29205    0.244582      0.363678    0.801242   0.328169
+ 1.12   0.11787     0.371583   0.400001      0.92906     0.337296   0.760043
  ⋮                                       ⋱               ⋮
- 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)]
╭─────────────────────────╮
+ 1.84   0.528009    0.951796   0.188707      0.0411113   0.608263   0.993001
+ 1.88   0.229792    0.565165   0.910836      0.162784    0.410125   0.699118
+ 1.92   0.574678    0.618541   0.187648      0.952744    0.583476   0.460775
+ 1.96   0.89559     0.812106   0.953145  …   0.727405    0.559465   0.788252
+ 2.0    0.595409    0.630782   0.298791      0.391258    0.320737   0.216905

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))
╭────────────────────────────╮
+  10         12         14          16          18          20
+ 1.0   0.312277   0.746037   0.0623229   0.930614    0.898833    0.0775482
+ 1.2   0.825676   0.208304   0.232648    0.856029    0.649595    0.495624
+ 1.4   0.87475    0.403556   0.0990865   0.571126    0.0564029   0.909826
+ 1.6   0.939546   0.097066   0.139173    0.0566306   0.833475    0.0831822
+ 1.8   0.747695   0.721253   0.998253    0.781923    0.554833    0.228081
+ 2.0   0.216905   0.391258   0.719849    0.127621    0.298791    0.595409

If the lookups aren't aligned, we can use Near instead of At, which is 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)]
╭─────────────────────────╮
+    10.0       10.9       11.828.0       28.9       29.8
+ 1.0     0.412631   0.707629   0.640577       0.329029   0.945549   0.505129
+ 1.007   0.300304   0.66424    0.948532       0.565649   0.27236    0.782344
+ 1.014   0.421525   0.564636   0.267693       0.861783   0.53422    0.906871
+ 1.021   0.399781   0.381315   0.970303       0.449093   0.560553   0.565202
+ ⋮                                        ⋱
+ 1.966   0.608086   0.605375   0.336929       0.891637   0.537974   0.509288
+ 1.973   0.500679   0.179953   0.183503   …   0.851044   0.206886   0.824656
+ 1.98    0.673494   0.613381   0.0136364      0.427523   0.397621   0.742451
+ 1.987   0.294489   0.949143   0.520037       0.307031   0.18378    0.531598
+ 1.994   0.725774   0.525431   0.870641       0.919448   0.09814    0.331422
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
- + 10.0 11.8 13.6 16.3 18.1 19.9 + 1.0 0.412631 0.640577 0.505726 0.371838 0.49487 0.0639461 + 1.203 0.824659 0.913321 0.510752 0.29488 0.154653 0.647062 + 1.399 0.366634 0.653364 0.568727 0.925888 0.660823 0.645043 + 1.602 0.0515532 0.324073 0.424831 0.808144 0.838211 0.71953 + 1.798 0.205861 0.414017 0.453507 0.526825 0.180915 0.125626 + 1.994 0.725774 0.870641 0.484227 0.0294193 0.6675 0.712805
+ \ No newline at end of file diff --git a/dev/stacks.html b/dev/stacks.html index c38488a0e..7cc96a180 100644 --- a/dev/stacks.html +++ b/dev/stacks.html @@ -5,14 +5,14 @@ DimStacks | DimensionalData.jl - - + + - + - - - + + + @@ -20,7 +20,7 @@ -
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
+    
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)))
╭───────────────╮
@@ -33,33 +33,33 @@
   :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
╭────────────────────────────╮
+└──────────────────────────────────────────────────────────────────────────────┘

The behavior of a DimStack is at times like a NamedTuple of DimArray and, at other times, 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]
╭─────────────────────────────────╮
+  5.0        6.0        7.0        8.0        9.0       10.0
+  1.0  0.105474   0.924846   0.935937   0.956044   0.841169   0.178846
+  2.0  0.606746   0.31628    0.745734   0.912254   0.581458   0.287284
+  3.0  0.0461633  0.0979352  0.497456   0.940199   0.459336   0.477439
+  4.0  0.341785   0.25853    0.788056   0.392071   0.277507   0.048092
+  5.0  0.275784   0.130942   0.0251457  0.0883392  0.257433   0.0878344
+  6.0  0.659836   0.220699   0.249439   0.0571503  0.192702   0.620657
+  7.0  0.168617   0.842552   0.935022   0.544803   0.970824   0.704105
+  8.0  0.395053   0.565883   0.19689    0.569194   0.317199   0.574623
+  9.0  0.790418   0.0329394  0.389598   0.879411   0.780527   0.579492
+ 10.0  0.113361   0.106544   0.8698     0.722335   0.544125   0.562491
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)
╭───────────────╮
+  5.0  0.150559
+  6.0  0.91305
+  7.0  0.938732
+  8.0  0.498429
+  9.0  0.887397
+ 10.0  0.576224

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.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)

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.9708243398463525, b = 0.97164033242648, c = 0.938732432349465, d = 0.8030281996030815)
julia
julia> maximum(st; dims=Y)
╭───────────────╮
 10×1 DimStack
 ├───────────────┴──────────────────────────────────────────────────────── dims ┐
 X Sampled{Float64} 1.0:1.0:10.0 ForwardOrdered Regular Points,
@@ -69,7 +69,7 @@
   :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)])
╭───────────────╮
+└──────────────────────────────────────────────────────────────────────────────┘

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,
@@ -85,12 +85,12 @@
 ├────────────────────────────────────────────────────────────────────── 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
+└──────────────────────────────────────────────────────────────────────────────┘

Performance

Indexing a stack is fast - indexing a single value and returning a NamedTuple from all layers is usually measured 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.028 ns (0 allocations: 0 bytes)
-(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
julia
julia> @btime $st[1, 4]
  4.028 ns (0 allocations: 0 bytes)
-(a = 0.2571287355813575, b = 0.925267535912165, c = 0.12713970284423626, d = 0.3258728635315493)
- +julia> @btime $st[X=1, Y=4]
  4.067 ns (0 allocations: 0 bytes)
+(a = 0.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)
julia
julia> @btime $st[1, 4]
  4.038 ns (0 allocations: 0 bytes)
+(a = 0.9560436529181846, b = 0.5154448003579335, c = 0.49842910686075803, d = 0.48240020633837055)
+ \ No newline at end of file diff --git a/dev/tables.html b/dev/tables.html index dbc8cbeab..274f14d35 100644 --- a/dev/tables.html +++ b/dev/tables.html @@ -5,14 +5,14 @@ Tables and DataFrames | DimensionalData.jl - - + + - + - - - + + + @@ -20,11 +20,11 @@ -
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
+    
Skip to content

Tables and DataFrames

Tables.jl provides an ecosystem-wide interface to tabular data in Julia, ensuring 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 of the array or stack layer, and the result of DD.name(dimension) for Dimension columns.

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)
╭───────────────────────────────────╮
+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,
@@ -32,59 +32,59 @@
 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
+  1          2         38         9         10
+  1    0.846254   0.684303  0.939201     0.61378   0.231047   0.0950183
+  2    0.782777   0.224351  0.240351     0.319803  0.554735   0.99531
+  3    0.807522   0.767136  0.390515     0.207789  0.204906   0.605097
+  4    0.960754   0.73427   0.71403      0.317665  0.685225   0.66882
+  ⋮                                   ⋱                       ⋮
+  7    0.685603   0.444969  0.899242     0.374729  0.778193   0.556711
+  8    0.0987646  0.628875  0.901156     0.571628  0.652397   0.057459
+  9    0.596036   0.110489  0.215681     0.998548  0.918952   0.806689
+ 10    0.603358   0.245564  0.431383  …  0.258165  0.233468   0.99726

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
+──────┼───────────────────────────────────
+    1 │     1      1  a         0.846254
+    2 │     2      1  a         0.782777
+    3 │     3      1  a         0.807522
+    4 │     4      1  a         0.960754
+    5 │     5      1  a         0.0965086
+    6 │     6      1  a         0.889194
+    7 │     7      1  a         0.685603
+    8 │     8      1  a         0.0987646
+  ⋮   │   ⋮      ⋮       ⋮          ⋮
+ 2594 │     4     10  z         0.404604
+ 2595 │     5     10  z         0.0769145
+ 2596 │     6     10  z         0.292495
+ 2597 │     7     10  z         0.227142
+ 2598 │     8     10  z         0.635786
+ 2599 │     9     10  z         0.210417
+ 2600 │    10     10  z         0.849817
+                         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"
+ "1,1,a,0.4473266106898912,0.55560637324799"
+ "2,1,a,0.9655293490481315,0.10276733254788795"
+ "3,1,a,0.48748811097285394,0.22237128922242078"
+ "4,1,a,0.2674330482715843,0.5501481631111826"
+ "5,1,a,0.5992407552660244,0.09300753748828394"
+ "6,1,a,0.19219227965820063,0.48952511607945026"
+ "7,1,a,0.6072910004472037,0.7938317326707394"
+ "8,1,a,0.9219584479428687,0.0019198597596568057"
+ "9,1,a,0.9217489713778885,0.44833963865079907"
 
- "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"
- + "2,10,z,0.39189449474581917,0.42429962356614626" + "3,10,z,0.21066413424755615,0.836907965319872" + "4,10,z,0.10723267004015569,0.9630127530566065" + "5,10,z,0.9341886269251364,0.8219403925584018" + "6,10,z,0.29448593792551514,0.36851882799081104" + "7,10,z,0.6163310918833074,0.23350386812772128" + "8,10,z,0.020158765333216477,0.7959265671836858" + "9,10,z,0.3343926384599254,0.3777991041100621" + "10,10,z,0.4858762080349691,0.2276004407628871"
+ \ No newline at end of file