Ideas for further plugins

Ideas for further plugins - Ideas and resources about possible plugin improvements - Messages

#41 Posted: 11/29/2020 3:50:04 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Wrote

It is scalable and vectorial, you can easily add new items or remove existing without print quality loss.
You can also create it with Inkscape, Adobe Illustrator, etc. But please explain, why shouldn't we also do this inside SMath?
We are just dreaming here (only dreaming at this moment) to create or manipulate this kind of things in SMath Studio.


This is more complicated than a simple shape plugin. If the shapes need to be connected or combined into diagrams, then this is already more difficult. You should know that in ms office not svg pictures are used, but special classes, since you can't have interactive schemes based on pictures alone. It will look like a small cad system. I mentioned this earlier here. The OpenS-CAD source code is more suitable for your requirements.
But as you probably know, you need to find human resources to do this job. Unfortunately, it is not yet clear how to do this. Most of the users are happy with the current functionality.
This topic is used only for collect ideas, not for discussing them. I created a separate one where you can continue, but there is a bug in the forum engine that prevents me from moving the discussion there.
Russia ☭ forever, Viacheslav N. Mezentsev
#42 Posted: 11/29/2020 5:11:07 AM
overlord

overlord

547 likes in 1330 posts.

Group: Moderator

Shapes don't need to be connected, they are not in this example too.
Only need is them to be simple resize function.
Some polygons, triangle, square, circle, lines and arrows should be enough.
This is just an idea by the way.

Regards
#43 Posted: 11/29/2020 4:29:33 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Some polygons, triangle, square, circle, lines and arrows should be enough.


1. Polygons we have all sorts published [Area, Perimeter, Center of gravity]
2. Square, Triangle ... pretty easy
3. Circles ... we have all sorts in the Forum
4. Plenty of arrows.
Enjoy the clock ... Jean

Circle_rkfixed Clock.sm (26 KiB) downloaded 39 time(s).
Circle_rkfixed AnalogClock (1).sm (22 KiB) downloaded 41 time(s).
2D Plot Setup Glyphes-Quadrant-Arrow.sm (36 KiB) downloaded 42 time(s).
#44 Posted: 11/30/2020 10:08:02 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

This is more complicated than a simple shape plugin. If the shapes need to be connected or combined into diagrams, then this is already more difficult.


That's the answer.
Once you will have digested the under the hood of gyzmas shapes from Samples SVG Primer,
it is clear that all your creations are in vector. Then you need a core structure to
join all those vectors [of your creation] into again a resulting stand alone creation
That's what CAD systems do and there are plenty freeware ... LibreCAD, FreeCAD ...
Unfortunately, none come with infinite library of gyzmas shapes.
In 1990, I was consulting to revamp a bunker 2 Power Plant.
No choice: AutoCAD 11 ... why ?
Quebec-Hydro spent ~ 2 millions $ US for AutoDesk to design AutoCAD 11
wrt Process Control & Instrumentation, we had to design all our symbols +++
Who has need of that kind of re-invention in Smath ? ...
To me, SVG Plugin is a dead stone that won't grow wings until it turns into fertilizer.


#45 Posted: 12/1/2020 9:21:33 AM
overlord

overlord

547 likes in 1330 posts.

Group: Moderator

Yes uni, you are right. It is not easy task and require manpower but I think it is not impossible or very hard.
It is not a CAD system I am talking. You misunderstood the concept. There are already web sites which are SVG creators and editors.

https://editor.method.ac

There are also several vbnet codes I have found but not tested.

ShapeEditorTest_VS2010.zip (34 KiB) downloaded 31 time(s).

If I hadn't leave coding for 10+ years and have spare time nowadays, I assure you I could implement it. If html code can svg editing, .Net code sure can do.

And it was not me who made this is a discussion.
It was Jean who made it which one will piss further contest, as always he do.
I have just wrote my idea about a plugin to draw svg internally, he still try to debunk it.
He even tries to debunk bug reports which are truly there waiting for to be corrected. I just don't like his attitude about these issues. If he continue this I will reply to it.

Regards
1 users liked this post
fedeghi 12/1/2020 11:36:00 AM
#46 Posted: 12/1/2020 1:34:54 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Yes uni, you are right. It is not easy task and require manpower but I think it is not impossible or very hard.
It is not a CAD system I am talking. You misunderstood the concept. There are already web sites which are SVG creators and editors.


