Premysl Stastny
Followers: 0 Following: 0
Feeds
提问
Random shuffle of vector elements
Hello, How to randomly shuffle all elements of the vector except the first and last position? For example: I have vector A=[...
3 years 前 | 2 个回答 | 0
2
个回答提问
How to substitute one value in vector by vector?
Hello, I have got a vectro x=(-1 1 -1 1) and I need to replace positions containing -1 for a vector (1 2 3) and positions conta...
3 years 前 | 5 个回答 | 0