Set Operations Plugin

Set Operations Plugin - Messages

#1 Posted: 4/10/2024 10:09:40 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Set Operations Plugin

SMath Studio compatibility SMath Viewer compatibility mono compatibility Extension page Sources Examples




SetOperations Panel.png



documentation:

Set Operations Plugin.pdf (526 KiB) downloaded 82 time(s).
Set Operations Plugin.sm (149 KiB) downloaded 64 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
6 users liked this post
ioan92 4/10/2024 11:16:00 PM, Alvaro Diaz Falconi 5/6/2024 10:30:00 AM, sergio 4/11/2024 3:08:00 AM, Oscar Campo 4/11/2024 3:41:00 AM, overlord 4/11/2024 4:01:00 AM, Вячеслав Мезенцев 4/10/2024 11:43:00 PM
#2 Posted: 5/3/2024 2:23:58 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Plugin updated

  • new function set_Exists(2);
  • new function set_DoesNotExist(2);
  • new function set_Exists1(2);
  • new function set_ForAll(2);
  • set-builder now accepts a defined set as first argument;
  • minor enhacements;
  • refactoring;
  • documentation updated;


EDIT: released again to fix a typo in set_DoesNotContains(2); now it is set_DoesNotContain(2)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
3 users liked this post
Oscar Campo 5/3/2024 10:52:00 PM, sergio 5/3/2024 9:44:00 PM, Alvaro Diaz Falconi 5/9/2024 6:10:00 PM
#3 Posted: 5/9/2024 6:17:38 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Davide. Thanks. It is a genial plugin. This attempt remains for history. Would it be too much to ask to add functions like choose and permute? And an option to return the sets as row vectors or column vectors by default?

A small example on how to calculate probabilities with a dice thanks to the plugin.

basic_die.sm (13 KiB) downloaded 67 time(s).

basic_die.png

Best regards
Alvaro.
2 users liked this post
Davide Carpi 5/9/2024 9:23:00 PM, ioan92 5/11/2024 12:32:00 AM
#4 Posted: 5/9/2024 9:22:39 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

Hi Davide. Thanks. It is a genial plugin.



You're welcome, I'm very glad this project is useful to the community. It started out for fun, to play around with matrices and SVG features in the API, but it quickly developed into something more coherent and articulated.


Wrote

This attempt remains for history.



Totally forgot about this gem.


Wrote

Would it be too much to ask to add functions like choose and permute?



I think is feasible, set_PowerSet() already has a n choose k algorithm, it just need to be adapted.


Wrote

And an option to return the sets as row vectors or column vectors by default?



This is something already partially implemented, I need to finalize it.


Wrote

A small example on how to calculate probabilities with a dice thanks to the plugin.



Very nice.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Alvaro Diaz Falconi 5/12/2024 8:25:00 AM
#5 Posted: 5/11/2024 6:20:19 PM
overlord

overlord

554 likes in 1333 posts.

Group: Moderator

I can say your example file for set plugin works with mono.
1 users liked this post
Davide Carpi 5/12/2024 1:29:00 AM
#6 Posted: 5/12/2024 1:30:12 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I can say your example file for set plugin works with mono.



Thank you!
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#7 Posted: 5/18/2024 12:29:42 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Small Utilities for doing some combinatorial analysis with the plugin.

COMB.sm (101 KiB) downloaded 70 time(s).

COMB.pdf (314 KiB) downloaded 77 time(s).

Best regards.
Alvaro.
2 users liked this post
Davide Carpi 5/20/2024 4:03:00 PM, sergio 5/18/2024 1:49:00 AM
#8 Posted: 5/19/2024 1:21:49 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Thanks to this plugin it looks that SMath is ready to be used in a finite mathematics course.

Combinatorial utilities - Applications.sm (68 KiB) downloaded 65 time(s).
Combinatorial utilities - Applications.pdf (126 KiB) downloaded 68 time(s).

And meanwhile I wait for my Personal Quantum Computer...

factors.png

Prime factorization.sm (18 KiB) downloaded 71 time(s).

Best regards.
Alvaro.
2 users liked this post
sergio 5/20/2024 12:02:00 AM, Davide Carpi 5/20/2024 4:03:00 PM
#9 Posted: 6/5/2024 11:13:52 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Plugin updated

  • new function set_Unique(1);
  • new function set_Permute(1);
  • new functions set_Choose(1) and set_Choose(2);
  • new variable set_Settings_Orientation (*);
  • set_Universe is now a valid source in set-builders and quantifiers;
  • minor fixes;
  • refactoring;
  • documentation updated;


(*) default orientation is now horizontal; orientation can be changed within the document, does not affects other worksheets and program instances.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
Alvaro Diaz Falconi 6/13/2024 10:24:00 AM, sergio 6/6/2024 12:24:00 AM
#10 Posted: 6/12/2024 4:08:24 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Plugin updated

  • new function set_Sort(1);
  • new function set_Shuffle(1);
  • refactoring;
  • documentation updated;



If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
sergio 6/12/2024 8:10:00 PM, Alvaro Diaz Falconi 6/13/2024 10:24:00 AM
#11 Posted: 6/13/2024 10:27:51 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. Updated with the new set_Choice(2), set_Permute(1), set_Sort and set_Unique, but remains set_Permute(2) and Variations as SMath code.

COMB V2.sm (130 KiB) downloaded 72 time(s).

Best regards.
Alvaro.
2 users liked this post
sergio 6/13/2024 4:30:00 PM, Davide Carpi 6/15/2024 3:50:00 AM
#12 Posted: 6/16/2024 8:47:14 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Plugin updated

  • new function set_Permute(2);
  • refactoring;
  • documentation updated.



If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#13 Posted: 8/15/2024 2:24:46 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Plugin updated
Release candidate

  • added set_Shuffle(2) (Deterministic shuffle);
  • added set_W (Whole Numbers);
  • added set_P (Prime Numbers);
  • added set_J (Irrational Numbers);
  • minor changes (descriptions, error handling, toolbox glyphs);
  • refactoring;
  • documentation updated.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts