Add two compatible Physical objects.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public static Physical operator +(
	Physical x,
	Physical y
)
Visual Basic (Declaration)
Public Shared Operator + ( _
	x As Physical, _
	y As Physical _
) As Physical
Visual C++
public:
static Physical operator +(
	Physical x, 
	Physical y
)

Parameters

x
Type: Imsl.Math..::.Physical
A Physical object which is to be added.
y
Type: Imsl.Math..::.Physical
A Physical object which is to be added.

Return Value

A Physical object which is the sum of x + y.

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown if x and y are not compatible

See Also