constraintNonNegativity function

Method for non-negativity constraint

Method for non-negativity constraint

Set all negative values in the matrix to 0

constraintNonNegativity(x, d)

Arguments

  • x: data matrix (spectra or contributions)
  • d: matrix with the original spectral values
  • Maintainer: Sergey Kucheryavskiy
  • License: MIT + file LICENSE
  • Last published: 2024-08-19