|
|
|
|
|
|
Let's verify the sizes of the 2D vector.... The vector has 3 rows. The vector has 4 columns. 1 2 3 4 5 6 7 8 9 10 11 12 0 0 0 0 5 6 7 8 0 0 0 0 20 20 20 20 5 6 7 8 20 20 20 20 |
|
|
|
|
|
|
|
|
|
|
I am pretty confused and shocked how the alternative in C++ is waaay harder. |
I guess I shouldn't use valarray here for the reasons @mbozzi mentioned, but as a simple test now I will leave it. |
|
|
JamieAl wrote: |
---|
Well, spent the past 24 hrs setting up Eigen with my VS code (was not easy) |
D:\Programming\vcpkg>vcpkg search eigen ceres[eigensparse] Use of Eigen as a sparse linear algebra library in Ceres eigen3 3.4.0 C++ template library for linear algebra: matrices, vectors, numerical solv... highfive[eigen3] Enable Eigen testing libigl 2.3.0#1 libigl is a simple C++ geometry processing library. We have a wide functio... libigl[embree] Build with embree libigl[glfw] Build with glfw libigl[imgui] Build with imgui libigl[opengl] Build with opengl libigl[xml] Build with libxml magnum-integration[eigen] EigenIntegration library opencv[eigen] Eigen support for opencv opencv2[eigen] Eigen support for opencv opencv3[eigen] Eigen support for opencv opencv4[eigen] Eigen support for opencv pangolin[eigen] Build support for Eigen matrix types spectra 1.0.0 A header-only C++ library for large scale eigenvalue problems uvatlas[eigen] Use Eigen & Spectra for eigen-value computations The result may be outdated. Run `git pull` to get the latest results. If your port is not listed, please open an issue at and/or consider making a pull request: https://github.com/Microsoft/vcpkg/issues |
D:\Programming\vcpkg>vcpkg list 7zip:x64-windows 21.07#1 Library for archiving file with a high compressi... 7zip:x86-windows 21.07#1 Library for archiving file with a high compressi... bigint:x64-windows 2010.04.30#7 C++ Big Integer Library bigint:x86-windows 2010.04.30#7 C++ Big Integer Library catch2:x64-windows 3.0.1#1 A modern, header-only test framework for unit te... catch2:x86-windows 3.0.1#1 A modern, header-only test framework for unit te... cppunit:x64-windows 1.15.1#3 Unit testing framework module for the C++ progra... cppunit:x86-windows 1.15.1#3 Unit testing framework module for the C++ progra... fmt:x64-windows 8.1.1#1 Formatting library for C++. It can be used as a ... fmt:x86-windows 8.1.1#1 Formatting library for C++. It can be used as a ... gsl-lite:x64-windows 0.40.0 A single-file header-only implementation of ISO ... gsl-lite:x86-windows 0.40.0 A single-file header-only implementation of ISO ... gtest:x64-windows 1.11.0#5 GoogleTest and GoogleMock testing frameworks gtest:x86-windows 1.11.0#5 GoogleTest and GoogleMock testing frameworks ms-gsl:x64-windows 4.0.0 Microsoft implementation of the Guidelines Suppo... ms-gsl:x86-windows 4.0.0 Microsoft implementation of the Guidelines Suppo... pdcurses:x64-windows 3.9#3 Public Domain Curses - a curses library for envi... pdcurses:x86-windows 3.9#3 Public Domain Curses - a curses library for envi... vcpkg-cmake-config:x64-windows 2022-02-06#1 vcpkg-cmake-config:x86-windows 2022-02-06#1 vcpkg-cmake:x64-windows 2022-05-10#1 vcpkg-cmake:x86-windows 2022-05-10#1 |
Okay this sounds way too messy for just a simple one line of code in MATLAB. I am pretty confused and shocked how the alternative in C++ is waaay harder. |