Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

floatSequence

🌌floatSequence

floatSequence -- a Sequence whose elements inherit from float

create a list from this Sequence.

redefines numericSequence.asList:
create a list from this Sequence.

redefines Sequence.asList:
create a list from this Sequence.

A list is immutable, so it can be reused and shared between threads.
Compared to a stream, a list may require more (heap) allocation.

Default implementation uses asStream. Heirs must redefine at least
one of asList or asStream.

the euclidean norm of this sequence
i.e. the square of the sum of squares of this sequence

the standard deviation of the sequence
https://en.wikipedia.org/wiki/Standard_deviation