Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function values at each step of loop

Status
Not open for further replies.

YoungTurk

Mechanical
Joined
Jul 16, 2004
Messages
333
Location
US
I would like to capture the value of a function evaluated at each step of a while loop. It seems I should write the values to a vector, but I can't figure out how to write the values to a vector (dependent on indeterminate number of iterations of the loop) and then have the vector available outside of the while loop.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top