Baseline Module

Functions and values

Function or value Description

baselineAls maxiter lambda p data

Full Usage: baselineAls maxiter lambda p data

Parameters:
    maxiter : int -
    lambda : int -
    p : float -
    data : float[] -

Returns: Vector<float>

Asymmetric Least Squares Smoothing by P. Eilers and H. Boelens in 2005

maxiter : int

lambda : int

p : float

data : float[]

Returns: Vector<float>

Example

baselineAls' maxiter lambda p data

Full Usage: baselineAls' maxiter lambda p data

Parameters:
    maxiter : int
    lambda : int
    p : float
    data : float[]

Returns: Vector<float>

Asymmetric Least Squares Smoothing using sparse Matrix

maxiter : int
lambda : int
p : float
data : float[]
Returns: Vector<float>

diag order x

Full Usage: diag order x

Parameters:
    order : int -
    x : 'a -

Returns: 'a[,]

Creates a diagonal 2-D array with the given order and set all diagonal values to x

order : int

x : 'a

Returns: 'a[,]

Example

diff n a

Full Usage: diff n a

Parameters:
    n : int
    a : float[,]

Returns: float[,]

Calculate the n-th order discrete difference along given axis.

n : int
a : float[,]
Returns: float[,]