from scipy.fftpack import fft SciPy提供fftpack模块,可让用户计算快速傅立叶变换 例子: 快速傅里叶变换之后生成复数,real是访问复数的实部,imag是访问复数的虚部 ...
分类:
其他好文 时间:
2019-05-15 00:32:07
阅读次数:
284
接之前的此博客问题处理:js处理时间时区问题 由于 toLocaleString():据本地时间格式,把 Date 对象转换为字符串。总是会带有上午/下午,所以我加了参数:new Date('2019-09-12 23:33:33').toLocaleString('chinese', {hour1 ...
分类:
其他好文 时间:
2019-05-10 12:48:44
阅读次数:
378
在Integer类的源码中,toString方法中调用getChars方法,getChars方法是获取数值对应的字符串,其中有两个地方使用了非常巧妙的方式来进行除法运算和取余运算。在计算机中,a/b和a%b相比较位运算,都是比较费时的计算的。下面来看看jdk中是如何优化计算的//Generatetwodigitsperiterationwhile(i>=65536){q=i/100;//re
分类:
其他好文 时间:
2019-05-10 09:28:59
阅读次数:
135
Candles have been used to remove light for centuries, but it took hundreds of years to make better candles. Some of the problems with the real candles ...
分类:
其他好文 时间:
2019-05-09 15:40:39
阅读次数:
99
最近在部署MongoDB Replica Set,马上就到生产环境了,一想还没有给数据库设置用户权限,配置的这一路踩了好多坑,希望对大家有帮助 1. 配置好mongodb replica set 安装及三结点配置: 启动后可任意找一个结点登录:mongo 172.31.138.31:27017执行以 ...
分类:
数据库 时间:
2019-05-08 18:51:05
阅读次数:
192
pmxcfs The Proxmox Cluster file system (“pmxcfs”) is a database-driven file system for storing configuration files, replicated in real time to all clu ...
分类:
其他好文 时间:
2019-05-08 16:02:38
阅读次数:
303
转发自:http://blog.csdn.net/lichangzai/article/details/7955766 以前为开发人员编写的oracle基础操作手册,都基本的oracle操作和SQL语句写法,适合初学者。 因是很久之前写的,文章中可能会存在不准确的地方,希望指正。 ORACLE日常操 ...
分类:
数据库 时间:
2019-05-08 14:38:56
阅读次数:
186
二、数据结构之栈、队列、循环队列 顺序栈 Stack.h 结构类型,函数声明: Stack.cpp 实现: 队列 Queue.h 数据结构、函数声明: Queue.cpp 实现: ...
分类:
其他好文 时间:
2019-05-07 14:20:16
阅读次数:
135
# int(x[, base]) 将x转换为一个整数,base为进制,默认十进制 # # long(x[, base] ) 将x转换为一个长整数 # # float(x) 将x转换到一个浮点数 # # complex(real[, imag]) 创建一个复数 # # str(x) 将对象 x 转换为... ...
分类:
编程语言 时间:
2019-05-04 11:38:19
阅读次数:
117
Once upon a time there was a prince who wanted to marry a real princess.从前,有个王子想和真正的公主结婚。 He looked all over the country.他找遍了整个国家。 But he could not fi ...
分类:
移动开发 时间:
2019-05-03 14:17:41
阅读次数:
142