Absolute Value (abs)

The absolute value function abs is defined as y = |x|.

Problem Statement

Given n feature vectors x 1 = (x 11 , … , x 1p ), ... , x n = (x n1 , … , x np ) of dimension p, the problem is to compute the (n x p)-dimensional matrix Y = (y i j ) n x p such that:

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)