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=[...
12 maanden ago | 2 answers | 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...
ongeveer een jaar ago | 5 answers | 0