Slight consolation that two of us misunderstood the concept.
Consequently to the failure of my XP Home PC, I have lost the personal e-mail
of Steen Groode the creator of GeoGebra https://www.geogebra.org/m/WWYy5394
Plenty of advanced Classrooms

#47 Posted: 12/1/2020 2:11:28 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. Ok, now we have Document mode, in a first stage of implementation. Very good! So, time for ask for the next feature

Presentation mode!. SMath now can also store the zoom of the document, which can help in this feature. Presentation mode could mean different thinks, depending of the point of view of the developer. For example, this is what mean in Wolfram mathematica: https://reference.wolfram.com/language/howto/CreateASlideShow.html

In Microsoft Power Point there are also an option (in a button at right bottom) for use the slides in presentation mode but into a window, not in fullscreen.

Maybe for SMath Presentation mode could be a fixed window with controls for move between slides, from some given templates for the screen proportions, in this case, the paper size and the default zoom. I guess that maybe that don't require a big effort for recoding everything. I don't know also if it necessary a new extension (like smp and smpz) or not.

Best regards.
Alvaro.

#48 Posted: 12/4/2020 3:40:09 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

PETSc/TS: A Modern Scalable ODE/DAE Solver Library (arxiv.org:1806.01437)

PETSc Users Manual Revision 3.14 (03.12.2020).pdf (1 MiB) downloaded 69 time(s).

SOSlib - The SBML ODE SOLVER LIBRARY (arxiv.org:1503.01095)

github: https://github.com/raim/SBML_odeSolver

SBML ODE solver library. Extensions for inverse analysis.pdf (226 KiB) downloaded 35 time(s).
SBML ODE Solver Library. A native API for symbolic and fast numerical analysis of reaction networks.pdf (56 KiB) downloaded 34 time(s).

ODEN: A Framework to Solve Ordinary Differential Equations using Artificial Neural Networks (arxiv.org:2005.14090)

github: https://github.com/deniswerth/ODEN

Neural Ordinary Differential Equations (arxiv.org:1806.07366)
Solving Differential Equations Using Neural Network Solution Bundles (arxiv.org:2006.14372)
When are Neural ODE Solutions Proper ODEs? (arxiv.org:2007.15386)

Russia ☭ forever, Viacheslav N. Mezentsev
#49 Posted: 2/22/2021 12:24:31 PM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

freesteam

Open source steam property routines in C. Implements the IAPWS-IF97 steam tables from the International Association for the Properties of Water and Steam. Includes two-way property solvers and test suite. Can be used from C/C++, Fortran, Python, LabVIEW, Octave and ASCEND.

1.png

Links:

1. https://sourceforge.net/projects/freesteam/
2. https://github.com/kevinfu2/freesteam
Russia ☭ forever, Viacheslav N. Mezentsev
#50 Posted: 3/25/2021 11:38:33 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

libode: https://github.com/wordsworthgroup/libode

Easy to compile, fast ODE integrators as C++ classes

This repo contains a collection of C++ classes for solving systems of ordinary differential equations (ODEs) in autonomous form.
Russia ☭ forever, Viacheslav N. Mezentsev
#51 Posted: 3/25/2021 12:33:05 PM
JenniferCastillo

JenniferCastillo

0 likes in 4 posts.

Group: User

Wrote

It would be great to get these books and sources:

  • Practical Cross-Platform Charts and Graphics with ASP.NET Core MVC: Code Examples
  • Practical C# and WPF for Financial Markets: Code Examples
  • Practical Quantitative Finance with R: Code Examples
  • Practical .NET Chart Development and Applications: Code Examples
  • Practical WPF Charts and Graphics: Code Examples
  • Practical Numerical Methods with C#: Code Examples
  • Practical Silverlight Programming: Code Examples
  • Practical WPF Graphics Programming: Code Examples
  • Practical C# Charts and Graphics: Code Examples

I have only the last one.



Thanks for this I will definitely read this.
#52 Posted: 3/25/2021 10:34:33 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

libode: https://github.com/wordsworthgroup/libode

Easy to compile, fast ODE integrators as C++ classes

This repo contains a collection of C++ classes for solving systems of ordinary differential equations (ODEs) in autonomous form.



Hi Viacheslav. I don't understand what mean autonomous for the library authors: are the library only for system of equations without an explicit independent variable? For example: x''+3*x'+2*x=0 is lineal and autonomous but x''+3*t+x+2*x=0 it's lineal but depends on t in an explicit way. Also, x''+3*x'+2*x=sin(t) is lineal with constant coefficients, but is not autonomous.

