一、System.MathMath类:为三角函数、对数函数和其他通用数学函数提供常数和静态方法命名空间: System程序集 : mscorlib.dll继承关系:常用属性:Math.E 表示自然对数的底(e)Math.PI 圆周率(π)常用方法:Math.Abs(整数、浮点数) ...
分类:
其他好文 时间:
2014-12-11 18:53:39
阅读次数:
223
第一步:安装命令:sudo apt-get install ntpdate
第二步:输入命令tzselect
如何一次选择你想要的选项。 本人依次按提示5、9、1
第三步:进入到/usr/share/zoneinfo/Asia 然后输入命令sudo cp Shanghai /etc/localtime
然后再输入命令:sudo ntp...
分类:
Web程序 时间:
2014-12-11 15:59:29
阅读次数:
482
linefinder.h
#if !defined LINEF
#define LINEF
#include
#include
#include
#define PI 3.1415926
using namespace cv;
using namespace std;
class LineFinder {
private:
// original image
Mat im...
分类:
其他好文 时间:
2014-12-11 14:04:46
阅读次数:
174
原文:http://shumeipai.nxez.com/2014/09/30/raspberry-pi-led-status-detail.html?variant=zh-cnLED亮灯状态LED颜色功能正常状态ACT绿色card status闪烁:SD卡正在活动(类似电脑的硬盘灯)PWR红色po...
分类:
其他好文 时间:
2014-12-11 08:51:51
阅读次数:
2211
General Purpose Input Output (通用输入/输出)简称为GPIO,或总线扩展器,利用工业标准I2C、SMBus或SPI接口简化了I/O口的扩展。当微控制器或芯片组没有足够的I/O端口,或当系统需要采用远端串行通信或控制时,GPIO产品能够提供额外的控制和监视功能。
本篇没啥可讲的,主要是贴图!但本文很重要第一是为后面文章做铺垫,第二你会经常来查GPIO接口!务必收藏好...
分类:
Web程序 时间:
2014-12-11 07:50:21
阅读次数:
549
手动敲了一遍计算pi的示例:http://www.gtan.com/akka_doc/intro/getting-started-first-scala.html有个笔误,花了半个小时定位。 1 [Torstani@sparkb5-i ~/akka_example/pi]$ cat src/Pi.s...
分类:
其他好文 时间:
2014-12-10 22:45:51
阅读次数:
186
有好多代码没有用
linefiner.h
#if !defined LINEF
#define LINEF
#include
#include
#include
#define PI 3.1415926
class LineFinder {
private:
// original image
cv::Mat img;
// vector containing...
分类:
其他好文 时间:
2014-12-10 21:25:03
阅读次数:
311
已知 theta 函数$$\theta (s)=\sum_{-\infty}^{+\infty} e^{-\pi n^{2}s}$$满足函数方程$$s^{-\frac{1}{2}}\theta (1/s)=\theta (s)$$问题:问满足上述函数方程的非零解有哪些?是否唯一?M.Stein 《F...
分类:
其他好文 时间:
2014-12-10 10:45:08
阅读次数:
124
1. 填空题 (1) $\frac{2}{3}$(2) $[1,e]$(3) $\ln 2$ 2. 选择题:(1) (D) 课件上例题,不是无穷大的原因是,当 $x\to +\infty$, $x\cos x$ 有可能取零, 比如令 $x=n\pi +\frac\pi 2$.(2) (C)...
分类:
其他好文 时间:
2014-12-10 00:30:20
阅读次数:
156
题意:求n!的位数题解:斯特林数:log10(n!)=1.0/2*log10(2*pi*n)+n*log10(n/e)。 1 #include 2 #include 3 #include 4 #include 5 #define E 2.71828182 6 #define PI acos(...
分类:
其他好文 时间:
2014-12-10 00:17:56
阅读次数:
146