photo

Yamada Taro


Last seen: environ 2 mois il y a Actif depuis 2022

Followers: 0   Following: 0

Spoken Languages:
Japanese

Statistiques

  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


How to make a matrix from trace of the original matrix ?
When I have a square matrix A like the one in the picture, I want to create a matrix B which is the sum of the kth diagonal comp...

presque 2 ans il y a | 1 réponse | 1

1

réponse

Question


各対角番号に対する対角和からなる配列
写真のような正方行列Aを持っている際に、自身より右下の第k対角成分の和をとった行列Bを作成したいのですが、何か簡単に書く方法はないでしょうか。 現在は縮小行列を作り、各縮小行列の第j番目の対角成分を取得する形で計算していますが、かなり遅いし効率も悪い...

presque 2 ans il y a | 2 réponses | 1

2

réponses