Interface NnlsOptions<T>

Type Parameters

  • T extends boolean | undefined

Hierarchy

  • NnlsOptions

Properties

info?: T

Return information of the error at each iteration step from the main iteration loop.

Default

false
interceptAtZero?: boolean

If false, you will be fitting f(x)=C*X+b instead of f(x)=C*X. If you did this step manually, just leave it as true.

Default

true
maxIterations?: number

Maximum number of iterations.

Default

3 * nCoefficients