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

Notification

Icon
Error

Login


7 Pages«<4567>
Options
Go to last post Go to first unread
Offline Davide Carpi  
#101 Posted : 09 November 2017 02:04:30(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Thank you Alex, it's the same issue reported here, I'll try to fix it tomorrow Good
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Davide Carpi  
#102 Posted : 09 November 2017 14:45:09(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Fix committed for the latest SS BETA; I'm aware there are still some drawing issues with cases due to something in SMath Studio itself.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline mkraska  
#103 Posted : 29 October 2019 13:50:37(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
There is a problem with at() in build 7219:

It seems that the function at() isn't executed.
2019-10-29 11_39_22-SMath Studio - [Page1_].png
Materials E7-6.sm (11kb) downloaded 29 time(s).

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Davide Carpi  
#104 Posted : 29 October 2019 19:27:07(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Thank you Martin, I will look at it as soon as I can.


edit: fixed in later versions SS

Edited by user 16 May 2020 15:33:00(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
Offline mkraska  
#105 Posted : 03 November 2019 15:18:28(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
In the attached sheet, the conversion of solution results into definitions is demonstrated in two ways:
1. Usage of Assign(), a function made for this purpose in the Maxima plugin.
2. Usage of the substitution function at() from custom functions plugin, which by syntax should be good for the purpose.

It turns out that it makes a difference whether the Solve function is inside a line block or not. In the latter case, at() comes up with a strange error message.

Solve-3.png
Solve-3.sm (21kb) downloaded 31 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Davide Carpi  
#106 Posted : 16 May 2020 15:24:11(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
PLUGIN UPDATED SMath Studio 0.99.7251 Nightly Build and later Beta

- Unknowns() improved to don't match integration variable of int(4);

Unknowns.sm (19kb) downloaded 25 time(s).

Edited by user 16 May 2020 15:26:02(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
Offline Davide Carpi  
#107 Posted : 06 March 2021 18:29:00(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
PLUGIN UPDATED SMath Studio 0.99.7691 Nightly Build and later

- [SS-4651] at() assignment improved to avoid unexpected substitutions when variables are given as replacements;


EDIT

either this should works correctly now:

Originally Posted by: mkraska Go to Quoted Post
In the attached sheet, the conversion of solution results into definitions is demonstrated in two ways:
1. Usage of Assign(), a function made for this purpose in the Maxima plugin.
2. Usage of the substitution function at() from custom functions plugin, which by syntax should be good for the purpose.

It turns out that it makes a difference whether the Solve function is inside a line block or not. In the latter case, at() comes up with a strange error message.

Edited by user 12 March 2021 12:52:09(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/03/2021(UTC),  on 06/03/2021(UTC)
Offline Jason McCool  
#108 Posted : 24 March 2021 16:00:36(UTC)
Jason McCool


Rank: Advanced Member

Groups: Registered
Joined: 27/05/2016(UTC)
Posts: 75
Man
United States
Location: Little Rock, Arkansas

Was thanked: 9 time(s) in 7 post(s)
Davide, thanks for developing this plugin; I use several function in here regularly. One that I just tried using that could be very useful for me is the Ceil function. In engineering we often want to always round up, so this would fit that bill well. However, it seems to only round up with respect to the base unit instead of the unit actually used. So instead of rounding a result up to the next inch (or millimeter), it rounds to the next foot (or meter). Would it be possible to account for the unit in that evaluation somehow?
Thanks,
Jason
SMath Ceil Function.png
Jason McCool
Robbins Engineering
Little Rock, AR, USA
Offline mkraska  
#109 Posted : 24 March 2021 17:49:52(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
Originally Posted by: Jason McCool Go to Quoted Post
Davide, thanks for developing this plugin; I use several function in here regularly. One that I just tried using that could be very useful for me is the Ceil function. In engineering we often want to always round up, so this would fit that bill well. However, it seems to only round up with respect to the base unit instead of the unit actually used. So instead of rounding a result up to the next inch (or millimeter), it rounds to the next foot (or meter). Would it be possible to account for the unit in that evaluation somehow?
Thanks,
Jason

Such a function would definitely need the target unit as input. In order to use this for display automatically, the plugin would need to suppress back-simplification to SI, which might require "Optimization None" on user side. A comprehensible operator form might put a placeholder for the unit at the index position to the lower left

ceil2.png
ceil2.sm (4kb) downloaded 14 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jason McCool  
#110 Posted : 24 March 2021 18:12:26(UTC)
Jason McCool


Rank: Advanced Member

Groups: Registered
Joined: 27/05/2016(UTC)
Posts: 75
Man
United States
Location: Little Rock, Arkansas

Was thanked: 9 time(s) in 7 post(s)
Yes, that looks like it will do what I need. Good idea, Martin. Thanks!
And I like the idea of being able to define the output unit in the index position. That seems clear and streamlined as well.
SMath Ceil2 Function.png
Jason McCool
Robbins Engineering
Little Rock, AR, USA
Offline Davide Carpi  
#111 Posted : 25 March 2021 15:56:13(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: mkraska Go to Quoted Post
ceil2.png


useful, consistant, I like it... agreed. I'll add it in the next plugin update.

Edited by user 27 March 2021 18:51:55(UTC)  | Reason: typo

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 25/03/2021(UTC)
Offline Davide Carpi  
#112 Posted : 27 March 2021 18:42:00(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
PLUGIN UPDATED SMath Studio 0.99.7739 Nightly Build and later

  • added Ceil(2);
  • added Floor(2);


2021-03-27 16_29_53-Window.png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 4 users thanked Davide Carpi for this useful post.
on 27/03/2021(UTC),  on 27/03/2021(UTC),  on 28/03/2021(UTC),  on 29/03/2021(UTC)
Offline ElSid  
#113 Posted : 09 April 2021 16:42:14(UTC)
ElSid


Rank: Advanced Member

Groups: Registered
Joined: 05/03/2009(UTC)
Posts: 433
Man
United States
Location: USA

Was thanked: 17 time(s) in 15 post(s)
Davide,
Since you are using a specialized output with the brackets and unit subscript, I would like to suggest ceil2 using a superscript for the unit. floor2 keeps the current subscript. Visually, this will help us "SEE" what was used in context to the equation/function
Offline Davide Carpi  
#114 Posted : 14 April 2021 16:07:31(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: ElSid Go to Quoted Post
Davide,
Since you are using a specialized output with the brackets and unit subscript, I would like to suggest ceil2 using a superscript for the unit. floor2 keeps the current subscript. Visually, this will help us "SEE" what was used in context to the equation/function


I get the point but seems to me that might be confusing when exponentiations are involved Umnik


ceil2_a_.png

ceil2_b_.png

Also, the "base" could be a variable, or a simple number

2mm.png

2.png

Edited by user 15 April 2021 13:04:35(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
Offline MarB  
#115 Posted : 19 May 2021 10:54:46(UTC)
MarB


Rank: Advanced Member

Groups: Registered
Joined: 21/10/2016(UTC)
Posts: 84

Was thanked: 21 time(s) in 17 post(s)
Hi!

The var2str from custom functions plugin has problems with the new release:

Code:
appVersion(4)="0.99.7808.230"
var2str(1.7,2)="1,70"
var2str(1.7,"0.00")="0002E02"
var2str(1.7,"0,00")="0002C02"
Offline Davide Carpi  
#116 Posted : 19 May 2021 12:28:41(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Yes, this is related to changes in text encoding, I'll fix it ASAP.
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Davide Carpi  
#117 Posted : 22 May 2021 18:38:20(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
PLUGIN UPDATED SMath Studio 0.99.7808 and later

  • fixed encoding/decoding issues;
  • refactoring;
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 22/05/2021(UTC),  on 22/05/2021(UTC)
Offline PompelmoTell  
#118 Posted : 24 May 2021 17:40:10(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 318
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
Davide, I encountered this issue after the last update
SMathStudio_Desktop_ohKI5iNyZB.png
sergio
thanks 1 user thanked PompelmoTell for this useful post.
on 24/05/2021(UTC)
Offline Davide Carpi  
#119 Posted : 24 May 2021 18:28:36(UTC)
Davide Carpi


Rank: Advanced Member

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

Was thanked: 1323 time(s) in 873 post(s)
Confirmed. I'll fix it ASAP. Crazy


If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Jean Giraud  
#120 Posted : 24 May 2021 18:30:02(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
What about if you specify Bolean completely ?

Bolean.PNG
Users browsing this topic
Similar Topics
[Custom Functions plugin] cases SS6179 (Bugs & Problems)
by PompelmoTell 07/02/2017 19:14:23(UTC)
7 Pages«<4567>
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.