tushar bhonsle
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
Is there any group for python like this
Is there any group for python like this
5 years 前 | 1 个回答 | 1
1
个回答提问
I have an array of n elements like [1 2 4 8 16]. I want calculate frequency of all combinations. 1, 2 ,4 ,8, 16, 1+2, 1+4, 1+8, 1+16, 2+4, 2+8, 2+16, 4+8, 4+16, 8+16, 1+2+4, 1+2+8, 1+2+16, 1+2+4+8, 1+2+4+16, 1+2+4+8+16 How can i store output in array
1, 2 ,4 ,8 ,16 1+2, 1+4, 1+8, 1+16, 2+4, 2+8, 2+16, 4+8, 4+16, 8+16, 1+2+4, 1+2+8, 1+2+16, 1+2+4+8, 1+2+4+16, 1+2+4...
6 years 前 | 1 个回答 | 0
1
个回答提问
How can i create array of 1:2^1000 column size?
I want to create an array of one column, which is long enough to 1:2^1000? Like a = [1:2^1000];
6 years 前 | 2 个回答 | 0