An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20090216/9c3bc478/attachment.pl>
efficient sandwich matrix multiplication and determinant
4 messages · Shimrit Abraham, Brian G. Peterson, rkevinburton at charter.net
Shimrit Abraham wrote:
I am looking for two ways to speed up my computations: 1. Is there a function that efficiently computes the 'sandwich product' of three matrices, say, ZPZ' 2. Is there a function that efficiently computes the determinant of a positive definite symmetric matrix?
Shimrit,
You are likely to get a more complete answer on r-help than here. This
list is for questions which are directly related to finance. The
matrrix-math wizards hang out on r-help.
Regards,
- Brian
1 day later
I know chol2inv will invert a positive definite symmetric matrix and the underlying fortran code will optionally compute the determinant but I have been unable to find an 'R' hook into just the determinant part. Kevin
---- "Brian G. Peterson" <brian at braverock.com> wrote:
Shimrit Abraham wrote:
I am looking for two ways to speed up my computations: 1. Is there a function that efficiently computes the 'sandwich product' of three matrices, say, ZPZ' 2. Is there a function that efficiently computes the determinant of a positive definite symmetric matrix?
Shimrit,
You are likely to get a more complete answer on r-help than here. This
list is for questions which are directly related to finance. The
matrrix-math wizards hang out on r-help.
Regards,
- Brian
_______________________________________________ R-SIG-Finance at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance -- Subscriber-posting only. -- If you want to post, subscribe first.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20090217/5eb73187/attachment.pl>