matscal.html

来自「矩阵算法库newmat10.tar.gz的帮助文件」· HTML 代码 · 共 30 行

HTML
30
字号
<HTML><HEAD><TITLE>Newmat09 - matrix and scalar</TITLE></HEAD><BODY><H2>Matrix and scalar</H2><A HREF="scalar.html">  next</A> - <A HREF="scalar.html">  skip</A> - <A HREF="refer.html">  up</A> - <A HREF="index.html">  start</A><P>The following expressions multiply the elements of a matrix <TT>A</TT> by ascalar f: <TT>A * f</TT> or <TT>f * A</TT> .Likewise one can divide the elements of a matrix<TT>A</TT> by a scalar f: <TT>A / f</TT><P>The expressions  <TT>A + f</TT> and <TT>A - f</TT> add or subtract arectangular matrix of the same dimension as <TT>A</TT> with elements equal to<TT>f</TT> to or from the matrix <TT>A</TT>.<P>The expression <TT>f + A</TT> is an alternative to <TT>A + f</TT>.The expression <TT>f - A</TT> subtracts matrix <TT>A</TT> from a rectangularmatrix of the same dimension as <TT>A</TT> and with elements equal to<TT>f</TT><P>The expression <TT>A += f</TT> replaces <TT>A</TT> by <TT>A + f</TT>.Operators<TT>-=</TT>, <TT>*=</TT>, <TT>/=</TT> are similarly defined.</BODY></HTML>

⌨️ 快捷键说明

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