Go to the source code of this file.
|
int | main (int, char const **) |
|
◆ main()
int main |
( |
int |
, |
|
|
char const ** |
|
|
) |
| |
Definition at line 4 of file l1_norm.cc.
10 if (
sopt::l1_norm(input, weights) != 1 * 5 + 2 * 6 + 3 * 7 + 4 * 8)
throw std::exception();
Eigen::Array< T, Eigen::Dynamic, Eigen::Dynamic > Image
A 2-dimensional list of elements of given type.
real_type< typename T0::Scalar >::type l1_norm(Eigen::ArrayBase< T0 > const &input, Eigen::ArrayBase< T1 > const &weights)
Computes weighted L1 norm.
References sopt::l1_norm().