- 博客(24)
- 收藏
- 关注
原创 数据库编码规范
数据库编码规范 V1.2 2004 年 11 月 12 日类别文件名: 数据库编码规范 版本号: V1.2 版本日期: 2004-11-12 作者: Nick 日期: 2004-11-12 目 录1 目的. 22 范围. 33 术语. 3
2005-03-30 23:25:00 3792
原创 实战 Eclipse ,Jigloo, PostgreSQL,JDBC 开发数据库查询应用系统起步
实战 Eclipse ,Jigloo, PostgreSQL,JDBC 开发数据库查询应用系统起步1 安装 Eclipse笔者用的GNU/Linux先从 下载了些GTK+相关的包编译安装之后,到Eclipse主页上 找到了Linux下GTK的 Eclipse安装文件2 .插件笔者安装了两个插件一个是GUI设计工具 jigloo,主页:http://cloudgarden.com/jigloo/一个
2005-03-29 13:02:00 1797
原创 介绍一个中型开源社区
Tigris.org (http://www.tigris.org)这个社区。Tigris.org 是一个中型的开源社区。她致力于为协同软件开发设计更好的开发工具。Tigris.org 由 CollabNet 公司运营,但 Tigris 的任务也是整个开放源码运动中的一个并且已经从许多组织中吸引了许多高级开发人员加入。这里的软件项目分了几类:SCM、issuetrack、design、constr
2005-03-18 20:21:00 1380
原创 关于编程这件事--起步
关于编程这件事--起步作者: 王亮 (RobinKin)编程,是个什么东西呢?有什么用呢?先假设你是个小学生,老师说,“昨天我们学了加法,今天我来出道题目,1加2加3一直加到100, 答案是什么,有人知道吗?”然后,因为你不是高斯,所以你不会发明等“差级数求和公式”(一个数学用语而已,到初中才会学到)但是,没问题,你可以用编程这个方法来算这道题目。于是,你在自己的笔记本电脑上打开一个文本编辑器,写
2005-03-17 10:10:00 1908
原创 转帖 程序员的TOP25句话
程序员的TOP25句话[ZT] 25. 尽管不能运行,但感觉怎么样? 24. 你的机器中可能有病毒吧! 23. 肯定有人改了我的代码。 22. 程序可以运行,但是没被测试过。 21. 已经做好了,还没测试。 20. 我不是已经改了吗? 19. 这个怎么能做呢? 18. 我不可能测试每一项啊! 17. 正巧给碰上了错! 16. 根本就没时间做。 15. 当然我还得修改。 14. 差不多了! 13
2005-03-16 19:20:00 1271
转载 转贴 心目中的编程高手
MIT BBS上说微软电话面试的一道题就是“Who do you think is the best coder, and why?”。我觉得挺有意思的,也来凑个热闹。排名不分先后。 Bill Joy, 前任Sun的首席科学家,当年在Berkeley时主持开发了最早版本的BSD。他还是vi和csh的作者。当然,Csh Programming Considered Harmful 是另一个话题乐。据
2005-03-16 18:36:00 1740
原创 关于 clock_gettime() 的一个问题以及解决方法
在新的2.6x内核上 编译使用这个函数的程序的时候 会发现 ,如果gcc -lpthead .... 无法链接成功 ,原因在于 , libpthread.so中没有这个函数的实现(但是 libpthread.a中有)还有一个librt.so librt.a中也有这个函数的实现于是有两个选择,要么静态链接pthread 要么 加上 -lrt
2005-03-16 14:32:00 5504
原创 C++ 的一些免费库
//整理 by RobinKin (王亮)Linear Algebra MTL, the Matrix Template Library. Dense and sparse matrices and vectors; banded, symmetric, triangular matrices; basic algorithms. C++. 矩阵模版库,紧密和稀疏矩阵、矢量,
2005-03-15 14:18:00 9538 1
原创 CMake是一个跨平台的安装(编译)工具
//整理by RobinKin (王亮)CMake is a cross platform build manager. It was developed to support a single input describing a build process that works on all platforms. However, instead of taking over the buil
2005-03-15 13:49:00 1966
原创 Blitz++ 计算二阶导数
//整理 by RobinKin#include using namespace blitz;int main(){ // In this example, the function cos(x)^2 and its second derivative // 2 (sin(x)^2 - cos(x)^2) are sampled over the range [0,1). //
2005-03-11 12:39:00 2199
原创 Linux 下 Blitz++ 的安装
1 下载 http://www.oonumerics.org/blitz/download/releases/blitz-0.6.tar.gz2 tar zxvf blitz-0.6.tar.gz3 ./configure4 make5 make install
2005-03-10 10:01:00 5145
原创 Blitz++ 矩阵相乘(张量运算) 示例
//整理 by RobinKin//Blitz++ 张量计算的示例/***************************************************************************** * matmult.cpp Blitz++ tensor notation example **********************************
2005-03-10 10:00:00 4550 2
原创 MTL 解下三角带状矩阵线形方程
//整理by RobinKin#include "mtl/matrix.h"#include "mtl/mtl.h"#include "mtl/utils.h"#include "mtl/linalg_vec.h"/*x1=8;2*x1+2*x2=43;4*x2+5*x3=86;6*x3+7*x4=137结果:[x1,x2,x3,x4]= [8,9,10,11,]/* Sample Out
2005-03-09 10:11:00 2187
原创 MTL 矩阵转置
// RobinKin 整理#include #include #include using namespace mtl;//元素是double, 形状是矩形(还有 对称,上三角,下三角,带状矩阵等形状), 元素紧密(不稀疏,不压缩),//列主(还可以行主)typedef matrix, dense::type MATRIX; //元素压缩存储typedef matrix, compressed
2005-03-08 16:55:00 1815
原创 MTL 矢量外积
//整理bu RobinKin#include "mtl/matrix.h"#include "mtl/dense1D.h"#include "mtl/mtl.h"/* Sample Output A: 4x3 [ [100,100,100], [100,100,100], [100,100,100], [100,100,100] ] x: [1,2,3,4,] y: [
2005-03-08 14:58:00 1617
原创 MTL 跨度向量 strided
//跨度向量#include #include #include #include #include intmain(){ using namespace mtl; double dx[20], dy[20]; for (int i = 0; i if (i % 2 == 0) { dx[i] = i; dy[i] = 2*i; } else {
2005-03-04 15:15:00 1345
原创 MTL 复数向量 找 最大元素
//复数向量 找 最大元素//整理 by RobinKin//#include "mtl/mtl.h"#include "mtl/utils.h" #include "mtl/linalg_vec.h"using namespace mtl;//begintypedef complex c;typedef external_vec Vec;//end/* Note: the Sun Perf
2005-03-04 14:45:00 1288
原创 MTL 矩阵逆阵 解线性方程
/* thanks to Valient Gough for this example program! *///整理 by RobinKin#include #include #include #include using namespace mtl;// dont print out the matrices once they get to this size...#define MAX_
2005-03-04 13:42:00 2259
原创 MTL LU 分解示例
//-*-c++-*-----------------------------------------------------------------//// A simple LU factorization algorithm written using MTL// The example matrix is the same as the getrf example, which//
2005-03-04 12:32:00 1431
原创 MTL 带状矩阵乘法
//MTL 带状矩阵乘法//整理 by RobinKin//#include #include "mtl/matrix.h"#include "mtl/mtl.h"#include "mtl/utils.h" #include "mtl/linalg_vec.h"/* Sample Output Array A in packed form [ [1,1,1,], [2,2,2,],
2005-03-03 15:18:00 1935 1
原创 MTL 向量旋转 拉伸 函数
//整理 by RobinKin#include "mtl/mtl.h"#include "mtl/utils.h" #include "mtl/linalg_vec.h"/* Eliminates the last element of vector y. Sample Output [1,2,3,4,5,] [2,4,8,16,32,] [2.1304,4.2608,8.36723,
2005-03-03 14:45:00 1352
原创 MTL 矩阵划分示例
//整理 by RobinKin #include "mtl/matrix.h"#include "mtl/linalg_vec.h"#include "mtl/utils.h"#include /* Sample output: Partitioning Vectors //向量划分[0,1,2,3,4,5,6,7,8,9,]split in half[0,1,2,3,4,][5,6,7,
2005-03-03 14:10:00 1535
原创 MTL 向量欧基里德范数 示例
//整理 by RobinKin from DevonITinclude #include "mtl/mtl.h"#include "mtl/utils.h"#include "mtl/linalg_vec.h"/* Sample output;X: [1,5,3,1,]The L-2 norm of X is 6 */using namespace mtl;typedef exter
2005-03-03 13:29:00 1390
原创 MTL 向量L1范数计算示例
#include #include "mtl/utils.h"#include "mtl/mtl.h"#include "mtl/linalg_vec.h"/* Sample output;X: [1,2,3,4,]The L-1 norm of X is 10 */using namespace mtl;intmain(){ double x_[5] = { 1, 2, 3, 4,5
2005-03-03 13:18:00 3031 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人