Imzap: Complex rounding function taken from complexplus package to...

View source: R/utils.R

ImzapR Documentation

Complex rounding function taken from complexplus package to reduce the number of spant dependencies.

Description

Complex rounding function taken from complexplus package to reduce the number of spant dependencies.

Usage

Imzap(x, tol = 1e-06)

Arguments

x

a scalar or vector, real or complex.

tol

a tolerance, 10^-6 by default. Prevents possible numerical problems. Can be set to 0 if desired.


spant documentation built on Sept. 11, 2024, 9:13 p.m.