Community Profile

photo

Pseudoscientist


5 total contributions since 2019

Contact

Pseudoscientist's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


Re-arrange matrix row elements so that a specific condition is fulfilled
Say we have matrix A = 1 2 3 1 3 5 1 2 4 2 3 7 The task is the re-arrange the row elements so that in no row 2 elements...

5 Monate ago | 0 answers | 0

0

answers

Question


For every matrix row find rows within the same matrix that have more than one common element in same index below the row
Let's say I have matrix A, every row contains three values and for every row of the matrix A need to find other rows that have m...

5 Monate ago | 2 answers | 0

2

answers

Question


Shuffle matrix rows so that common elements are in completely different order than in a said row
Say we have a matrix row 'current_row' 1 2 3 and a matrix A 1 2 5 1 3 6 2 4 3 The task is to re-arrange matrix A so that...

5 Monate ago | 2 answers | 1

2

answers

Question


Find rows in matrix A that contain value x, find() fails
I have a 472944 x 5 matrix and I need to locate rows have at least a single occurence of value x=0 in their four first (1:4) ele...

5 Monate ago | 1 answer | 0

1

answer

Question


Find matrix rows that have 3 common values, store the rows and the values
Suppose I have a 500000x5 matrix and for each row I need to find rows that have 3 common elements within the first 4 elements of...

5 Monate ago | 1 answer | 1

1

answer