Header menu logo FSharp.Stats

Seq Type

Constructors

Constructor Description

Seq()

Full Usage: Seq()

Returns: Seq
Returns: Seq

Static members

Static member Description

Seq.geomspace (start, stop, num, ?IncludeEndpoint)

Full Usage: Seq.geomspace (start, stop, num, ?IncludeEndpoint)

Parameters:
    start : float - The start value (inclusive).
    stop : float - The end value (by default inclusive).
    num : int - The number of elements in the sequence. Defaults to 50.
    ?IncludeEndpoint : bool - If false, the sequence does not contain the stop value. Defaults to true.

Returns: float seq A geometric sequence of floats between the specified interval.
Modifiers: inline

Creates a geometric sequence of floats with values between a given interval.

start : float

The start value (inclusive).

stop : float

The end value (by default inclusive).

num : int

The number of elements in the sequence. Defaults to 50.

?IncludeEndpoint : bool

If false, the sequence does not contain the stop value. Defaults to true.

Returns: float seq

A geometric sequence of floats between the specified interval.

Exception Thrown when start or stop is less than or equal to zero.
Example

 let values = Seq.geomspace(1.0, 100.0, 5) // returns seq [1.0; 3.16227766; 10.0; 31.6227766; 100.0]
val values: obj
module Seq from Microsoft.FSharp.Collections

Seq.linspace (start, stop, num, ?IncludeEndpoint)

Full Usage: Seq.linspace (start, stop, num, ?IncludeEndpoint)

Parameters:
    start : float - The start value (inclusive).
    stop : float - The end value (by default inclusive).
    num : int - The number of elements in the sequence. If not set, stepsize = 1.
    ?IncludeEndpoint : bool - If false, the sequence does not contain the stop value.

Returns: float seq A sequence of floats between the specified interval.
Modifiers: inline

Creates a sequence of floats with values between a given interval.

start : float

The start value (inclusive).

stop : float

The end value (by default inclusive).

num : int

The number of elements in the sequence. If not set, stepsize = 1.

?IncludeEndpoint : bool

If false, the sequence does not contain the stop value.

Returns: float seq

A sequence of floats between the specified interval.

Example

 let values = Seq.linspace(0.0, 1.0, 5) // returns seq [0.0; 0.25; 0.5; 0.75; 1.0]
val values: obj
module Seq from Microsoft.FSharp.Collections

Type something to start searching.