码迷,mamicode.com
首页 >  
搜索关键字:math    ( 11719个结果
凸值域定理
http://www.math.org.cn/forum.php?mod=viewthread&tid=32832&page=1&extra=#pid150934
分类:其他好文   时间:2015-06-21 00:43:09    阅读次数:159
python之字符串2
1导入模块后,可使用函数dir(m)列出模块的所有函数。>>> import math>>> dir(math)['__doc__', '__loader__', '__name__', '__package__', '__spec__', 'acos', 'acosh', 'asin', 'asi...
分类:编程语言   时间:2015-06-21 00:41:07    阅读次数:179
javascript的内置对象
我们已经知道了对象是什么,如何创建对象以及如何使用对象.现在给大家介绍一下javascript中一些常用的内置对象.(String对象,Math对象,Number对象,Array对象和Date对象)   String对象   String 类型一些转义字符.   //创建一个String对象 var string1 = newString("hello"); var string...
分类:编程语言   时间:2015-06-20 18:29:58    阅读次数:183
HDU 1757 A Simple Math Problem
Problem DescriptionLele now is thinking about a simple function f(x).If x = 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x-3) + …… + a9 * f(x-10);And ...
分类:其他好文   时间:2015-06-20 13:02:39    阅读次数:105
一千万个随机数排序,如何24秒蜕变成3秒?如何从700M内存消耗变成200M?
上一篇文章写的十分的烂,经过科普看语言源码实现用的是quicksort实现的底层排序,在这里模仿一下,勿喷! package main import ( "fmt" "math/rand" "runtime" "sort" "time" ) func mergeonce(l, r []int) []int { m := make([]int, 0, len(l)+len(r)) ...
分类:编程语言   时间:2015-06-20 10:38:33    阅读次数:167
Frost R&D
Trees Procedural Math Model in Houdini,render with Mantra.Shader use SurfaceModel With Other Attributes.Trees Procedural Model in Houdini,Render With ...
分类:其他好文   时间:2015-06-19 21:33:36    阅读次数:192
[Android] how to get pem format public key from modulus and exponent
To do this, we need to download 2 jar, which list below:bouncycastle.openssl + commons-codec-1.10package com.example.getpubkey;import java.io.StringWriter; import java.math.BigInteger; import java.secu...
分类:移动开发   时间:2015-06-19 20:22:26    阅读次数:180
math
http://commons.apache.org/proper/commons-math/download_math.cgi http://www.cnblogs.com/lxchutao/p/3203905.htmlhttp://www.korf.co.uk/spline.pdfhttps://...
分类:其他好文   时间:2015-06-19 18:09:35    阅读次数:101
js 生成随机数
用 cocos js 测试可用: cc.log(Math.random()); 或: console.log(Math.random());本文讲解如何使用js生成n到m间的随机数字,主要目的是为后期的js生成验证码做准备。 Math.random()函数返回0和1之间的伪随机数,可能为0,但总是小于1,[0,1)生成n-m,包含n但不包含m的整数: 第一步算出 m-n的值,假设等于w...
分类:Web程序   时间:2015-06-19 13:36:16    阅读次数:193
金融工具类
http://download.oracle.com/technetwork/java/javase/6/docs/zh/api/java/math/class-use/BigDecimal.html http://jingyan.baidu.com/article/6d704a130a500f28db51ca09.html http://jeelee.iteye.com/blog/6520...
分类:其他好文   时间:2015-06-19 12:01:26    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!