📄 qccmatrixsvd.3
字号:
.TH QCCMATRIXSVD 3 "QCCPACK" "".SH NAMEQccMatrixSVD\- singular value decomposition.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccMatrixSVD(const QccMatrix " A ", int " num_rows ", int " num_cols ", QccMatrix " U ", QccVector " S ", QccMatrix " V );.SH DESCRIPTION.B QccMatrixSVD()performs the singular value decomposition (SVD) of matrix.IR Awhich has size.I num_rowsx.IR num_cols .The SVD is returned in the form of matrix.IR U(size.IR num_rowsx.IR num_cols ),vector.IR S(length.IR num_cols ),and matrix.IR V(size.IR num_colsx.IR num_cols ),such that.IR A=.IR U*.RI diag( S )*.IR V ^T,where.RI diag( S )is the.IR num_colsx.IR num_colsmatrix with.I Son the diagonal..LPAny of.IR U ,.IR V ,or.IR Scan be.BR NULL ,in which case the corresponding value is calculated but not returned..SH "IMPLEMENTATION"The QccPack implementation of SVD is essentially a call to.BR gsl_linalg_SV_decomp (3),part of the GNU Scientific Library (GSL). As a consequence, if GSLis not available,.BR QccMatrixSVD()will not work.In the case that.IR num_rowsis less than.IR num_cols ,.BR gsl_linalg_SV_decomp (3)cannot be employed directly. In this case,.IR num_cols " - " num_rowsrows of zeros are concatenated onto.IR Abefore calling.BR gsl_linalg_SV_decomp (3) ,and the output quantities.SH "SEE ALSO".BR gsl_linalg_SV_decomp (3),.BR QccMatrix (3),.BR QccPack (3).SH AUTHORCopyright (C) 1997-2009 James E. Fowler.\" The programs herein are free software; you can redistribute them an.or.\" modify them under the terms of the GNU General Public License.\" as published by the Free Software Foundation; either version 2.\" of the License, or (at your option) any later version..\" .\" These programs are distributed in the hope that they will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the.\" GNU General Public License for more details..\" .\" You should have received a copy of the GNU General Public License.\" along with these programs; if not, write to the Free Software.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -