自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

麦好的AI乐园

机器学习、 智能计算、应用数学

  • 博客(12)
  • 资源 (5)
  • 收藏
  • 关注

原创 perl-opengl键盘事件与色彩

按空格键变换色彩  二、 关于色彩1. glShadeModel :选择平面明暗模式或光滑明暗模式C语言描述void glShadeModel( GLenum mode )参数mode 指定表示明暗模式的符号值,可以选择GL_FLAT(平面明暗模式)和GL_SMOOTH(光滑明暗模式),缺省值为GL_SMOOTH。说明

2013-11-22 17:06:13 1752

转载 perl-lwp笔记

perl的LWP模块介绍一 LWP::Simple 功能1. 如何在Perl中使用该模块?use LWP::Simple;2. 如何获取一个页面内容?my $content = get(’http://www.yahoo.com.cn’);get函数把从www.yahoo.com.cn上获取得页面内容全部赋给$content这个变量,如果获取失败将返回一

2013-11-22 17:05:13 1698

原创 perl-opengl-glutMotionFunc鼠标事件

按下鼠标按钮时,球体会随着鼠标的操作而转动    7.6 glutMotionFunc, glutPassiveMotionFunc  glutMotionFunc and glutPassiveMotionFunc set the motion and passive motion callbacks respectively for the cu

2013-11-22 17:04:46 2935

原创 perl-opengl-鼠标事件与球体视角

#!/usr/bin/perl -wuse strict;use warnings;use OpenGL qw/ :all /;use OpenGL::Config; #!/usr/bin/perl -wuse strict;use warnings;use OpenGL qw/ :all /;use OpenGL::Config; my $a=rand(1);

2013-11-22 17:03:20 1632

原创 对变化建模-用差分方程-动力系统及常数解

差分表示在一个时间周期里考察对象的变化量。 差分表示在一个时间周期里考察对象的变化量。

2013-11-22 17:00:55 2070

转载 PostgreSQL学习手册(常用数据类型)

一、数值类型:    下面是PostgreSQL所支持的数值类型的列表和简单说明:名字存储空间描述范围smallint2 字节小范围整数-32768 到 +32767integer4 字节常用的整数-2147483648 到 +2147483647bi

2013-11-22 17:00:09 1137

原创 perl-opengl几何变换函数

#!/usr/bin/perl -wuse strict;use warnings;use OpenGL qw/ :all /;use OpenGL::Config; glutInit();glutInitDisplayMode(GLUT_RGB|GLUT_SINGLE);glutInitWindowPosition(100,100);glutInitWindowSize(4

2013-11-18 17:15:13 1283

原创 perl-opengl基本图形操作-缩放,二维旋转,二维平移

#!/usr/bin/perl -wuse strict;use warnings;use OpenGL qw/ :all /;use OpenGL::Config; glutInit();glutInitDisplayMode(GLUT_RGB|GLUT_SINGLE);glutInitWindowPosition(100,100);glutInitWindowSize(

2013-11-18 17:13:19 1639

原创 netbsd源码(5)

/*- * Background information: * * When converting between timestamps on parallel timescales of differing * resolutions it is historical and scientific practice to round down rather * than do

2013-11-11 22:18:52 1575

原创 netbsd源码(3)

/* Operations on timevals. */将时间结构数据归0,0L表示长整型的0,在此注意到秒、微秒等都是长整型。 #define timerclear(tvp)(tvp)->tv_sec = (tvp)->tv_usec = 0L时间是否已经设置成功(是否为0),如果成功则,返回1(逻辑真)#define timerisset(tvp)((tvp)->tv

2013-11-11 10:35:36 1788

原创 netbsd源码分析(2)

/* * Structure returned by gettimeofday(2) system call, * and used in other calls. */系统时间timeval的结构由2部分组成,一部分是秒tv_sec,另一个部分是微秒 tv_usec;struct timeval {    time_t        tv_sec;        /*

2013-11-10 21:38:16 2212

原创 netbsd源码分析(1)

今天想开始一个工程,分析NETBSD~,工程比我想像的浩大,希望能在n个月内完成。NetBSD是一个免费的,具有高度移植性的 UNIX-like 操作系统,是现行可移植平台最多的操作系统,可以在许多平台上执行,从 64bit alpha 服务器到手持设备和嵌入式设备。NetBSD计划的口号是:"Of course it runs NetBSD"。它设计简洁,代码规范,拥有众多先进特性,使得它在

2013-11-10 21:13:51 4074

freeglut-MinGW-2.8.1-1.mp.zip

freeglut-MinGW-2.8.1-1.mp.zip freeglut的预编译包,codeblock必备

2014-02-03

机器学习数学基础

机器学习的数学基础,适合机器学习和人工智能的相关学习者

2013-08-30

python处理声音示例程序

python处理声音示例程序,博客用:http://blog.csdn.net/myhaspl

2013-08-26

haskell中文入门资料

haskell中文入门资料,代码齐全,入门简单

2013-08-20

python线性神经网络库mplannliner

python线性神经网络库,简单易用,提供图形函数 调用代码如下: traindata2=[[[9,25,30],-1],[[5,8,12],-1],[[15,31,49],-1],[[35,62,108],-1],[[19,40,60],-1],[[28,65,98],1],[[20,59,72],1],[[9,41,38],1],[[12,60,46],1],[[2,37,18],1]] myann2=nplann.Mplannliner() myann2.samples_init(traindata2) myann2.train() myc=myann2.simulate([35,68,110]) print "[35,68,110]" if myc=="+": print u"正类" else: print u"负类"

2013-07-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除