public void L1Test()
        {
            const double lambda = 1.0;
            var          reg    = new L1();
            var          mat    = new Matrix(10, 10);

            mat.InRandomize();

            Assert.IsTrue(Math.Abs(mat.AbsoluteNorm() * lambda - reg.CalculateNorm(mat)) < 0.1, reg.Type().ToString() + " Regularization.");
        }