constant

fun <Param> constant(c: Double, n: Int): DualNum<Param>

Makes dual number \((c, 0, \ldots, 0)\) with size n representing a constant function \(c\).

Parameters

Param

\(x\)

c

\(c\)