summaryrefslogtreecommitdiff
path: root/math/R
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2014-02-06 10:57:21 +0000
committermarkd <markd@pkgsrc.org>2014-02-06 10:57:21 +0000
commit644498b83a37e2bf29011db268fcfdbd1bef0541 (patch)
tree1265c4226b897b699461288596892b7f01b5b6fd /math/R
parent51699fde4c5a7a1490fb98ebf6c3398335c7db8f (diff)
downloadpkgsrc-644498b83a37e2bf29011db268fcfdbd1bef0541.tar.gz
Update to R 3.0.2
* The NEWS files have been re-organized. This file contains news for R >= 3.0.0: news for the 0.x.y, 1.x.y and 2.x.y releases is in files NEWS.0, NEWS.1 and NEWS.2. The latter files are now installed when R is installed. An HTML version of news from 2.10.0 to 2.15.3 is available as doc/html/NEWS.2.html. * sum() for integer arguments now uses an integer accumulator of at least 64 bits and so will be more accurate in the very rare case that a cumulative sum exceeds 2^53 (necessarily summing more than 4 million elements). * The example() and tools::Rd2ex() functions now have parameters to allow them to ignore \dontrun markup in examples. (Suggested by Peter Solymos.) * str(x) is considerably faster for very large lists, or factors with 100,000 levels, the latter as in PR#15337. * col2rgb() now converts factors to character strings not integer codes (suggested by Bryan Hanson). * tail(warnings()) now works, via the new `[` method. * There is now support for the LaTeX style file zi4.sty which has in some distributions replaced inconsolata.sty. * unlist(x) now typically returns all non-list xs unchanged, not just the "vector" ones. Consequently, format(lst) now also works when the list lst has non-vector elements. * The tools::getVignetteInfo() function has been added to give information about installed vignettes. * New assertCondition(), etc. utilities in tools, useful for testing. * Profiling now records non-inlined calls from byte-compiled code to BUILTIN functions. * Various functions in stats and elsewhere that use non-standard evaluation are now more careful to follow the namespace scoping rules. E.g. stats::lm() can now find stats::model.frame() even if stats is not on the search path or if some package defines a function of that name. * If an invalid/corrupt .Random.seed object is encountered in the workspace it is ignored with a warning rather than giving an error. (This allows R itself to rely on a working RNG, e.g. to choose a random port.) * seq() and seq.int() give more explicit error messages if called with invalid (e.g. NaN) inputs. * When parse() finds a syntax error, it now makes partial parse information available up to the location of the error. (Request of Reijo Sund.) * Methods invoked by NextMethod() had a different dynamic parent to the generic. This was causing trouble where S3 methods invoked via lazy evaluation could lose track of their generic. (PR#15267) * Code for the negative binomial distribution now treats the case size == 0 as a one-point distribution at zero. * abbreviate() handles without warning non-ASCII input strings which require no abbreviation. * read.dcf() no longer has a limit of 8191 bytes per line. (Wish of PR#15250.) * formatC(x) no longer copies the class of x to the result, to avoid misuse creating invalid objects as in PR#15303. A warning is given if a class is discarded. * Dataset npk has been copied from MASS to allow more tests to be run without recommended packages being installed. * The initialization of the regression coefficients for non-degenerate differenced models in arima() has been changed and in some examples avoids a local maximum. (PR#15396) * termplot() now has an argument transform.x to control the display of individual terms in the plot. (PR#15329) * format() now supports digits = 0, to display nsmall decimal places. * There is a new read-only par() parameter called "page", which returns a logical value indicating whether the next plot.new() call will start a new page. * Processing Sweave and Rd documents to PDF now renders backticks * utils::modifyList() gets a new argument keep.null allowing NULL components in the replacement to be retained, instead of causing corresponding components to be deleted. * tools::pkgVignettes() gains argument check; if set to TRUE, it will warn when it appears a vignette requests a non-existent vignette engine.
Diffstat (limited to 'math/R')
-rw-r--r--math/R/Makefile46
-rw-r--r--math/R/PLIST56
-rw-r--r--math/R/distinfo10
-rw-r--r--math/R/patches/patch-doc_manual_R-defs.texi26
-rw-r--r--math/R/patches/patch-doc_manual_R-intro.texi53
5 files changed, 39 insertions, 152 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index dbfaf7121f5..5575fcbcc24 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.143 2014/01/11 14:42:04 adam Exp $
+# $NetBSD: Makefile,v 1.144 2014/02/06 10:57:21 markd Exp $
-DISTNAME= R-3.0.1
-PKGREVISION= 1
+DISTNAME= R-3.0.2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-3/}
@@ -69,6 +68,7 @@ CONFIGURE_ENV+= lt_cv_path_SED=${TOOLS_SED}
CONFIGURE_ENV+= ac_cv_path_R_GZIPCMD=${TOOLS_GZIP_CMD}
CONFIGURE_ENV+= ac_cv_path_R_UNZIPCMD=${TOOLS_PATH.unzip}
CONFIGURE_ENV+= r_cv_prog_f77_flag_mieee=no
+CONFIGURE_ENV+= ac_cv_path_PDFLATEX=""
# We don't want "lib64"
CONFIGURE_ENV+= LIBnn=lib
@@ -94,26 +94,26 @@ CONFIGURE_ENV+= R_PAPERSIZE=${R_PAPERSIZE:Q}
INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE}
INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE}
-# to build NEWS.pdf
-BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
-BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont
-BUILD_DEPENDS+= tex-ae-[0-9]*:../../fonts/tex-ae
-BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
-BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
-BUILD_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
-BUILD_DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek
-BUILD_DEPENDS+= tex-amsfonts-[0-9]*:../../fonts/tex-amsfonts
-BUILD_DEPENDS+= tex-cm-[0-9]*:../../fonts/tex-cm
-BUILD_DEPENDS+= tex-cm-super-[0-9]*:../../fonts/tex-cm-super
-BUILD_DEPENDS+= tex-fontname-[0-9]*:../../fonts/tex-fontname
-BUILD_DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
-BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
-BUILD_DEPENDS+= tex-ifluatex-[0-9]*:../../print/tex-ifluatex
-BUILD_DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex
-BUILD_DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
-BUILD_DEPENDS+= tex-latexconfig-[0-9]*:../../print/tex-latexconfig
-BUILD_DEPENDS+= tex-mptopdf-[0-9]*:../../graphics/tex-mptopdf
-BUILD_DEPENDS+= tex-pdftex-def-[0-9]*:../../print/tex-pdftex
+## to build NEWS.pdf
+#BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
+#BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont
+#BUILD_DEPENDS+= tex-ae-[0-9]*:../../fonts/tex-ae
+#BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
+#BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
+#BUILD_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
+#BUILD_DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek
+#BUILD_DEPENDS+= tex-amsfonts-[0-9]*:../../fonts/tex-amsfonts
+#BUILD_DEPENDS+= tex-cm-[0-9]*:../../fonts/tex-cm
+#BUILD_DEPENDS+= tex-cm-super-[0-9]*:../../fonts/tex-cm-super
+#BUILD_DEPENDS+= tex-fontname-[0-9]*:../../fonts/tex-fontname
+#BUILD_DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
+#BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
+#BUILD_DEPENDS+= tex-ifluatex-[0-9]*:../../print/tex-ifluatex
+#BUILD_DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex
+#BUILD_DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
+#BUILD_DEPENDS+= tex-latexconfig-[0-9]*:../../print/tex-latexconfig
+#BUILD_DEPENDS+= tex-mptopdf-[0-9]*:../../graphics/tex-mptopdf
+#BUILD_DEPENDS+= tex-pdftex-def-[0-9]*:../../print/tex-pdftex
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
diff --git a/math/R/PLIST b/math/R/PLIST
index d6475f707a7..fc1e7f13ba0 100644
--- a/math/R/PLIST
+++ b/math/R/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2013/08/13 19:53:30 markd Exp $
+@comment $NetBSD: PLIST,v 1.18 2014/02/06 10:57:21 markd Exp $
bin/R
bin/Rscript
info/R-FAQ.info.gz
@@ -10,6 +10,9 @@ info/R-ints.info.gz
info/R-lang.info.gz
lib/R/COPYING
lib/R/NEWS
+lib/R/NEWS.0
+lib/R/NEWS.1
+lib/R/NEWS.2
lib/R/NEWS.pdf
lib/R/SVN-REVISION
lib/R/bin/BATCH
@@ -47,6 +50,7 @@ lib/R/doc/KEYWORDS.db
lib/R/doc/NEWS.rds
lib/R/doc/RESOURCES
lib/R/doc/THANKS
+lib/R/doc/html/NEWS.2.html
lib/R/doc/html/NEWS.html
lib/R/doc/html/R.css
lib/R/doc/html/Search.html
@@ -142,7 +146,6 @@ lib/R/library/KernSmooth/po/pl/LC_MESSAGES/R-KernSmooth.mo
lib/R/library/MASS/CITATION
lib/R/library/MASS/DESCRIPTION
lib/R/library/MASS/INDEX
-lib/R/library/MASS/LICENCE
lib/R/library/MASS/Meta/Rd.rds
lib/R/library/MASS/Meta/data.rds
lib/R/library/MASS/Meta/hsearch.rds
@@ -233,6 +236,7 @@ lib/R/library/Matrix/external/USCounties_slots.rda
lib/R/library/Matrix/external/lund_a.mtx
lib/R/library/Matrix/external/lund_a.rsa
lib/R/library/Matrix/external/pores_1.mtx
+lib/R/library/Matrix/external/symW.rda
lib/R/library/Matrix/external/test3comp.rda
lib/R/library/Matrix/external/utm300.rua
lib/R/library/Matrix/external/wrong.mtx
@@ -311,7 +315,6 @@ lib/R/library/boot/po/ru/LC_MESSAGES/R-boot.mo
lib/R/library/class/CITATION
lib/R/library/class/DESCRIPTION
lib/R/library/class/INDEX
-lib/R/library/class/LICENCE
lib/R/library/class/Meta/Rd.rds
lib/R/library/class/Meta/hsearch.rds
lib/R/library/class/Meta/links.rds
@@ -621,51 +624,23 @@ lib/R/library/grid/Meta/hsearch.rds
lib/R/library/grid/Meta/links.rds
lib/R/library/grid/Meta/nsInfo.rds
lib/R/library/grid/Meta/package.rds
-lib/R/library/grid/Meta/vignette.rds
lib/R/library/grid/NAMESPACE
lib/R/library/grid/R/grid
lib/R/library/grid/R/grid.rdb
lib/R/library/grid/R/grid.rdx
lib/R/library/grid/doc/changes.txt
-lib/R/library/grid/doc/displaylist.R
-lib/R/library/grid/doc/displaylist.Rnw
lib/R/library/grid/doc/displaylist.pdf
-lib/R/library/grid/doc/frame.R
-lib/R/library/grid/doc/frame.Rnw
lib/R/library/grid/doc/frame.pdf
-lib/R/library/grid/doc/grid.R
-lib/R/library/grid/doc/grid.Rnw
lib/R/library/grid/doc/grid.pdf
-lib/R/library/grid/doc/grobs.R
-lib/R/library/grid/doc/grobs.Rnw
lib/R/library/grid/doc/grobs.pdf
-lib/R/library/grid/doc/index.html
-lib/R/library/grid/doc/interactive.R
-lib/R/library/grid/doc/interactive.Rnw
lib/R/library/grid/doc/interactive.pdf
-lib/R/library/grid/doc/locndimn.R
-lib/R/library/grid/doc/locndimn.Rnw
lib/R/library/grid/doc/locndimn.pdf
-lib/R/library/grid/doc/moveline.R
-lib/R/library/grid/doc/moveline.Rnw
lib/R/library/grid/doc/moveline.pdf
-lib/R/library/grid/doc/nonfinite.R
-lib/R/library/grid/doc/nonfinite.Rnw
lib/R/library/grid/doc/nonfinite.pdf
-lib/R/library/grid/doc/plotexample.R
-lib/R/library/grid/doc/plotexample.Rnw
lib/R/library/grid/doc/plotexample.pdf
-lib/R/library/grid/doc/rotated.R
-lib/R/library/grid/doc/rotated.Rnw
lib/R/library/grid/doc/rotated.pdf
-lib/R/library/grid/doc/saveload.R
-lib/R/library/grid/doc/saveload.Rnw
lib/R/library/grid/doc/saveload.pdf
-lib/R/library/grid/doc/sharing.R
-lib/R/library/grid/doc/sharing.Rnw
lib/R/library/grid/doc/sharing.pdf
-lib/R/library/grid/doc/viewports.R
-lib/R/library/grid/doc/viewports.Rnw
lib/R/library/grid/doc/viewports.pdf
lib/R/library/grid/help/AnIndex
lib/R/library/grid/help/aliases.rds
@@ -708,6 +683,8 @@ lib/R/library/lattice/libs/lattice.so
lib/R/library/lattice/po/de/LC_MESSAGES/R-lattice.mo
lib/R/library/lattice/po/en@quot/LC_MESSAGES/R-lattice.mo
lib/R/library/lattice/po/fr/LC_MESSAGES/R-lattice.mo
+lib/R/library/lattice/po/ko/LC_MESSAGES/R-lattice.mo
+lib/R/library/lattice/po/pl_PL/LC_MESSAGES/R-lattice.mo
lib/R/library/methods/DESCRIPTION
lib/R/library/methods/INDEX
lib/R/library/methods/Meta/Rd.rds
@@ -753,7 +730,6 @@ lib/R/library/mgcv/libs/mgcv.so
lib/R/library/nlme/CITATION
lib/R/library/nlme/DESCRIPTION
lib/R/library/nlme/INDEX
-lib/R/library/nlme/LICENCE
lib/R/library/nlme/Meta/Rd.rds
lib/R/library/nlme/Meta/data.rds
lib/R/library/nlme/Meta/hsearch.rds
@@ -784,6 +760,8 @@ lib/R/library/nlme/po/en@quot/LC_MESSAGES/R-nlme.mo
lib/R/library/nlme/po/en@quot/LC_MESSAGES/nlme.mo
lib/R/library/nlme/po/fr/LC_MESSAGES/R-nlme.mo
lib/R/library/nlme/po/fr/LC_MESSAGES/nlme.mo
+lib/R/library/nlme/po/ko/LC_MESSAGES/R-nlme.mo
+lib/R/library/nlme/po/ko/LC_MESSAGES/nlme.mo
lib/R/library/nlme/po/pl/LC_MESSAGES/R-nlme.mo
lib/R/library/nlme/po/pl/LC_MESSAGES/nlme.mo
lib/R/library/nlme/scripts/ch01.R
@@ -797,7 +775,6 @@ lib/R/library/nlme/scripts/sims.rda
lib/R/library/nnet/CITATION
lib/R/library/nnet/DESCRIPTION
lib/R/library/nnet/INDEX
-lib/R/library/nnet/LICENCE
lib/R/library/nnet/Meta/Rd.rds
lib/R/library/nnet/Meta/hsearch.rds
lib/R/library/nnet/Meta/links.rds
@@ -828,14 +805,10 @@ lib/R/library/parallel/Meta/hsearch.rds
lib/R/library/parallel/Meta/links.rds
lib/R/library/parallel/Meta/nsInfo.rds
lib/R/library/parallel/Meta/package.rds
-lib/R/library/parallel/Meta/vignette.rds
lib/R/library/parallel/NAMESPACE
lib/R/library/parallel/R/parallel
lib/R/library/parallel/R/parallel.rdb
lib/R/library/parallel/R/parallel.rdx
-lib/R/library/parallel/doc/index.html
-lib/R/library/parallel/doc/parallel.R
-lib/R/library/parallel/doc/parallel.Rnw
lib/R/library/parallel/doc/parallel.pdf
lib/R/library/parallel/help/AnIndex
lib/R/library/parallel/help/aliases.rds
@@ -892,7 +865,6 @@ lib/R/library/rpart/po/ru/LC_MESSAGES/rpart.mo
lib/R/library/spatial/CITATION
lib/R/library/spatial/DESCRIPTION
lib/R/library/spatial/INDEX
-lib/R/library/spatial/LICENCE
lib/R/library/spatial/Meta/Rd.rds
lib/R/library/spatial/Meta/hsearch.rds
lib/R/library/spatial/Meta/links.rds
@@ -1375,17 +1347,13 @@ lib/R/library/utils/Meta/hsearch.rds
lib/R/library/utils/Meta/links.rds
lib/R/library/utils/Meta/nsInfo.rds
lib/R/library/utils/Meta/package.rds
-lib/R/library/utils/Meta/vignette.rds
lib/R/library/utils/NAMESPACE
lib/R/library/utils/R/utils
lib/R/library/utils/R/utils.rdb
lib/R/library/utils/R/utils.rdx
lib/R/library/utils/Sweave/Sweave-test-1.Rnw
lib/R/library/utils/Sweave/example-1.Rnw
-lib/R/library/utils/doc/Sweave.R
-lib/R/library/utils/doc/Sweave.Rnw
lib/R/library/utils/doc/Sweave.pdf
-lib/R/library/utils/doc/index.html
lib/R/library/utils/help/AnIndex
lib/R/library/utils/help/aliases.rds
lib/R/library/utils/help/paths.rds
@@ -1424,7 +1392,8 @@ lib/R/share/licenses/LGPL-3
lib/R/share/licenses/MIT
lib/R/share/licenses/license.db
lib/R/share/make/basepkg.mk
-lib/R/share/make/check.mk
+lib/R/share/make/check_vars_ini.mk
+lib/R/share/make/check_vars_out.mk
lib/R/share/make/clean.mk
lib/R/share/make/config.mk
lib/R/share/make/lazycomp.mk
@@ -1443,7 +1412,6 @@ lib/R/share/texmf/tex/latex/omsaett.fd
lib/R/share/texmf/tex/latex/omscmtt.fd
lib/R/share/texmf/tex/latex/ts1aer.fd
lib/R/share/texmf/tex/latex/ts1aett.fd
-lib/R/share/texmf/tex/latex/upquote.sty
lib/pkgconfig/libR.pc
man/man1/R.1
man/man1/Rscript.1
diff --git a/math/R/distinfo b/math/R/distinfo
index 588c833ae19..6e539ae3b0f 100644
--- a/math/R/distinfo
+++ b/math/R/distinfo
@@ -1,12 +1,10 @@
-$NetBSD: distinfo,v 1.56 2014/01/13 11:25:54 jperkin Exp $
+$NetBSD: distinfo,v 1.57 2014/02/06 10:57:21 markd Exp $
-SHA1 (R-3.0.1.tar.gz) = 5cc65476837926fdf04105954ea94efa53ac85ce
-RMD160 (R-3.0.1.tar.gz) = 09910626891c2962b5c05d204b14d59444da0c3b
-Size (R-3.0.1.tar.gz) = 25508280 bytes
+SHA1 (R-3.0.2.tar.gz) = f5d9daef00e09d36a465ff7b0bf4cab136bea227
+RMD160 (R-3.0.2.tar.gz) = 8e91603754c965b402bb201c4e5f5a2043262537
+Size (R-3.0.2.tar.gz) = 25364181 bytes
SHA1 (patch-ac) = cbfe9853a6b1bdfa68d21c0a291f39545b131333
SHA1 (patch-ad) = 21c2f74ceb41afa72b0b268ba4b1dcb57f01e106
-SHA1 (patch-doc_manual_R-defs.texi) = 57ad7175cc1bba48bcc74d29c6f85c02a84e4891
-SHA1 (patch-doc_manual_R-intro.texi) = 592dbbe5e048f5bcbbb94fa3aec32ff2f0e321ba
SHA1 (patch-src_library_stats_src_cov.c) = 23e452472506483ffc33a9c6629274b121cfd161
SHA1 (patch-src_main_format.c) = f03012b8fbab34ead3f35143fe782ab7c7b29768
SHA1 (patch-src_nmath_dnbeta.c) = 4711d17404352c9c190ca037a01b1eec1236cebc
diff --git a/math/R/patches/patch-doc_manual_R-defs.texi b/math/R/patches/patch-doc_manual_R-defs.texi
deleted file mode 100644
index 07670270e07..00000000000
--- a/math/R/patches/patch-doc_manual_R-defs.texi
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-doc_manual_R-defs.texi,v 1.1 2013/08/19 13:30:30 jperkin Exp $
-
-Texinfo 5.1 fixes.
-
---- doc/manual/R-defs.texi.orig 2013-04-03 22:05:07.000000000 +0000
-+++ doc/manual/R-defs.texi
-@@ -17,16 +17,17 @@ S
- @acronym{HTML}
- @end macro
-
--@macro eqn {t, a}
- @iftex
-+@macro eqn {t, a}
- @tex
- $\t\$%
- @end tex
- @end iftex
- @ifnottex
-+@macro eqn {t, a}
- \a\@c
--@end ifnottex
- @end macro
-+@end ifnottex
-
- @macro pkg {p}
- @strong{\p\}
diff --git a/math/R/patches/patch-doc_manual_R-intro.texi b/math/R/patches/patch-doc_manual_R-intro.texi
deleted file mode 100644
index 90a75e74cf0..00000000000
--- a/math/R/patches/patch-doc_manual_R-intro.texi
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-doc_manual_R-intro.texi,v 1.1 2013/08/19 13:30:30 jperkin Exp $
-
-Texinfo 5.1 fixes.
-
---- doc/manual/R-intro.texi.orig 2013-04-03 22:05:07.000000000 +0000
-+++ doc/manual/R-intro.texi
-@@ -1981,12 +1981,27 @@ is available, so we could have used @cod
- @node Matrix facilities, Forming partitioned matrices, Generalized transpose of an array, Arrays and matrices
- @section Matrix facilities
-
-+@iftex
- @macro xTx{}
-- @eqn{@strong{x}^T @strong{x}, x'x}
-+@tex
-+@strong{x}^T @strong{x}$%
-+@end tex
- @end macro
- @macro xxT{}
-- @eqn{@strong{x}@strong{x}^T, x x'}
-+@tex
-+@strong{x}@strong{x}^T$%
-+@endtex
- @end macro
-+@end iftex
-+
-+@ifnottex
-+@macro xTx{}
-+x'x
-+@end macro
-+@macro xxT{}
-+x x'
-+@end macro
-+@end ifnottex
-
- As noted above, a matrix is just an array with two subscripts. However
- it is such an important special case it needs a separate discussion.
-@@ -2106,10 +2121,12 @@ potentially unstable to compute @code{x
- The quadratic form @eqn{@strong{x^T A^{-1} x},@ @code{x %*% A^@{-1@} %*%
- x} @ } which is used in multivariate computations, should be computed by
- something like@footnote{Even better would be to form a matrix square
--root @eqn{B, B} with @eqn{A = BB^T, A = BB'} and find the squared length of the
--solution of @eqn{By = x, By = x}, perhaps using the Cholesky or
--eigendecomposition of @eqn{A, A}.} @code{x %*% solve(A,x)}, rather than
--computing the inverse of @code{A}.
-+root @eqn{B, B}
-+ with @eqn{A = BB^T, A = BB'}
-+ and find the squared length of the solution of
-+@eqn{By = x, By = x}
-+, perhaps using the Cholesky or eigendecomposition of @eqn{A, A}.
-+} @code{x %*% solve(A,x)}, rather than computing the inverse of @code{A}.
-
- @node Eigenvalues and eigenvectors, Singular value decomposition and determinants, Linear equations and inversion, Matrix facilities
- @subsection Eigenvalues and eigenvectors