Linear Algebra in C++ - Part 1 - A simple class to handle matrices

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • Linear Algebra in C++ - Part 1 - A simple class to handle matrices
    Linear algebra is essential to most scientific computing and fields of engineering, including #machinelearning. Matrices and matrix arithmetic are a fundamental part of linear algebra and so being able to handle matrices in C++ can be extremely useful. In this video, I briefly introduce the basic concepts of matrix arithmetic before going on to show how I have approached creating a simple C++ class to allow the handling of matrices.
    **********************************
    You can also follow me on the QuantitativeBytes Facebook page at:
    QuantitativeBytes
    **********************************
    Check out part 2a of this series where I talk about matrix inversion using Gauss-Jordan elimination:
    • Linear Algebra in C++ ...
    Part 2b of the series where I focus on how to implement the Gauss-Jordan elimination algorithm in C++:
    • Linear Algebra in C++ ...
    Part 2c of the series focusing on my approach to testing of the matrix inverse algorithm using Python:
    • Linear Algebra in C++ ...
    Part 3 of the series covering how to compute the determinant of an NxN square matrix may be seen here:
    • Linear Algebra in C++ ...
    Part 4 of the series covering implementation of a simple vector class may be seen here:
    • Linear Algebra in C++ ...
    Part 5 - Compute the vector norm and handle multiplication of a matrix by a vector:
    • Linear Algebra in C++ ...
    As with all of my videos, I show the code that I have developed to solve the particular problems that I need to solve, with the hope that it may provide sufficient background and inspiration to allow you to go on to develop your own code if you wish to. My code may not be the most appropriate solution to the problem you are trying to solve, so I urge you to consider the problem carefully and decide for yourself on the most appropriate solution. I make every effort to ensure that my code works as it should and is free of bugs, but of course I cannot provide any guarantees. If you use my code as shown, I strongly encourage you to make sure that you test it thoroughly to ensure that it works as you need it to. If you find a bug, do please let me know in the comments!

Комментарии • 56