单项选择题

设有n阶三对角矩阵A,即非0元素都位于主对角线以及与主对角线平行且紧邻的两条对角线上,现对该矩阵进行按行压缩存储,若其压缩空间用数组B表示,A的元素下标从0开始,B的元素下标从1开始。已知A[0,0]存储在B[1],A[n-1,n-1]存储在B[3n-2],那么非0元素A[i,j](0≤i﹤n,0≤j﹤n,|i-j|≤1)存储在B()。

A.2i+j-1
B.2i+j
C.2i+j+1
D.3i-j+1

题目列表

你可能感兴趣的试题

单项选择题

【案例分析题】

完形填空:下面短文有5处空白,请根据短文内容为每处空白确定1个最佳选项。
Creating a clear map of where the project is going is an important first step. It lets you identify risks, clarify objectives, an determine if the project even makes sense. The only thing more important than the Release Plan is not to take it too seriously. 
Release planning is creating a game plan for your Web project (71)what you think you want your Web site to be. The plan is guide for the content, design elements, and functionality of a Web site to be released to the public, to partners, or internally. It also (72)how long the project will take and how much it will cost. What the plan is not is a functional (73)that defines the project in detail or that produces a budget you can take to the bank. 
Basically you use a Release Plan to do an initial sanity check of the project’s (74)and worthiness. Release Plans are useful road maps, but don’t think of them as guides to the interstate road system. Instead, think of them as the (75)used by early explorers-half rumor and guess and half hope and expectation. 
It’s always a good idea to have a map of where a project is headed.

71、()

A.constructing
B.designing
C.implementing
D.outlining

微信扫码免费搜题