搜索资源列表
matrix.rar
- 2、 矩阵(二) 编写C++程序完成以下功能: (1) 假定矩阵大小为4×5(整型); (2) 矩阵空间采用new动态申请,保存在指针中; (3) 定义矩阵初始化函数,可以从cin中输入矩阵元素; (4) 定义矩阵输出函数,将矩阵格式化输出到cout; (5) 定义矩阵相加的函数,实现两个矩阵相加的功能,结果保存在另一个矩阵中; (6) 定义矩阵相减的函数,实现两个矩阵相减的功能,结果保存在另一个矩阵中; (7) 动态申请三个矩阵:A1、A2、A3; (8) 初始化A1、A2;
4
- 程序功能:用单链表存储多项式并实现两个多项式相加-Program features: single-chain storage and realization of the polynomial sum of two polynomials
VerifiedGoldbach
- 验证哥德巴赫猜想:任何大于6的偶数,均可以表示为两个奇素数之和。改程序就是验证这一猜想。-Verify Goldbach' s conjecture: any even number greater than 6, can be expressed as the sum of two odd prime numbers. Reform program is to verify this conjecture.
1
- 计算两数之间之和,希望对入门者有所帮助. 程序不是很长,主要就是讲了一个循环语句的用法。-Calculated between the number of the sum of the two, want to help beginners. Program is not very long, is mainly talked about the usage of a loop statement.
poly
- 实现一元多项式的相加。 要求按指数降序输入两个多项式,然后程序可以完成对这两个多项式的相加-Polynomial realization of the sum of one dollar. Require exponentially descending input two polynomials, then the program can complete the sum of these two polynomials
duoxiangshi
- 用C++语言编写一段程序,该程序的功能相当于一个一元多项式计算器。它能够实现按照指数降序排列建立并输出多项式,并且能够完成两个多项式的相加、相减的运算和将其结果输入的功能。-C++ language with a program that functions as a unary polynomial calculator. It can be achieved in accordance with established and the output index in descending o
hari
- 1).Using structs, find sum, subtraction, magnitude(of a vector) and angle(in degrees) between two arbitrary dimensional vectors. 2).Using structs, find the gradient vector of a polynomial multivariable function described in termsof arrays containin
tc
- c语言的一个小程序,用来求输入两个数求和。-a small program in c language, used to seek to enter two numbers sum.
Magic-square
- 魔方阵 (1).设n是奇数,请编写程序构造n*n阶魔方阵,即行、列、两对角线上n个数之和相等的方阵。 (2).构造3*3素数魔方阵,即找出9个不大于500的素数并排成魔方阵。 -Magic square (1) n is an odd number, please write a program to construct n* n-order magic square that line, column the two diagonal n numbers equal to the
matrix
- 3、 矩阵(三) 编写C++程序完成以下功能: (1) 用类来实现矩阵,定义一个矩阵的类,属性包括: 矩阵大小,用 lines, rows(行、列来表示); 存贮矩阵的数组指针,根据矩阵大小动态申请(new)。 (2) 矩阵类的方法包括: 构造函数,参数是矩阵大小,需要动态申请存贮矩阵的数组; 析构函数,需要释放矩阵的数组指针; 拷贝构造函数,需要申请和复制数组;
C_ASS56
- program to accept two matrices and * * find the sum and difference of the matrices
求一个3*3矩阵对角线元素之和
- 题目:求一个3*3矩阵对角线元素之和 ___________________________________________________________________ 程序分析:利用双重for循环控制输入二维数组,再将a累加后输出。-Topic: for a 3* 3 matrix diagonal element the sum ______________________________________________________
Goldbach-Guess
- 验证歌德巴赫猜想 puts("=== === === === === === === === === === ") puts("|| This program will verify the Goldbach Guess. ||") puts("|| That is any positive even number can be broken up into ||") puts("|| the sum of two prime numbers. ||") p
seafusheliangdujisuan
- 先进行一维和二维海面的建立。然后对海面进行细分化为小面元,其中整个海面的长和宽是自己设定的,所以小面元的面积是可以计算的海面的高度是由fortran算法计算出来的。很好的海面建模程序帮助你理解海面建立的过程。最后根据黑体辐射亮度的计算公式计算海面面员的辐射亮度,然后进行求和计算整个海面的总的辐射亮度。-First the establishment of a one-dimensional and two-dimensional sea. Then be broken down into a f
chengxu
- 二进制加法程序:两个多字节的二进制数分别放在以ADD1和ADD2为首地址的存贮单元中,两个数的字长度放在CONT单元中。最后相加结果放在以SUM为首地址的单元中。所有数的低字节在前,高字节在后。-Binary adder program: more than two-byte binary number on the ADD1 and ADD2 the first address of the storage unit, two word length on the CONT unit. Fin
SOFA
- IAU 的标准基本天文程序库SOFA 给出Fortran 版和C 版两个基本天文运算的库函数,最新版SOFA 补充了IAU 在2006 年公布的岁差模型。SOFA 由两部分组成:天文库和矢量、矩阵运算库。其中前者有109 个子程序,可以进行天文历法计算、时间计算、星历表计算、岁差章动计算、恒星空间运动计算和主要星表系统的转换,后者有52 个子程序,功能则是矢量和矩阵的各种操作,当然其中包括了球面坐标系统的变换-IAU standard basic astronomical library SOF
Post-Office
- poj1160 There is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the position of each village is identified with a single integer coordinate. There are no two villages in the same position.
untitled-text.txt
- 求两个平方数,使得平方数的和等于input数。-Write a program that takes an integer as input and then determines two unique squares that sum up to the number.
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