%&% {configural}R Documentation

Quadratic form matrix product

Description

Calculate the quadratic form

Q=x^{\prime}Ax

Usage

A %&% x

Arguments

A

A square matrix

x

A vector or matrix

Value

The quadratic product

Examples

diag(5) %&% 1:5

[Package configural version 0.1.5 Index]