码迷,mamicode.com
首页 >  
搜索关键字:pandas matplotlib nu    ( 5990个结果
matplotlib 显示中文
# --*-- coding: utf-8 --*--from matplotlib.font_manager import FontPropertiesimport matplotlib.pyplot as pltfont = FontProperties(fname=r"/usr/share/f...
分类:其他好文   时间:2014-05-09 11:51:09    阅读次数:323
leetcode第一刷_Symmetric Tree
必须承认,一开始这道题我是不会做的,因为我心目中的树遍历只能用一个节点发起,多么天真而无知。 我想不通怎样同时遍历两颗子树,因为根节点一定是一个啊。可是,作为对称轴上的它,从一开始就不应该被考虑,他的左右孩子,不是很自然的形成了两个遍历的入口吗?可见无知是多么的可怕。 bool helper(TreeNode *left, TreeNode *right){ if(left == NU...
分类:其他好文   时间:2014-05-09 02:18:26    阅读次数:223
Leetcode | Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-05-08 06:33:29    阅读次数:339
python 安装matplotlib
Ubuntu安装Matplotlibubuntu下安装matplotlib的复杂度远远比windows下复杂的多,相对双击就能解决问题的,现在你需要时不时的解决编译带来的各种问题。1sudo apt-get install python-dev先安装numpy:12python setup.py b...
分类:编程语言   时间:2014-05-07 01:04:09    阅读次数:606
十一周 存储班长信息的学生类
#include using namespace std; class Stu //声明基类 { public: Stu(int n, string nam ); //基类构造函数 void display( ); //成员函数,输出基类数据成员 protected: //(*)访问权限为保护型的数据成员 int nu...
分类:其他好文   时间:2014-05-06 23:20:29    阅读次数:296
广义mandelbrot集,使用python的matplotlib绘制,支持放大缩小
分形 逃逸时间算法 广义mandelbrot集,终于绘制出来了,圆了毕业设计的梦...
分类:编程语言   时间:2014-05-06 21:21:36    阅读次数:482
参数对二项分布的影响
# --*-- coding:utf-8 --*--import distributionimport matplotlib.pyplot as pltfrom matplotlib.ticker import MultipleLocator# 二项分布举例:将一个硬币抛三次,用随机变量X记录在三次...
分类:其他好文   时间:2014-05-04 20:54:51    阅读次数:512
(三)分数阶微积分
一些基本函数的R-L分数阶导数:c. 幂函数 $t^{\mu}$$$_{0}^{RL}D_{t}^{\nu}t^{\mu}=\frac{\Gamma(1+\mu)}{1+\mu-\nu}t^{\mu-\nu}$$首先我们来计算 $t^{\mu}$的$\alpha$分数阶积分\begin{eqnarr...
分类:其他好文   时间:2014-05-04 11:52:09    阅读次数:392
Leetcode: Length of Last Word
许多次通过,主要是没有考虑到这种情况:“A C ”结尾有多重空格的情况。 1 public class Solution { 2 public int lengthOfLastWord(String s) { 3 int j, k; 4 if(s == nu...
分类:其他好文   时间:2014-05-02 08:21:00    阅读次数:300
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2014-05-01 08:35:40    阅读次数:443
5990条   上一页 1 ... 597 598 599
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!