📄 qccmatrixvectormultiply.3
字号:
.TH QCCMATRIXVECTORMULTIPLY 3 "QCCPACK" "".SH NAMEQccMatrixVectorMultiply\- multiply a matrix on the right by a column vector.SH SYNOPSIS.B #include "libQccPack.h".sp.BI "int QccMatrixVectorMultiply(const QccMatrix " matrix ", const QccVector " vector1 ", QccVector " vector2 ", int " num_rows ", int " num_cols );.SH DESCRIPTION.B QccMatrixVectorMultiply()multiplies a matrix of dimension.I num_rowsby.I num_colsby a vector,.IR vector1 ,of dimension 1 by.I num_cols(i.e., a column vector).This multiplication is accomplished by using .BR QccVectorDotProduct (3)to take the inner product between each row of.I matrixand.IR vector1 .The result of the multiplication, a 1 by.I num_rowsdimensioned column vector, is returned in.IR vector2 .It is assumed that .I vector2is allocated to the proper size before.B QccMatrixVectorMultiply() is called..SH "RETURN VALUE".B QccMatrixVectorMultiply()returns 0 on success, 1 on error..SH "SEE ALSO".BR QccVectorDotProduct (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 + -