سوال ۲۸ کنکور ارشد علوم کامپیوتر ۱۴۰۰
Read the following passage and answer the question.
PASSAGE 2: Structure, Sparsity, and Black Boxes
Large matrices of computational interest are simpler than their vast numbers of individual entries might suggest. They have some kind of structure, and as the years have gone by, ways have been found to exploit this structure in more and more contexts.
The most obvious structure that a large matrix may have is sparsity, i.e., a preponderance of zero entries. (The opposite of sparse is dense.) For example, a finite-difference discretization of a partial differential equation may lead to a matrix of dimension with only nonzero entries per row. This kind of structure is readily exploited by the iterative methods we shall discuss, for these algorithms use a matrix in the form of a black box:
The iterative algorithm requires nothing more than the ability to determine for any , which in a computer program will be effected by a procedure whose internal workings need be of no concern to the designer of the iterative algorithm. For the example of a sparse matrix , it is easy to design a procedure to compute in only rather than operations. This is in marked contrast to the algorithms of direct linear algebra, such as Gaussian or Householder triangularization, which explicitly manipulate matrix entries so as to introduce zeros, but in the process generally destroy sparsity.
Question: To compute , when is sparse, an algorithm ----------.
پاسخ صحیح: گزینهٔ A — is more efficient than an O(m^2) algorithm
This is a detail comprehension item that turns on the asymptotic comparison in the passage. …
ادامهٔ پاسخ تشریحی ویژهٔ مشترکان است.
مشاهدهٔ پاسخ کامل