SCM

SCM Repository

[matrix] Diff of /pkg/Matrix/man/matrix-products.Rd
ViewVC logotype

Diff of /pkg/Matrix/man/matrix-products.Rd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3078, Tue Mar 31 15:27:56 2015 UTC revision 3079, Tue Mar 31 15:29:43 2015 UTC
# Line 5  Line 5 
5  \alias{crossprod-methods}  \alias{crossprod-methods}
6  \alias{tcrossprod-methods}  \alias{tcrossprod-methods}
7  %%-- %*% -------------------------------------  %%-- %*% -------------------------------------
8    \alias{\%*\%,ddenseMatrix,ldenseMatrix-method}
9    \alias{\%*\%,ddenseMatrix,matrix-method}
10    \alias{\%*\%,ddenseMatrix,ndenseMatrix-method}
11    \alias{\%*\%,ldenseMatrix,ddenseMatrix-method}
12    \alias{\%*\%,ldenseMatrix,ldenseMatrix-method}
13    \alias{\%*\%,ldenseMatrix,matrix-method}
14    \alias{\%*\%,ldenseMatrix,ndenseMatrix-method}
15    \alias{\%*\%,matrix,ddenseMatrix-method}
16    \alias{\%*\%,matrix,ldenseMatrix-method}
17    \alias{\%*\%,matrix,ndenseMatrix-method}
18    \alias{\%*\%,ndenseMatrix,ddenseMatrix-method}
19    \alias{\%*\%,ndenseMatrix,ldenseMatrix-method}
20    \alias{\%*\%,ndenseMatrix,matrix-method}
21    \alias{\%*\%,ndenseMatrix,ndenseMatrix-method}
22  \alias{\%*\%,dgeMatrix,dgeMatrix-method}  \alias{\%*\%,dgeMatrix,dgeMatrix-method}
23  \alias{\%*\%,dgeMatrix,matrix-method}  \alias{\%*\%,dgeMatrix,matrix-method}
24  \alias{\%*\%,dgeMatrix,numLike-method}  \alias{\%*\%,dgeMatrix,numLike-method}
# Line 181  Line 195 
195  \alias{crossprod,symmetricMatrix,Matrix-method}  \alias{crossprod,symmetricMatrix,Matrix-method}
196  \alias{crossprod,symmetricMatrix,missing-method}  \alias{crossprod,symmetricMatrix,missing-method}
197  \alias{crossprod,symmetricMatrix,ANY-method}  \alias{crossprod,symmetricMatrix,ANY-method}
198    \alias{crossprod,ddenseMatrix,ddenseMatrix-method}
199    \alias{crossprod,ddenseMatrix,ldenseMatrix-method}
200    \alias{crossprod,ddenseMatrix,matrix-method}
201    \alias{crossprod,ddenseMatrix,ndenseMatrix-method}
202    \alias{crossprod,ldenseMatrix,ddenseMatrix-method}
203    \alias{crossprod,ldenseMatrix,ldenseMatrix-method}
204    \alias{crossprod,ldenseMatrix,matrix-method}
205    \alias{crossprod,ldenseMatrix,missing-method}
206    \alias{crossprod,ldenseMatrix,ndenseMatrix-method}
207    \alias{crossprod,ndenseMatrix,ddenseMatrix-method}
208    \alias{crossprod,ndenseMatrix,ldenseMatrix-method}
209    \alias{crossprod,ndenseMatrix,matrix-method}
210    \alias{crossprod,ndenseMatrix,missing-method}
211    \alias{crossprod,ndenseMatrix,ndenseMatrix-method}
212  %%-- tcrossprod ------------------------------  %%-- tcrossprod ------------------------------
213  \alias{tcrossprod-methods}  \alias{tcrossprod-methods}
214  \alias{tcrossprod,dgeMatrix,missing-method}  \alias{tcrossprod,dgeMatrix,missing-method}
# Line 249  Line 277 
277  \alias{tcrossprod,TsparseMatrix,missing-method}  \alias{tcrossprod,TsparseMatrix,missing-method}
278  \alias{tcrossprod,Matrix,symmetricMatrix-method}  \alias{tcrossprod,Matrix,symmetricMatrix-method}
279  \alias{tcrossprod,ANY,symmetricMatrix-method}  \alias{tcrossprod,ANY,symmetricMatrix-method}
280    \alias{tcrossprod,ddenseMatrix,ddenseMatrix-method}
281    \alias{tcrossprod,ddenseMatrix,ldenseMatrix-method}
282    \alias{tcrossprod,ddenseMatrix,matrix-method}
283    \alias{tcrossprod,ddenseMatrix,ndenseMatrix-method}
284    \alias{tcrossprod,ldenseMatrix,ddenseMatrix-method}
285    \alias{tcrossprod,ldenseMatrix,ldenseMatrix-method}
286    \alias{tcrossprod,ldenseMatrix,matrix-method}
287    \alias{tcrossprod,ldenseMatrix,missing-method}
288    \alias{tcrossprod,ldenseMatrix,ndenseMatrix-method}
289    \alias{tcrossprod,ndenseMatrix,ddenseMatrix-method}
290    \alias{tcrossprod,ndenseMatrix,ldenseMatrix-method}
291    \alias{tcrossprod,ndenseMatrix,matrix-method}
292    \alias{tcrossprod,ndenseMatrix,missing-method}
293    \alias{tcrossprod,ndenseMatrix,ndenseMatrix-method}
294  % (special class methods, added only for speedup:)  % (special class methods, added only for speedup:)
295  \alias{tcrossprod,ddenseMatrix,dsCMatrix-method}  \alias{tcrossprod,ddenseMatrix,dsCMatrix-method}
296  \alias{tcrossprod,ddenseMatrix,lsCMatrix-method}  \alias{tcrossprod,ddenseMatrix,lsCMatrix-method}
# Line 299  Line 341 
341      \code{NULL} (by default); the latter case is formally equivalent to      \code{NULL} (by default); the latter case is formally equivalent to
342      \code{y = x}.}      \code{y = x}.}
343    \item{boolArith}{\code{\link{logical}}, i.e., \code{NA}, \code{TRUE},    \item{boolArith}{\code{\link{logical}}, i.e., \code{NA}, \code{TRUE},
344      or \code{FALSE}.  If true, the result is (coerced to) a pattern      or \code{FALSE}.  If true the result is (coerced to) a pattern
345      matrix, i.e., \code{"\linkS4class{nMatrix}"}.  If false, the result      matrix, i.e., \code{"\linkS4class{nMatrix}"}, unless there are
346      is (coerced to) numeric.  When \code{NA}, currently the default, the      \code{NA} entries and the result will be a
347        \code{"\linkS4class{lMatrix}"}.  If false the result is (coerced to)
348        numeric.  When \code{NA}, currently the default, the
349      result is a pattern matrix when \code{x} and \code{y} are      result is a pattern matrix when \code{x} and \code{y} are
350      \code{"\linkS4class{nsparseMatrix}"} and numeric otherwise.}      \code{"\linkS4class{nsparseMatrix}"} and numeric otherwise.}
351    \item{\dots}{potentially more arguments passed to and from methods.}    \item{\dots}{potentially more arguments passed to and from methods.}
# Line 311  Line 355 
355    \code{\linkS4class{dgCMatrix}}, it is much faster to calculate the    \code{\linkS4class{dgCMatrix}}, it is much faster to calculate the
356    cross-product of the transpose directly instead of calculating the    cross-product of the transpose directly instead of calculating the
357    transpose first and then its cross-product.    transpose first and then its cross-product.
358    
359      \code{boolArith = TRUE} for regular (\dQuote{non cross}) matrix
360      products, \code{\%*\%} cannot be specified.  Instead, we provide the
361      \code{\link{\%&\%}} operator for \emph{boolean} matrix products.
362    }
363    \note{
364      \code{boolArith = TRUE}, \code{FALSE} or \code{NA} has been newly
365      introduced for \pkg{Matrix} 1.2.0 (March 2015).  Its implementation
366      may be incomplete and partly missing.  Please report such omissions if
367      detected!
368    
369      Currently, \code{boolArith = TRUE} is implemnted via
370      \code{\linkS4class{CsparseMatrix}} coercions which may be quite
371      inefficient for dense matrices.  Contributions for efficiency
372      improvements are welcome.
373  }  }
374  \value{  \value{
375    A \code{\linkS4class{Matrix}} object, in the one argument case    A \code{\linkS4class{Matrix}} object, in the one argument case

Legend:
Removed from v.3078  
changed lines
  Added in v.3079

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge