qform: Compute Quadratic Form

Description Usage Arguments Details Value

View source: R/utils.R

Description

Efficiently computes x' A x - or in R-notation:

Usage

1
qform(x, A)

Arguments

x

a numeric vector

A

a symmetric numeric matrix

Details

Length of x should equal the number of rows and columns of A.

Value

a numerical scalar


lmerTest documentation built on Oct. 23, 2020, 6:16 p.m.