Comments (2)
These questions will help me understand why the current system exists the way it does, and maybe how it could change:
What is gained from declaring operators as immutable?
Why do operators only have one space, instead of a domainspace and a rangespace?
from approxfun.jl.
The reason it exists the way it does just grew out of implementing ideas as needed, the design was not planned ahead. (I prefer to try ideas and refactor over spending too much time designing, since it's hard to know ahead of time which design works.)
I declare types immutable since it's safer. This allows reuse of operators without worrying about the spaces changing underneath you. (With mutable types, times operator can't guarantee the spaces remain compatible.)
Operators can override both range and domainspace. The reason Multipication/Derivative/etc. only have a domain space is that the range space is always implied by the operation.
Sent from my iPhone
On 16 Dec 2014, at 10:12 am, Richard Mikael Slevinsky [email protected] wrote:
These questions will help me understand why the current system exists the way it does, and maybe how it could change:
What is gained from declaring operators as immutable?
Why do operators only have one space, instead of a domainspace and a rangespace?
—
Reply to this email directly or view it on GitHub.
from approxfun.jl.
Related Issues (20)
- Compatibility with Symbolics.jl HOT 3
- Computing the Zernike polynomials coefficients? HOT 1
- Precompile fails on binder HOT 1
- Domain properties of functions not consistent HOT 2
- Document about solving Volterra equation (second kind) HOT 8
- Trouble with the Fourier representaion of a constant matrix with trailing zero element HOT 2
- Tag v1, write JOSS paper? HOT 1
- WARNING: both ApproxFunFourier and DomainSets export "Disk"; uses of it in module ApproxFun must be qualified HOT 1
- An issue with the built-in solver using ultraspherical spectral method
- Add the option to specify the number of coefficients HOT 2
- Newton for simple PDE gives NaN result HOT 1
- Cumsum fails when used on the output of sign()
- Rounding errors lead to empty domain error when using abs
- Changing operand order causes incorrect calculation of the infinity norm
- Creating a Fun of tanh returns the zero Fun HOT 2
- Division by Fun with root fails: `setdomain(::PiecewiseSpace,::ClosedInterval)` not implement
- L2 operator
- typos HOT 1
- Array concatenations produce unexpected results HOT 1
- Multivariate function roots HOT 12
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 approxfun.jl.