Comments (5)
Julia defines Vector
and Matrix
, so I think the package should try to follow that:
Vector2
Vector3
Matrix2x2
Matrix3x4
As the package matures, I will be using it for OpenGL and create typealiases to match GLSL types:
typealias Vec3 Vector3{Float32}
I'm currently defining my own vector types right now: https://gist.github.com/jayschwa/5239689
In my opinion, the package doesn't need to define any typealiases itself. If the user wants one (as it will be in my case), they can define them on their own.
from oldimmutablearrays.jl.
I think I can be convinced that it is best to leave the aliases out and avoid abbreviation.
from oldimmutablearrays.jl.
While the current typealias for matrices is nice and simple, I think the usefulness of sub-typing AbstractMatrix
will make the extra code worth it. Perhaps much of the duplication can even by avoided through use of macros or meta-programming?
from oldimmutablearrays.jl.
I figured we'd eventually have to go down the metaprogramming path. Maybe sooner rather than later. I've opened #9.
from oldimmutablearrays.jl.
I've gone with Vector2, etc., and will go with Matrix2x2, etc., when we get to autogenerating matrices (soon).
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
- inv(Matrix4x4) not working HOT 4
- 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.