Community Profile

photo

Premysl Stastny


Last seen: bijna 2 jaar ago Active since 2021

Statistics

  • Thankful Level 2
  • 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=[...

meer dan 2 jaar 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...

meer dan 2 jaar ago | 5 answers | 0

5

answers