The Gateway to Computer Science Excellence
+1 vote
260 views
Assume that there are two lower triangular matrices A and B of size n*n. If matrix A and transpose of B are fit into a rectangular matrix C of size n*(n+1), then
a) B[i,j]=C[i,j+1]
b)B[i,j]=C[j+1,i]
c)B[i,j]=C[j, i+1]
in Programming by Active (2.8k points) | 260 views
0
I do not think that this problem is complete. Please write complete problem dude.
0
The question is correct

 It was asked in jnuee-2009 and its answer isc

But how?
0
i am able to understand even question here. can anyone make it easy for me?

1 Answer

0 votes
I think the answer should be option (c). I think an explicit explanation is not required because it can be easily checked with any 2 lower triangular matrices.
by Active (1.8k points)
0
We will insert in matrix C in row major order or column major order?
0
As you know row major and column major representations are transpose of each other....so I suspect insertion order should be irrelevant if same convention(i.e., either row or column major) was followed for representation of A, B and C....but I would like to take other's view on this as well.
0
C is the answer
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,258 answers
198,086 comments
104,735 users