Comments (4)
Update: I tried to see if switching the immutable array types to being subtypes of DenseArray instead being immediate subtypes of AbstractArray would help, but that resulted in a bazillion warnings concerning ambiguous definitions for the .+, etc. operators, as well as an error for not having an Array => Matrix[n]x[n] conversion.
I should have a definition for the conversion, anyway. I'll add it and see how far that gets us.
from oldimmutablearrays.jl.
Turns out I did attempt to define a convert from AbstractArray, but it was done incorrectly such that it was never found. That didn't fix the problem, though.
I have a question pending on the mailing list about just how much linear algebra stuff are my types supposed to define to get all the linear algebra in Base to "just work".
from oldimmutablearrays.jl.
Cool!
Thanks a lot for the effort!
I'd love to help, but I'm not familiar enough with the issue to quickly get
results.
2014-06-21 14:57 GMT+02:00 Tracy Wadleigh [email protected]:
Turns out I did attempt to define a convert from AbstractArray, but it was
done incorrectly such that it was never found. That didn't fix the problem,
though.I have a question pending on the mailing list about just how much linear
algebra stuff are my types supposed to define to get all the linear algebra
in Base to "just work".—
Reply to this email directly or view it on GitHub
#30 (comment)
.
from oldimmutablearrays.jl.
I've added conversions from AbstractArray and to Array, so that, in the short term at least, you can round-trip the types to do fancier linear algebra.
For the longer term, I'll open an issue for adding an unrolled (and probably unpivoted) Gaussian elimination on which to base an inversion appropriate to immutable types.
from oldimmutablearrays.jl.
Related Issues (20)
- Add WYSIWYG Matrix constructor HOT 3
- Arrays of rank 3 or higher. HOT 1
- randmatstat benchmark
- construct, convert from native Julia arrays HOT 1
- Ambiguous definitions with MathConst HOT 1
- Error when running PackageEvaluator HOT 1
- Ambiguous Definitions in Julia 0.3 HOT 4
- Add Gaussian elimination HOT 1
- unrolled det/inv
- getindex definition HOT 1
- Incorrect type conversion for ImmutableArrays HOT 1
- Matrix4x4 * AbstractVector{Vector4} HOT 4
- Array conversion error HOT 1
- Tag a new version? HOT 2
- Support exponentiation of immutable matrices HOT 3
- Benchmark script is missleading.
- Deprecation? HOT 5
- WARNING: Base.MathConst is deprecated, use Base.Irrational instead HOT 1
- Info about upcoming removal of packages in the General registry
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 oldimmutablearrays.jl.