码迷,mamicode.com
首页 >  
搜索关键字:shape    ( 2078个结果
Numpy的tile函数
1.函数的定义与说明tile函数是模板numpy.lib.shape_base中的函数。函数的形式是tile(A,reps)函数参数说明中提到A和reps都是array_like的,什么是array_like的parameter呢?在网上查了一下,始终搞不明白,便把熟悉的python数据类型都试了一...
分类:其他好文   时间:2015-12-26 22:10:37    阅读次数:264
Codeforces 1A&1B
1A.Theatre Square in the capital city of Berland has a rectangular shape with the size n?×?m meters. On the occasion of the city's anniversary, a deci...
分类:其他好文   时间:2015-12-26 18:33:46    阅读次数:149
HDU 3999 二叉排序树
The order of a TreeProblem DescriptionThe shape of a binary search tree is greatly related to the order of keys we insert. To be precisely:1.insert a ...
分类:编程语言   时间:2015-12-23 21:01:44    阅读次数:226
ndroid开发学习笔记:圆角的Button
转自:http://www.cnblogs.com/gzggyy/archive/2013/05/17/3083218.html在res目录下的drawable-mdpi建立xml文件shape.xml,如下图所示:shape.xml ...
分类:其他好文   时间:2015-12-20 13:07:41    阅读次数:171
背影渐变shape写法
分类:其他好文   时间:2015-12-19 12:23:53    阅读次数:151
对象和类
使用class和类名来创建一个类。类中属性的声明和常量、变量声明一样,唯一的区别就是它们的上下文是类。同样,方法和函数声明也一样。class Shape { var numberOfSides = 0 func simpleDescription() -> String { ...
分类:其他好文   时间:2015-12-18 10:36:26    阅读次数:198
构造函数、拷贝构造函数、赋值操作符
对于这样一种类与类之间的关系,我们希望为其编写“深拷贝”。两个类的定义如下:class Point { int x; int y;};class Polygon : public Shape { Point *points;}; 1. 构造函数//构造函数Polygon(co...
分类:其他好文   时间:2015-12-15 22:52:58    阅读次数:281
【Virtual Judge】E - 特别水的题5-Wilbur and Swimming Pool
DescriptionAfter making bad dives into swimming pools, Wilbur wants to build a swimming pool in the shape of a rectangle in his backyard. He has set u...
分类:其他好文   时间:2015-12-14 16:43:53    阅读次数:195
备忘录 - numpy基本方法总结
NumPy基本方法一、数组方法创建数组:arange()创建一维数组;array()创建一维或多维数组,其参数是类似于数组的对象,如列表等读取数组元素:如a[0],a[0,0]数组变形:如b=a.reshape(2,3,4)将得到原数组变为2*3*4的三维数组后的数组;或是a.shape=(2,3,...
分类:其他好文   时间:2015-12-13 21:54:12    阅读次数:8677
8.快速索引、listview
实现这样的效果布局: 字的shape: QuickIndexBar/** * 快速索引 * * 用于根据字母快速定位联系人 * @author poplar * */public class QuickIndexBar extends View { private static final Stri...
分类:其他好文   时间:2015-12-12 23:12:28    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!