Skip to content

Conversation

@9prady9
Copy link
Member

@9prady9 9prady9 commented Jul 11, 2015

This PR will include API related to the following headers:

  • util
  • arith
  • data
  • signal
  • blas
  • vision
  • lapack
  • image
  • defines

9prady9 added 14 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.
Also, cleaned up enum and corresponding conversion traits.
@9prady9 9prady9 added this to the 3.0 milestone Jul 11, 2015
@9prady9
Copy link
Member Author

9prady9 commented Jul 11, 2015

@pavanky Merge this PR after merging #15 PR. I branched of Arith to work on these changes.

pavanky added a commit that referenced this pull request Jul 15, 2015
@pavanky pavanky merged commit c5c9ba7 into arrayfire:master Jul 15, 2015
@9prady9 9prady9 deleted the other_headers 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.

2 participants