Skip to content

Float64Seq

mtbeek32 edited this page Jan 2, 2023 · 5 revisions

Sequence functions float64Seq

syntax

  • float64Seq(a)

definition

float64Seq(a) results in a sequence of 64 bits floating points data item derived from string data item a.

The syntax for string argument a need to be: {10: 41 9999 42 10 600 1 7 116 0 110} .

In this string the curly brackets {..} indicate the start and end of the sequence.

The first number (10) indicates the number of elements of the sequence followed by a colon. The elements of the sequence follow this colon, separated by spaces.

applies to

since version

7.130

example

Elements/points Elements/SequenceNr Elements/ordinal
41 0 0
9999 0 1
42 0 2
10 0 3
600 0 4
1 0 5
7 0 6
116 0 7
0 0 8
110 0 9

domain Elements, nr of rows = 10

parameter   param               := '{10: 41 9999 42 10 600 1 7 116 0 110}';  parameter param_float64 (poly) := float64Seq(source/param);

unit posListUnit := range(uint32, 0, 1);  unit Elements    := sequence2points(union_data(posListUnit, param_uint8));

Clone this wiki locally