码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
Android FoldingLayout 折叠布局 原理及实现(二)
转载请标明出处:http://blog.csdn.net/lmj623565791/article/details/44283093,本文出自:【张鸿洋的博客】1、概述在上一篇Android FoldingLayout 折叠布局 原理及实现(一)我们实现了下面的1,2,3。1、Matrix的setPolyToPoly使用2、在图片上使用渐变和阴影3、初步的FoldingLayout的实现,完成图片...
分类:移动开发   时间:2015-03-19 11:36:11    阅读次数:294
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 sorted from left to right.The first integer of each r...
分类:其他好文   时间:2015-03-19 10:18:20    阅读次数:131
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? #include #include #include using namespace std; //先...
分类:其他好文   时间:2015-03-19 10:13:41    阅读次数:107
Power of Matrix(uva11149+矩阵快速幂)
Power of MatrixTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusPracticeUVA 11149Appoint description:DescriptionProblem B : Pow...
分类:其他好文   时间:2015-03-18 21:44:52    阅读次数:171
leetcode 48. 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?[Solution] 1 void r...
分类:其他好文   时间:2015-03-18 20:09:22    阅读次数:133
Paint、Canvas、Matrix使用讲解(一、Paint)
一入动效深似海,狂拽酷炫屌炸天; 在我们自己绘制动效的过程中,经常要使用到的有Paint、Canvas、Matrix,...
分类:其他好文   时间:2015-03-18 18:00:24    阅读次数:389
POJ3233 Matrix Power Series【矩阵快速幂】
题目大意: 给定一个N*N的矩阵A和一个整数K,要求计算S = A + A^2 + A^3 + … + A^k。 思路: 分别用矩阵快速幂求出每一项的A^i,然后将每一项矩阵相加,考虑到k值很大,所有采用 二分求解。...
分类:其他好文   时间:2015-03-18 16:00:43    阅读次数:150
UVa 11349 - Symmetric Matrix
题目:判断一个矩阵是不是中心对称。 分析:简单题。直接判断即可。 说明:注意不能有负数╮(╯▽╰)╭。 #include #include #include #include #include #include using namespace std; long long M[101][101]; int main() { int T,N; char ch; whi...
分类:其他好文   时间:2015-03-18 14:08:00    阅读次数:100
android图像处理,实现变暗效果
图像处理主要是图像的颜色矩阵和坐标矩阵进行处理,要实现变暗效果只需要对颜色矩阵中的RGB偏移减小即可,具体代码如下:int brightness = -80; //RGB偏移量,变暗为负数 ColorMatrix matrix = new ColorMatrix(); matrix.set(new float[]{1, 0, 0, 0, brightness, 0, 1, 0, 0, brightn...
分类:移动开发   时间:2015-03-17 23:47:21    阅读次数:213
【leetcode】Spiral Matrix(middle)
Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ],...
分类:其他好文   时间:2015-03-17 23:08:37    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!