You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P = tensor_projection(nlp, n, x, directions, args...)
1304
+
1305
+
Returns the projection of the n-th derivative of the objective of `nlp` at `x` along the specified directions.
1306
+
1307
+
#### Input arguments
1308
+
1309
+
- `nlp::AbstractNLPModel`: An NLP model;
1310
+
- `n::Int`: The order of the derivative to compute;
1311
+
- `x::AbstractVector`: The point at which the derivative is evaluated;
1312
+
- `directions::Tuple{Int, Vararg{Int}}`: A tuple of indices specifying the directions (e.g., `(1, 2)` for a tensor projection along the first and second axes);
1313
+
- `args...`: A list of vectors, one for each direction specified in `directions`.
0 commit comments