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=[...
4ヶ月 前 | 2 件の回答 | 0
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...
4ヶ月 前 | 5 件の回答 | 0