Guillaume Bittoun
|
b1e1f23b8f
|
matrix: using permutation and LU decomposition for determinant and inverse computing
|
11 anni fa |
Guillaume Bittoun
|
ace6e55975
|
matrix: adding permutation determinant
|
11 anni fa |
Guillaume Bittoun
|
ed2e6cd95a
|
matrix: using vec_t for permutation logic
|
11 anni fa |
Guillaume Bittoun
|
c30c60671b
|
matrix: adding permutation matrix computing
|
11 anni fa |
Sam Hocevar
|
d70027cc3e
|
test: ensure the LU-decomposition checks fail with GCC and -ffast-math.
|
11 anni fa |
Sam Hocevar
|
d8951b413a
|
math: disable unstable LU decomposition for matrix inversion.
|
11 anni fa |
Sam Hocevar
|
3d67ab7f23
|
test: check for NaN in LU decomposition results.
|
11 anni fa |
Sam Hocevar
|
9011c4a876
|
test: add more unit tests for matrix inversion.
|
11 anni fa |
Guillaume Bittoun
|
0e974f9109
|
matrix: using LU-decomposition for matrix inverse (losing precision unfortunately)
|
11 anni fa |
Guillaume Bittoun
|
f501d2e9a4
|
matrix: adding U-inverse function
|
11 anni fa |
Guillaume Bittoun
|
3cf7df7381
|
matrix: adding L-matrix inverse
|
11 anni fa |
Guillaume Bittoun
|
7c907f6f3e
|
matrix: determinant computing using LU-decomposition
|
11 anni fa |
Guillaume Bittoun
|
ebd15dbc0e
|
matrix: LU-decomposition, bug fixes + tests
|
11 anni fa |
Sam Hocevar
|
3835dc62e0
|
base: minor variable renaming.
|
11 anni fa |
Sam Hocevar
|
7330c2c8c2
|
math: move naive bigint multiplication to a static method and add unit tests.
|
11 anni fa |
Sam Hocevar
|
d92547bf3e
|
math: add bitwise operators for bigints, comparison operators, unary
plus and minus, subtraction, and a lot of unit tests.
|
11 anni fa |
Sam Hocevar
|
ec00776d61
|
math: start working on a bigint type, which will be the fundation
for the next implementation of large float numbers.
|
11 anni fa |
Sam Hocevar
|
5d9488182f
|
math: extract the gradient generator from simplex noise so that we
can reuse it for other noise implementations.
|
11 anni fa |
Sam Hocevar
|
b0b5bcc6fa
|
math: tweak simplex noise scale according to dimension.
|
11 anni fa |
Guillaume Bittoun
|
a815a788e6
|
simplex_interpolator: bug fix on negative values.
|
11 anni fa |
Guillaume Bittoun
|
959f68142d
|
simplex_interpolator: first working version of simplex_interpolator. Tested (with std::cout) for 2D, should work for higher dimensions.
|
11 anni fa |
Guillaume Bittoun
|
49e9971183
|
simplex_interpolator: adding std::cout test… for realz this time
|
11 anni fa |
Guillaume Bittoun
|
b65af37e7c
|
simplex_interpolator: compilation fixes + testing Interp function
|
11 anni fa |
Guillaume Bittoun
|
5dbff4b35c
|
simplex_interpolator: first (non-working) draft for complete interpolator process
|
11 anni fa |
Sam Hocevar
|
bb438b6252
|
math: fix a coding error in the polynomial division.
|
11 anni fa |
Guillaume Bittoun
|
6bd7142428
|
simplex_interpolator: sorting coordinates in regular basis + tests.
|
11 anni fa |
Sam Hocevar
|
369ce3f511
|
math: polynomial division.
|
11 anni fa |
Sam Hocevar
|
1eb5f9f361
|
math: add a roots() method to find polynomial roots for degrees 1 and 2.
|
11 anni fa |
Sam Hocevar
|
3916a44c58
|
math: add derive() method to polynomial and allow to call eval() with
polynomials as arguments so as to compose them together.
|
11 anni fa |
Guillaume Bittoun
|
a6e8434c66
|
simplex_interpolator: adding tests for simplex base matrix check.
|
11 anni fa |
Sam Hocevar
|
0668d0d5a6
|
math: add a factory for Chebyshev polynomials.
|
11 anni fa |
Sam Hocevar
|
baebd131fc
|
math: add a simple polynomial template class.
|
11 anni fa |
Guillaume Bittoun
|
408b8277ae
|
simplex_interpolator: bug fixing on matrix computing
|
11 anni fa |
Sam Hocevar
|
a808cd8f8d
|
test: add a compile-time test for interpolation of compound types.
|
11 anni fa |
Guillaume Bittoun
|
97de8946e9
|
simplex_interpolator: fixing bug on simplex matrix generation
|
11 anni fa |
Sam Hocevar
|
24e7663c5c
|
simplex: fix confusion between interpolated types and coordinate types.
|
11 anni fa |
Sam Hocevar
|
0511d9836a
|
simplex: fix a bug in the modulo operator. lol. and add unit tests.
|
11 anni fa |
Sam Hocevar
|
3a4682a976
|
simplex_interpolator: more unit tests, including some failing ones.
|
11 anni fa |
Guillaume Bittoun
|
4118789a53
|
simplex_interpolator: initializing interpolator with the samples so that it can be fully usable at creation.
|
11 anni fa |
Guillaume Bittoun
|
6f5c15b165
|
simplex_interpolator: adding first test on 2D samples
|
11 anni fa |
Guillaume Bittoun
|
7e01c3afd7
|
simplex_interpolator: starting first test. Too tired, go to bed :)
|
11 anni fa |
Guillaume Bittoun
|
d513d8ac8c
|
simplex_interpolator: adding test skeleton + build fixes
|
11 anni fa |
Sam Hocevar
|
cd988786b9
|
build: reorganise includes so that we can use precompiled headers later.
|
11 anni fa |
Sam Hocevar
|
6b64e2c337
|
lolunit: switch assert macros to lowercase.
|
11 anni fa |
Sam Hocevar
|
5da959e6e4
|
build: work around another fucking ICE in Visual Studio.
|
11 anni fa |
Sam Hocevar
|
cadc4d18b0
|
test: move the unit tests to the engine, and lolunit out of the engine.
|
11 anni fa |