value: Extract the value (primal) part of a dual number

valueR Documentation

Extract the value (primal) part of a dual number

Description

Extract the value (primal) part of a dual number

Usage

value(d)

## S4 method for signature 'dualr'
value(d)

## S4 method for signature 'numeric'
value(d)

Arguments

d

A dual object.

Value

The value slot.

Examples

value(dual(3, 1))

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