dual-show: Display a dual number

dual-showR Documentation

Display a dual number

Description

Display a dual number

Usage

## S4 method for signature 'dualr'
show(object)

## S4 method for signature 'dual_vector'
show(object)

Arguments

object

A dual object.

Value

Invisible NULL; called for side effect of printing.

Examples

x <- dual(3, 1)
x

dv <- dual_vector(dual(1, 0), dual(2, 1))
dv


nabla documentation built on Feb. 11, 2026, 1:06 a.m.