码迷,mamicode.com
首页 >  
搜索关键字:confusion matrix    ( 4333个结果
[LintCode] Longest Increasing Continuous subsequence II
Give you an integer matrix (with row size n, column size m),find the longest increasing continuous subsequence in this matrix. (The definition of the ...
分类:其他好文   时间:2017-06-03 11:13:03    阅读次数:262
Strassen algorithm(O(n^lg7))
Let A, B be two square matrices over a ring R. We want to calculate the matrix product C as If the matrices A, B are not of type 2n × 2n we fill the m ...
分类:其他好文   时间:2017-06-02 23:08:53    阅读次数:219
3.1 The Interpolating Polynomial(站点)
Cubic Interpolation: https://www.youtube.com/watch?v=EtzlEA9MIwI Quadratic Spline Interpolation https://www.youtube.com/watch?v=j_jBK7zJ1vU Lagrange I ...
分类:其他好文   时间:2017-06-02 11:40:30    阅读次数:124
[leetcode-59-Spiral Matrix II]
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, You should return the follow ...
分类:其他好文   时间:2017-06-01 21:42:15    阅读次数:159
leetcode第一刷_Spiral Matrix
我认为这个题好无聊啊,好端端一个数组。干嘛要跟比巴卜一样转一圈输出呢。。 思想非常easy,每次从左到右。再从上到下,在从右到左,再从下到上。问题是每次到什么时候该改变方向。我的做法是用一个变量保存当前在第几层。这个层是相对于从外向内有几圈来说的。注意想清楚边界的话这个题一点也不难。有个细节,我的循 ...
分类:其他好文   时间:2017-06-01 14:41:31    阅读次数:152
LeetCode Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr ...
分类:其他好文   时间:2017-05-31 22:17:52    阅读次数:264
Android图片旋转,缩放,位移,倾斜,对称完整演示样例(一)——imageView.setImageMatrix(matrix)和Matrix
MainActivity例如以下: import android.os.Bundle; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; impor ...
分类:移动开发   时间:2017-05-30 23:07:54    阅读次数:180
POJ 2155 Matrix (树状数组 && 区间计数)
题意 : 给出一个N*N的矩阵, 矩阵只有可能包含0或1, 一开始则全部是0。对于矩阵可以进行两种操作, 第一种是输入 C x1 y1 x2 y2 表示, 对以(x1, y1)为左上角, 以(x2, y2)为右下角构成的矩形区域内的数全部进行取反操作, 即0变1、1变0。第二种是Q X Y, 表示查 ...
分类:编程语言   时间:2017-05-30 15:41:57    阅读次数:209
(线段树+并查集) Codeforces Round #416 (Div. 2) E Vladik and Entertaining Flags
In his spare time Vladik estimates beauty of the flags. Every flag could be represented as the matrix n?×?m which consists of positive integers. Let's ...
分类:其他好文   时间:2017-05-29 23:28:25    阅读次数:333
hdu - 4920 - Matrix multiplication(缓存优化+开挂)
题意:求两个n x n的矩阵相乘后模3的结果,n <= 800。 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4920 ——>>呀呀。。 1、3层计算的for进行缓存优化,依据CPU的L1级缓存的实现原理,降低缓存的变更。假设每次都计算完一个单元格的 ...
分类:其他好文   时间:2017-05-29 16:33:41    阅读次数:118
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!