R/operator.R
quadform.Rd
x^T P x.
quadform(x, P)
input vector, either x or P must be constant.
input matrix, either x or P must be constant, P needs to be semidefinte if x is not constant.