octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #66420] Rows and columns mixed up in sqp


From: anonymous
Subject: [Octave-bug-tracker] [bug #66420] Rows and columns mixed up in sqp
Date: Sat, 16 Nov 2024 04:34:03 -0500 (EST)

Follow-up Comment #6, bug #66420 (group octave):

Considering that the Jacobian _is_ the gradient as a row vector (in case of a
scalar function), how about changing the documentation as follows?

The second argument may also be a 2- or 3-element cell array of function
handles. The first element should point to the objective function, the second
should point to a function that computes the gradient of the objective
function *as a column vector*, and the third should point to a function that
computes the Hessian of the objective function.

[...]

The third and fourth arguments may also be 2-element cell arrays of function
handles. The first element should point to the constraint function and the
second should point to a function that computes the *Jacobian matrix* the
constraint function *(which is the gradient as a row vector in case of a
scalar constraint function)*:

[df(x)/dx_1 df(x)/dx_2 ... df(x)/fx_N]



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66420>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]