Community Profile

photo

Premysl Stastny


Last seen: 20 dagen ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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=[...

ongeveer 2 maanden ago | 2 answers | 0

2

answers

Question


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...

2 maanden ago | 5 answers | 0

5

answers