mathjs: quantileSeq does not accept individual numeric arguments in lieu of an array; does not document dimension argument

Functions like sum or mean accept either a matrix of values or a numeric value, but quantileSeq does not. Wouldn’t it make sense for it to have the same behavior as those other functions?

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

Right, that was my intended proposal. The first draft putting the sorted flag before the probOrN argument was just my mixing up the order, not some too-clever attempt to use the boolean as the separator. I don’t see any need for the probOrN to also be allowed to be just a list of arguments at the top level – none of the other stats functions work like that, with two list arguments that are allowed to be spread into the top-level arguments.