exp,Expression-method | R Documentation |
The elementwise natural exponential.
## S4 method for signature 'Expression'
exp(x)
x |
An Expression. |
An Expression representing the natural exponential of the input.
x <- Variable(5)
obj <- Minimize(sum(exp(x)))
prob <- Problem(obj, list(sum(x) == 1))
result <- solve(prob)
result$getValue(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.