RonaldoCMP
c6b472318f
Optimize sorting
...
Optimize _sort_general and change accordingly sort and sortidx.
Introduce _valid_idx() to simplify teh validations of arg idx.
Add input validation to subindex().
2020-08-05 06:16:48 +01:00
Revar Desmera
c0481f14eb
Merge pull request #229 from adrianVmariano/master
...
move submatrix to arrays and relax input restrictions
2020-08-04 00:38:23 -07:00
Revar Desmera
ba6d59a615
Merge pull request #225 from RonaldoCMP/master
...
Minor changes in is_matrix, in_list, removal of duplicate definitions and format
2020-08-04 00:34:30 -07:00
Adrian Mariano
719f1ff585
doc bugfix
2020-08-03 19:58:11 -04:00
Adrian Mariano
baf4eb76dc
doc tweak
2020-08-03 19:52:13 -04:00
Adrian Mariano
4e36eacca8
Moved submatrix to arrays.scad and relaxed requirement for numerical
...
input. Added examples and tests.
2020-08-03 19:49:22 -04:00
RonaldoCMP
e06519bbfb
changes to hide recursion args and avoid repetitive arg validations
...
cumsum broken in two to hide recursion args and avoid repetitive arg validations.
back_substitute changed to avoid repetitive arg validations in the recursion.
minor change in deriv2 and deriv3 to avoid an unecessary call to is_matrix.
change in is_matrix for better performance
any() and all() broken in two to avoid repetitive arg validation in the recursion and to hide recursion args.
change in polymult to call convolve
break of poly_div in two to avoid repetitive arg validations in the recursion.
2020-08-04 00:38:36 +01:00
RonaldoCMP
0e7517ecfe
Merge branch 'master' of https://github.com/RonaldoCMP/BOSL2
2020-08-04 00:16:33 +01:00
RonaldoCMP
c9408a66fa
Merge remote-tracking branch 'upstream/master'
2020-08-04 00:13:26 +01:00
RonaldoCMP
e4bd6238b4
Revert "Minor edits in is_matrix"
...
This reverts commit 764420e71d
.
2020-08-04 00:08:23 +01:00
Revar Desmera
a05509dc6d
Merge pull request #228 from revarbat/revarbat_dev
...
Fixed calls to vmul() with heterogenous vector sizes.
2020-08-02 23:26:51 -07:00
Garth Minette
e56f953c1c
Fixed calls to vmul() with heteerogenous vector sizes.
2020-08-02 23:23:50 -07:00
Revar Desmera
59aebd33ce
Merge pull request #227 from adrianVmariano/master
...
subindex speed improvement
2020-08-02 09:22:34 -07:00
Adrian Mariano
8f1162e7bf
doc typo fix
2020-08-02 10:38:33 -04:00
Adrian Mariano
06b69475cb
Fix bug. Add test for subindex.
2020-08-02 10:38:11 -04:00
Adrian Mariano
37ca6efebb
Modified subindex to be faster. Note also changed behavior for
...
idx=singleton list.
2020-08-02 10:35:32 -04:00
Revar Desmera
76eb822aad
Merge pull request #224 from adrianVmariano/master
...
remove error.scad
2020-08-01 22:25:29 -07:00
Adrian Mariano
47d02ae783
removed median tests
2020-08-02 01:23:15 -04:00
Adrian Mariano
817bdffdef
Removed bogus median function
2020-08-02 01:20:11 -04:00
Adrian Mariano
e2817ae64d
removed references to errors.scad
2020-08-02 01:18:33 -04:00
RonaldoCMP
764420e71d
Minor edits in is_matrix
2020-08-02 01:15:07 +01:00
RonaldoCMP
84fa648dc5
Revert "Minor is_matrix definition and format"
...
This reverts commit 2da259c2cc
.
2020-08-02 01:08:24 +01:00
RonaldoCMP
afb236f084
Merge branch 'master' into master
2020-08-02 01:03:46 +01:00
RonaldoCMP
2da259c2cc
Minor is_matrix definition and format
2020-08-02 00:47:22 +01:00
RonaldoCMP
e858d5627e
Merge remote-tracking branch 'upstream/revarbat_dev'
2020-08-02 00:03:05 +01:00
Adrian Mariano
f1cd94e986
remove error.scad include
2020-08-01 15:56:40 -04:00
Adrian Mariano
45a8b3ec6a
Moved no_children to common.scad, and changed references to
...
echo_warning in skin.scad and polyhedra.scad.
2020-08-01 15:54:58 -04:00
RonaldoCMP
855c1da6f1
Minor doc edit
2020-07-31 15:53:06 +01:00
RonaldoCMP
526c01109c
Minor edits in in_list and transpose, removal of is_simple list
2020-07-31 15:52:35 +01:00
Revar Desmera
1ef7dc0c92
Merge pull request #223 from adrianVmariano/master
...
improved back_substitute, cleaned up a few other functions, removed some non-breaking space characters.
2020-07-30 18:55:05 -07:00
Adrian Mariano
046266778c
improved back_substitute, cleaned up a few other functions, removed
...
some non-breaking space characters.
2020-07-30 20:46:19 -04:00
RonaldoCMP
3b1d567219
Revert "Minor edits in in_list"
...
This reverts commit 74cc246c75
.
2020-07-31 01:03:32 +01:00
RonaldoCMP
74cc246c75
Minor edits in in_list
2020-07-31 00:59:05 +01:00
RonaldoCMP
5c239187e9
removal of duplicate definitions
2020-07-31 00:57:52 +01:00
Revar Desmera
a2e177ecf4
Merge pull request #221 from revarbat/revarbat_dev
...
Fix list_remove() for null index list.
2020-07-29 22:51:54 -07:00
Garth Minette
6064dcbed0
Fix list_remove() for null index list.
2020-07-29 22:39:17 -07:00
Revar Desmera
9ffd959250
Merge pull request #219 from adrianVmariano/master
...
hull fix and regression tests
2020-07-29 22:16:24 -07:00
Revar Desmera
cddb76a131
Merge branch 'master' into master
2020-07-29 22:14:16 -07:00
Revar Desmera
d336075707
Merge pull request #220 from revarbat/revarbat_dev
...
Minor fixes for PR #216
2020-07-29 21:58:59 -07:00
Garth Minette
aa0e77b1f4
Minor fixes for PR #216
2020-07-29 21:58:12 -07:00
Revar Desmera
5e98cbf679
Merge pull request #216 from RonaldoCMP/master
...
Extensive changes in arrays.scad, vectors.scad, common.scad and their regression test codes
2020-07-29 21:44:39 -07:00
RonaldoCMP
8a25764744
Overall review, input data check, format, new function definitions
...
New function definitions in commom.scad:
1. valid_range;
2. _list_pattern
New function definitions in math.scad:
1. binomial;
2. binomial_coefficient;
3. convolve;
Code review in math:
1. sum;
2. median;
3. is_matrix;
4. approx;
5. count_true;
6. doc of deriv2;
7. polynomial;
8. poly_mult;
9; poly_div;
10. _poly_trim
Code change in test_common:
1. new test_valid_range;
2. test_is_consistent
Code change in test_math:
1. test_approx;
2. new test_convolve;
3. new test_binomial;
4. new test_binomial_coefficient;
5. test_outer_product;
6. test_polynomial;
7. test_poly_mult;
8. test_poly_div;
9. test_poly_add;
2020-07-29 22:41:02 +01:00
RonaldoCMP
babc10d60d
Revert "input checks in math and new function definitions"
...
This reverts commit 19e5a9504a
.
2020-07-29 21:50:22 +01:00
RonaldoCMP
19e5a9504a
input checks in math and new function definitions
2020-07-29 21:49:15 +01:00
RonaldoCMP
ec4d960ecb
Revert "input checks, general review, adding new functions"
...
This reverts commit 51be74b5ec
.
2020-07-29 15:30:57 +01:00
RonaldoCMP
281d945ed7
Revert "update"
...
This reverts commit d45f289a95
.
2020-07-29 15:30:35 +01:00
Adrian Mariano
4f4be3d1d0
tweak to _list_pattern
2020-07-29 06:27:19 -04:00
RonaldoCMP
014eea601d
Revert "formating"
...
This reverts commit f67226a6dd
.
2020-07-29 06:52:12 +01:00
RonaldoCMP
62629b6eb6
Revert "remove test_all"
...
This reverts commit 66aba45802
.
2020-07-29 06:50:42 +01:00
RonaldoCMP
d1fe73bb5e
Revert "restore polyhedra, shapes and shapes3d"
...
This reverts commit ea604f9672
.
2020-07-29 06:50:14 +01:00