码迷,mamicode.com
首页 >  
搜索关键字:matrix    ( 4302个结果
Leetcode:Set Matrix Zeroes
戳我去解题Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.这题还是很简单的,就是有点坑,遍历矩阵的时候,每遇到0的时候,我们不能立即将所在行和列置0,否则,到最后矩阵所有...
分类:其他好文   时间:2014-05-09 08:51:57    阅读次数:253
Leetcode:Search a 2D Matrix
戳我去解题Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted f...
分类:其他好文   时间:2014-05-09 08:27:24    阅读次数:241
简易游戏 2048 制作
// Matrix.h#ifndef MATRIX_H#define MATRIX_H#include#include#include#define rows 4#define cols 4#define L 6using std::ostream;classMatrix{friend ostrea...
分类:其他好文   时间:2014-05-09 07:21:22    阅读次数:353
转:一些论文的概括!
摘要: 月中在香港参加recsys2013会议,文章不少,对我有价值的并不算多,再跟目前工作相关的就更少了。这里过滤了几篇我觉得比较有意思的文章,加上了自己的理解,作为导读。 A Fast Parallel SGD for Matrix Factorization...月中在香港参加recsys20...
分类:其他好文   时间:2014-05-09 00:11:11    阅读次数:339
Barcode Professional for Reporting Services 介绍及下载
BarcodeProfessionalforReportingServices是一款灵活和强大的.NET组件(.NETDLL类库),它让您轻松地添加条码生成和打印功能到您的SQLServerReportingServicesreport中。支持几乎所有当前常用的条码:Code39,Code128,GS1-128,GS1DataBar(RSS-14),EAN13&UPC,Postal(USPS,Bri..
分类:其他好文   时间:2014-05-08 17:01:08    阅读次数:392
android第二十三步拖拽与缩放
package com.example.dragscale;import android.os.Bundle;import android.app.Activity;import android.graphics.Matrix;import android.graphics.PointF;impor...
分类:移动开发   时间:2014-05-08 12:41:12    阅读次数:350
Dijkstra、Dij + heap、Floyd、SPFA、 SPFA + SLF Template
Dijkstra inAdjacency matrix :int Dijkstra(int src,int tec, int n){ bool done[1005]; int d[1005]; memset(done,0,sizeof(done)); map[0][src] ...
分类:其他好文   时间:2014-05-08 09:35:51    阅读次数:398
de Casteljau算法的matlab实现
一直在写c++程序,不过对于一些作图程序来说,还是MATLAB比较实在。            de Casteljau算法是作贝塞尔曲线的一种高效的算法,其思想就是对[0,1]区间中所有的t,通过n个控制顶点不断递推得到一个顶点:下面是我的代码实现: function deCasteljau(P,Q) %P is 1*n matrix for X %Q is 1*n matrix for...
分类:其他好文   时间:2014-05-07 03:14:37    阅读次数:303
python in action
1. introductionfrom numpy import *random.rand(4,4)#array to matrixrandMat=mat(randon.rand(4,4))#matrix inverseIvrandMat=randMat.I#indentity matrixeye(...
分类:编程语言   时间:2014-05-05 22:24:10    阅读次数:336
leetcode: Search a 2D Matrix
Write an efficient algorithm that searches for a value in anmxnmatrix. This matrix has the following properties:Integers in each row are sorted from l...
分类:其他好文   时间:2014-05-02 10:41:53    阅读次数:267
4302条   上一页 1 ... 427 428 429 430 431 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!