quad_form: Calculate the value of a quadratic form

Description Usage Arguments Value

View source: R/arrays.R

Description

Calculate the value of a quadratic form

Usage

1
quad_form(A, x)

Arguments

A

Square n-by-n matrix

x

Vector of length n

Value

Double value of the quadratic form x'Ax


alexpghayes/hayeslib documentation built on Nov. 6, 2018, 10:49 p.m.