From 5d9068200abf0c42ceb4562bd0240fe6c679aeb8 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Mon, 3 Oct 2022 15:52:43 -0600 Subject: [PATCH] Flux 0.185 (#4511) * Flux 0.185.0 release notes * Flux 0.185.0 stdlib updates --- content/flux/v0.x/release-notes.md | 16 ++ .../contrib/jsternberg/aggregate/_index.md | 54 ----- .../contrib/jsternberg/aggregate/count.md | 63 ------ .../contrib/jsternberg/aggregate/define.md | 91 --------- .../contrib/jsternberg/aggregate/max.md | 63 ------ .../contrib/jsternberg/aggregate/mean.md | 63 ------ .../contrib/jsternberg/aggregate/min.md | 63 ------ .../contrib/jsternberg/aggregate/sum.md | 63 ------ .../contrib/jsternberg/aggregate/table.md | 126 ------------ .../contrib/jsternberg/aggregate/window.md | 84 -------- .../stdlib/contrib/jsternberg/math/max.md | 48 ----- .../contrib/jsternberg/math/maxindex.md | 48 ----- .../contrib/jsternberg/math/minindex.md | 48 ----- .../stdlib/contrib/jsternberg/math/sum.md | 48 ----- .../math => experimental/dynamic}/_index.md | 22 +-- .../dynamic/dynamic.md} | 23 +-- .../stdlib/experimental/http/requests/peek.md | 6 +- .../v0.x/stdlib/experimental/json/parse.md | 8 +- .../v0.x/stdlib/experimental/polyline/rdp.md | 186 +++++++++--------- .../v0.x/stdlib/experimental/record/get.md | 2 +- .../flux/v0.x/stdlib/http/requests/peek.md | 6 +- .../flux/v0.x/stdlib/http/requests/post.md | 8 +- content/flux/v0.x/stdlib/math/acos.md | 32 +-- content/flux/v0.x/stdlib/math/acosh.md | 32 +-- content/flux/v0.x/stdlib/math/asin.md | 32 +-- content/flux/v0.x/stdlib/math/atanh.md | 32 +-- content/flux/v0.x/stdlib/math/expm1.md | 32 +-- content/flux/v0.x/stdlib/math/log1p.md | 32 +-- content/flux/v0.x/stdlib/universe/time.md | 32 +-- 29 files changed, 259 insertions(+), 1104 deletions(-) delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/_index.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/count.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/define.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/max.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/mean.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/min.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/sum.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/table.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/window.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/math/max.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/math/maxindex.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/math/minindex.md delete mode 100644 content/flux/v0.x/stdlib/contrib/jsternberg/math/sum.md rename content/flux/v0.x/stdlib/{contrib/jsternberg/math => experimental/dynamic}/_index.md (61%) rename content/flux/v0.x/stdlib/{contrib/jsternberg/math/min.md => experimental/dynamic/dynamic.md} (64%) diff --git a/content/flux/v0.x/release-notes.md b/content/flux/v0.x/release-notes.md index 107c41689..352a76195 100644 --- a/content/flux/v0.x/release-notes.md +++ b/content/flux/v0.x/release-notes.md @@ -10,6 +10,22 @@ aliases: - /influxdb/cloud/reference/release-notes/flux/ --- +## v0.185.0 [2022-10-03] + +### Features +- Add dynamic type. +- Add dynamic wrapper function. +- Enable codespan formatting for errors via feature flags. + +### Bug fixes +- Pass context in the `Run` source helper. +- Handle null vector inputs for `_vecFloat`. +- Remove broken `contrib` packages: + - contrib/jsternberg/aggregate + - contrib/jsternberg/math + +--- + ## v0.184.2 [2022-09-26] ### Bug fixes diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/_index.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/_index.md deleted file mode 100644 index ddc198192..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/_index.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: aggregate package -description: > - The `aggregate` package provides an API for computing multiple aggregates over multiple columns within the same table stream. -menu: - flux_0_x_ref: - name: aggregate - parent: contrib/jsternberg - identifier: contrib/jsternberg/aggregate -weight: 31 -cascade: - - introduced: 0.77.0 ---- - - - -The `aggregate` package provides an API for computing multiple aggregates over multiple columns within the same table stream. -Import the `contrib/jsternberg/aggregate` package: - -```js -import "contrib/jsternberg/aggregate" -``` - -## Constants - -```js -aggregate.none -aggregate.null -``` - -- **aggregate.none** is a sentinel value for fill that will skip -emitting a row if there are no values for an interval. -- **aggregate.null** is a sentinel value for fill that will fill -in a null value if there were no values for an interval. - - -## Functions - -{{< children type="functions" show="pages" >}} diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/count.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/count.md deleted file mode 100644 index b753f01d5..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/count.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: aggregate.count() function -description: > - `aggregate.count()` constructs a count aggregate for the column. -menu: - flux_0_x_ref: - name: aggregate.count - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/count -weight: 301 ---- - - - -`aggregate.count()` constructs a count aggregate for the column. - - - -##### Function type signature - -```js -( - ?column: A, - ?fill: B, -) => { - reduce: (state: int, values: [E]) => int, - init: (values: [D]) => int, - fill: B, - compute: (state: C) => C, - column: A, -} -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### column - -Name of the column to aggregate. - - - -### fill - -When set, value to replace missing values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/define.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/define.md deleted file mode 100644 index 75532f45b..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/define.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: aggregate.define() function -description: > - `aggregate.define()` constructs an aggregate function record. -menu: - flux_0_x_ref: - name: aggregate.define - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/define -weight: 301 ---- - - - -`aggregate.define()` constructs an aggregate function record. - - - -##### Function type signature - -```js -( - compute: A, - init: B, - reduce: C, - ?fill: D, -) => ( - ?column: E, - ?fill: F, -) => { - reduce: C, - init: B, - fill: F, - compute: A, - column: E, -} -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### init -({{< req >}}) -Function to compute the initial state of the -output. This can return either the final aggregate or a -temporary state object that can be used to compute the -final aggregate. The `values` parameter will always be a -non-empty array of values from the specified column. - - - -### reduce -({{< req >}}) -Function that takes in another buffer of values -and the current state of the aggregate and computes -the updated state. - - - -### compute -({{< req >}}) -Function that takes the state and computes the final aggregate. - - - -### fill - -Value passed to `fill()`. If present, the fill value determines what -the aggregate does when there are no values. -This can either be a value or one of the predefined -identifiers, `null` or `none`. -This value must be the same type as the value return from -compute. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/max.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/max.md deleted file mode 100644 index 487b40109..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/max.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: aggregate.max() function -description: > - `aggregate.max()` constructs a max aggregate or selector for the column. -menu: - flux_0_x_ref: - name: aggregate.max - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/max -weight: 301 ---- - - - -`aggregate.max()` constructs a max aggregate or selector for the column. - - - -##### Function type signature - -```js -( - ?column: A, - ?fill: B, -) => { - reduce: (state: D, values: [D]) => D, - init: (values: [D]) => D, - fill: B, - compute: (state: C) => C, - column: A, -} where D: Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### column - -Name of the column to aggregate. - - - -### fill - -When set, value to replace missing values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/mean.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/mean.md deleted file mode 100644 index d9b152109..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/mean.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: aggregate.mean() function -description: > - `aggregate.mean()` constructs a mean aggregate for the column. -menu: - flux_0_x_ref: - name: aggregate.mean - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/mean -weight: 301 ---- - - - -`aggregate.mean()` constructs a mean aggregate for the column. - - - -##### Function type signature - -```js -( - ?column: A, - ?fill: B, -) => { - reduce: (state: {G with sum: H, count: int}, values: [H]) => {sum: H, count: int}, - init: (values: [F]) => {sum: F, count: int}, - fill: B, - compute: (state: {C with sum: E, count: D}) => float, - column: A, -} where F: Numeric, H: Addable + Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### column - -Name of the column to aggregate. - - - -### fill - -When set, value to replace missing values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/min.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/min.md deleted file mode 100644 index 8a188b2d2..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/min.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: aggregate.min() function -description: > - `aggregate.min()` constructs a min aggregate or selector for the column. -menu: - flux_0_x_ref: - name: aggregate.min - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/min -weight: 301 ---- - - - -`aggregate.min()` constructs a min aggregate or selector for the column. - - - -##### Function type signature - -```js -( - ?column: A, - ?fill: B, -) => { - reduce: (state: D, values: [D]) => D, - init: (values: [D]) => D, - fill: B, - compute: (state: C) => C, - column: A, -} where D: Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### column - -Name of the column to aggregate. - - - -### fill - -When set, value to replace missing values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/sum.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/sum.md deleted file mode 100644 index 537983dfd..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/sum.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: aggregate.sum() function -description: > - `aggregate.sum()` constructs a sum aggregate for the column. -menu: - flux_0_x_ref: - name: aggregate.sum - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/sum -weight: 301 ---- - - - -`aggregate.sum()` constructs a sum aggregate for the column. - - - -##### Function type signature - -```js -( - ?column: A, - ?fill: B, -) => { - reduce: (state: E, values: [E]) => E, - init: (values: [D]) => D, - fill: B, - compute: (state: C) => C, - column: A, -} where D: Numeric, E: Addable + Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### column - -Name of the column to aggregate. - - - -### fill - -When set, value to replace missing values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/table.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/table.md deleted file mode 100644 index 6db15e1d6..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/table.md +++ /dev/null @@ -1,126 +0,0 @@ ---- -title: aggregate.table() function -description: > - `aggregate.table()` will aggregate columns and create tables with a single - row containing the aggregated value. -menu: - flux_0_x_ref: - name: aggregate.table - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/table -weight: 301 ---- - - - -`aggregate.table()` will aggregate columns and create tables with a single -row containing the aggregated value. - - - -##### Function type signature - -```js -(<-tables: stream[B], columns: A) => stream[C] where A: Record, B: Record, C: Record -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### tables - -Input data. Default is piped-forward data (`<-`). - - - -### columns -({{< req >}}) -Columns to aggregate and which aggregate method to use. - -Columns is a record where the key is a column name and the value is an aggregate record. -The aggregate record is composed of at least the following required attributes: -- **column**: Input column name (string). -- **init**: A function to compute the initial state of the -output. This can return either the final aggregate or a -temporary state object that can be used to compute the -final aggregate. The `values` parameter will always be a -non-empty array of values from the specified column. -For example: `(values) => state`. -- **reduce**: A function that takes in another buffer of values -and the current state of the aggregate and computes -the updated state. -For example: `(values, state) => state`. -- **compute**: A function that takes the state and computes the final -aggregate. For example, `(state) => value`. -- **fill**: The value passed to `fill()`. If present, the fill value -determines what the aggregate does when there are no values. -This can either be a value or one of the predefined -identifiers of `null` or `none`. -This value must be the same type as the value return from -`compute`. - - -## Examples - -### Compute the min of a specific column - -```js -import "sampledata" -import "contrib/jsternberg/aggregate" - -sampledata.float() - |> aggregate.table(columns: {"min_bottom_degrees": aggregate.min(column: "_value")}) - -``` - -{{< expand-wrapper >}} -{{% expand "View example input and ouput" %}} - -#### Input data - -| *tag | min_bottom_degrees | -| ---- | ------------------- | -| t1 | -2.18 | - -| *tag | min_bottom_degrees | -| ---- | ------------------- | -| t2 | -3.75 | - - -#### Output data - -| _time | *tag | _value | -| -------------------- | ---- | ------- | -| 2021-01-01T00:00:00Z | t1 | -2.18 | -| 2021-01-01T00:00:10Z | t1 | 10.92 | -| 2021-01-01T00:00:20Z | t1 | 7.35 | -| 2021-01-01T00:00:30Z | t1 | 17.53 | -| 2021-01-01T00:00:40Z | t1 | 15.23 | -| 2021-01-01T00:00:50Z | t1 | 4.43 | - -| _time | *tag | _value | -| -------------------- | ---- | ------- | -| 2021-01-01T00:00:00Z | t2 | 19.85 | -| 2021-01-01T00:00:10Z | t2 | 4.97 | -| 2021-01-01T00:00:20Z | t2 | -3.75 | -| 2021-01-01T00:00:30Z | t2 | 19.77 | -| 2021-01-01T00:00:40Z | t2 | 13.86 | -| 2021-01-01T00:00:50Z | t2 | 1.86 | - -{{% /expand %}} -{{< /expand-wrapper >}} diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/window.md b/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/window.md deleted file mode 100644 index 796bbb1a7..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/aggregate/window.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: aggregate.window() function -description: > - `aggregate.window()` aggregates columns and create tables by - organizing incoming points into windows. -menu: - flux_0_x_ref: - name: aggregate.window - parent: contrib/jsternberg/aggregate - identifier: contrib/jsternberg/aggregate/window -weight: 301 ---- - - - -`aggregate.window()` aggregates columns and create tables by -organizing incoming points into windows. - -Each table will have two additional columns: start and stop. -These are the start and stop times for each interval. -It is not possible to use start or stop as destination column -names with this function. The start and stop columns are not -added to the group key. - -##### Function type signature - -```js -( - <-tables: stream[B], - columns: A, - every: duration, - ?period: duration, - ?time: string, -) => stream[C] where A: Record, B: Record, C: Record -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### tables - -Input data. Default is piped-forward data (`<-`). - - - -### columns -({{< req >}}) -Columns to aggregate and which aggregate method to use. See `aggregate.table()` for details. - - - -### every -({{< req >}}) -Duration between the start of each interval. - - - -### time - -Column name for the time input. Defaults to `_time` or `time` (whichever is earlier in the list of columns). - - - -### period - -Length of the interval. Defaults to the `every` duration. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/math/max.md b/content/flux/v0.x/stdlib/contrib/jsternberg/math/max.md deleted file mode 100644 index 8be64cff5..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/math/max.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: math.max() function -description: > - `math.max()` returns the maximum value within the array. -menu: - flux_0_x_ref: - name: math.max - parent: contrib/jsternberg/math - identifier: contrib/jsternberg/math/max -weight: 301 ---- - - - -`math.max()` returns the maximum value within the array. - - - -##### Function type signature - -```js -(values: [A]) => A where A: Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### values -({{< req >}}) -Array of values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/math/maxindex.md b/content/flux/v0.x/stdlib/contrib/jsternberg/math/maxindex.md deleted file mode 100644 index b12295e8b..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/math/maxindex.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: math.maxIndex() function -description: > - `math.maxIndex()` returns the index of the maximum value within the array. -menu: - flux_0_x_ref: - name: math.maxIndex - parent: contrib/jsternberg/math - identifier: contrib/jsternberg/math/maxIndex -weight: 301 ---- - - - -`math.maxIndex()` returns the index of the maximum value within the array. - - - -##### Function type signature - -```js -(values: [A]) => int where A: Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### values -({{< req >}}) -Array of values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/math/minindex.md b/content/flux/v0.x/stdlib/contrib/jsternberg/math/minindex.md deleted file mode 100644 index f0534c95a..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/math/minindex.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: math.minIndex() function -description: > - `math.minIndex()` returns the index of the minimum value within the array. -menu: - flux_0_x_ref: - name: math.minIndex - parent: contrib/jsternberg/math - identifier: contrib/jsternberg/math/minIndex -weight: 301 ---- - - - -`math.minIndex()` returns the index of the minimum value within the array. - - - -##### Function type signature - -```js -(values: [A]) => int where A: Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### values -({{< req >}}) -Array of values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/math/sum.md b/content/flux/v0.x/stdlib/contrib/jsternberg/math/sum.md deleted file mode 100644 index 6bacdb3db..000000000 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/math/sum.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: math.sum() function -description: > - `math.sum()` returns the sum of all values within the array. -menu: - flux_0_x_ref: - name: math.sum - parent: contrib/jsternberg/math - identifier: contrib/jsternberg/math/sum -weight: 301 ---- - - - -`math.sum()` returns the sum of all values within the array. - - - -##### Function type signature - -```js -(values: [A]) => A where A: Numeric -``` - -{{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} - -## Parameters - -### values -({{< req >}}) -Array of values. - - - diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/math/_index.md b/content/flux/v0.x/stdlib/experimental/dynamic/_index.md similarity index 61% rename from content/flux/v0.x/stdlib/contrib/jsternberg/math/_index.md rename to content/flux/v0.x/stdlib/experimental/dynamic/_index.md index a0660b31b..ceaef9d0d 100644 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/math/_index.md +++ b/content/flux/v0.x/stdlib/experimental/dynamic/_index.md @@ -1,16 +1,16 @@ --- -title: math package +title: dynamic package description: > - The `math` package provides implementations of aggregate functions. + The `dynamic` package provides tools for working with values of unknown types. menu: flux_0_x_ref: - name: math - parent: contrib/jsternberg - identifier: contrib/jsternberg/math -weight: 31 + name: dynamic + parent: experimental + identifier: experimental/dynamic +weight: 21 cascade: - introduced: 0.77.0 + introduced: 0.185.0 --- -The `math` package provides implementations of aggregate functions. -Import the `contrib/jsternberg/math` package: +The `dynamic` package provides tools for working with values of unknown types. +Import the `experimental/dynamic` package: ```js -import "contrib/jsternberg/math" +import "experimental/dynamic" ``` diff --git a/content/flux/v0.x/stdlib/contrib/jsternberg/math/min.md b/content/flux/v0.x/stdlib/experimental/dynamic/dynamic.md similarity index 64% rename from content/flux/v0.x/stdlib/contrib/jsternberg/math/min.md rename to content/flux/v0.x/stdlib/experimental/dynamic/dynamic.md index b124a5fb0..493a0d82b 100644 --- a/content/flux/v0.x/stdlib/contrib/jsternberg/math/min.md +++ b/content/flux/v0.x/stdlib/experimental/dynamic/dynamic.md @@ -1,13 +1,14 @@ --- -title: math.min() function +title: dynamic.dynamic() function description: > - `math.min()` returns the minimum value within the array. + `dynamic.dynamic()` wraps a value so it can be used as a `dynamic` value. menu: flux_0_x_ref: - name: math.min - parent: contrib/jsternberg/math - identifier: contrib/jsternberg/math/min -weight: 301 + name: dynamic.dynamic + parent: experimental/dynamic + identifier: experimental/dynamic/dynamic +weight: 201 +flux/v0.x/tags: [type-conversions] --- -`math.min()` returns the minimum value within the array. +`dynamic.dynamic()` wraps a value so it can be used as a `dynamic` value. ##### Function type signature ```js -(values: [A]) => A where A: Numeric +(v: A) => dynamic ``` {{% caption %}}For more information, see [Function type signatures](/flux/v0.x/function-type-signatures/).{{% /caption %}} ## Parameters -### values +### v ({{< req >}}) -Array of values. +Value to wrap as dynamic. diff --git a/content/flux/v0.x/stdlib/experimental/http/requests/peek.md b/content/flux/v0.x/stdlib/experimental/http/requests/peek.md index c2e830d24..b61ead2f6 100644 --- a/content/flux/v0.x/stdlib/experimental/http/requests/peek.md +++ b/content/flux/v0.x/stdlib/experimental/http/requests/peek.md @@ -88,12 +88,12 @@ requests.peek(response: requests.get(url: "https://api.agify.io", params: ["name Connection: keep-alive, Content-Length: 41, Content-Type: application/json; charset=utf-8, - Date: Mon, 26 Sep 2022 22:44:12 GMT, + Date: Mon, 03 Oct 2022 21:20:22 GMT, Server: nginx/1.16.1, X-Rate-Limit-Limit: 1000, X-Rate-Limit-Remaining: 998, - X-Rate-Limit-Reset: 4548, - X-Request-Id: FxiKaqGAcMqQ6LAFNgKh + X-Rate-Limit-Reset: 9578, + X-Request-Id: Fxqr53E2jz6yFf4AFNpR ] | 200 | {{% /expand %}} diff --git a/content/flux/v0.x/stdlib/experimental/json/parse.md b/content/flux/v0.x/stdlib/experimental/json/parse.md index 3479db56d..6b0d4bd7c 100644 --- a/content/flux/v0.x/stdlib/experimental/json/parse.md +++ b/content/flux/v0.x/stdlib/experimental/json/parse.md @@ -196,10 +196,10 @@ array.from( #### Output data -| color | pendingDuration | id | -| ------ | ---------------- | -------- | -| red | 3 | 15612462 | -| blue | 16 | 15612462 | +| id | color | pendingDuration | +| -------- | ------ | ---------------- | +| 15612462 | red | 3 | +| 15612462 | blue | 16 | {{% /expand %}} {{< /expand-wrapper >}} diff --git a/content/flux/v0.x/stdlib/experimental/polyline/rdp.md b/content/flux/v0.x/stdlib/experimental/polyline/rdp.md index 302d14081..e32174930 100644 --- a/content/flux/v0.x/stdlib/experimental/polyline/rdp.md +++ b/content/flux/v0.x/stdlib/experimental/polyline/rdp.md @@ -107,44 +107,44 @@ data | _time | _value | | -------------------- | ------------------- | -| 2022-09-26T22:41:30Z | 10.56555566168836 | -| 2022-09-26T22:41:40Z | -29.76098586714259 | -| 2022-09-26T22:41:50Z | -67.50435038579738 | -| 2022-09-26T22:42:00Z | -16.758669047964453 | -| 2022-09-26T22:42:10Z | -47.25865245658065 | -| 2022-09-26T22:42:20Z | 66.16082461651365 | -| 2022-09-26T22:42:30Z | -0.9179216017921821 | -| 2022-09-26T22:42:40Z | -56.89169240573004 | -| 2022-09-26T22:42:50Z | 11.358605472976624 | -| 2022-09-26T22:43:00Z | 28.71147881415803 | -| 2022-09-26T22:43:10Z | -30.928830759588756 | -| 2022-09-26T22:43:20Z | -22.411848631056067 | -| 2022-09-26T22:43:30Z | 17.05503606764129 | -| 2022-09-26T22:43:40Z | 9.834382683760559 | -| 2022-09-26T22:43:50Z | -12.62058579127679 | -| 2022-09-26T22:44:00Z | -44.44668391211515 | +| 2022-10-03T21:17:40Z | 10.56555566168836 | +| 2022-10-03T21:17:50Z | -29.76098586714259 | +| 2022-10-03T21:18:00Z | -67.50435038579738 | +| 2022-10-03T21:18:10Z | -16.758669047964453 | +| 2022-10-03T21:18:20Z | -47.25865245658065 | +| 2022-10-03T21:18:30Z | 66.16082461651365 | +| 2022-10-03T21:18:40Z | -0.9179216017921821 | +| 2022-10-03T21:18:50Z | -56.89169240573004 | +| 2022-10-03T21:19:00Z | 11.358605472976624 | +| 2022-10-03T21:19:10Z | 28.71147881415803 | +| 2022-10-03T21:19:20Z | -30.928830759588756 | +| 2022-10-03T21:19:30Z | -22.411848631056067 | +| 2022-10-03T21:19:40Z | 17.05503606764129 | +| 2022-10-03T21:19:50Z | 9.834382683760559 | +| 2022-10-03T21:20:00Z | -12.62058579127679 | +| 2022-10-03T21:20:10Z | -44.44668391211515 | #### Output data | _time | _value | | -------------------- | ------------------- | -| 2022-09-26T22:41:30Z | 10.56555566168836 | -| 2022-09-26T22:41:40Z | -29.76098586714259 | -| 2022-09-26T22:41:50Z | -67.50435038579738 | -| 2022-09-26T22:42:00Z | -16.758669047964453 | -| 2022-09-26T22:42:10Z | -47.25865245658065 | -| 2022-09-26T22:42:20Z | 66.16082461651365 | -| 2022-09-26T22:42:30Z | -0.9179216017921821 | -| 2022-09-26T22:42:40Z | -56.89169240573004 | -| 2022-09-26T22:42:50Z | 11.358605472976624 | -| 2022-09-26T22:43:00Z | 28.71147881415803 | -| 2022-09-26T22:43:10Z | -30.928830759588756 | -| 2022-09-26T22:43:20Z | -22.411848631056067 | -| 2022-09-26T22:43:30Z | 17.05503606764129 | -| 2022-09-26T22:43:40Z | 9.834382683760559 | -| 2022-09-26T22:43:50Z | -12.62058579127679 | -| 2022-09-26T22:44:00Z | -44.44668391211515 | +| 2022-10-03T21:17:40Z | 10.56555566168836 | +| 2022-10-03T21:17:50Z | -29.76098586714259 | +| 2022-10-03T21:18:00Z | -67.50435038579738 | +| 2022-10-03T21:18:10Z | -16.758669047964453 | +| 2022-10-03T21:18:20Z | -47.25865245658065 | +| 2022-10-03T21:18:30Z | 66.16082461651365 | +| 2022-10-03T21:18:40Z | -0.9179216017921821 | +| 2022-10-03T21:18:50Z | -56.89169240573004 | +| 2022-10-03T21:19:00Z | 11.358605472976624 | +| 2022-10-03T21:19:10Z | 28.71147881415803 | +| 2022-10-03T21:19:20Z | -30.928830759588756 | +| 2022-10-03T21:19:30Z | -22.411848631056067 | +| 2022-10-03T21:19:40Z | 17.05503606764129 | +| 2022-10-03T21:19:50Z | 9.834382683760559 | +| 2022-10-03T21:20:00Z | -12.62058579127679 | +| 2022-10-03T21:20:10Z | -44.44668391211515 | {{% /expand %}} {{< /expand-wrapper >}} @@ -166,43 +166,43 @@ data | _time | _value | | -------------------- | ------------------- | -| 2022-09-26T22:41:30Z | 10.56555566168836 | -| 2022-09-26T22:41:40Z | -29.76098586714259 | -| 2022-09-26T22:41:50Z | -67.50435038579738 | -| 2022-09-26T22:42:00Z | -16.758669047964453 | -| 2022-09-26T22:42:10Z | -47.25865245658065 | -| 2022-09-26T22:42:20Z | 66.16082461651365 | -| 2022-09-26T22:42:30Z | -0.9179216017921821 | -| 2022-09-26T22:42:40Z | -56.89169240573004 | -| 2022-09-26T22:42:50Z | 11.358605472976624 | -| 2022-09-26T22:43:00Z | 28.71147881415803 | -| 2022-09-26T22:43:10Z | -30.928830759588756 | -| 2022-09-26T22:43:20Z | -22.411848631056067 | -| 2022-09-26T22:43:30Z | 17.05503606764129 | -| 2022-09-26T22:43:40Z | 9.834382683760559 | -| 2022-09-26T22:43:50Z | -12.62058579127679 | -| 2022-09-26T22:44:00Z | -44.44668391211515 | +| 2022-10-03T21:17:40Z | 10.56555566168836 | +| 2022-10-03T21:17:50Z | -29.76098586714259 | +| 2022-10-03T21:18:00Z | -67.50435038579738 | +| 2022-10-03T21:18:10Z | -16.758669047964453 | +| 2022-10-03T21:18:20Z | -47.25865245658065 | +| 2022-10-03T21:18:30Z | 66.16082461651365 | +| 2022-10-03T21:18:40Z | -0.9179216017921821 | +| 2022-10-03T21:18:50Z | -56.89169240573004 | +| 2022-10-03T21:19:00Z | 11.358605472976624 | +| 2022-10-03T21:19:10Z | 28.71147881415803 | +| 2022-10-03T21:19:20Z | -30.928830759588756 | +| 2022-10-03T21:19:30Z | -22.411848631056067 | +| 2022-10-03T21:19:40Z | 17.05503606764129 | +| 2022-10-03T21:19:50Z | 9.834382683760559 | +| 2022-10-03T21:20:00Z | -12.62058579127679 | +| 2022-10-03T21:20:10Z | -44.44668391211515 | #### Output data | _time | _value | | -------------------- | ------------------- | -| 2022-09-26T22:41:30Z | 10.56555566168836 | -| 2022-09-26T22:41:50Z | -67.50435038579738 | -| 2022-09-26T22:42:00Z | -16.758669047964453 | -| 2022-09-26T22:42:10Z | -47.25865245658065 | -| 2022-09-26T22:42:20Z | 66.16082461651365 | -| 2022-09-26T22:42:30Z | -0.9179216017921821 | -| 2022-09-26T22:42:40Z | -56.89169240573004 | -| 2022-09-26T22:42:50Z | 11.358605472976624 | -| 2022-09-26T22:43:00Z | 28.71147881415803 | -| 2022-09-26T22:43:10Z | -30.928830759588756 | -| 2022-09-26T22:43:20Z | -22.411848631056067 | -| 2022-09-26T22:43:30Z | 17.05503606764129 | -| 2022-09-26T22:43:40Z | 9.834382683760559 | -| 2022-09-26T22:43:50Z | -12.62058579127679 | -| 2022-09-26T22:44:00Z | -44.44668391211515 | +| 2022-10-03T21:17:40Z | 10.56555566168836 | +| 2022-10-03T21:18:00Z | -67.50435038579738 | +| 2022-10-03T21:18:10Z | -16.758669047964453 | +| 2022-10-03T21:18:20Z | -47.25865245658065 | +| 2022-10-03T21:18:30Z | 66.16082461651365 | +| 2022-10-03T21:18:40Z | -0.9179216017921821 | +| 2022-10-03T21:18:50Z | -56.89169240573004 | +| 2022-10-03T21:19:00Z | 11.358605472976624 | +| 2022-10-03T21:19:10Z | 28.71147881415803 | +| 2022-10-03T21:19:20Z | -30.928830759588756 | +| 2022-10-03T21:19:30Z | -22.411848631056067 | +| 2022-10-03T21:19:40Z | 17.05503606764129 | +| 2022-10-03T21:19:50Z | 9.834382683760559 | +| 2022-10-03T21:20:00Z | -12.62058579127679 | +| 2022-10-03T21:20:10Z | -44.44668391211515 | {{% /expand %}} {{< /expand-wrapper >}} @@ -224,42 +224,42 @@ data | _time | _value | | -------------------- | ------------------- | -| 2022-09-26T22:41:30Z | 10.56555566168836 | -| 2022-09-26T22:41:40Z | -29.76098586714259 | -| 2022-09-26T22:41:50Z | -67.50435038579738 | -| 2022-09-26T22:42:00Z | -16.758669047964453 | -| 2022-09-26T22:42:10Z | -47.25865245658065 | -| 2022-09-26T22:42:20Z | 66.16082461651365 | -| 2022-09-26T22:42:30Z | -0.9179216017921821 | -| 2022-09-26T22:42:40Z | -56.89169240573004 | -| 2022-09-26T22:42:50Z | 11.358605472976624 | -| 2022-09-26T22:43:00Z | 28.71147881415803 | -| 2022-09-26T22:43:10Z | -30.928830759588756 | -| 2022-09-26T22:43:20Z | -22.411848631056067 | -| 2022-09-26T22:43:30Z | 17.05503606764129 | -| 2022-09-26T22:43:40Z | 9.834382683760559 | -| 2022-09-26T22:43:50Z | -12.62058579127679 | -| 2022-09-26T22:44:00Z | -44.44668391211515 | +| 2022-10-03T21:17:40Z | 10.56555566168836 | +| 2022-10-03T21:17:50Z | -29.76098586714259 | +| 2022-10-03T21:18:00Z | -67.50435038579738 | +| 2022-10-03T21:18:10Z | -16.758669047964453 | +| 2022-10-03T21:18:20Z | -47.25865245658065 | +| 2022-10-03T21:18:30Z | 66.16082461651365 | +| 2022-10-03T21:18:40Z | -0.9179216017921821 | +| 2022-10-03T21:18:50Z | -56.89169240573004 | +| 2022-10-03T21:19:00Z | 11.358605472976624 | +| 2022-10-03T21:19:10Z | 28.71147881415803 | +| 2022-10-03T21:19:20Z | -30.928830759588756 | +| 2022-10-03T21:19:30Z | -22.411848631056067 | +| 2022-10-03T21:19:40Z | 17.05503606764129 | +| 2022-10-03T21:19:50Z | 9.834382683760559 | +| 2022-10-03T21:20:00Z | -12.62058579127679 | +| 2022-10-03T21:20:10Z | -44.44668391211515 | #### Output data | _time | _value | | -------------------- | ------------------- | -| 2022-09-26T22:41:30Z | 10.56555566168836 | -| 2022-09-26T22:41:50Z | -67.50435038579738 | -| 2022-09-26T22:42:00Z | -16.758669047964453 | -| 2022-09-26T22:42:10Z | -47.25865245658065 | -| 2022-09-26T22:42:20Z | 66.16082461651365 | -| 2022-09-26T22:42:30Z | -0.9179216017921821 | -| 2022-09-26T22:42:40Z | -56.89169240573004 | -| 2022-09-26T22:42:50Z | 11.358605472976624 | -| 2022-09-26T22:43:00Z | 28.71147881415803 | -| 2022-09-26T22:43:10Z | -30.928830759588756 | -| 2022-09-26T22:43:20Z | -22.411848631056067 | -| 2022-09-26T22:43:30Z | 17.05503606764129 | -| 2022-09-26T22:43:40Z | 9.834382683760559 | -| 2022-09-26T22:44:00Z | -44.44668391211515 | +| 2022-10-03T21:17:40Z | 10.56555566168836 | +| 2022-10-03T21:18:00Z | -67.50435038579738 | +| 2022-10-03T21:18:10Z | -16.758669047964453 | +| 2022-10-03T21:18:20Z | -47.25865245658065 | +| 2022-10-03T21:18:30Z | 66.16082461651365 | +| 2022-10-03T21:18:40Z | -0.9179216017921821 | +| 2022-10-03T21:18:50Z | -56.89169240573004 | +| 2022-10-03T21:19:00Z | 11.358605472976624 | +| 2022-10-03T21:19:10Z | 28.71147881415803 | +| 2022-10-03T21:19:20Z | -30.928830759588756 | +| 2022-10-03T21:19:30Z | -22.411848631056067 | +| 2022-10-03T21:19:40Z | 17.05503606764129 | +| 2022-10-03T21:19:50Z | 9.834382683760559 | +| 2022-10-03T21:20:10Z | -44.44668391211515 | {{% /expand %}} {{< /expand-wrapper >}} diff --git a/content/flux/v0.x/stdlib/experimental/record/get.md b/content/flux/v0.x/stdlib/experimental/record/get.md index 75c73665c..d21b02e19 100644 --- a/content/flux/v0.x/stdlib/experimental/record/get.md +++ b/content/flux/v0.x/stdlib/experimental/record/get.md @@ -75,7 +75,7 @@ import "experimental/record" key = "foo" exampleRecord = {foo: 1.0, bar: "hello"} -record.get(r: exampleRecord, key: key, default: "") // Returns 1.0 +record.get(r: exampleRecord, key: key, default: "")// Returns 1.0 ``` diff --git a/content/flux/v0.x/stdlib/http/requests/peek.md b/content/flux/v0.x/stdlib/http/requests/peek.md index b98b952af..afeca1aec 100644 --- a/content/flux/v0.x/stdlib/http/requests/peek.md +++ b/content/flux/v0.x/stdlib/http/requests/peek.md @@ -83,12 +83,12 @@ requests.peek(response: requests.get(url: "https://api.agify.io", params: ["name Connection: keep-alive, Content-Length: 41, Content-Type: application/json; charset=utf-8, - Date: Mon, 26 Sep 2022 22:44:14 GMT, + Date: Mon, 03 Oct 2022 21:20:24 GMT, Server: nginx/1.16.1, X-Rate-Limit-Limit: 1000, X-Rate-Limit-Remaining: 996, - X-Rate-Limit-Reset: 4546, - X-Request-Id: FxiKavR0CXbSF0wEmwMS + X-Rate-Limit-Reset: 9576, + X-Request-Id: Fxqr57xYrpSg2VIAFNtx ] | 200 | {{% /expand %}} diff --git a/content/flux/v0.x/stdlib/http/requests/post.md b/content/flux/v0.x/stdlib/http/requests/post.md index b4c279662..401876c56 100644 --- a/content/flux/v0.x/stdlib/http/requests/post.md +++ b/content/flux/v0.x/stdlib/http/requests/post.md @@ -189,12 +189,12 @@ requests.peek(response: response) Cache-Control: max-age=604800, Content-Length: 1256, Content-Type: text/html; charset=UTF-8, - Date: Mon, 26 Sep 2022 22:44:14 GMT, + Date: Mon, 03 Oct 2022 21:20:24 GMT, Etag: "3147526947", - Expires: Mon, 03 Oct 2022 22:44:14 GMT, + Expires: Mon, 10 Oct 2022 21:20:24 GMT, Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT, - Server: EOS (vny/0453) -] | 101244190 | + Server: EOS (vny/0452) +] | 97985198 | {{% /expand %}} {{< /expand-wrapper >}} diff --git a/content/flux/v0.x/stdlib/math/acos.md b/content/flux/v0.x/stdlib/math/acos.md index 5ed26dfd8..7650a0933 100644 --- a/content/flux/v0.x/stdlib/math/acos.md +++ b/content/flux/v0.x/stdlib/math/acos.md @@ -79,23 +79,23 @@ data #### Input data -| _time | _value | *tag | -| -------------------- | --------------------- | ---- | -| 2021-01-01T00:00:00Z | -0.021800000000000003 | t1 | -| 2021-01-01T00:00:10Z | 0.1092 | t1 | -| 2021-01-01T00:00:20Z | 0.0735 | t1 | -| 2021-01-01T00:00:30Z | 0.1753 | t1 | -| 2021-01-01T00:00:40Z | 0.15230000000000002 | t1 | -| 2021-01-01T00:00:50Z | 0.0443 | t1 | +| _time | *tag | _value | +| -------------------- | ---- | --------------------- | +| 2021-01-01T00:00:00Z | t1 | -0.021800000000000003 | +| 2021-01-01T00:00:10Z | t1 | 0.1092 | +| 2021-01-01T00:00:20Z | t1 | 0.0735 | +| 2021-01-01T00:00:30Z | t1 | 0.1753 | +| 2021-01-01T00:00:40Z | t1 | 0.15230000000000002 | +| 2021-01-01T00:00:50Z | t1 | 0.0443 | -| _time | _value | *tag | -| -------------------- | -------------------- | ---- | -| 2021-01-01T00:00:00Z | 0.1985 | t2 | -| 2021-01-01T00:00:10Z | 0.0497 | t2 | -| 2021-01-01T00:00:20Z | -0.0375 | t2 | -| 2021-01-01T00:00:30Z | 0.1977 | t2 | -| 2021-01-01T00:00:40Z | 0.1386 | t2 | -| 2021-01-01T00:00:50Z | 0.018600000000000002 | t2 | +| _time | *tag | _value | +| -------------------- | ---- | -------------------- | +| 2021-01-01T00:00:00Z | t2 | 0.1985 | +| 2021-01-01T00:00:10Z | t2 | 0.0497 | +| 2021-01-01T00:00:20Z | t2 | -0.0375 | +| 2021-01-01T00:00:30Z | t2 | 0.1977 | +| 2021-01-01T00:00:40Z | t2 | 0.1386 | +| 2021-01-01T00:00:50Z | t2 | 0.018600000000000002 | #### Output data diff --git a/content/flux/v0.x/stdlib/math/acosh.md b/content/flux/v0.x/stdlib/math/acosh.md index fca943d4f..0522217ae 100644 --- a/content/flux/v0.x/stdlib/math/acosh.md +++ b/content/flux/v0.x/stdlib/math/acosh.md @@ -77,23 +77,23 @@ data #### Input data -| _time | _value | *tag | -| -------------------- | -------------------- | ---- | -| 2021-01-01T00:00:00Z | -0.21800000000000003 | t1 | -| 2021-01-01T00:00:10Z | 1.092 | t1 | -| 2021-01-01T00:00:20Z | 0.735 | t1 | -| 2021-01-01T00:00:30Z | 1.7530000000000001 | t1 | -| 2021-01-01T00:00:40Z | 1.5230000000000001 | t1 | -| 2021-01-01T00:00:50Z | 0.443 | t1 | +| _time | *tag | _value | +| -------------------- | ---- | -------------------- | +| 2021-01-01T00:00:00Z | t1 | -0.21800000000000003 | +| 2021-01-01T00:00:10Z | t1 | 1.092 | +| 2021-01-01T00:00:20Z | t1 | 0.735 | +| 2021-01-01T00:00:30Z | t1 | 1.7530000000000001 | +| 2021-01-01T00:00:40Z | t1 | 1.5230000000000001 | +| 2021-01-01T00:00:50Z | t1 | 0.443 | -| _time | _value | *tag | -| -------------------- | ------------------- | ---- | -| 2021-01-01T00:00:00Z | 1.9850000000000003 | t2 | -| 2021-01-01T00:00:10Z | 0.497 | t2 | -| 2021-01-01T00:00:20Z | -0.375 | t2 | -| 2021-01-01T00:00:30Z | 1.977 | t2 | -| 2021-01-01T00:00:40Z | 1.3860000000000001 | t2 | -| 2021-01-01T00:00:50Z | 0.18600000000000003 | t2 | +| _time | *tag | _value | +| -------------------- | ---- | ------------------- | +| 2021-01-01T00:00:00Z | t2 | 1.9850000000000003 | +| 2021-01-01T00:00:10Z | t2 | 0.497 | +| 2021-01-01T00:00:20Z | t2 | -0.375 | +| 2021-01-01T00:00:30Z | t2 | 1.977 | +| 2021-01-01T00:00:40Z | t2 | 1.3860000000000001 | +| 2021-01-01T00:00:50Z | t2 | 0.18600000000000003 | #### Output data diff --git a/content/flux/v0.x/stdlib/math/asin.md b/content/flux/v0.x/stdlib/math/asin.md index 91b59cc8f..79ee67fbd 100644 --- a/content/flux/v0.x/stdlib/math/asin.md +++ b/content/flux/v0.x/stdlib/math/asin.md @@ -78,23 +78,23 @@ data #### Input data -| _time | _value | *tag | -| -------------------- | --------------------- | ---- | -| 2021-01-01T00:00:00Z | -0.021800000000000003 | t1 | -| 2021-01-01T00:00:10Z | 0.1092 | t1 | -| 2021-01-01T00:00:20Z | 0.0735 | t1 | -| 2021-01-01T00:00:30Z | 0.1753 | t1 | -| 2021-01-01T00:00:40Z | 0.15230000000000002 | t1 | -| 2021-01-01T00:00:50Z | 0.0443 | t1 | +| _time | *tag | _value | +| -------------------- | ---- | --------------------- | +| 2021-01-01T00:00:00Z | t1 | -0.021800000000000003 | +| 2021-01-01T00:00:10Z | t1 | 0.1092 | +| 2021-01-01T00:00:20Z | t1 | 0.0735 | +| 2021-01-01T00:00:30Z | t1 | 0.1753 | +| 2021-01-01T00:00:40Z | t1 | 0.15230000000000002 | +| 2021-01-01T00:00:50Z | t1 | 0.0443 | -| _time | _value | *tag | -| -------------------- | -------------------- | ---- | -| 2021-01-01T00:00:00Z | 0.1985 | t2 | -| 2021-01-01T00:00:10Z | 0.0497 | t2 | -| 2021-01-01T00:00:20Z | -0.0375 | t2 | -| 2021-01-01T00:00:30Z | 0.1977 | t2 | -| 2021-01-01T00:00:40Z | 0.1386 | t2 | -| 2021-01-01T00:00:50Z | 0.018600000000000002 | t2 | +| _time | *tag | _value | +| -------------------- | ---- | -------------------- | +| 2021-01-01T00:00:00Z | t2 | 0.1985 | +| 2021-01-01T00:00:10Z | t2 | 0.0497 | +| 2021-01-01T00:00:20Z | t2 | -0.0375 | +| 2021-01-01T00:00:30Z | t2 | 0.1977 | +| 2021-01-01T00:00:40Z | t2 | 0.1386 | +| 2021-01-01T00:00:50Z | t2 | 0.018600000000000002 | #### Output data diff --git a/content/flux/v0.x/stdlib/math/atanh.md b/content/flux/v0.x/stdlib/math/atanh.md index 009442489..54a07ab98 100644 --- a/content/flux/v0.x/stdlib/math/atanh.md +++ b/content/flux/v0.x/stdlib/math/atanh.md @@ -79,23 +79,23 @@ data #### Input data -| _time | _value | *tag | -| -------------------- | --------------------- | ---- | -| 2021-01-01T00:00:00Z | -0.021800000000000003 | t1 | -| 2021-01-01T00:00:10Z | 0.1092 | t1 | -| 2021-01-01T00:00:20Z | 0.0735 | t1 | -| 2021-01-01T00:00:30Z | 0.1753 | t1 | -| 2021-01-01T00:00:40Z | 0.15230000000000002 | t1 | -| 2021-01-01T00:00:50Z | 0.0443 | t1 | +| _time | *tag | _value | +| -------------------- | ---- | --------------------- | +| 2021-01-01T00:00:00Z | t1 | -0.021800000000000003 | +| 2021-01-01T00:00:10Z | t1 | 0.1092 | +| 2021-01-01T00:00:20Z | t1 | 0.0735 | +| 2021-01-01T00:00:30Z | t1 | 0.1753 | +| 2021-01-01T00:00:40Z | t1 | 0.15230000000000002 | +| 2021-01-01T00:00:50Z | t1 | 0.0443 | -| _time | _value | *tag | -| -------------------- | -------------------- | ---- | -| 2021-01-01T00:00:00Z | 0.1985 | t2 | -| 2021-01-01T00:00:10Z | 0.0497 | t2 | -| 2021-01-01T00:00:20Z | -0.0375 | t2 | -| 2021-01-01T00:00:30Z | 0.1977 | t2 | -| 2021-01-01T00:00:40Z | 0.1386 | t2 | -| 2021-01-01T00:00:50Z | 0.018600000000000002 | t2 | +| _time | *tag | _value | +| -------------------- | ---- | -------------------- | +| 2021-01-01T00:00:00Z | t2 | 0.1985 | +| 2021-01-01T00:00:10Z | t2 | 0.0497 | +| 2021-01-01T00:00:20Z | t2 | -0.0375 | +| 2021-01-01T00:00:30Z | t2 | 0.1977 | +| 2021-01-01T00:00:40Z | t2 | 0.1386 | +| 2021-01-01T00:00:50Z | t2 | 0.018600000000000002 | #### Output data diff --git a/content/flux/v0.x/stdlib/math/expm1.md b/content/flux/v0.x/stdlib/math/expm1.md index aff9c9401..b75eb7a8d 100644 --- a/content/flux/v0.x/stdlib/math/expm1.md +++ b/content/flux/v0.x/stdlib/math/expm1.md @@ -80,23 +80,23 @@ data #### Input data -| _time | _value | *tag | -| -------------------- | --------------------- | ---- | -| 2021-01-01T00:00:00Z | -0.021800000000000003 | t1 | -| 2021-01-01T00:00:10Z | 0.1092 | t1 | -| 2021-01-01T00:00:20Z | 0.0735 | t1 | -| 2021-01-01T00:00:30Z | 0.1753 | t1 | -| 2021-01-01T00:00:40Z | 0.15230000000000002 | t1 | -| 2021-01-01T00:00:50Z | 0.0443 | t1 | +| _time | *tag | _value | +| -------------------- | ---- | --------------------- | +| 2021-01-01T00:00:00Z | t1 | -0.021800000000000003 | +| 2021-01-01T00:00:10Z | t1 | 0.1092 | +| 2021-01-01T00:00:20Z | t1 | 0.0735 | +| 2021-01-01T00:00:30Z | t1 | 0.1753 | +| 2021-01-01T00:00:40Z | t1 | 0.15230000000000002 | +| 2021-01-01T00:00:50Z | t1 | 0.0443 | -| _time | _value | *tag | -| -------------------- | -------------------- | ---- | -| 2021-01-01T00:00:00Z | 0.1985 | t2 | -| 2021-01-01T00:00:10Z | 0.0497 | t2 | -| 2021-01-01T00:00:20Z | -0.0375 | t2 | -| 2021-01-01T00:00:30Z | 0.1977 | t2 | -| 2021-01-01T00:00:40Z | 0.1386 | t2 | -| 2021-01-01T00:00:50Z | 0.018600000000000002 | t2 | +| _time | *tag | _value | +| -------------------- | ---- | -------------------- | +| 2021-01-01T00:00:00Z | t2 | 0.1985 | +| 2021-01-01T00:00:10Z | t2 | 0.0497 | +| 2021-01-01T00:00:20Z | t2 | -0.0375 | +| 2021-01-01T00:00:30Z | t2 | 0.1977 | +| 2021-01-01T00:00:40Z | t2 | 0.1386 | +| 2021-01-01T00:00:50Z | t2 | 0.018600000000000002 | #### Output data diff --git a/content/flux/v0.x/stdlib/math/log1p.md b/content/flux/v0.x/stdlib/math/log1p.md index a944e7730..987d23b32 100644 --- a/content/flux/v0.x/stdlib/math/log1p.md +++ b/content/flux/v0.x/stdlib/math/log1p.md @@ -82,23 +82,23 @@ data #### Input data -| _time | _value | *tag | -| -------------------- | --------------------- | ---- | -| 2021-01-01T00:00:00Z | -0.021800000000000003 | t1 | -| 2021-01-01T00:00:10Z | 0.1092 | t1 | -| 2021-01-01T00:00:20Z | 0.0735 | t1 | -| 2021-01-01T00:00:30Z | 0.1753 | t1 | -| 2021-01-01T00:00:40Z | 0.15230000000000002 | t1 | -| 2021-01-01T00:00:50Z | 0.0443 | t1 | +| _time | *tag | _value | +| -------------------- | ---- | --------------------- | +| 2021-01-01T00:00:00Z | t1 | -0.021800000000000003 | +| 2021-01-01T00:00:10Z | t1 | 0.1092 | +| 2021-01-01T00:00:20Z | t1 | 0.0735 | +| 2021-01-01T00:00:30Z | t1 | 0.1753 | +| 2021-01-01T00:00:40Z | t1 | 0.15230000000000002 | +| 2021-01-01T00:00:50Z | t1 | 0.0443 | -| _time | _value | *tag | -| -------------------- | -------------------- | ---- | -| 2021-01-01T00:00:00Z | 0.1985 | t2 | -| 2021-01-01T00:00:10Z | 0.0497 | t2 | -| 2021-01-01T00:00:20Z | -0.0375 | t2 | -| 2021-01-01T00:00:30Z | 0.1977 | t2 | -| 2021-01-01T00:00:40Z | 0.1386 | t2 | -| 2021-01-01T00:00:50Z | 0.018600000000000002 | t2 | +| _time | *tag | _value | +| -------------------- | ---- | -------------------- | +| 2021-01-01T00:00:00Z | t2 | 0.1985 | +| 2021-01-01T00:00:10Z | t2 | 0.0497 | +| 2021-01-01T00:00:20Z | t2 | -0.0375 | +| 2021-01-01T00:00:30Z | t2 | 0.1977 | +| 2021-01-01T00:00:40Z | t2 | 0.1386 | +| 2021-01-01T00:00:50Z | t2 | 0.018600000000000002 | #### Output data diff --git a/content/flux/v0.x/stdlib/universe/time.md b/content/flux/v0.x/stdlib/universe/time.md index 357bb7066..56d4aeddf 100644 --- a/content/flux/v0.x/stdlib/universe/time.md +++ b/content/flux/v0.x/stdlib/universe/time.md @@ -91,23 +91,23 @@ data #### Input data -| _time | _value | exampleCol | *tag | -| -------------------- | ------- | ----------- | ---- | -| 2021-01-01T00:00:00Z | -2 | -2000000000 | t1 | -| 2021-01-01T00:00:10Z | 10 | 10000000000 | t1 | -| 2021-01-01T00:00:20Z | 7 | 7000000000 | t1 | -| 2021-01-01T00:00:30Z | 17 | 17000000000 | t1 | -| 2021-01-01T00:00:40Z | 15 | 15000000000 | t1 | -| 2021-01-01T00:00:50Z | 4 | 4000000000 | t1 | +| _time | _value | *tag | exampleCol | +| -------------------- | ------- | ---- | ----------- | +| 2021-01-01T00:00:00Z | -2 | t1 | -2000000000 | +| 2021-01-01T00:00:10Z | 10 | t1 | 10000000000 | +| 2021-01-01T00:00:20Z | 7 | t1 | 7000000000 | +| 2021-01-01T00:00:30Z | 17 | t1 | 17000000000 | +| 2021-01-01T00:00:40Z | 15 | t1 | 15000000000 | +| 2021-01-01T00:00:50Z | 4 | t1 | 4000000000 | -| _time | _value | exampleCol | *tag | -| -------------------- | ------- | ----------- | ---- | -| 2021-01-01T00:00:00Z | 19 | 19000000000 | t2 | -| 2021-01-01T00:00:10Z | 4 | 4000000000 | t2 | -| 2021-01-01T00:00:20Z | -3 | -3000000000 | t2 | -| 2021-01-01T00:00:30Z | 19 | 19000000000 | t2 | -| 2021-01-01T00:00:40Z | 13 | 13000000000 | t2 | -| 2021-01-01T00:00:50Z | 1 | 1000000000 | t2 | +| _time | _value | *tag | exampleCol | +| -------------------- | ------- | ---- | ----------- | +| 2021-01-01T00:00:00Z | 19 | t2 | 19000000000 | +| 2021-01-01T00:00:10Z | 4 | t2 | 4000000000 | +| 2021-01-01T00:00:20Z | -3 | t2 | -3000000000 | +| 2021-01-01T00:00:30Z | 19 | t2 | 19000000000 | +| 2021-01-01T00:00:40Z | 13 | t2 | 13000000000 | +| 2021-01-01T00:00:50Z | 1 | t2 | 1000000000 | #### Output data