因为我这里的帖子基本上是写给自己回忆的,所以原理公式什么的就没写出来了,想了解的同学可以去看网易公开课的线性代数关于投影和正交矩阵那几集我这里给出来matlab代码,大家如果有题目要做,直接将相应的矩阵输入进去就行function [ Xnew , Projection_Matrix] = ProJ...
分类:
其他好文 时间:
2015-01-16 20:35:49
阅读次数:
119
android matrix camera 纠正别人的错误...
分类:
移动开发 时间:
2015-01-16 13:08:24
阅读次数:
238
Eigen 是一个线性算术的C++模板库,包括:vectors, matrices, 以及相关算法。功能强大、快速、优雅以及支持多平台。
Eigen中的矩阵类型一般都是用类似MatrixXXX来表示,可以根据该名字来判断其数据类型,比如说’d’代表double并不是用来表示整数的,;‘f’代表float; ‘i’代表整数;‘c’代表complex,即复数;’d’表示dynamic,即表示矩阵...
分类:
编程语言 时间:
2015-01-16 10:07:14
阅读次数:
218
Matrix:图片的处理需要使用到Matrix类,Matrix是一个3 x 3的矩阵,他对图片的处理分为四个基本类型:1、Translate————平移变换2、Scale————缩放变换3、Rotate————旋转变换4、Skew————错切变换操作方式:set(用于设置Matrix中的值)、pre...
分类:
移动开发 时间:
2015-01-16 01:06:37
阅读次数:
161
Problem HMatrix MatcherInput:Standard InputOutput:Standard OutputGiven an N * M matrix, your task is to find the number ofoccurencesof an X * Y patter...
分类:
其他好文 时间:
2015-01-15 21:35:12
阅读次数:
171
前面两篇文章分别介绍了我编写的开源项目ImageCropper库,以及如何调用系统的图片剪裁模块,本文则继续分析一下开发Android图片剪裁应用中需要用到的Bitmap操作。在Android系统中,对图片的操作主要是通过Bitmap类和Matrix类来完成,本文就介绍一下图片剪裁应用中对Bitmap的一..
分类:
移动开发 时间:
2015-01-15 01:54:16
阅读次数:
195
Easy Finding
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 16482
Accepted: 4476
Description
Given a M×N matrix A. Aij ∈ {0, 1} (0 ≤ i < M, 0 ≤ j < N), co...
分类:
其他好文 时间:
2015-01-14 11:08:52
阅读次数:
189
首先是1:
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,...
分类:
编程语言 时间:
2015-01-14 09:52:48
阅读次数:
161
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
click to show follow up.
Follow up:
Did you use extra space?
A straight forward solution using O(m...
分类:
其他好文 时间:
2015-01-13 10:39:06
阅读次数:
156
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...
分类:
其他好文 时间:
2015-01-13 09:00:00
阅读次数:
104