Sum of replicated matrices – codegolf.stackexchange.com

Given a list of numbers [ a1 a2 ... an ], compute the sum of all the matrices Aᵢ where Aᵢ is defined as follows (m is the maximum of all aᵢ): 1 2 ⋯ (i-1) i (i+1) ⋯ n ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Sum of replicated matrices – codegolf.stackexchange.com"