自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Budapest

work ing

  • 博客(6)
  • 收藏
  • 关注

原创 Exercise11-Matplotlib

Exercise 11.1: Plotting a function 分析: 要绘制这样的函数图像,用点来描绘,选择给定区间较密集的点(用numpy.arange实现其x坐标在该区域的等距选取),y用给定的表达式给出,使用plot绘制即可。 相关说明: pylab将pyplot与numpy合并为一个命名空间。这对于交互式工作很方便,但是对于编程来说,建议将名称空间分开。 例:画 y...

2018-05-28 22:59:39 201

原创 Exercise9-Numpy

Premise: 分析: 要生成两个矩阵,A为高斯(正态分布)矩阵,可以numpy.random.normal获得;B为Toeplitz矩阵,可用scipy.linalg 中的toeplitz获得。 内置函数等介绍: numpy.random.normal(loc=0.0, scale=1.0, size=None) 对应于高斯分布的概率密度函数,第一,二个参数分别为均值和...

2018-05-21 18:56:51 190

原创 LeetCode-array2

Title: Two Sum II - Input array is sorted Related Topics: Array , Binary Search, Two Pointers Describe: Given an array of integers that is already sorted in ascending order, find two numbers such...

2018-05-13 15:56:23 104

原创 LeetCode-LinkedList1

Title: T83.Remove Duplicates from Sorted List Related Topics: LinkedList Describe: Given a sorted linked list, delete all duplicates such that each element appear only once. Sample Input&out...

2018-05-01 09:45:04 164

原创 LeetCode-string1

Title: T58. Length of Last Word Related Topics: string Describe: Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the stri...

2018-05-01 09:39:47 100

原创 LeetCode-array1

Related Topics: Array , Binary Search Describe: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...

2018-05-01 09:29:27 106

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除