From 4f13626bea8350edf81cd78f9efe469fe4f1a1c6 Mon Sep 17 00:00:00 2001 From: "Jason L. Wright" Date: Fri, 4 Oct 2024 03:38:19 +0000 Subject: [PATCH] use captions not titles --- pretext/AlgorithmAnalysis/VectorAnalysis.ptx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pretext/AlgorithmAnalysis/VectorAnalysis.ptx b/pretext/AlgorithmAnalysis/VectorAnalysis.ptx index 712111ae..3649acee 100755 --- a/pretext/AlgorithmAnalysis/VectorAnalysis.ptx +++ b/pretext/AlgorithmAnalysis/VectorAnalysis.ptx @@ -37,7 +37,7 @@ making our vector.

- Using <c>push_back()</c> + Using push_back() #include <iostream> #include <vector> @@ -69,7 +69,7 @@ int main() { of our test functions 10,000 times within a for loop.

- Timing <c>push_back()</c> + Timing push_back() #include <iostream> #include <vector> @@ -107,7 +107,7 @@ int main(){ adequately sized space in memory.

- Reserved Versus Unreserved <c>push_back()</c> + Reserved Versus Unreserved push_back() #include <iostream> #include <vector> @@ -171,7 +171,7 @@ int main(){ was a good one.

- <term>Table 2: Big-O Efficiency of C++ Vector Operators</term> + Big-O Efficiency of C++ Vector Operators @@ -304,7 +304,8 @@ int main(){ that the vector is decreasing in size by 1 each time through the loop.

- +
+ #include <iostream> #include <vector>
Timing of push_back Versus erase