码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
[leetcode] Search a 2D Matrix
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorte...
分类:其他好文   时间:2014-07-07 16:53:17    阅读次数:196
使用Martix来实现缩放图片的功能
使用Martix(android.graphics.Matrix)类中的postScale()方法结合Bitmap来实现缩放图片的功能Bitmap bmp = BitmapFactory.decodeResource(getResource(),R.drawalbe.icon1)int bmpwid...
分类:其他好文   时间:2014-07-07 16:00:55    阅读次数:185
Leetcode Rotate Image
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?矩阵的旋转如1 2 34 5 67 8...
分类:其他好文   时间:2014-07-07 15:13:49    阅读次数:181
Leetcode Spiral Matrix
Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ],...
分类:其他好文   时间:2014-07-07 14:22:37    阅读次数:210
Matrix, Her, Transcendence
Some mad thoughts
分类:其他好文   时间:2014-07-02 18:15:06    阅读次数:183
[转] Android图片处理(Matrix,ColorMatrix)
分类:移动开发   时间:2014-07-02 18:01:01    阅读次数:280
Android 创建Library Project(库项目)与引用操作
在项目的开发过程中,经常会使用公司内部的公共库或使用优秀的开源项目库,以求达到快速开发、代码复用的效果。所开发的项目中要集成其他项目由于集成项目庞大,不想机械的复制,就想将集成的项目做成项目库。基于这样的需求,引用Library Project(库项目),成为了迫切的需要,这样做以后集成项目升级、扩展也都方便与快捷。为此,我们不得不去了解Android Library Project(库项目)创建与引用操作。...
分类:移动开发   时间:2014-07-02 16:23:19    阅读次数:300
POJ·2155·Matrix
MatrixTime Limit:3000MSMemory Limit:65536KDescriptionGiven an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row...
分类:其他好文   时间:2014-07-01 21:17:23    阅读次数:190
怎样通过boost库的breadth_first_search算法查找点到点的最短路径
0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 F 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 S 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 namespace matrix {...
分类:其他好文   时间:2014-07-01 07:14:32    阅读次数:221
每日算法之三十七:Rotate Image (图像旋转)
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in-place? 原地图像顺时针旋转90度。因为要求空间复杂度是常数,因此应该迭代旋转操作。 class ...
分类:其他好文   时间:2014-06-30 19:51:53    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!