bundles / scipy latest / scipy / optimize / _trustregion_constr / projections / orthogonality
function
scipy.optimize._trustregion_constr.projections:orthogonality
source: /scipy/optimize/_trustregion_constr/projections.py :22
Signature
def orthogonality ( A , g ) Summary
Measure orthogonality between a vector and the null space of a matrix.
Extended Summary
Compute a measure of orthogonality between the null space of the (possibly sparse) matrix A and a given vector g.
The formula is a simplified (and cheaper) version of formula (3.13) from [1]. orth = norm(A g, ord=2)/(norm(A, ord='fro')*norm(g, ord=2)).
Aliases
-
scipy.optimize._trustregion_constr.projections.orthogonality