Skip to content

Conversation

@9prady9
Copy link
Member

@9prady9 9prady9 commented Jul 9, 2015

No description provided.

9prady9 added 6 commits July 8, 2015 19:29
* Each header in arrayfire has it's own module which reexported later
  for public exposed API
* structs `Array`, `Dim4` has their own source files
* `util` module has helper functions needed internally
* Modified `constant` to be generic function
Also, implemented `Copy` trait for `Aftype` and `Dim4` structs.
From now on, do the arith operations, users have to do the following
```
let a = randu(Dim4::new(&[4,4,1,1]));
let b = &a + 3.5;
let c = &a - &b;
```
We can't do just `a+b` because of move semantics limitation. This
may be improved later when `Copy` trait can be implemented on
Objects with `Drop` trait implemented.
@9prady9 9prady9 added this to the 3.0 milestone Jul 9, 2015
@9prady9
Copy link
Member Author

9prady9 commented Jul 9, 2015

@jramapuram Please check out the new stuff and let me know your feedback. Thank you!

@9prady9 9prady9 mentioned this pull request Jul 11, 2015
pavanky added a commit that referenced this pull request Jul 15, 2015
@pavanky pavanky merged commit b70d060 into arrayfire:master Jul 15, 2015
@jramapuram
Copy link
Member

Great work @9prady9 ! Give me a few days to work through this.

@9prady9 9prady9 deleted the arith branch July 16, 2015 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants