Welcome Guest! To enable all features please Login. New Registrations are disabled.

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,652
Man
Italy
Location: Italy

Was thanked: 1339 time(s) in 878 post(s)
Set Operations Plugin

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


Beta

SeOperations_02.png



documentation:

Set Operations Plugin.sm (98kb) downloaded 4 time(s).
Set Operations Plugin.pdf (495kb) downloaded 12 time(s).

Edited by user 03 May 2024 22:58:59(UTC)  | Reason: plugin 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)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

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,652
Man
Italy
Location: Italy

Was thanked: 1339 time(s) in 878 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,359
Uruguay

Was thanked: 818 time(s) in 518 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 3 time(s).

basic_die.png

Best regards
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 10/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,652
Man
Italy
Location: Italy

Was thanked: 1339 time(s) in 878 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
Users browsing this topic
Guest (2)
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.