Abacus.DoublePrecision.Matrix44Tests.GetNextRandomMatrix44 C# (CSharp) Method

GetNextRandomMatrix44() static private method

Helper function for getting the next random Matrix44.
static private GetNextRandomMatrix44 ( ) : Matrix44
return Matrix44
        internal static Matrix44 GetNextRandomMatrix44 ()
        {
            Double a = GetNextRandomDouble();
            Double b = GetNextRandomDouble();
            Double c = GetNextRandomDouble();
            Double d = GetNextRandomDouble();

            Double e = GetNextRandomDouble();
            Double f = GetNextRandomDouble();
            Double g = GetNextRandomDouble();
            Double h = GetNextRandomDouble();

            Double i = GetNextRandomDouble();
            Double j = GetNextRandomDouble();
            Double k = GetNextRandomDouble();
            Double l = GetNextRandomDouble();

            Double m = GetNextRandomDouble();
            Double n = GetNextRandomDouble();
            Double o = GetNextRandomDouble();
            Double p = GetNextRandomDouble();

            return new Matrix44(
                a, b, c, d,
                e, f, g, h,
                i, j, k, l,
                m, n, o, p);
        }
Matrix44Tests