码迷,mamicode.com
首页 >  
搜索关键字:respberry pi 3 ;树梅派;外接网卡;ip    ( 3473个结果
高精度乘法FFT 模板
渣模板,不知为何常数还挺大。。 CODE: #include #include #include #include #include #define MAX 200010 #define PI 3.1415926535897932384626 using namespace std; struct Complex{ double real,imag; Compl...
分类:其他好文   时间:2014-12-26 11:13:24    阅读次数:155
BZOJ 2194 快速傅立叶之二 快速傅里叶变换
题目大意:给定两个长度为n的序列a和b,求c[k]=Σa[i]*b[i-k] 这东西不是卷积的形式,因此我们将b数组反转,之后就是卷积的形式了 然后就愉♂悦地上FFT吧 #include #include #include #include #include #define M 263000 #define PI 3.14159265358979323846264338327950...
分类:其他好文   时间:2014-12-25 16:28:41    阅读次数:148
js Math对象
1.常用的有Math.PI,Math.min()和Math.max();其中min和max可以穿进去参数比如var a = Math.min(2,5,8,1,4);来获取最小值。 2.random方法,常常用来获取随机的 值 = Math.floor(Math.random() * 数组的总数 + 第一个可能的值)...
分类:Web程序   时间:2014-12-25 16:27:26    阅读次数:139
常用Raspberry Pi周边传感器的使用教程
在Raspberry Pi 的使用和开发过程中,你可能时常需要一些硬件和传感器等来支持你的开发工作,例如,加入一个超声波测距的模块来让你的Raspberry Pi具备测距功能,加入一个测温模块以实现测温功能。今天我们为你准备了10款最常用的传感器与Raspberry Pi 结合使用的例程,你可以在你...
分类:Web程序   时间:2014-12-25 16:13:23    阅读次数:229
BZOJ 2179 FFT快速傅立叶 快速傅里叶变换
题目大意:给定两个高精度整数,求两个数的乘积 FFT大法好 系统的complex比手写慢了2.5倍 简直吓死人- - #include #include #include #include #include #define M 131080 #define PI 3.1415926535897932384626433832795028841971 using namespace s...
分类:其他好文   时间:2014-12-25 14:40:21    阅读次数:178
[quote ]ffmpeg, gstreamer, Raspberry Pi, Windows Desktop streaming
[quote ]ffmpeg, gstreamer, Raspberry Pi, Windows Desktop streaminghttp://blog.pi3g.com/2013/08/ffmpeg-gstreamer-raspberry-pi-windows-desktop-streaming...
分类:Windows程序   时间:2014-12-25 14:29:37    阅读次数:535
javascript之数学函数
javascript数学函数其实就是Math对象,它包括属性和函数(或称方法)两部分。其中,属性主要有下列内容:    Math.e:e(自然对数)、Math.LN2(2的自然对数)、Math.LN10(10的自然对数)、Math.LOG2E(e的对数,底数为2)、Math.LOG10E(e的对数,底数为10)、Math.PI(π)、Math.SQRT1_2(1/2的平方根值)、Math.SQR...
分类:编程语言   时间:2014-12-25 10:04:58    阅读次数:228
树莓派(Raspberry Pi)修改时区
1、安装ntpsudo apt-get install ntpdate 2、修改时区tzselect3、选择自己的时区 1)选择大洲 2)选择国家 3)选择城市 4)选择YES 5)或者使用命令行4、配置网络对时sudo ntpdate cn.pool.ntp.org注:cn.pool.n...
分类:Web程序   时间:2014-12-24 11:12:31    阅读次数:333
C#笔记1__
命名空间:namespace Test1{ ... } 引用命名空间:using System;using 别名=命名空间常量:const double PI=3.14;using System;using System.Collections.Generic;using System.Lin...
分类:Windows程序   时间:2014-12-23 21:03:43    阅读次数:205
树莓派最新sudo rasp-config 系统设置 时间 全屏设置
一  树莓派默认10分钟  进入黑屏状态,就是我们常说的suspend状态。  那么请你用xset工具设置吧 xset     s     off        xset    dpms  0  0  0 二、 sudo  raspi-config  进入下面的界面 一、简介:raspi-config是Raspberry PI官方Raspbian...
分类:Web程序   时间:2014-12-23 12:34:48    阅读次数:504
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!