diagprod: Efficient computation of diagonals of matrix products

Description Usage Arguments Value

Description

efficiently calculates the diagonal of x*y*t(x).

Usage

1
diagprod(x, y)

Arguments

x

A matrix of size n by m

y

A symetric matrix of size m by m

Value

A vector of length n


steibelj/gwaR documentation built on May 30, 2019, 10:45 a.m.