Linear Algebra – Crash course in C++

Contents

Linear Algebra – Crash course in C++#

Today’s assignment.

Today’s class is crash course in C++, or really, maybe just a tour of C++. I think it’s worthwhile getting an overview of (some of) C++’s many features, but much of it is not really required down the road. I (and presumably most of you) will be using C++ for the remainder of this class, but we’ll mostly make use of a existing libraries (like xtensor, in particular), not implement our own from scratch.

Homework#

  • There is no coding to be done, but well there’s always something: Write a short reflection on what you learned in class today. That is, go through what I did above, which should end up in your assignment feedback pull request and write down your thoughts.

  • (optional) I mostly skipped adapting struct matrix to C++. You can kinda follow the same steps that I did for struct vector to make a class matrix in C++.