返回   cpper编程论坛 > 版务
注册账号 论坛帮助 会员列表 日历事件 搜索 今日新帖 标记版面已读

回复
 
LinkBack 主题工具 显示模式
  #1 (permalink)  
旧 2008-03-18
Elminster 的头像
超级版主
 
注册日期: 2002-09-09
帖子: 1,763
Elminster 正向着好的方向发展
默认 latex 标签挂了,看这里:

LaTeX测试贴

赶紧修一下吧。
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
回复时引用此帖
  #2 (permalink)  
旧 2008-04-11
论坛管理员
 
注册日期: 2006-02-09
帖子: 99
文章: 1
cpper 的声望功能已被禁用
默认 回复: latex 标签挂了,看这里:

引用:
作者: Elminster 查看帖子
LaTeX测试贴

赶紧修一下吧。
修复了。
本来用host在别人服务器上的service,现在用自己的了,再也不会坏了。
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
回复时引用此帖
  #3 (permalink)  
旧 2008-05-02
bankrock 的头像
高级会员
 
注册日期: 2003-12-11
帖子: 843
文章: 7
bankrock 正向着好的方向发展
默认 回复: latex 标签挂了,看这里:

测试一下highlight
C++ 代码:
  1. int main(int argc, char *argv[])
  2. {
  3.     std::string fileName("G:\\largesparse.txt");
  4.     SparseMatrix<double> mtrx, backMtrx;
  5.    
  6.     FileSparseMtrxBuilder<double> builder(fileName);
  7.     vector<pair<size_t, double> > indeVec;
  8.     vector<pair<size_t, double> > result;
  9.     vector<size_t> resultIds;
  10.     if (!builder.Build(mtrx, indeVec, resultIds))
  11.     {
  12.         cerr << "Building failed!" << endl;
  13.         system("pause");
  14.         return -1;
  15.     }
  16.  
  17.     backMtrx = mtrx;
  18. /*
  19.     //PrintSparseMatrix(mtrx);
  20.     //PrintPairVector(indeVec);
  21.     //DisplayContainer(relatedIds, "  ");
  22.     NodeGraph graph;
  23.     GenNodeGraphOfSparseMatrix(mtrx, graph);
  24.     //PrintNodeGraph(graph);
  25.     ElemOrderMap eomap = DynamicOrdering(graph).Reorder();
  26.     //PrintPairVector(eomap);
  27.     ReorderSparseMatrix(eomap, mtrx);
  28.     //PrintSparseMatrix(mtrx);
  29.     ReorderSparseVector(eomap, indeVec);
  30.     ReorderResultIds(eomap, resultIds);
  31.     //PrintPairVector(indeVec);
  32.     //DisplayContainer(resultIds, " ");
  33.     Factorization(mtrx);
  34.     PrintSparseMatrix(mtrx);
  35.     SparseMtrxFirstElems<double> firElems = GenFirstElems(mtrx);
  36.     //PrintFirstElems(firElems);
  37.     vector<pair<size_t, double> > ffResult;
  38.     //FactorPath path(mtrx.size());
  39.     //GenFactorPath(firElems, resultIds, path);
  40.     //PrintFactorPath(path);
  41.     FastForwardSubstitution(mtrx, firElems, indeVec, ffResult);
  42.     PrintPairVector(ffResult);
  43.     vector<pair<size_t, double> > fbResult;
  44.     FastBackwardSubstitution(mtrx, firElems, ffResult, resultIds, fbResult);
  45.     PrintPairVector(fbResult);
  46.     /*vector<size_t> facSeq = GenFactorSeqFromPath(path);
  47.     DisplayContainer(facSeq, " ");
  48.     cout << endl;
  49.     */
  50.  
  51.     SparseVectorMethod<double> svm;
  52.     svm(mtrx, indeVec, resultIds, result);
  53.  
  54.     vector<double> checkResult;
  55.     MultiplySparseMatrixVector(backMtrx, result, checkResult);
  56.  
  57.     cout << "Check result: " << endl;
  58.     DisplayContainer(checkResult, " ");
  59.  
  60.     system("PAUSE");
  61.     return EXIT_SUCCESS;
  62. }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
回复时引用此帖
  #4 (permalink)  
旧 2008-05-15
polyrandom 的头像
超级版主
 
注册日期: 2002-09-03
帖子: 3,135
文章: 20
polyrandom 正向着好的方向发展
默认 回复: latex 标签挂了,看这里:

C++ 代码:
  1. for ( int i = 0; i < 100; ++i )
  2.     bankrock.kick();
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
回复时引用此帖
回复

书签

主题工具
显示模式

发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码
Trackbacks are 启用
Pingbacks are 启用
Refbacks are 启用


相似的主题
主题 主题作者 版面 回复 最后发表
LaTeX测试贴 polyrandom 灌水/杂烩/BT 10 2007-03-19 03:40 PM
有谁在 windows 下面用 msvc 编译过 emacs-unicode-2 的么? Elminster 灌水/杂烩/BT 5 2006-04-06 06:18 PM
LaTeX简介 yumagi 技术杂烩 12 2005-01-08 10:13 PM
[Unix痛恨者手册]哎哟,看完这个我彻底笑翻了,哈哈 …… Elminster 技术杂烩 11 2004-09-01 07:02 PM


所有时间均为格林尼治时间 +9。现在的时间是 07:46 AM


Powered by vBulletin® 版本 3.7.0
版权所有 ©2000 - 2008,Jelsoft Enterprises Ltd.
(C) Copy Right All Right Reserved 2001 - 2007

Search Engine Friendly URLs by vBSEO 3.1.0