exp function

Natural Exponential

Natural Exponential

The elementwise natural exponential. methods

## S4 method for signature 'Expression' exp(x)

Arguments

  • x: An Expression .

Returns

An Expression representing the natural exponential of the input.

Examples

x <- Variable(5) obj <- Minimize(sum(exp(x))) prob <- Problem(obj, list(sum(x) == 1)) result <- solve(prob) result$getValue(x)
  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07