CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - nlconst
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - nlconst - List
[
Other resource
]
COMPDIR
DL : 0
% COMPDIR Computes a search direction in a subspace defined by Z. % Helper function for NLCONST. % Returns Newton direction if possible. % Returns random direction if gradient is small. % Otherwise, returns steepest descent direction. % If the steepest descent direction is small it computes a negative % curvature direction based on the most negative eigenvalue. % For singular matrices, returns steepest descent even if small.
Date
: 2008-10-13
Size
: 1.57kb
User
:
张风
[
matlab
]
COMPDIR
DL : 0
% COMPDIR Computes a search direction in a subspace defined by Z. % Helper function for NLCONST. % Returns Newton direction if possible. % Returns random direction if gradient is small. % Otherwise, returns steepest descent direction. % If the steepest descent direction is small it computes a negative % curvature direction based on the most negative eigenvalue. % For singular matrices, returns steepest descent even if small.- COMPDIR Computes a search direction in a subspace defined by Z. Helper function for NLCONST. Returns Newton direction if possible. Returns random direction if gradient is small. Otherwise, returns steepest descent direction. If the steepest descent direction is small it computes a negative curvature direction based on the most negative eigenvalue. For singular matrices, returns steepest descent even if small.
Date
: 2025-07-09
Size
: 1kb
User
:
张风
[
matlab
]
nlconst
DL : 0
COMPDIR computes a search direction in a subspace defined by Z. % [SD,dirType] = compdir(Z,H,gf,nvars,f) returns a search direction for the % subproblem 0.5*Z'*H*Z + Z'*gf. Helper function for NLCONST. SD is Newton % direction if possible. SD is a direction of negative curvature if the % Cholesky factorization of Z'*H*Z fails. If the negative curvature % direction isn't negative "enough", SD is the steepest descent direction. % For singular Z'*H*Z, SD is the steepest descent direction even if small, % or even zero, magnitude.
Date
: 2025-07-09
Size
: 53kb
User
:
mad_morris
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.