Commit graph

1366 commits

Author SHA1 Message Date
RonaldoCMP
9ba6f9a74e updating docs 2020-09-09 09:57:13 +01:00
RonaldoCMP
28cbdb4d89 removing tabs 2020-09-09 09:51:59 +01:00
RonaldoCMP
75e5cd4979 Solving bugs in functions on planes 2020-09-09 09:37:31 +01:00
RonaldoCMP
6fb16cc8e4
Merge pull request #3 from revarbat/master
Update from master
2020-09-09 09:30:33 +01:00
Revar Desmera
4c7f45c82d
Merge pull request #265 from revarbat/revarbat_dev
Added all_nonzero().  Added is_vector(all_nonzero=).
2020-09-07 23:39:20 -07:00
Garth Minette
b2121fbfb3 Added all_nonzero(). Added is_vector(all_nonzero=). 2020-09-07 23:10:39 -07:00
Revar Desmera
f59aa06a99
Merge pull request #264 from revarbat/revarbat_dev
Fix for Issue #263
2020-09-06 17:17:30 -07:00
Garth Minette
a9b8f5618a Fix for Issue #263 2020-09-06 17:15:08 -07:00
Revar Desmera
f07efed4bd
Merge pull request #261 from adrianVmariano/master
Faster norm_fro
2020-09-03 17:44:35 -07:00
Revar Desmera
a24837a1d3
Merge pull request #260 from kelvie/dovetail-fix
Fix offset calculations in dovetail.
2020-09-03 17:44:04 -07:00
Adrian Mariano
9cd91cc6cc Faster version of norm_fro, and some arg validation 2020-09-02 16:46:58 -04:00
Kelvie Wong
3dd8524db7 Fix offset calculations in dovetail.
We need to properly account for slop in back_width, otherwise the front offset
can end up being positive at small scales.
2020-09-01 20:46:25 -07:00
Revar Desmera
040747d0e0
Merge pull request #257 from adrianVmariano/master
Added pivot to qr, quadratic roots, norm_fro, submatrix_set, block_matrix.
2020-09-01 18:15:29 -07:00
Adrian Mariano
47a1dfaa23 doc tweak 2020-09-01 18:43:53 -04:00
Adrian Mariano
399c40f7a6 Added null_space and diagonal_matrix 2020-09-01 18:38:31 -04:00
Adrian Mariano
3caeeff2cd Added norm_fro, quadratic_roots and pivoting to qr_factor and
linear_solve.  Added tests.
2020-09-01 17:57:31 -04:00
Adrian Mariano
8f6c2e8538 Add submatrix_set and block_matrix and tests 2020-09-01 16:42:47 -04:00
Revar Desmera
0a5af2f710
Merge pull request #256 from revarbat/revarbat_dev
Cheat Sheet ordering tweak.
2020-09-01 01:25:49 -07:00
Garth Minette
8331d8e803 Cheat Sheet ordering tweak. 2020-09-01 01:23:01 -07:00
Revar Desmera
03914b326b
Merge pull request #255 from revarbat/revarbat_dev
Bugfixes for cheat sheet generation.
2020-09-01 01:05:26 -07:00
Garth Minette
cb36b5d94f Bugfixes for cheat sheet generation. 2020-09-01 00:54:27 -07:00
Revar Desmera
7c2ef46e0b
Merge pull request #254 from revarbat/revarbat_dev
Index and Cheat Sheet generation script improvements.
2020-08-31 18:56:13 -07:00
Garth Minette
38a4c12032 Cheat Sheet generation script bugfixes. 2020-08-31 18:03:48 -07:00
Garth Minette
7c42c7f5e3 Added libfile names to index. 2020-08-31 17:31:55 -07:00
Revar Desmera
91aaae800a
Merge pull request #253 from RonaldoCMP/master
Sort debugging and optimizing
2020-08-30 15:27:13 -07:00
RonaldoCMP
42bffef35f Minor doc corrections 2020-08-30 12:18:53 +01:00
RonaldoCMP
bbe4ad1467 Sort debugging and optimizing
There were bugs in the previous sorting functions. They didn't check the homogeneity of the input list before calling _sort_scalars and _sort_vectors. The bug might result in wrong order and missing list elements in the output.
Besides correcting the bug a recode of all sorting functions result in better performance and a enlargement of their scope. With the new functions, list of vectors of any dimension may be sorted, even with idx given, with the native comparison operators. The scope of indexed sorting is also extended.

The file test_arrays has been extended to check the new funcionality.

New functions:

