"> results depending on whether b is a scalar or matrix." . . . . .