R/db.R

Defines functions db

db = function(a, b, index) {
  -1 * a * matrix(apply((.fedirtClusterEnv$rjk(a, b, index) - broadcast.multiplication(.fedirtClusterEnv$Pj(a, b), t(.fedirtClusterEnv$njk(a, b, index)))), c(1), sum))
}

Try the FedIRT package in your browser

Any scripts or data that you put into this service are public.

FedIRT documentation built on Sept. 30, 2024, 9:34 a.m.