AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: rect

rect(x) is the normalized rectangular function. rect(x) = 1 if |x| < 1/2, and rect(x) = 0 otherwise.