Commit graph

190 commits

Author SHA1 Message Date
Adrian Mariano
76272d9d9a add region centroid capability and consolidate into one centroid
function for polygons, regions and VNFs.
Fix bug with anchors for linear_sweep (due to centerpoint issues)
Fix intersection anchors for vnfs when anchor vector intersects
in a path instead of a single point.
2021-10-20 22:44:55 -04:00
Adrian Mariano
2d205a2568 subarray -> columns 2021-10-15 22:39:10 -04:00
Garth Minette
dba4e49eb9 Removed bad See Also's for gaussian_random_points(). 2021-10-01 22:02:29 -07:00
Adrian Mariano
d66c1929a5 fix tests and bugs revealed by new tests 2021-10-01 23:57:07 -04:00
Adrian Mariano
a5ae4879be add full covariance gaussian random vectors
add cholesky fatorization (needed for above, also useful for solving
symmetric linear systems.)
2021-10-01 23:37:06 -04:00
Adrian Mariano
df5971ba0f rot_inverse got lost 2021-10-01 17:49:20 -04:00
Adrian Mariano
6e3efd68a4 big function re-org to eliminate debug.scad and hide affine.scad from docs 2021-10-01 00:30:28 -04:00
Adrian Mariano
261099e102 fix bug in spherical_random_points (non-uniform)
add region support to dashed_stroke
move a bunch of functions around for reorganization
2021-09-30 23:11:01 -04:00
Adrian Mariano
e6a2ee2084 Fix Examples: -> Example: when there's no render 2021-09-16 19:33:55 -04:00
Garth Minette
ee504540c3 Fix quant docs to point out non-integer quanta are allowed. 2021-07-07 23:28:07 -07:00
Garth Minette
0db5d6dd06 Remove int constraint from quant calls. 2021-07-06 22:37:51 -07:00
RonaldoCMP
b1b37eba5d Merge remote-tracking branch 'upstream/master' 2021-07-02 11:45:22 +01:00
RonaldoCMP
eaed14c9b6 correction of gcd 2021-07-02 11:42:00 +01:00
RonaldoCMP
662d2c66f0 Doc and formating tweaks, minor code bugs/changes 2021-07-02 11:30:13 +01:00
Garth Minette
c98a3dfe9a Add all_integer() and group_data(). 2021-06-30 17:05:44 -07:00
Garth Minette
5a355434ce Tweaks for docs usage lines. 2021-06-26 20:59:33 -07:00
Garth Minette
48c5139099 Fix tab indents. 2021-06-22 17:20:08 -07:00
RonaldoCMP
d18f558c1a Extend convolve and deltas; do minor doc corrections 2021-06-22 01:20:05 +01:00
Garth Minette
a748c77077 vmul() to v_mul(), etc. 2021-06-14 20:28:49 -07:00
Revar Desmera
eade6f6f4b
Merge pull request #547 from revarbat/revarbat_dev
Added hull.scad to std.scad.
2021-05-23 17:53:56 -07:00
Garth Minette
da2292c91a Added hull.scad to std.scad. 2021-05-23 17:51:14 -07:00
Adrian Mariano
16ec2ecbd6 doc addition 2021-05-21 20:21:50 -04:00
Adrian Mariano
19c521913d Added general root finder 2021-05-21 19:03:07 -04:00
Adrian Mariano
c4ace59ccd Add vantage point tree for searching vector lists. Add "concave"
method to vnf_vertex_array.
2021-05-11 20:51:09 -04:00
Revar Desmera
0718bcb9be
Merge pull request #496 from adrianVmariano/master
vnf_tri_array & bezier_patch_degenerate
2021-04-12 00:38:44 -07:00
Adrian Mariano
d4d5794ef2 fixed sum to handle larger input
added all_equal
added vnf_tri_array as public
added bezier_patch_degenerate as public
2021-04-11 22:29:25 -04:00
RonaldoCMP
f9e7baa515 Review of is_matrix 2021-04-11 12:33:40 +01:00
Garth Minette
2225257f09 Tweaks suggested by @adrianVmariano. 2021-04-08 17:27:43 -07:00
Garth Minette
8bd3ef8a74 Removed range(), rangex(). Added count(). 2021-04-07 20:57:45 -07:00
Garth Minette
b424bad5c2 Added lerpn(). Removed modrange(). any(), all(), and count_true() can now be given function literals. 2021-04-06 16:59:56 -07:00
Garth Minette
23372f2b2e Removed delibrate docs errors. 2021-03-30 16:44:47 -07:00
Garth Minette
257f1ec1f8 Setup Problem Matcher. Added some deliberate docs errors to test with. 2021-03-30 15:27:57 -07:00
Garth Minette
0b17bf5930 Brought slice() in line with select() indexing, without wrapping. Replaced a lot of select() and slice() calls with last(), list_head(), and list_tail() calls. 2021-03-30 00:46:59 -07:00
Garth Minette
d7cb503ffc Replace most trivial uses of slice() with faster list_head() and list_tail() 2021-03-25 00:23:36 -07:00
Adrian Mariano
35c2d7df42 doc tweaks for skin
bug fixes for is_matrix, is_vector, and new tests for same
2021-03-14 10:25:22 -04:00
Adrian Mariano
9f249d9cf3 fast sum for matrices too 2021-03-13 20:33:03 -05:00
Adrian Mariano
4dc2d4cfe5 Fix bug in skin, add some complex stuff to math and tests 2021-03-12 20:36:34 -05:00
Adrian Mariano
d8f1581149 inner product version of sum 2021-03-12 19:17:03 -05:00
Garth Minette
6cfbc538fc Re-work to use openscad_docsgen package. 2021-02-19 19:56:43 -08:00
Garth Minette
f9aa81e178 Improved docs gen script for Returns:, Custom:, Includes:, Topics:, and positional/named args spits. 2021-01-05 01:20:01 -08:00
Garth Minette
70a6b7fac8 Fixed some undef warnings in distributors. 2020-12-09 23:43:08 -08:00
Adrian Mariano
f598426344 Add cumprod function and regression test 2020-10-23 19:06:30 -04:00
Adrian Mariano
c80c7c558a Added rot_decode to decode rotation matrices and matrix_trace,
supporting function, and regression tests for both.
2020-10-20 16:26:11 -04:00
Garth Minette
38873d8ef9 Fixed a bunch of docs errors with Usage headers. 2020-10-03 20:29:35 -07:00
Garth Minette
16ee49e8b2 Fixed a bunch of undef math warnings with dev snapshot OpenSCAD builds. 2020-10-03 19:50:29 -07:00
Garth Minette
23bcc1b806 Removed sum_of_squares() as it's redundant with sqr(vector) 2020-09-28 16:56:18 -07:00
Garth Minette
37ae0cbba0 Simplify sqr(x) to x*x 2020-09-28 16:52:17 -07:00
Garth Minette
1435100e37 Implemented Issue #262 2020-09-25 00:31:42 -07:00
Garth Minette
b2121fbfb3 Added all_nonzero(). Added is_vector(all_nonzero=). 2020-09-07 23:10:39 -07:00
Garth Minette
a9b8f5618a Fix for Issue #263 2020-09-06 17:15:08 -07:00