阅读背景:

如何生成组合矩阵

来源:互联网 

I have 5 items each of which can take on the value of 1 or -1. I want to generate a matrix that consists of rows of the possible combinations. The order of the items does not matter and the order of the combinations does not matter. I know I could do this mechanically, but I thought that someone must know a shortcut to generating this matrix. I apologize if this is similar to other questions but none of the solutions I have found can be applied to this particular problem with my programming skills.I have 5 items each of which can take on the va




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: