虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

cross-plat<b>For</b>m

  • 实现一个类

    实现一个类,描述二维平面的直线Line。 描述属性:私有属性  直线所通过的点:Point p;  直线的斜率:double m 实现方法:  直线的构建;  返回直线的两个属性;  返回直线在Y轴上的截距:yIntercept ;  判断两条直线是否相等;  显示直线的内容:y = mx + b  isParallelTo(Line line2),判断本直线与直线line2是否平行;  isPeroendicularTo(Line line2),判断本直线与直线line2是否垂直;  translate(double dx, double dy),将直线向右移动dx单位,向上移动dy单位;  rarate(double ta),将直线沿逆时针方向旋转ta度

    标签:

    上传时间: 2015-10-24

    上传用户:Divine

  • CORDIC (Coordinate Rotation Digital Computer) is a method for computing elementary functions using m

    CORDIC (Coordinate Rotation Digital Computer) is a method for computing elementary functions using minimal hardware such as shifts, adds/subs and compares. CORDIC works by rotating the coordinate system through constant angles until the angle is reduces to zero. The angle offsets are selected such that the operations on X and Y are only shifts and adds.

    标签: Coordinate elementary computing functions

    上传时间: 2015-11-08

    上传用户:saharawalker

  • 有一个魔王总是使用自己的一种非常精练而抽象的语言讲话

    有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: (1) α→β1β2…βm (2) (θδ1δ2…δn)→θδnθδn-1…θδ1θ 在这两种形式中,从左到右均表示解释。试写一个魔王语言的解释系统,用下述两条具体规则和上述规则形式(2)实现,把他的话解释成人能听得懂的话。 (1) B→tAdA (2) A→sae 设大写字母表示魔王语言的词汇;小写字母表示人的语言词汇;希腊字母表示可以用大写字母或小写字母代换的变量。魔王语言可含人的词汇。测试用例见题集p97。

    标签: 抽象 语言

    上传时间: 2013-12-22

    上传用户:ardager

  • % 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.

    % 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.jpg ,56, secret.txt ,2001) % 参数说明: % output是信息隐藏后的图象 % len_total是秘密信息的长度 % goalfile是提取出的秘密信息文件 % key是随机间隔函数的密钥 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=double(ste_cover) % 判断嵌入信息量是否过大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作为信息嵌入位计数器将信息序列写回文本文件 p=1 % 调用随机间隔函数选取像素点 [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)

    标签: randlsbget result scover 2007

    上传时间: 2015-11-10

    上传用户:yzhl1988

  • Zinc is an object oriented, platform independent, framework for designing graphical user interfaces

    Zinc is an object oriented, platform independent, framework for designing graphical user interfaces (GUIs) for cross platform applications. Zinc is scalable and customizable. It provides a full-featured toolkit for the creation of GUIs and event-driven applications.

    标签: independent interfaces framework designing

    上传时间: 2015-11-28

    上传用户:qb1993225

  • “网络基本输入/输出系统”(Network Basic Input/Output System, NetBIOS)是一种标准的应用程序编程接口( A P I)

    “网络基本输入/输出系统”(Network Basic Input/Output System, NetBIOS)是一种标准的应用程序编程接口( A P I),1 9 8 3年由S y t e k公司专为I B M开发成功)

    标签: Network NetBIOS Output System

    上传时间: 2015-12-09

    上传用户:wanghui2438

  • 本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位

    本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS1,16nS2,16nS3,16nS4小数部分的每一项。返回每一项的小数部分。 void pi(int m,int n,int p[]) 计算从n位开始的连续m位的十六进制数字。其中p为存储十六进制数字的数组。 void div(int p[]) void add(int a[],int b[]) 这两个函数都是为最后把十六进制数字转换为十进制数字服务的。 最后把1000个数字分别存储在整型数组r[]中,输出就是按顺序输出该数组。

    标签: int double bbp 算法

    上传时间: 2014-01-05

    上传用户:xcy122677

  • Standard-Library Exception Safety Bjarne Stroustrup Texas A&M University (and AT&T Labs – Researc

    Standard-Library Exception Safety Bjarne Stroustrup Texas A&M University (and AT&T Labs – Research) http://www.research.att.com/~bs Introduction to the C++ exception handling mechanisms and “resource acquisition is initialization” for people with little experience with exceptions

    标签: Standard-Library Stroustrup University Exception

    上传时间: 2015-12-11

    上传用户:懒龙1988

  • This directory contains the Genetic Algorithm Optimization Toolbox for Matlab To use this, if you

    This directory contains the Genetic Algorithm Optimization Toolbox for Matlab To use this, if you are local to NCSU and have AFS access to this directory, simply extend the matlab path using the following command. You can also place this command in a file called startup.m. Everytime you start Matlab in the directory containing this file, the path will always be extended.

    标签: Optimization Algorithm directory contains

    上传时间: 2014-01-18

    上传用户:songnanhua

  • 一维信号的计盒分形维数

    一维信号的计盒分形维数,用 m a t l a b编辑的

    标签: 信号 分形

    上传时间: 2013-12-14

    上传用户:685