共查询到17条相似文献,搜索用时 46 毫秒
1.
Java 2数组容量扩充的通用方法 总被引:1,自引:2,他引:1
在Java中,数组创建以后,不能进行越界访问。本文利用Java2提供的数组反射功能,建立了一个扩展数组容量的通用方法,希望能对大家在使用Java2的数组时有所帮助。 相似文献
2.
一种快速有效实现三维实体重建的算法 总被引:1,自引:2,他引:1
从图的数组表示法这一基本表示方法,作为基点出发,将点、线、面、面环等信息用数组形式存储,从数组元素出发逐步实现了基于三视图的三维重建。实践表明,该方法充分利用数组形式的有序、对应、直接等特点,大大提高了三维重建的效率,减少了传统方法庞大的搜索空间和降低了时间复杂度。 相似文献
3.
4.
数组是程序设计中不可或缺的一种数据类型,其使用灵活,而且形式多样。本文讲述了TC2.0环境下数组的使用及用指针处理数组的技巧与性能分析,并对使用中出现的问题进行剖析。 相似文献
5.
6.
张堃 《数字社区&智能家居》2005,(12):71-73,84
本文系统介绍了System.Array类基本特点和常见用法,并通过一系列实例就在Visual Basic.NET中如何创建索引基于非零的数组、复制数组、数组元素的排序、数组元素的删除、复制与移动、搜索特定元素以及交错数组等问题进行了条分缕析。 相似文献
7.
本文介绍了后缀数组和广义后缀数组的概念,然后提出了一种类似桶排序的广义后缀数组的高效构造算法,并对算法的复杂度进行了分析. 相似文献
8.
C++动态数组的实现与重用 总被引:2,自引:0,他引:2
数组是应用程序中经常要用到的一种数据结构。为解决C++定义后的数组不能改变其大小的情况,根据软件重用的思想,给出了用函数模板、动态数组类和数组类模板生成C++动态数组的方法,并对这些方法在代码重用方面进行了比较。文中主要给出了动态生成二维数组的函数模板、动态数组类和数组类模板的定义,以及部分成员函数和运算符重载函数的实现代码或算法。以动态生成二维整型数组,进行矩阵的加法运算为例,给出了使用方法。应用文中所给的方法,能满足应用程序中动态定义一维和二维数组的需要。 相似文献
9.
数组是应用程序中经常要用到的一种数据结构。为解决C++定义后的数组不能改变其大小的情况,根据软件重用的思想,给出了用函数模板、动态数组类和数组类模板生成C++动态数组的方法,并对这些方法在代码重用方面进行了比较。文中主要给出了动态生成二维数组的函数模板、动态数组类和数组类模板的定义,以及部分成员函数和运算符重载函数的实现代码或算法。以动态生成二维整型数组,进行矩阵的加法运算为例,给出了使用方法。应用文中所给的方法,能满足应用程序中动态定义一维和二维数组的需要。 相似文献
10.
本文深入分析了GCC4.1的数据依赖分析器,针对它在分析Fortran程序的线性化数组访问时的不足,给出了两点改进:一是初步实现了一个非仿射数组下标依赖分析算法;二是提出并实现了分裂递归链的仿射数组下标数据依赖分析方法。实验表明,这两点改进增强了GCC4.1的数据依赖分析能力,为进行循环变换如循环交换提供了更准确的数据依赖信息。 相似文献
11.
12.
In this article, a new noniterative beam shaping method is introduced to synthesise array factor (AF) of an unequally spaced linear array (UESLA). The proposed method is based on eigenvector decomposition of sampled data matrix of a given pattern. Using matrix analysis, the eigenvalues and their corresponding eigenvectors of the sampled matrix are determined. It is shown that the eigenvalues and eigenvectors of the sampled matrix are related to the locations and complex excitation coefficients of the array elements. According to the concept of generalized eigenvalue concept, the solution of locations and excitation coefficients is derived using least square method. In order to reduce the number of array elements, singular value decomposition is applied to obtain a low ranked matrix using rejection of nonzero eigenvalues. Using the approximated sampled matrix, the excitation and locations of the optimized array elements are calculated. A few comprehensive examples are investigated to verify the accuracy of the proposed method and the obtained results are compared with those of an equally spaced linear array (ESLA). It is shown that the total number of array elements in an UESLA is less than that of ESLA, which is the most advantage of the introduced method in AF synthesis. 相似文献
13.
14.
Mohammad Khalaj‐Amirhosseini 《国际射频与微波计算机辅助工程杂志》2019,29(12)
An approach is presented to synthesize linear and planar antenna arrays to have concurrent multibeam radiation patterns as well as desired sidelobe levels. This approach is based on zeros perturbation of the pattern of linear arrays. Multibeam planar arrays are synthesized by both multiplying and transforming multibeam linear arrays. Besides, planar arrays having conical or ring type beam are synthesized by applying a special transformation to dual‐beam linear arrays. Some examples are brought to verify the effectiveness of the proposed approach for both linear and planar arrays. 相似文献
15.
提出了一种新的具有良好周期相关特性的离散信号,即双准最佳屏蔽二进阵列偶,讨论了双准最佳屏蔽二进阵列偶的相关性质及变换性质,并用计算机搜索出部分小体积的双准最佳屏蔽二进阵列偶。 相似文献
16.
鱼雷声基阵发展的新方向--共形阵技术,是目前发达国家争相研究热点,而我国却缺乏对其的深入研究,尤其是对共形声基阵鱼雷作战效能的分析.对此,首先采用"碰撞航向法"、"跟踪法"等方法分析共形声基阵鱼雷在本艇导引时作战能力,然后分析了共形声基阵鱼雷在自导导引时抗干扰能力、垂直命中等能力.结果表明,由于采用了适应鱼雷头部线形的共形声基阵,扩大了鱼雷的探测范围,鱼雷的目标搜索能力、搜索速度、抗干扰能力和最后攻击阶段打击目标能力等都大大增加. 相似文献
17.
文章介绍了各种基本的麦克风阵列语音增强算法,对其消噪性能进行了系统地分析,并以实测数据进行了测试。并介绍了基于稳健波束形成器、近场超定向波束形成器、广义奇异值分解和传输函数广义旁瓣相消器等结构的麦克风阵列语音增强的基本原理,总结了各种算法的特点及其所适用的声学环境特性。 相似文献