File: half.R

package info (click to toggle)
r-cran-calibrate 1.7.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 628 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rw-r--r-- 117 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
"half" <-
function(A) {
   d <- diag(eigen(A)$values)
   v <- eigen(A)$vectors
   Ah <- v%*%sqrt(d)%*%t(v)
}