CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
74
You visited us 74 times! Enjoying our articles? Unlock Full Access!
Question

In a compact single dimensional array representation for lower triangular matrices (i.e. all the elements above the diagonal are zero) of size n × n, non-zero elements (i.e. elements of the lower triangle) of each row are stored one after another, starting from the first row, the index of the (i,j)th element of the lower triangular matrix in this new representation is

A
i+j(j1)2
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(j1)+i(i1)2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
i+j1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
i+j
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon