Ticket #59 (closed: fixed)
Implement simple workspace operations (+,-,*,/, maybe ^)
Reported by: | Nick Draper | Owned by: | Dickon Champion |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 4 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
These should be implmented as operator overloads that simply call algorithms to do the job.
We need to define a chart of what operations between which workspaces are actually valid and enforce this.
Then it is possible that the use of STL iterators and function pointers may allow this to be done in a generic manner.
Change History
comment:2 Changed 13 years ago by Nick Draper
Workspace Type | 1D | 2D | SingleValue | n-tuple | Abstract |
1D | +,-,/,* | +,-,/,* | +,-,/,* | ||
2D | +,-,/,* | +,-,/,* | |||
SingleValue | |||||
n-tuple | |||||
Abstract |
With similar workspaces the array bounds must match, and for 2D the Y axes values must match.
With 1D and 2D workspaces it should be assumed that this applies the same value across the Y axis, and therefor only the X axis must match.
Single values will apply to every cell.
comment:10 Changed 13 years ago by Nick Draper
comment:11 Changed 13 years ago by Nick Draper
comment:12 Changed 13 years ago by Nick Draper
comment:13 Changed 13 years ago by Nick Draper
comment:14 Changed 13 years ago by Nick Draper
comment:15 Changed 13 years ago by Nick Draper
comment:16 Changed 13 years ago by Nick Draper
comment:17 Changed 13 years ago by Nick Draper
comment:18 Changed 13 years ago by Nick Draper
comment:19 Changed 13 years ago by Nick Draper
comment:20 Changed 13 years ago by Nick Draper
comment:21 Changed 13 years ago by Nick Draper
comment:22 Changed 13 years ago by Nick Draper
comment:23 Changed 13 years ago by Nick Draper
comment:24 Changed 13 years ago by Nick Draper
comment:25 Changed 13 years ago by Dickon Champion
comment:26 Changed 13 years ago by Dickon Champion
comment:27 Changed 13 years ago by Dickon Champion
comment:28 Changed 13 years ago by Dickon Champion
comment:29 Changed 13 years ago by Dickon Champion
comment:30 Changed 13 years ago by Dickon Champion
comment:31 Changed 13 years ago by Dickon Champion
comment:32 Changed 13 years ago by Dickon Champion
comment:33 Changed 13 years ago by Dickon Champion
comment:34 Changed 13 years ago by Dickon Champion
comment:35 Changed 13 years ago by Nick Draper
- Status changed from new to closed
- Resolution set to fixed
comment:36 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 907