\(\renewcommand\AA{\unicode{x212B}}\)

XorMD v1

Summary

Perform the Xor boolean operation on two MDHistoWorkspaces

See Also

AndMD, OrMD, NotMD

Properties

Name

Direction

Type

Default

Description

LHSWorkspace

Input

IMDWorkspace

Mandatory

An MDEventWorkspace, MDHistoWorkspace or WorkspaceSingleValue as the left-hand side of the operation.

RHSWorkspace

Input

IMDWorkspace

Mandatory

An MDEventWorkspace, MDHistoWorkspace or WorkspaceSingleValue as the right-hand side of the operation.

OutputWorkspace

Output

IMDWorkspace

Mandatory

Name of the output MDEventWorkspace or MDHistoWorkspace.

Description

Perform the Xor (exclusive-or) boolean operation on two MDHistoWorkspaces. The xor operation is performed element-by-element. A signal of 0.0 or a masked bin means “false” and any non-zero signal is “true”.

Categories: AlgorithmIndex | MDAlgorithms\MDArithmetic

Source

C++ header: XorMD.h

C++ source: XorMD.cpp