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.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.