{ } Raw JSON

bundles / scipy latest / scipy / optimize / _differentiable_functions / IdentityVectorFunction

class

scipy.optimize._differentiable_functions:IdentityVectorFunction

source: /scipy/optimize/_differentiable_functions.py :829

Signature

class   IdentityVectorFunction ( x0 sparse_jacobian )

Members

Summary

Identity vector function and its derivatives.

Extended Summary

The Jacobian is the identity matrix, returned as a dense array when sparse_jacobian=False and as a csr matrix otherwise. The Hessian is identically zero and it is returned as a csr matrix.

Aliases

  • scipy.optimize._constraints.IdentityVectorFunction