Sum of elements below main diagonal of matrix: Difference between revisions
Sum of elements below main diagonal of matrix (view source)
Revision as of 23:34, 8 January 2022
, 2 years ago→{{header|R}}: Syntax highlighting.
ReeceGoding (talk | contribs) m (→{{header|R}}: Syntax highlighting.) |
|||
Line 1,297:
=={{header|R}}==
R has lots of native matrix support, so this is trivial.
<lang
c(2,4,16,14,4),
c(3,1,9,18,11),
|