RobinHankin / permutations

https://robinhankin.github.io/permutations/
5 stars 3 forks source link

sgn() sometimes returns a vector #4

Closed RobinHankin closed 6 years ago

RobinHankin commented 6 years ago
> perms4 <- allperms(4)
> sgn(perms4[8])
[1] -1 -1

(with thanks to Stephane Laurent)