搜索资源列表
matrix.rar
- 2、 矩阵(二) 编写C++程序完成以下功能: (1) 假定矩阵大小为4×5(整型); (2) 矩阵空间采用new动态申请,保存在指针中; (3) 定义矩阵初始化函数,可以从cin中输入矩阵元素; (4) 定义矩阵输出函数,将矩阵格式化输出到cout; (5) 定义矩阵相加的函数,实现两个矩阵相加的功能,结果保存在另一个矩阵中; (6) 定义矩阵相减的函数,实现两个矩阵相减的功能,结果保存在另一个矩阵中; (7) 动态申请三个矩阵:A1、A2、A3; (8) 初始化A1、A2;
multi8x8
- 该源码为8位乘法器的VHDL语言描述,由一个8位右移寄存器,2个4位加法器例化成8位加法器,一个16位数据锁存器构成。采用移位相加的方式,从被乘数的低位开始,与乘数的每个位移位相加求和。最后实现其乘法器功能。-The source code for the 8-bit multiplier in VHDL language to describe, from an 8-bit right shift register, two 4-bit adder example into 8-bit add
xufunction
- 写一个程序,定义抽象基类shape, 由它派生3个基类,Circle(圆),Rectangle(矩形),Trapezoid(梯形)。用虚函数分别计算几种图形的面积,并求他们的和。要求:用基类指针数组,使它的每一个元素指向一个派生类对象-Write a program that defines an abstract base class shape, it is derived from the three basic classes, Circle (round), Rectangle (re
A-simple-language-interpreter
- 一个简单的语言解释器, 它可以读入一个简单的文本标记文件,并提取和 转换相应的成员关系信息。文件内容如下所示。 一个简单的文本标记文件: <class> <student> <name>ABC</name> <id>123456</id> group1 </student> </class> 每组"标记"包含两部分:标记名称和标记值。例如,
1002
- Sicily上的1002题,主要是为一些初学者设计的-Problem Given a sequence of consecutive integers n,n+1,n+2,...,m, an anti-prime sequence is a rearrangement of these integers so that each adjacent pair of integers sums to a composite (non-prime) number. For example, if
add
- CUDA 编写的 基于c的矩阵相加,适合初学者参考-CUDA prepared a matrix based on the sum c
DOA_d_a
- 延迟相加法进行波达方向估计,两个程序分别为1个和3个入射信号两种情况。-Delay sum method DOA estimation, the two programs were one and three both cases, the incident signals.
DisparityUsingSADtechniqe
- Disparity finding using Sum of Absolute Difference method.A good work
sum
- 请编一个函数fun(int *a,int n,int *odd,int *even),函数的功能是分别求出数组中所有奇数之和以及所有偶数之和。形参n给出数组中数据的个数;利用指针odd返回奇数之和,利用指针even返回偶数之和。-Please make up a function fun ( int* a, int n, int* odd, int* even ), functions are respectively derived array all odd and even and all
ldpc-min-sum
- 用c语言写的ldpc码的最小和算法译码程序。-The codes are about ldpc decoding,using min-sum algorithm by c++.
matrix-inv-sum-sub
- 一个叫sqx的类用于计算矩阵的转置,求逆,乘积,求和,差 - matrix inv sum sub
max-sum
- 利用动态规划的思想,求一个数组中的连续最大和-For an array of continuous maximum sum
SUM-OF-SINE-WAVES
- SUM OF TWO SINE WAVES
SUM
- SUM Of Numbers Sum Of Numbers
sum
- 求s=a+a aa+aaaa+aa...a的值,其中a是一个数字。例如2+22+222+2222+22222(此时共有5个数相加),几个数相加有键盘控制。-S = a+aa+aaa+aaaa+aa ... a demand value, where a is a number. For example 2+22+222+2222+22222 (at this time the number of the sum total of five), a few numbers together wit
woj1010-Alternate-Sum
- woj1012题Alternate sum:交替求和-Alternate sum of a nonempty set is the result of operations described as follow: Firstly, all the elements of arranged in non-increasing sequence. Secondly, alternate sum could be obtained by the following formula:
SUM=5
- 运行程序后,系统会自动输出数字之和等于5的两个数。-After running the program, the system will automatically output digital sum equal to two numbers 5.
two_sumprogram.tar
- two sum program for summing numbers
sum
- 本程序实现识别数组中的数组部分并且求取它们的和(This program implements the identification of array parts in the array and the sum of them)
based on spfa, the sum of the shortest path
- 一个简单的SPFA计数问题,用pascal语言写的(just a simple code . calculate the sum of the shortest path based on the algorithm of SPFA)