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
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
RonaldoCMP
f67226a6dd
formating
2020-07-29 03:19:01 +01:00
RonaldoCMP
66aba45802
remove test_all
2020-07-29 02:40:59 +01:00
Adrian Mariano
045ea3085a
Fixed bugs in same_shape and is_consistent
2020-07-28 21:26:35 -04:00
RonaldoCMP
ea604f9672
restore polyhedra, shapes and shapes3d
2020-07-28 23:10:42 +01:00
Adrian Mariano
b7b276099f
commented out test for removed function
...
added test for find_noncollinear_points where no such points exist
2020-07-28 18:06:57 -04:00
Adrian Mariano
e222d26136
Removed unneeded functions
2020-07-28 17:55:56 -04:00
RonaldoCMP
d45f289a95
update
2020-07-28 22:55:21 +01:00
Adrian Mariano
7b5c2456ce
change hull to use find_noncollinear_points, add some error checks,
...
add regression tests
2020-07-28 17:54:57 -04:00
Adrian Mariano
3c9e304675
fix find_noncollinear_points
2020-07-28 17:54:45 -04:00
RonaldoCMP
51be74b5ec
input checks, general review, adding new functions
...
Defines functions:
1. binomial()
2. convolve()
3. all_numeric()
4. is_addable()
Input data check in all functions.
Recoding of:
1. cumsum (a non-recursive version)
2. median()
3. count_true() (more efficient version)
4. polynomial functions so that a zero polynomial is represented by [0] and not by []
2020-07-28 22:42:07 +01:00
RonaldoCMP
3d226f1ffa
doc correction
2020-07-28 21:51:45 +01:00
RonaldoCMP
ab57790c27
Correction of is_vector and doc text
2020-07-28 19:02:35 +01:00
Revar Desmera
513b497560
Merge pull request #218 from revarbat/revarbat_dev
...
Improved docs_gen.py error checking.
2020-07-27 15:19:33 -07:00
Garth Minette
b5d465cf1e
docs_gen.py now shows more docs errors.
2020-07-27 15:15:34 -07:00
Garth Minette
bda538defa
Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev
2020-07-26 18:14:04 -07:00
RonaldoCMP
c10a8b919d
Extensive review of arrays.scad, vectors.scad, common.scad and their regression tests
...
Here is an extensive review of common.scad, vectors.scad, arrays.scad and their regression test codes. The changes were mostly in input data check and format. Some few functions got more changes either to adapt them to the new asserts or because a better (faster, simpler) code was found.
Another change was moving add_scalar from vectors.scad to arrays.scad. It is in fact an array operation. Some few documentation examples and test codes were added. Some function argument names were changed to keep them consistent with the names they have in other similar functions. That name changes were not as extensive as I would like but it is advisable to favor users.
Most, but not all, changed function codes are followed by a comment with a short summary of the changes done. Those comments always start with:
//***
I can eliminate those comments before a merge is done or in a second round.
2020-07-25 20:27:19 +01:00
Revar Desmera
65125ed57a
Merge pull request #215 from adrianVmariano/master
...
Fixed docs for path2d. Modified pointlist_bounds to give output that matches input dimension and to work on any input dimension. Also made it ~20 times faster.
2020-07-24 15:33:37 -07:00
RonaldoCMP
bdba4c0821
A broad review of input data check and code format
...
Some functions were changed for sake of clarity or better performance.
2020-07-24 22:54:34 +01:00
Adrian Mariano
1dda5b088c
Fixed docs for path2d.
...
Modified pointlist_bounds to give output that matches input
dimension and to work on any input dimension. Also made it ~20 times faster.
2020-07-24 16:36:57 -04:00
RonaldoCMP
d2e851ae42
Merge branch 'master' into master
2020-07-24 14:47:25 +01:00
RonaldoCMP
464c65ce8c
Eliminating tabs
2020-07-24 13:30:19 +01:00
RonaldoCMP
f61e30add2
Update
2020-07-24 00:23:07 +01:00
RonaldoCMP
877a07b711
Full review of input data checking, formating and improvement in some functions
...
Refactorigng of list_set(), list_insert() and list_remove() without any sorting and speed gain.
Some argument names changed for consistence between functions.
test_array() updated.
2020-07-24 00:19:49 +01:00
RonaldoCMP
88e2fc0f29
Input data check review and some refactoring
...
Some functions have been changed as a consequence of the dat checking review. vector_axis was fully refactored. add_scalar was moved to arrays.scad
2020-07-24 00:10:36 +01:00
RonaldoCMP
39b4b7282d
Update typeof(), int(), range(), list_of() and segs
2020-07-24 00:04:16 +01:00
Garth Minette
f5a6094fe1
Merge remote-tracking branch 'origin/master' into revarbat_dev
2020-07-21 21:13:45 -07:00
Revar Desmera
68459776e2
Merge pull request #211 from adrianVmariano/master
...
fixed in_list bug
2020-07-21 19:23:48 -07:00
Adrian Mariano
7eafa691b4
Changed to relative include names
2020-07-21 20:05:21 -04:00
Adrian Mariano
a73ca6368c
fixed in_list bug
2020-07-21 19:55:05 -04:00
Garth Minette
6798083a11
Added shape_compare()
2020-07-21 16:54:59 -07:00
Revar Desmera
1d03a6aa93
Merge pull request #210 from revarbat/revarbat_dev
...
Added zero=undef/true/false arg to is_vector. Bugfix for vector_axis()
2020-07-21 16:24:06 -07:00
Garth Minette
4a37a5dc8e
Added zero=undef/true/false arg to is_vector. Bugfix for vector_axis()
2020-07-21 16:15:02 -07:00
Revar Desmera
3e87405ccf
Merge pull request #208 from revarbat/revarbat_dev
...
Docs generation fixes and unit() bugfixes.
2020-07-19 23:09:32 -07:00