Set Operations Plugin

Set Operations Plugin - Mensajes

#1 Publicado: 10/4/2024 22:09:40
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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) descargado 1196 vez(es).
Set Operations Plugin.sm (149,79 KiB) descargado 1938 vez(es).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
A 6 usuarios les gustó este mensaje
ioan92 10/4/2024 23:16:00, Alvaro 6/5/2024 10:30:00, sergio 11/4/2024 3:08:00, Oscar Campo 11/4/2024 3:41:00, overlord 11/4/2024 4:01:00, Вячеслав Мезенцев 10/4/2024 23:43:00
#2 Publicado: 3/5/2024 2:23:58
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 3 usuarios les gustó este mensaje
Oscar Campo 3/5/2024 22:52:00, sergio 3/5/2024 21:44:00, Alvaro 9/5/2024 18:10:00
#3 Publicado: 9/5/2024 18:17:38
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 1895 vez(es).

basic_die.png

Best regards
Alvaro.
A 2 usuarios les gustó este mensaje
Davide Carpi 9/5/2024 21:23:00, ioan92 11/5/2024 0:32:00
#4 Publicado: 9/5/2024 21:22:39
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
Alvaro 12/5/2024 8:25:00
#5 Publicado: 11/5/2024 18:20:19
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

I can say your example file for set plugin works with mono.
A 1 usuarios les gustó este mensaje
Davide Carpi 12/5/2024 1:29:00
#6 Publicado: 12/5/2024 1:30:12
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 18/5/2024 0:29:42
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Small Utilities for doing some combinatorial analysis with the plugin.

COMB.sm (101,07 KiB) descargado 1883 vez(es).

COMB.pdf (314,91 KiB) descargado 1094 vez(es).

Best regards.
Alvaro.
A 2 usuarios les gustó este mensaje
Davide Carpi 20/5/2024 16:03:00, sergio 18/5/2024 1:49:00
#8 Publicado: 19/5/2024 13:21:49
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 1898 vez(es).
Combinatorial utilities - Applications.pdf (126,09 KiB) descargado 1107 vez(es).

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

factors.png

Prime factorization.sm (18,55 KiB) descargado 1874 vez(es).

Best regards.
Alvaro.
A 2 usuarios les gustó este mensaje
sergio 20/5/2024 0:02:00, Davide Carpi 20/5/2024 16:03:00
#9 Publicado: 5/6/2024 23:13:52
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
Alvaro 13/6/2024 10:24:00, sergio 6/6/2024 0:24:00
#10 Publicado: 12/6/2024 16:08:24
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
sergio 12/6/2024 20:10:00, Alvaro 13/6/2024 10:24:00
#11 Publicado: 13/6/2024 10:27:51
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 1851 vez(es).

Best regards.
Alvaro.
A 2 usuarios les gustó este mensaje
sergio 13/6/2024 16:30:00, Davide Carpi 15/6/2024 3:50:00
#12 Publicado: 16/6/2024 20:47:14
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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 Publicado: 15/8/2024 2:24:46
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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
  • Nuevos mensajes
  • Sin mensajes nuevos