Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Davide Carpi  
#1 Posted : 11 April 2024 04:09:40(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,665
Man
Italy
Location: Italy

Was thanked: 1350 time(s) in 885 post(s)
Set Operations Plugin

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


Beta

SetOperationsToolbox.png



documentation:

Set Operations Plugin.sm (131kb) downloaded 4 time(s).
Set Operations Plugin.pdf (520kb) downloaded 11 time(s).

Edited by user 17 June 2024 02:46:37(UTC)  | Reason: documentation updated

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 6 users thanked Davide Carpi for this useful post.
on 11/04/2024(UTC),  on 11/04/2024(UTC),  on 11/04/2024(UTC),  on 11/04/2024(UTC),  on 11/04/2024(UTC),  on 06/05/2024(UTC)
Offline Davide Carpi  
#2 Posted : 03 May 2024 08:23:58(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,665
Man
Italy
Location: Italy

Was thanked: 1350 time(s) in 885 post(s)
Plugin updated Beta

  • 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)

Edited by user 03 May 2024 22:27:06(UTC)  | Reason: re-release

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 3 users thanked Davide Carpi for this useful post.
on 04/05/2024(UTC),  on 04/05/2024(UTC),  on 10/05/2024(UTC)
Offline Razonar  
#3 Posted : 10 May 2024 00:17:38(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,390
Uruguay

Was thanked: 845 time(s) in 534 post(s)
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 (14kb) downloaded 11 time(s).

basic_die.png

Best regards
Alvaro.
thanks 2 users thanked Razonar for this useful post.
on 10/05/2024(UTC),  on 11/05/2024(UTC)
Offline Davide Carpi  
#4 Posted : 10 May 2024 03:22:39(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,665
Man
Italy
Location: Italy

Was thanked: 1350 time(s) in 885 post(s)
Originally Posted by: Razonar Go to Quoted Post
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.


Originally Posted by: Razonar Go to Quoted Post
This attempt remains for history.


Totally forgot about this gem. Shok


Originally Posted by: Razonar Go to Quoted Post
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.


Originally Posted by: Razonar Go to Quoted Post
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.


Originally Posted by: Razonar Go to Quoted Post
A small example on how to calculate probabilities with a dice thanks to the plugin.


Very nice.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 12/05/2024(UTC)
Offline overlord  
#5 Posted : 12 May 2024 00:20:19(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,133
Turkey

Was thanked: 516 time(s) in 344 post(s)
I can say your example file for set plugin works with mono.
thanks 1 user thanked overlord for this useful post.
on 12/05/2024(UTC)
Offline Davide Carpi  
#6 Posted : 12 May 2024 07:30:12(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,665
Man
Italy
Location: Italy

Was thanked: 1350 time(s) in 885 post(s)
Originally Posted by: overlord Go to Quoted Post
I can say your example file for set plugin works with mono.


Thank you!
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Razonar  
#7 Posted : 18 May 2024 06:29:42(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,390
Uruguay

Was thanked: 845 time(s) in 534 post(s)
Small Utilities for doing some combinatorial analysis with the plugin.

COMB.sm (102kb) downloaded 13 time(s).

COMB.pdf (315kb) downloaded 17 time(s).

Best regards.
Alvaro.
thanks 2 users thanked Razonar for this useful post.
on 18/05/2024(UTC),  on 20/05/2024(UTC)
Offline Razonar  
#8 Posted : 19 May 2024 19:21:49(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,390
Uruguay

Was thanked: 845 time(s) in 534 post(s)
Thanks to this plugin it looks that SMath is ready to be used in a finite mathematics course.

Combinatorial utilities - Applications.sm (69kb) downloaded 7 time(s).
Combinatorial utilities - Applications.pdf (127kb) downloaded 5 time(s).

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

factors.png

Prime factorization.sm (19kb) downloaded 9 time(s).

Best regards.
Alvaro.
thanks 2 users thanked Razonar for this useful post.
on 20/05/2024(UTC),  on 20/05/2024(UTC)
Offline Davide Carpi  
#9 Posted : 06 June 2024 05:13:52(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,665
Man
Italy
Location: Italy

Was thanked: 1350 time(s) in 885 post(s)
Plugin updated Beta

  • 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.

Edited by user 06 June 2024 06:56:48(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 06/06/2024(UTC),  on 13/06/2024(UTC)
Offline Davide Carpi  
#10 Posted : 12 June 2024 22:08:24(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,665
Man
Italy
Location: Italy

Was thanked: 1350 time(s) in 885 post(s)
Plugin updated Beta

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



If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 2 users thanked Davide Carpi for this useful post.
on 13/06/2024(UTC),  on 13/06/2024(UTC)
Offline Razonar  
#11 Posted : 13 June 2024 16:27:51(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,390
Uruguay

Was thanked: 845 time(s) in 534 post(s)
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 (131kb) downloaded 10 time(s).

Best regards.
Alvaro.

Edited by user 13 June 2024 16:42:22(UTC)  | Reason: Not specified

thanks 2 users thanked Razonar for this useful post.
on 13/06/2024(UTC),  on 15/06/2024(UTC)
Offline Davide Carpi  
#12 Posted : 17 June 2024 02:47:14(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,665
Man
Italy
Location: Italy

Was thanked: 1350 time(s) in 885 post(s)
Plugin updated Beta

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



If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.