code: @Override
      public double getValue(IntDoubleVector params) {
          double sum = params.dot(params);
          sum *= 1./2. * lambda;
          return - sum;
      }
docs: Gets the negated sum of squares times 1/2 \lambda.