tolerance {matter} | R Documentation

## Get or Set Tolerance for an Object

### Description

This is a generic function for getting or setting 'tolerance' for an object which tests floating point equality.

### Usage

    tolerance(object, ...)

    tolerance(object, ...) <- value

### Arguments

`object` | An object with tolerance.
`...` | Additional arguments.
`value` | The value to set the tolerance.

### Author(s)

Kylie A. Bemis

### See Also

`sparse_mat`

### Examples

    x <- sparse_mat(diag(10), keys=rnorm(10))
    tolerance(x)
    tolerance(x) <- c(absolute=0.1)
    x[]

[Package matter version 1.18.0 Index]