CSparse: a Concise Sparse Matrix package.
Version 2.2.3, Copyright (c) 2006-2009, Timothy A. Davis, Sept 23, 2009.
Refer to "Direct Methods for Sparse Linear Systems," Timothy A. Davis,
SIAM, Philadelphia, 2006. No detailed user guide is included in this
package; the user guide is the book itself.
The algorithms contained in CSparse have been chosen with five goals in mind:
(1) they must embody much of the theory behind sparse matrix algorithms,
(2) they must be either asymptotically optimal in their run time and memory
usage or be fast in practice,
(3) they must be concise so as to be easily understood and short enough to
print in the book,
(4) they must cover a wide spectrum of matrix operations, and
(5) they must be accurate and robust.
The focus is on direct methods; iterative methods and solvers for
eigenvalue problems are beyond the scope of this package.
No detailed user guide is included in this package; the user guide is the
book itself. Some indication of how to call the CSparse C routines is given
by the M-files in the MATLAB/CSparse directory.
Complex matrices are not supported, except for methods that operate only
on the nonzero pattern of a matrix. A complex version of CSparse appears
as a separate package, CXSparse ("Concise Extended Sparse matrix package").
The performance of the sparse factorization methods in CSparse will not be
competitive with UMFPACK or CHOLMOD, but the codes are much more concise and
easy to understand (see the above goals). Other methods are competitive.
Some of the MATLAB tests require the AMD package.
See http://www.cise.ufl.edu/research/sparse for CSparse and the AMD ordering
package. See the Doc/License.txt file for the license (GNU LGPL).
To compile the C-library (./Source) and C demo programs (./Demo) just type
"make" in this directory. This should work on any system with the "make"
command. To run the exhaustive tests, type "make" in the Tcov directory
(Linux is assumed). To compile the MATLAB mexFunctions type "make mex" in
this directory, or just "make" in the MATLAB directory. To remove all files
not in the original distribution, type "make distclean". I recommend that you
use a different level of optimization than "cc -O", which was chosen so that
the Makefile is portable. See Source/Makefile.
You can simply type "cs_install" while in the CSparse/MATLAB directory to
compile and install CSparse for use in MATLAB. This is especially useful for
a typical Microsoft Windows system, which does not include "make". For more
details, see CSparse/MATLAB/README.txt.
--------------------------------------------------------------------------------
Contents:
--------------------------------------------------------------------------------
Demo/ demo C programs that use CSparse
Doc/ license and change log
Makefile Makefile for the whole package
MATLAB/ MATLAB interface, demos, and tests for CSparse
Matrix/ sample matrices
README.txt this file
Source/ primary CSparse source files (C only, no MATLAB)
Tcov/ CSparse tests
--------------------------------------------------------------------------------
./Doc: license and change log
--------------------------------------------------------------------------------
ChangeLog changes in CSparse since first release
lesser.txt the GNU LGPL
License.txt license (GNU LGPL)
--------------------------------------------------------------------------------
./Source: Primary source code for CSparse
--------------------------------------------------------------------------------
cs_add.c add sparse matrices
cs_amd.c approximate minimum degree
cs_chol.c sparse Cholesky
cs_cholsol.c x=A\b using sparse Cholesky
cs_compress.c convert a triplet form to compressed-column form
cs_counts.c column counts for Cholesky and QR
cs_cumsum.c cumulative sum
cs_dfs.c depth-first-search
cs_dmperm.c Dulmage-Mendelsohn permutation
cs_droptol.c drop small entries from a sparse matrix
cs_dropzeros.c drop zeros from a sparse matrix
cs_dupl.c remove (and sum) duplicates
cs_entry.c add an entry to a triplet matrix
cs_ereach.c nonzero pattern of Cholesky L(k,:) from etree and triu(A(:,k))
cs_etree.c find elimination tree
cs_fkeep.c drop entries from a sparse matrix
cs_gaxpy.c sparse matrix times dense matrix
cs.h include file for CSparse
cs_happly.c apply Householder reflection
cs_house.c compute Householder reflection
cs_ipvec.c x(p)=b
cs_leaf.c determine if j is a leaf of the skeleton matrix and find lca
cs_load.c load a sparse matrix from a file
cs_lsolve.c x=L\b
cs_ltsolve.c x=L'\b
cs_lu.c sparse LU factorization
cs_lusol.c x=A\b using sparse LU factorization
cs_malloc.c memory manager
cs_maxtrans.c maximum transveral (permutation for zero-free diagonal)
cs_multiply.c sparse matrix multiply
cs_norm.c sparse matrix norm
cs_permute.c permute a sparse matrix
cs_pinv.c invert a permutation vector
cs_post.c postorder an elimination tree
cs_print.c print a sparse matrix
cs_pvec.c x=b(p)
cs_qr.c sparse QR
cs_qrsol.c solve a least-squares problem
cs_randperm.c random permutation
cs_reach.c find nonzero pattern of x=L\b for sparse L and b
cs_scatter.c scatter a sparse vector
cs_scc.c strongly-connected components
cs_schol.c symbolic Cholesky
cs_spsolve.c x=G\b where G, x, and b are sparse, and G upper/lower triangular
cs_sqr.c symbolic QR (also can be used for LU)
cs_symperm.c symmetric permutation of a sparse matrix
cs_tdfs.c depth-first-search of a tree
cs_transpose.c transpose a sparse matrix
cs_updown.c sparse rank-1 Cholesky update/downate
cs_usolve.c x=U\b
cs_util.c various utilities (allocate/free matrices, workspace, etc)
cs_utsolve.c x=U'\b
Makefile Makefile for CSparse
README.txt README file for CSparse
--------------------------------------------------------------------------------
./Demo: C program demos
--------------------------------------------------------------------------------
cs_demo1.c read a matrix from a file and perform basic matrix operations
cs_demo2.c read a matrix from a file and solve a linear system
cs_demo3.c read a matrix, solve a linear system, update/downdate
cs_demo.c support routines for cs_demo*.c
cs_demo.h include file for demo programs
cs_demo.out output of "make", which runs the demos on some matrices
Makefile Makefile for Demo programs
readhb.f read a Rutherford-Boeing matrix
README.txt Demo README file
--------------------------------------------------------------------------------
./MATLAB: MATLAB interface, demos, and tests
--------------------------------------------------------------------------------
cs_install.m MATLAB function for compiling and installing CSparse for MATLAB
CSparse/ MATLAB interface for CSparse
Demo/ MATLAB demos for CSparse
Makefile MATLAB interface Makefile
README.txt MATLAB README file
Test/ MATLAB test for CSparse, and "textbook" routines
UFget/ MATLAB interface to UF Sparse Matrix Collection
--------------------------------------------------------------------------------
./MATLAB/CSparse: MATLAB interface for CSparse
--------------------------------------------------------------------------------
Contents.m Contents of MATLAB interface to CSparse
cs_add.m add two sparse matrices
cs_add_mex.c
cs_amd.m approximate minimum degree
cs_amd_mex.c
cs_chol.m sparse Cholesky
cs_chol_mex.c
cs_cholsol.m x=A\b using a sparse Cholesky
cs_ch
没有合适的资源?快使用搜索试试~ 我知道了~
非常经典的拓扑分水岭算法
需积分: 10 18 下载量 98 浏览量
2010-04-16
20:10:06
上传
评论
收藏 3.94MB GZ 举报
温馨提示
共78个文件
c:45个
h:21个
txt:6个
经典的算法,采用拓扑结构实现 The algorithms are described in the following article : Camille Couprie, Leo Grady, Laurent Najman and Hugues Talbot , "Power Watersheds: A New Image Segmentation Framework Extending Graph Cuts, Random Walker and Optimal Spanning Forest", ICCV'09, 2009 The arguments to call the powerwatsegm.exe program are the following :
资源推荐
资源详情
资源评论
收起资源包目录
PW_1.0.1.tar.gz (78个子文件)
PW_1.0.1
CSparse
Include
cs.h 6KB
Doc
License.txt 919B
lesser.txt 26KB
Source
cs_amd.c 16KB
cs_post.c 1KB
cs_chol.c 3KB
cs_usolve.c 537B
cs_malloc.c 925B
cs_tdfs.c 941B
cs_compress.c 1019B
cs_print.c 1KB
cs_counts.c 3KB
cs_permute.c 1KB
cs_ipvec.c 325B
cs_cholsol.c 880B
cs_util.c 4KB
cs_multiply.c 2KB
cs_reach.c 701B
cs_scatter.c 899B
cs_fkeep.c 967B
cs_lu.c 4KB
README.txt 213B
cs_lsolve.c 530B
cs_spsolve.c 1KB
cs_dfs.c 2KB
cs_cumsum.c 581B
cs_transpose.c 1KB
cs_norm.c 476B
cs_lusol.c 884B
cs_add.c 1KB
cs_etree.c 1KB
cs_leaf.c 1KB
cs_sqr.c 4KB
README.txt 19KB
argv
compat.h 4KB
argv.h 15KB
argv_loc.h 8KB
conf.h 2KB
argv.c 89KB
include
union_find.h 2KB
cccodimage.h 3KB
powerwatsegm.h 2KB
random_walker.h 3KB
lMSF.h 2KB
MSF_RW.h 2KB
gageodesic.h 2KB
ccsort.h 2KB
image_toolbox.h 2KB
PINK
mclifo.h 2KB
mcutil.h 3KB
mcimage.c 68KB
mclifo.c 5KB
mccodimage.h 6KB
mcindic.h 2KB
mcrbt.h 3KB
larith.c 28KB
mcrbt.c 22KB
mcimage.h 4KB
mccodimage.c 26KB
larith.h 3KB
mcindic.c 3KB
src
lMSF.c 8KB
ccsort.c 9KB
cccodimage.c 22KB
MSF_RW.c 15KB
image_toolbox.c 5KB
gageodesic.c 4KB
union_find.c 2KB
powerwatsegm.c 8KB
random_walker.c 10KB
objects
licence.txt 21KB
README.txt 3KB
images
3D
brainchar200.pgm 8.15MB
seeds_brain200.pgm 8.15MB
2D
seeds_241004_MULT.pgm 151KB
seeds_241004.pgm 151KB
241004.ppm 452KB
Makefile 3KB
共 78 条
- 1
资源评论
houbiao123
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 与spoon配套使用的jdk
- 基于单片机的便携式粮食水分测试仪的研究
- 测绘基坑支护工程变形监测报告1.pdf
- 基于PHP+swoole实现的微信机器人,依赖vbot和微信网页版的功能,帮助管理微信群/聊天/踢人等+源码+开发文档+运行教程
- com.xunmeng.pinduoduo_Release_cd290ca9_ARM64.apk
- 2788727d-25a0-41b2-b6b4-265d193edb95.doc
- 基于AVR单片机的伺服电机系统研究
- Lab-Electronic Craft Practicum-2-Simulation of a Single Tube Com
- 贪吃蛇基于TypeScript
- CS-CP1-2C3WF固件
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功