Set Operations Plugin

Set Operations Plugin - Messages

#1 Posted: a year ago
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 77 time(s).
Set Operations Plugin.sm (149 KiB) downloaded 63 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 a year ago, Alvaro Diaz Falconi a year ago, sergio a year ago, Oscar Campo a year ago, overlord a year ago, Вячеслав Мезенцев a year ago
#2 Posted: a year ago
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 a year ago, sergio a year ago, Alvaro Diaz Falconi a year ago
#3 Posted: a year ago
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 65 time(s).

basic_die.png

Best regards
Alvaro.
2 users liked this post
Davide Carpi a year ago, ioan92 a year ago
#4 Posted: a year ago
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
#5 Posted: a year ago
overlord

overlord

553 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 a year ago
#6 Posted: a year ago
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: a year ago
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 62 time(s).

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

Best regards.
Alvaro.
2 users liked this post
Davide Carpi a year ago, sergio a year ago
#8 Posted: a year ago
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 63 time(s).
Combinatorial utilities - Applications.pdf (126 KiB) downloaded 60 time(s).

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

factors.png

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

Best regards.
Alvaro.
2 users liked this post
sergio a year ago, Davide Carpi a year ago
#9 Posted: a year ago
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 10 months ago, sergio a year ago
#10 Posted: 10 months ago
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 10 months ago, Alvaro Diaz Falconi 10 months ago
#11 Posted: 10 months ago
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 67 time(s).

Best regards.
Alvaro.
2 users liked this post
sergio 10 months ago, Davide Carpi 10 months ago
#12 Posted: 10 months ago
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 months ago
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