-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support of different data types and multiple dimensions #7
Comments
Some remarks:
But yeah, in general this looks good to me. I like that you were able to satisfy some functions directly in elixir without going to the C side with that extra information. |
Oh, I forgot to mention, that branch is a bit messy, cuz I used it for experiments on the concept. Sorry for that!
I also thought to use lists instead of tuples for strides and shape. |
About the ones and zeros - you're right. I somehow overlooked the fact that we don't know the sizes 🤦♂️ |
@michalmuskala, can we find someone experienced to make a code review for my C code for multi-typed arrays functionality? |
Sorry if not the right place to rise this but, I think it would be nice for |
@doctorcorral that's a nice idea. Does ATen have external libraries as dependencies? |
Curious, what's the status of this issue? I'd be interested in double's and/or multi-dimensional data. |
# This is the 1st commit message: porting numerix stats libraries # This is the commit message versilov#2: adding power function # This is the commit message versilov#3: fixing power # This is the commit message versilov#4: porting statistics # This is the commit message versilov#5: porting over statistics # This is the commit message versilov#6: fix apply # This is the commit message versilov#7: fix algos # This is the commit message versilov#8: fixing algos # This is the commit message versilov#9: test # This is the commit message versilov#10: updating stats test # This is the commit message versilov#11: switch type to matrex # This is the commit message versilov#12: fixing more tests # This is the commit message versilov#13: matrex # This is the commit message versilov#14: updates # This is the commit message versilov#15: removing experiment # This is the commit message versilov#16: try as row matrix by def # This is the commit message versilov#17: add vector pattern match # This is the commit message versilov#18: adding pseudo-vector type # This is the commit message versilov#19: fix order for column-wise vector # This is the commit message versilov#20: fix order for column-wise vector # This is the commit message versilov#21: fix order for column-wise vector # This is the commit message versilov#22: removing extras deps
@elcritch, this branch is fully functional, except displaying multi-dimensional matrices in console is not working properly. |
@michalmuskala can you have a look at new structure of the
Matrex.Array
object in this branch: https://github.com/versilov/matrex/blob/array/lib/matrex/array.exI've added types, arbitrary dimensions and strides. These are now stored in Elixir structure, and
data
field contents only pure data, without dimensions. Exactly like you suggested in the post on ElixirForum.I plan to merge this new structure into the Matrex structure.
Thanks in advance!
The text was updated successfully, but these errors were encountered: