⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sorting.html

📁 矩阵算法库newmat10.tar.gz的帮助文件
💻 HTML
字号:
<HTML><HEAD><TITLE>Newmat09 - sorting</TITLE></HEAD><BODY><H2>Sorting</H2><A HREF="fft.html">  next</A> - <A HREF="fft.html">  skip</A> - <A HREF="refer.html">  up</A> - <A HREF="index.html">  start</A><P>To sort the values in a matrix or vector, <TT>A</TT>, (in general thisoperationmakes sense only for vectors and diagonal matrices) use<PRE>    SortAscending(A);</PRE>or<PRE>    SortDescending(A);</PRE>I use the quicksort algorithm. The algorithm is similar to that inSedgewick's algorithms in C++. If the sort seems to be failing (as quicksortcan do) an exception is thrown.<P>You will get incorrect results if you try to sort a band matrix - but why wouldyou want to sort a band matrix?</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -