Documentation moved.This entry is documented with its primary interface. Open the documentation → API/nerdamer APIFunctionnerdamer.rectsrc/index.ts:998nerdamer.rect(x: ExpressionInput): ExpressionRectangular pulse with unit width centered at zero. Returns 1 for |x| < 1/2, 1/2 at |x| = 1/2, and 0 for |x| > 1/2.ParametersNameTypeDescriptionxExpressionInput—ReturnsExpression