1) Write a function reverse(A) which takes a matrix A of arbitrary dimensions as input and returns a matrix B consisting of the columns of A in reverse order. Thus for example, if A = 1 2 3 then B = 3 2 1 4 5 6 6 5 4 7 8 9 9 8 7 Write a main program to call reverse(A) for the matrix A = magic(5). Print to the screen both A and reverse(A). 2) Write a program which accepts an input k from the keyboard, and which prints out the smallest fibonacci number that is at least as large as k. The program should also print out its position in the fibonacci sequence. Here is a sample of input and output: Enter k>0: 100 144 is the smallest fibonacci number greater than or equal to 100. It is the 12th fibonacci number.
标签: dimensions arbitrary function reverse
上传时间: 2016-04-16
上传用户:waitingfy
Implement the following integer methods: a) Method celsius returns the Celsius equivalent of a Fahrenheit calculation celsius = 5.0 / 9.0 * ( fahrenheit - 32 ) b) Method fahrenheit returns the Fahrenheit equivalent of a Celsius the calculation fahrenheit = 9.0 / 5.0 * celsius + 32 c) Use the methods from parts (a) and (b) to write an application either to enter a Fahrenheit temperature and display the Celsius or to enter a Celsius temperature and display the Fahrenheit equivalent.
标签: equivalent Implement the following
上传时间: 2014-01-19
上传用户:jackgao
超大规模集成电路设计中,布图规划的布局表示B*-tree和相应算法的实现,在linux环境中编译运行
上传时间: 2013-11-27
上传用户:sammi
pashload是应用在linux下的网络带宽测试源程序精确度比较高 ///////////////////////////////////// Pathload is a tool for estimating the available bandwidth of an end-to-end path from a host S (sender) to a host R (receiver). The available bandwidth is the maximum IP-layer throughput that a flow can get in the path from S to R, without reducing the rate of the rest of the traffic in the path.
标签: pashload Pathload linux tool
上传时间: 2016-06-29
上传用户:xzt
The source code example of ARM9 development board from Artila (M-501 starter kit). The source code can compile on linux or cygwin. find more information on http://www.artila.com/p_matrix.html#m_501.
标签: source code development The
上传时间: 2016-08-08
上传用户:851197153
Nemesis a complete Linux video security system. It s idea is a cheap replacement for your commercial video system that can retail from a total of $15,000 up.
标签: replacement commercia complete security
上传时间: 2014-01-21
上传用户:gaojiao1999
AODV-UU is an AODV (Ad hoc On-demand Distance Vector) routing protocol implementation from Uppsala University. Key features are recent draft compliance, stability, and the ability to use it in both real-world (Linux) and ns-2 simulations
标签: implementation On-demand Distance protocol
上传时间: 2013-12-25
上传用户:gxrui1991
ERO系统.针对生产型、分销型、服务型企业等不同的行业特点,对全部资源进行整合,把企业的客户关系、产品设计、生产管理、库存管理、委外管理、采购管理、资金控制、财务系统、人力资源、协同办公、物流配送、电子商务、质量控制、系统安全等整合为非常明确可控制的模块化流程单元,使企业的人力、物力、财力、信息得到最充分、最合理、最具效率的信息化应用,帮助企业增强核心竞争力,使企业可持续发展。从系统架构来看它的特点如下: 三层结构设计:本系统是基于INTERNET的B/S架构,通过建立用户层、业务逻辑层、数据层的三层体系实现胖服务器+瘦客户端; 支持多平台:本系统采用J2EE开发体系,通过支持Linux、Windows、Unix等操作系统,支持Mysql、Oracle 、DB2、 Sql Server等数据库,支持Apache、Jboss、Websphere等中间件实现一次编译到处运行;
上传时间: 2014-11-23
上传用户:蠢蠢66
In this book, you will learn about what drives the Linux development process. You will discover the wide variety of tools commonly used by Linux developers – compilers, debuggers, Software Configuration Management – and how those tools are used to build application software, tools, utilities and even the Linux kernel itself. You will learn about the unique components of a Linux system that really set it apart from other UNIX-like systems, and you will delve into the inner workings of the system in order to better understand your role as one of a budding new generation of Linux developers.
标签: will development the discover
上传时间: 2016-11-18
上传用户:rocketrevenge
gcclib This gcc 1.40 suits for Linux kernel 0.11 - 0.95 Installtion hints ----------------- This suit contains include.taz, local.taz and this README file. You must download the bootimage and rootimage and install them first. The include.taz contains all the include files for using with gcc 1.40. The local.taz contains all the gcc tools & libs stored in two sepearted directories: /usr/local/lib /usr/local/bin You should copy the linux/ asm/ sys/ subdirectories into the include directory from the corresponding kernel source. Installation ------------ Goto the /usr directory. Untar the include.taz to the directory /usr/include. Untar the local.taz to the directory /usr/local. That s it! Example: -------- cd /usr tar zxvf include.taz tar zxvf local.taz
标签: Installtion gcclib kernel Linux
上传时间: 2014-03-12
上传用户:源码3