Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 674 Bytes

vector.scalaroperations.add.md

File metadata and controls

31 lines (18 loc) · 674 Bytes

Home > @josh-brown/vector > ScalarOperations > add

ScalarOperations.add() method

Returns the sum of two scalars first and second.

Signature:

abstract add(first: S, second: S): S;

Parameters

Parameter Type Description
first S
second S

Returns:

S

The sum

Remarks

Implementors should ensure that this operation is commutative and associative.