Class NNLS

    • Constructor Detail

      • NNLS

        public NNLS()
    • Method Detail

      • solve

        public static float[] solve​(float[][] A,
                                    float[] b)
        Computes the activation pattern x in Ax=b for the special case that b and x are one-dimensional.
        Parameters:
        A - the A in Ax=b
        b - the b in Ax=b, b being one-dimensional
        Returns:
        the x in Ax=b, x being one-dimensional