码迷,mamicode.com
首页 >  
搜索关键字:tan    ( 294个结果
Android 仿美拍,秒拍 ,视频封面选择.有图有真相.
代码不多,就懒得加注释了.原谅我的懒. 缩略图获取那块,没有加用线程.可能会在有些低端机上面或者高清的视频会出现FC的情况.需要的童鞋.自行添加. 附代码: package com.tan.videoselectthumbnail; import java.lang.ref.WeakReference; import java.util.ArrayList; import...
分类:移动开发   时间:2015-02-06 11:18:41    阅读次数:441
UVA 10341- Solve It(二分+精度求解方程值)
Problem F Solve It Input: standard input Output: standard output Time Limit: 1 second Memory Limit: 32 MB Solve the equation:         p*e-x+ q*sin(x) + r*cos(x) + s*tan(x) + t*x2 + u = 0      ...
分类:其他好文   时间:2015-02-05 15:05:05    阅读次数:182
UVA Solve It(二分查找)
Problem F Solve It Input: standard input Output: standard output Time Limit: 1 second Memory Limit: 32 MB Solve the equation:         p*e-x+ q*sin(x) + r*cos(x) + s*tan(x) + t*x2 + u = 0      ...
分类:其他好文   时间:2015-02-02 18:17:29    阅读次数:151
acm 经验
1. 求夹角时候的tan值可以用x/y, 这样比较哪个更大,则夹角距x正向的距离更小. 2. 全局变量放在主函数外面可以减小运行时间。 3. qsort中的size如果是结构体的话最好用结构体第一个单元,如sizeof(num[0])。 4. 有大量比较时候尽量用sort、qsort不稳定,sort...
分类:其他好文   时间:2015-01-29 12:20:03    阅读次数:164
求最大值
求$(\cos x+2)(\sin x+1)$的最大值解: 设$$f(x)=\cos x \sin x +\cos x+ 2\sin x +2$$令$t=\tan{\frac{x}{2}}$, 则$$\sin x=\frac{1}{1+t^{2}}; \cos x=\frac{1-t^{2}}{1+...
分类:其他好文   时间:2015-01-22 14:56:04    阅读次数:87
[Everyday Mathematics]20150225
设 $f:\bbR\to\bbR$ 二次可微, 适合 $f(0)=0$. 试证: $$\bex \exists\ \xi\in\sex{-\frac{\pi}{2},\frac{\pi}{2}},\st f''(\xi)=f(\xi)(1+2\tan^2\xi). \eex$$
分类:其他好文   时间:2015-01-21 22:14:11    阅读次数:181
数据挖掘十大经典算法(9) 朴素贝叶斯分类器 Naive Bayes
贝叶斯分类器 贝叶斯分类器的分类原理是通过某对象的先验概率,利用贝叶斯公式计算出其后验概率,即该对象属于某一类的概率,选择具有最大后验概率的类作为该对象所属的类。眼下研究较多的贝叶斯分类器主要有四种,各自是:Naive Bayes、TAN、BAN和GBN。 贝叶斯网络是一个带有概率...
分类:编程语言   时间:2015-01-21 14:57:37    阅读次数:405
Erlang math模块中有哪些方法
Erlang math 模块中的方法有: -export([pi/0]). -export([sin/1, cos/1, tan/1, asin/1, acos/1, atan/1, atan2/2, sinh/1, cosh/1, tanh/1, asinh/1, acosh/1, atanh/1, exp/1, log/1, log10/1, po...
分类:其他好文   时间:2014-12-30 13:39:45    阅读次数:161
294条   上一页 1 ... 23 24 25 26 27 ... 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!