Community Profile

photo

Anders


Aarhus University

Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Answered
How to extract block matrices along the diagonal entries without looping?
Thank you both for the effort. But I think I haven't expressed myself clear enough. @per isakson: This code of yours sums t...

9 years ago | 0

Question


How to extract block matrices along the diagonal entries without looping?
I have a square matrix, A with dimension (N*k x N*k), and I want to extract the sum of all the diagonal entries of the block mat...

9 years ago | 6 answers | 0

6

answers