advent-of-code-wim
eigen
advent-of-code-wim | eigen | |
---|---|---|
17 | 19 | |
33 | - | |
- | - | |
8.8 | - | |
5 months ago | - | |
Python | ||
Do What The F*ck You Want To Public License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
advent-of-code-wim
-
[2023 Day 7] Better Example Input (Not a Spoiler)
Thanks for the extra example. I've added it to my CI and test suite in https://github.com/wimglenn/advent-of-code-wim/pull/89
-
-❄️- 2023 Day 7 Solutions -❄️-
Full code here
-
Running time goals (more of a survey question)
I'm using Python so I'll never be as fast as the people using Rust or C, but am still able to solve most puzzles in under 1 second (repo: https://github.com/wimglenn/advent-of-code-wim).
-
[2022 Day 14] Low budget terminal vis of the example data
Thanks for the kind words, well the source is here so you can just take a look. You have to run with var AOC_DEBUG=1 in env to enable the rendering.
-
[2022 Day 12] Is there any A* heuristic which makes things better, not worse?
I used an AStar pathfinder already prepared from earlier years (aoc2022/q12.py), just leaving the default null heuristic. If I understand correctly that is just a BFS.
-
[2022 Day 10] AoC OCR
https://github.com/wimglenn/advent-of-code-wim/blob/main/aoc_wim/ocr.py has nearly all the letters we've seen (including a larger font used once in 2018) although it is missing the 5-wide Y that was in my 2016-day 08 puzzle
-
-🎄- 2022 Day 7 Solutions -🎄-
By the way, I found that if you're willing to use pathlib and a guard, you actually only need 2 of those 6 case statements - it looks like this.
-
-🎄- 2022 Day 5 Solutions -🎄-
Python (repo). I was particularly pleased with how quick the parsing was.
-
-🎄- 2021 Day 13 Solutions -🎄-
Python + "AOCR" + complex numbers.
-
-🎄- 2021 Day 9 Solutions -🎄-
Python
eigen
-
Blaze: A High Performance C++ Math library
Is Eigen still alive? There's been no release in 3 years, and no news about it: https://gitlab.com/libeigen/eigen/-/issues/2699
- Gentoo -Os vs -O3 application startup time?
-
The Case of the Missing SIMD Code
I was curious about these libraries a few weeks ago and did some searching. Is there one that's got a clearly dominating set of users or contributors?
I don't know what a good way to compare these might be, other than perhaps activity/contributor count.
[1] https://github.com/simd-everywhere/simde
[2] https://github.com/ermig1979/Simd
[3] https://github.com/google/highway
[4] https://gitlab.com/libeigen/eigen
[5] https://github.com/shibatch/sleef
-
FetchContent and PROJECT_IS_TOP_LEVEL
I am trying to include Eigen in my project via FetchContent. They define/assume-defined PROJECT_IS_TOP_LEVEL on line 19 and, among other locations, on line 607 in their top level list file.
-
Common practices when doing image processing on the GPU
Eigen is a header-only library, thus simply cloning it from the official repository into the FOGGDD folder should be enough.
- Use TFlite in a Cmake Project
-
I've decided to learn Godot and it feels like I have "lost"
math library because you should never implement a math library yourself, and you probably want somethign more focused on performance than STL. GLM may work if you just need basic vector support. Eigen may help for a more physics heavy game. But I'd probably find something in-between those two
-
CMake: How to include the headers of an external library downloaded with FetchContent?
cmake_minimum_required(VERSION 3.15) project(app) include(FetchContent) FetchContent_Declare(Eigen3 URL https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz) FetchContent_MakeAvailable(Eigen3) add_executable(app main.cpp) target_link_libraries(app Eigen3::Eigen)
-
-🎄- 2021 Day 13 Solutions -🎄-
Today was very easy to do with Eigen
- The official Eigen repo is now back online
What are some alternatives?
AlgorithmProblems - Solutions to Algorithm Problems :chart_with_upwards_trend: :neckbeard:
NumCpp - C++ implementation of the Python Numpy library
adventofcode
mathfu - C++ math library developed primarily for games focused on simplicity and efficiency.
AdventOfCode2022 - Repository for advent of code code to find solutions. This year in Go.
embree-aarch64 - AARCH64 port of Embree ray tracing library
advent-of-code
parallel-hashmap - A family of header-only, very fast and memory-friendly hashmap and btree containers.
advent-of-code - Advent of Code 2022
colmap - COLMAP - Structure-from-Motion and Multi-View Stereo
advent-of-code - Advent of Code with JS
CppRobotics - Header-only C++ library for robotics, control, and path planning algorithms. Work in progress, contributions are welcome!