Tagged Questions
2
votes
1answer
55 views
Differentiating with respect to vectors of unspecified length
Given a function defined by
f[x_,y_] := Sum[ x[[i]] (g[y[[i]]] - g[Total[y]] - Log[x[[i]]]), {i, 1, Length[x]}]
I can easily calculate the derivative for a fixed ...
1
vote
0answers
70 views
Solving for vector elements in a function to which the vectors are not passed explicitly
I want to define a function which takes in two integers (indicating the lengths of 2 vectors), and solves a simple set of expressions at a set of points to find all the values in both the vectors.
so ...