Intro to Eigen C++ Matrix Library in VS Code - Part I: Installation and Basic Usage
0:00 Introduction: Overview of the Eigen C++ library for linear algebra, matrix, and vector operations in Visual Studio Code (VS Code).
1:03 Previous Tutorial & User Requests: Mentions a prior tutorial on Eigen in Microsoft Visual Studio and addresses user requests for a VS Code tutorial.
1:58 Installation Challenges: Highlights the difficulties encountered during the Eigen installation process in VS Code, particularly with header file inclusion and compiler configuration.
3:04 Downloading Eigen: Instructions on downloading the Eigen source code (header files) from the official website.
3:47 Eigen Folder Structure: Explanation of the Eigen folder structure after unpacking, emphasizing the importance of the "Eigen" folder containing header files.
4:36 Creating a VS Code Project: Demonstrates creating an empty VS Code project using the developer command prompt.
5:29 Importance of Microsoft Visual Studio: Explains the necessity of having Microsoft Visual Studio and its C++ compiler installed for successful Eigen compilation within VS Code.
7:30 Setting Up Compiler Properties (tasks.json): Guides through creating and editing the tasks.json file to configure the compiler (cl.exe) to locate the Eigen header files by adding the include path.
10:06 Setting Up Environment Properties (c_cpp_properties.json): Shows how to create and modify the c_cpp_properties.json file to configure the VS Code environment by adding the Eigen include path.
11:09 Including Eigen in Code: Demonstrates including the main Eigen header file (Dense) in a C++ source file.
12:28 Using Eigen Namespace: Explains the use of the Eigen namespace to access library functionalities.
12:56 Testing Eigen with Matrix Operations: Provides a basic example of creating, initializing, and printing a matrix using Eigen functions.
14:02 Changing Matrix Entries: Demonstrates how to modify individual matrix elements using zero-based indexing.
15:38 Conclusion and Next Steps: Concludes the tutorial and indicates that further explanations and examples will be covered in the next video.