码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
zoj3497Mistwald矩阵
判断i到j 是否k步可达。#include #include #include #include typedef long long LL;using namespace std;int n;int x[100], y[100];struct Matrix{ int m[40][40];...
分类:其他好文   时间:2014-10-29 14:42:44    阅读次数:206
POJ 2155 树套树—线段树套线段树
Matrix 楼教主出的题目。 题意:一个矩阵初始值都为0,每次给“C X1 Y1 X2 Y2" 去反转这个矩阵。或者"Q X1 Y1"查询这个点是0/1。 第一次接触树套树的题目。 一句AC:对于基本的线段树,再在每个节点建一个y方向上的线段树。tree[n][m] 这道题目更新的时候,对于X方向就是(X1,X2)这个区间,再在其上对Y1,Y2进行更新。 对于查询,X方向上,自顶向下到...
分类:其他好文   时间:2014-10-29 10:53:37    阅读次数:156
DM8168 新板系统启动
DM8168新板从贴片到系统启动折腾了二十多天终于完成,高校里做个东西好累,导师只给机焊10个BGA,别的都是手工。 前段时间启动操作系统时,到了Starting Matrix GUI application。。。 出现了 pgd = c0004000 的毛病,查了很久没找到合适的答案,最后回到log看到一句提示: Unable to handle kerne...
分类:其他好文   时间:2014-10-29 00:28:05    阅读次数:263
Hdu3233Matrix Power Series矩阵
前面就做过了。。。二分搞下#include #include #include #include typedef long long LL;using namespace std;int n, M;struct Matrix{ int m[40][40];};Matrix Mul(Matrix...
分类:其他好文   时间:2014-10-29 00:05:19    阅读次数:179
Hdu1575Tr A矩阵
矩阵快速幂,就是快速幂的乘法变成矩阵乘法,其余的都一样。#include #include #include #include using namespace std;const int mod = 9973;const int maxn = 12;struct Matrix{ int m[m...
分类:其他好文   时间:2014-10-29 00:04:18    阅读次数:267
Hdu1588Gauss Fibonacci矩阵
题意:求g(i)=k*i+b; f(g(i)) for 0#include #include #include typedef long long LL;LL M;using namespace std;struct Matrix{ LL m[4][4];};Matrix Mul(Matrix...
分类:其他好文   时间:2014-10-28 19:36:49    阅读次数:170
poj 3233 Matrix Power Series(矩阵二分,快速幂)
Matrix Power Series Time Limit: 3000MS   Memory Limit: 131072K Total Submissions: 15739   Accepted: 6724 Description Given a n × n matrix A and a positive integer k, fi...
分类:其他好文   时间:2014-10-28 10:25:00    阅读次数:158
matrix矩阵
matrix(a,b,c,d,e,f)x’ | a c e | xy’ = | b d f | y1 | 0 0 1 | 1这就是矩阵的运算了,简化为公式:x’=ax+cy+ey’=bx+dy+fcss3的transform属性很好用,其实可以变换为matrix矩阵工作,只需要给abc...
分类:其他好文   时间:2014-10-27 17:29:12    阅读次数:227
Leetcode: Spiral Matrix. Java
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the following matrix: [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ] ...
分类:编程语言   时间:2014-10-27 12:51:24    阅读次数:152
[Android] 使用Matrix矩阵类对图像进行缩放、旋转、对比度、亮度处理
讲述Android图像处理技术,主要操作包括:通过打开相册里的图片,使用Matrix对图像进行缩放、旋转、移动、对比度、亮度、饱和度操作,希望对大家有所帮助. 1.Matrix 图像空间变换,包括旋转、剪裁、缩放或移动.Matrix类中每个数字都将应用于图像上每个点的3个坐标x\y\z之一. 2.ColorMatrix 在Canvas(画布)对象上绘制时既可使用Matrix方法,也可使用ColorMatrix来改变在Canvas对象上绘制的Paint(画刷)对象.对图像的像素处理时,每个像素由RGBA值组成...
分类:移动开发   时间:2014-10-26 06:51:24    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!