Comments (5)
This looks nice. My suggestion is that we add the example in the documentation. We can use numpy, scipy, and matplotlib in the docs. If we create an explanatory page about actuators in the prose documentation, then you can place it there. Whether you put it "tutorials", "how-to guides", or "explanations" depends on how you present the material. I don't really understand the difference in the three, but maybe you can make a judgement. Eventually we need to move all of the prose documentation in the physics.vector and physics.mechanics sections into one of these top level sections, so you can be the first to establish where these things go. I'm guessing this is a little long of an example to belong in the docstring. @tjstienstra thoughts?
from sympy.
This is indeed a really nice example, where you show that we can reproduce the results with a simulation. I agree that it would be best not to put it in the docstring, but in another location. Previously, I would have put examples in physics/mechanics/examples, but I think that "tutorials" is probably the place we should start moving our examples to.
from sympy.
Thanks for the feedback! How about creating two directories: sympy.doc.src.tutorials.mechanics
to add the Duffing spring simulation and move other examples for physics.mechanics
, and sympy.doc.src.tutorials.vector
to move examples for physics.vector
?
from sympy.
In the tutorials directory: https://github.com/sympy/sympy/tree/master/doc/src/tutorials we should probably follow the directory structure of the sympy subpackages. For example there is a sympy/vector
and sympy/physics/vector
, so for long term organization, we should have docs/src/tutorials/physics/mechanics
(I see that we didn't follow this with biomechanics
but we can correct that, especially since sympy 1.13 is not yet released.
from sympy.
If you go about moving any examples from the old location, then you will need to set up link redirects. We have a sphinx plugin that reasonably automates that.
from sympy.
Related Issues (20)
- Intersection of PermutationGroups HOT 1
- Simplification of equations with Singularity Functions HOT 1
- Request For Security Contact HOT 4
- `repr(Function | int)` returns results inconsistent with type name. HOT 3
- Bug with O(f) if f is a Function HOT 2
- Feature Request: Add Import/Export Functions for Boolean Expressions in Z3 and BDD Formats HOT 15
- Wrong translation of lerchphi into Mathematica HOT 3
- Add a factors function to get factors without multiplicity HOT 7
- collected_expr.coeff() always return 0 if some symbol was used as a Divisor? HOT 2
- Solution from dsolve_system violates all equations HOT 2
- Sympify broken for latest numpy numbers HOT 4
- Control test fails with numpy 2.0 HOT 15
- Investigation about the forward_jacobian Function HOT 27
- Pretty printer occasionally raises TypeError when displaying vectors from the mechanics module on Jupyter Notebook HOT 7
- ufuncify fails with NumPy 2.0 for specific symbol names HOT 1
- Add a function to convert algebraic numbers to RootOf HOT 1
- Sparse Matrix Multiplication Performance HOT 4
- function_range is not robust with trigonometric functions HOT 3
- Automatic simplification of expressions involving `AlgebraicNumber` HOT 2
- Incorrect result for definite integral related to gaussian integral HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sympy.