is_homogeneous - checks if a list has elements of the same type (although not distinguing booleans from numbers) up to a given depth
_sort_vectors - internal function to sort homgeneous lists of vectors using native comparison operators; extends the scope of the previous _sort_vectors# functions with better performance
_lexical_sort - internal function to sort non-homogeneous lists; uses compare_vals
_indexed_sort - internal function to perform indexed sorting of non-homogeneous lists; uses compar_vals

Changed/reviewed functions:
_valid_idx - doesn't requires the input of imin and imax args
sort - explores the internal functions to get better performance and an enlarged scope
sortidx - explores the internal functions to get better performance and an enlarged scope
_sort_general - just for sortings of non-homogeneous lists using compare_vals
_array_dim_recurse - changed for bit better performance

Functions eliminated:
 _sort_vectors1
 _sort_vectors2
 _sort_vectors3
 _sort_vectors4
2020-08-30 12:12:36 +01:00
RonaldoCMP
14b0f264ac
Merge pull request #2 from revarbat/master
My repository update
2020-08-30 11:51:21 +01:00
Revar Desmera
3cba94efdc
Merge pull request #252 from RonaldoCMP/master
Correction of C_times arg validation
2020-08-29 21:42:36 -07:00
Revar Desmera
6a96f9331d
Merge pull request #251 from adrianVmariano/master
added os_mask to rounding and tweaked error messages in transpose
2020-08-29 21:41:00 -07:00
Adrian Mariano
2eb0ce0348 added os_mask to rounding and tweaked error messages in transpose 2020-08-28 23:16:11 -04:00
Revar Desmera
9a9f169f8f
Merge pull request #250 from revarbat/revarbat_dev
Fixed broken line-plane intersections.  Attachment enhanced vnf_polyhedron()
2020-08-28 19:22:18 -07:00
Garth Minette
5d2c45bba0 Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev 2020-08-28 19:19:04 -07:00
Garth Minette
e1b0985afc Fixed broken line-plane intersections. Attachment enhanced vnf_polyhedron(). 2020-08-28 19:07:10 -07:00
Garth Minette
7051f8ef19 Fixed cheatsheet index link. 2020-08-28 00:06:28 -07:00
Revar Desmera
1d6d63748d
Merge pull request #249 from adrianVmariano/master
some child handling
2020-08-27 23:50:45 -07:00
Garth Minette
e344de4aa4 Added cheat-sheet generation script. 2020-08-27 22:29:11 -07:00
Adrian Mariano
411c1f866e fixed missing ; bug in test_transforms.scad 2020-08-27 19:48:13 -04:00
Adrian Mariano
c1782f1113 added no_children checks, and attachable to vnf_polyhedron 2020-08-27 19:25:41 -04:00
Revar Desmera
f14b64cdbd
Merge pull request #248 from adrianVmariano/master
small tweak to hide two functions
2020-08-27 14:21:06 -07:00
Adrian Mariano
a8522854e4 small tweak to hide two functions 2020-08-27 17:07:12 -04:00
RonaldoCMP
ab8a04fe82 Merge branch 'master' of https://github.com/RonaldoCMP/BOSL2 2020-08-27 11:51:10 +01:00
RonaldoCMP
75a7dabfd2
Merge pull request #1 from revarbat/master
Updating my repository
2020-08-27 11:50:20 +01:00
Revar Desmera
6eab7101e0
Merge pull request #247 from revarbat/revarbat_dev
Implement Issue #2.  Added diameter alternates for most radius options.
2020-08-26 20:42:00 -07:00
Garth Minette
bb046c34dc Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev 2020-08-26 20:39:59 -07:00
Garth Minette
dba5aab918 Implement Issue #2. Added diameter alternates for most radius options. 2020-08-26 20:39:45 -07:00
Revar Desmera
c71342c0eb
Merge pull request #246 from revarbat/revarbat_dev
Added is_zero(), is_positive(), is_negative, is_nonpositive(), is_nonnegative().
2020-08-26 18:06:59 -07:00
Garth Minette
1d318ebc38 Merge branch 'master' of github.com:revarbat/BOSL2 into revarbat_dev 2020-08-26 18:02:31 -07:00
Garth Minette
b679ea52dc Add is_zero(), is_positive(), is_negative(), is_nonpositive(), is_nonnegative(). 2020-08-26 18:02:16 -07:00
Revar Desmera
9e32d28932
Merge pull request #245 from revarbat/revarbat_dev
Fix for #243.  Added better docs and asserts to rot()
2020-08-26 16:02:06 -07:00