Closed alextzik closed 2 years ago
What does the command push!(qs, zeros(length(x))) contribute to the algorithm?
push!(qs, zeros(length(x)))
That line allocates the storage vectors, and thereby ensures that we have a storage vector for every step difference and gradient change.
What does the command
push!(qs, zeros(length(x)))
contribute to the algorithm?