Best regards.
Alvaro.
#53 Posted: 3/26/2021 4:20:39 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Not sure about this, but:
Quote

A non-autonomous system x'=f(t,x) can be reduced to an autonomous one by introducing a new unknown function x[n+1]=t.



Autonomous system
Russia ☭ forever, Viacheslav N. Mezentsev
#54 Posted: 3/26/2021 1:44:35 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

Not sure about this, but:

Quote

A non-autonomous system x'=f(t,x) can be reduced to an autonomous one by introducing a new unknown function x[n+1]=t.



Autonomous system



Hi. So, if you implement this library as plugin, and given that always you can get an autonomous system from a non-autonomous one, you can internally do the transformation taking the initials values as xo=stack(xo,t.ini) and the derivatives vector D(t,x)=stack(D(x[n+1],x),1), and finally suppressing the last column from the answer, like in the attached.

autonomous.sm (13 KiB) downloaded 38 time(s).

Best regards.
Alvaro.
#55 Posted: 3/27/2021 1:41:37 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Yes, I used a similar technique here.

I am collecting source code for interesting solver examples. Sooner or later, I hope there will be a possibility to add them. These examples can be converted to C# code. Then they will be available everywhere (Windows, Linux, ...).
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
sergio 3/27/2021 6:18:00 AM
#56 Posted: 3/29/2021 10:51:57 PM
xSaSB

xSaSB

1 likes in 1 posts.

Group: User

Wrote

Yes, I used a similar technique here.

I am collecting source code for interesting solver examples. Sooner or later, I hope there will be a possibility to add them. These examples can be converted to C# code. Then they will be available everywhere (Windows, Linux, ...).



https://github.com/wordsworthgroup/libode/commit/a8772e1fc3236acd25f18eef02049ca8d9594250
1 users liked this post
Вячеслав Мезенцев 3/30/2021 12:57:00 AM
#57 Posted: 11/20/2021 5:18:41 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

libdspl-2.0 free digital signal processing algorithm library

https://github.com/Dsplib/libdspl-2.0

libdspl-2.0 — opensource cross-platform digital signal processing algorithm library, written in C language. Distributed under LGPL v3 license. This allows to use this library in all applications with dynamic linking.

libdspl-2.0 includes follow algorithms sets:

  • Digital spectral analysis, discrete and fast Fourier transform algorithms.
  • Analog and digital IIR filters design and analysis.
  • Digital FIR filters design and analysis.
  • Windows function collection includes 15 different parametric and nonparametric window functions.
  • Digital Hilbert transform algorithms.
  • Mathematical sections includes trigonometric, hyperbolic, elliptic functions of real and complex variables.
  • Pseudorandom numbers generation algorithms.
  • Statistic functions.
  • Linear algebra BLAS and LAPACK packages are used under the hood.
  • Digital resampling algorithms.
Russia ☭ forever, Viacheslav N. Mezentsev
#58 Posted: 6/10/2022 9:16:13 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

John Burkardt: https://people.sc.fsu.edu/~jburkardt/

  • bash software;
  • bookmarks
  • c software;
  • c++ software;
  • classes;
  • data containing examples of various file formats;
  • datasets, sets of data associated with specific problems or subjects.
  • examples of the use of system or proprietary software;
  • fortran77 software;
  • fortran90 software;
  • fenics examples;
  • freefem examples;
  • fun;
  • keras examples;
  • matlab software;
  • octave software;
  • presentations;
  • publications;
  • python software;
  • r software;
  • workshop information;
Russia ☭ forever, Viacheslav N. Mezentsev
#59 Posted: 5/21/2023 5:49:20 AM
Mark R Harris

Mark R Harris

4 likes in 90 posts.

Group: User

Wrote

Wrote

Adding svg based interactively editable shapes as in ms office would be useful.



Great idea!
Best regards.
Alvaro.



Being able to import .svg drawings (better alternative than .png or .jpg) would be great. They are easy to edit in Inkscape etc.
#60 Posted: 5/21/2023 1:59:46 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote



Being able to import .svg drawings (better alternative than .png or .jpg) would be great. They are easy to edit in Inkscape etc.



The image region plugin can display svg images. You also can call inkscape from within an empty image region to create an image.
1. create an image region
2. in the context menu, set the filetype to svg
3. doubleclick the region, this opens the default program for the selected filetype.

This also works with png, e.g. with MS Paint, which opens much faster than inkscape.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Mark R Harris 5/22/2023 10:32:00 PM
  • New Posts New Posts
  • No New Posts No New Posts