Set Operations Plugin

Set Operations Plugin - Messaggi

#1 Pubblicato: 10/04/2024 22:09:40
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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,71 KiB) scaricato 1205 volta(e).
Set Operations Plugin.sm (149,79 KiB) scaricato 1950 volta(e).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
6 utenti hanno apprezzato questo post
ioan92 10/04/2024 23:16:00, Alvaro 06/05/2024 10:30:00, sergio 11/04/2024 03:08:00, Oscar Campo 11/04/2024 03:41:00, overlord 11/04/2024 04:01:00, Вячеслав Мезенцев 10/04/2024 23:43:00
#2 Pubblicato: 03/05/2024 02:23:58
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 utenti hanno apprezzato questo post
Oscar Campo 03/05/2024 22:52:00, sergio 03/05/2024 21:44:00, Alvaro 09/05/2024 18:10:00
#3 Pubblicato: 09/05/2024 18:17:38
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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,34 KiB) scaricato 1902 volta(e).

basic_die.png

Best regards
Alvaro.
2 utenti hanno apprezzato questo post
Davide Carpi 09/05/2024 21:23:00, ioan92 11/05/2024 00:32:00
#4 Pubblicato: 09/05/2024 21:22:39
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 utenti hanno apprezzato questo post
Alvaro 12/05/2024 08:25:00
#5 Pubblicato: 11/05/2024 18:20:19
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

I can say your example file for set plugin works with mono.
1 utenti hanno apprezzato questo post
Davide Carpi 12/05/2024 01:29:00
#6 Pubblicato: 12/05/2024 01:30:12
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 18/05/2024 00:29:42
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Small Utilities for doing some combinatorial analysis with the plugin.

COMB.sm (101,07 KiB) scaricato 1891 volta(e).

COMB.pdf (314,91 KiB) scaricato 1100 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
Davide Carpi 20/05/2024 16:03:00, sergio 18/05/2024 01:49:00
#8 Pubblicato: 19/05/2024 13:21:49
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

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

Combinatorial utilities - Applications.sm (68,62 KiB) scaricato 1906 volta(e).
Combinatorial utilities - Applications.pdf (126,09 KiB) scaricato 1118 volta(e).

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

factors.png

Prime factorization.sm (18,55 KiB) scaricato 1881 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
sergio 20/05/2024 00:02:00, Davide Carpi 20/05/2024 16:03:00
#9 Pubblicato: 05/06/2024 23:13:52
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 utenti hanno apprezzato questo post
Alvaro 13/06/2024 10:24:00, sergio 06/06/2024 00:24:00
#10 Pubblicato: 12/06/2024 16:08:24
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 utenti hanno apprezzato questo post
sergio 12/06/2024 20:10:00, Alvaro 13/06/2024 10:24:00
#11 Pubblicato: 13/06/2024 10:27:51
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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,5 KiB) scaricato 1861 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
sergio 13/06/2024 16:30:00, Davide Carpi 15/06/2024 03:50:00
#12 Pubblicato: 16/06/2024 20:47:14
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 Pubblicato: 15/08/2024 02:24:46
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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
  • Nuovi post
  • Nessun nuovo post