The elementwise weighted sum of the positive and negative portions of an expression, \(\alpha\max(x_i,0) - \beta\min(x_i,0)\).
This is equivalent to alpha*pos(x) + beta*neg(x).
scalene(x, alpha, beta)An Expression, vector, or matrix.
The weight on the positive portion of x.
The weight on othe negative portion of x.
An Expression representing the scalene function evaluated at the input.