nlop.Phase

Contents

nlop.Phase#

bartorch.nlop.Phase()#

Elementwise x / |x|, BART’s zphsr.

Built as Abs chained into the divisor of Divide, with the two inputs tied: BART’s nlop_zphsr_create calls nlop_dup(x, 0, 0), which fails BART’s own a < b assertion.

Parameters:

shape (tuple of int) – Domain and codomain, C order.

Returns:

One input and one output of shape.

Return type:

NonlinearOperator