Question: convex quadratic functions?

Hi,

I'm a bit of a rookie with maple and need your help please.

I am looking to input a function of the following form:

f(x)= 1/2.x.H.x + g.x

where H is a matrix and g is a vector.

 

I need maple to be able to evaluate the function value at certain points.

 

Thank you in advance for any help you provide.

Please Wait...