Create add and subtract function that behave differently from + and -

Registered by kwgoodman

Add two functions to la.func: add and subtract. Input is two larrys. Note that lar1 - lar2 returns NaN for the elements that are only in one of the two larrys. But add and subtract will set any missing data to zero (or to some other user specified value?) before doing the addition or subtraction.

We'll need to find the union of all the labels, then morph lar1 and lar2 to the union of the labels, replace NaN with zero if the NaN didn't already exist before the morph, subtract or add.

add and subtract could be convenience functions that call one underlying function that does the work. Input is two larrys and the method ('add', 'subtract').

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
milestone icon 0.2

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.