is.zero: Define the is.zero method

View source: R/aaa_methods.R

is.zeroR Documentation

Define the is.zero method

Description

Define the is.zero method

Usage

is.zero(x, tol)

## Default S3 method:
is.zero(x, tol)

## S3 method for class 'matrix'
is.zero(x, tol)

## S3 method for class 'Matrix'
is.zero(x, tol)

Arguments

x

an R object

tol

numeric to be used as (absolute) tolerance. if missing (default) it will consider x==0.

Value

logical

Methods (by class)

  • is.zero(default): The is.zero.default definition

  • is.zero(matrix): The is.zero.matrix definition

  • is.zero(Matrix): The is.zero.Matrix definition


INLAtools documentation built on Nov. 20, 2025, 5:07 p.m.

Related to is.zero in INLAtools...