文件名称:Fibonacci
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-03-15
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- sun****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
(1)编写一个矩阵操作类库,具体实现要求如下:
实现构造函数动态创建不同大小的二维矩阵m*n
实现函数完成两个矩阵的相加、求差与矩阵各个元素相乘运算;
实现函数可以得到矩阵中指定元素数值。
(2)Fibonacci数列是一个自然数数列,第1项和第2项均为1,从第3项开始,F(n)= F(n-1)+ F(n-2).定义一个数组,前两个元素初始化为Fibonacci数列的第1,2项,求出数列的前20项。-(1) the preparation of a matrix operation class libraries, specific requirements are as follows: the constructor to dynamically create two-dimensional matrix of size m* n function completes the addition of two matrices, differencing the individual elements of the matrix multiplication The function can be specified element numerical matrix. (2) the Fibonacci series is a natural number sequence, 1 and 2 Xiang are from the 3, F (n) = F (n-1)+ F (n-2). Definition of an array, Fibonacci sequence in the first two elements are initialized to 1 and 2, find the number of columns 20.
实现构造函数动态创建不同大小的二维矩阵m*n
实现函数完成两个矩阵的相加、求差与矩阵各个元素相乘运算;
实现函数可以得到矩阵中指定元素数值。
(2)Fibonacci数列是一个自然数数列,第1项和第2项均为1,从第3项开始,F(n)= F(n-1)+ F(n-2).定义一个数组,前两个元素初始化为Fibonacci数列的第1,2项,求出数列的前20项。-(1) the preparation of a matrix operation class libraries, specific requirements are as follows: the constructor to dynamically create two-dimensional matrix of size m* n function completes the addition of two matrices, differencing the individual elements of the matrix multiplication The function can be specified element numerical matrix. (2) the Fibonacci series is a natural number sequence, 1 and 2 Xiang are from the 3, F (n) = F (n-1)+ F (n-2). Definition of an array, Fibonacci sequence in the first two elements are initialized to 1 and 2, find the number of columns 20.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.2\.classpath
...\.project
...\.settings\org.eclipse.jdt.core.prefs
...\bin\Fibonacci.class
...\src\Fibonacci.java
...\.settings
...\bin
...\src
1.2