Пример #1
0
        public float GetDeterminant()
        {
            if (Rows != Columns)
            {
                throw new NoDeterminantException();
            }

            var evaluator = new DeterminantEvaluator <MatrixF, float>(new MatrixF(this));

            return(evaluator.Evaluate());
        }
Пример #2
0
        public double GetDeterminant()
        {
            if (Rows != Columns)
            {
                throw new NoDeterminantException();
            }

            var evaluator = new DeterminantEvaluator <MatrixD, double>(new MatrixD(this));

            return(evaluator.Evaluate());
        }
Пример #3
0
        public float GetDeterminant()
        {
            var evaluator = new DeterminantEvaluator <Matrix2F, float>(new Matrix2F(this));

            return(evaluator.Evaluate());
        }
Пример #4
0
        public double GetDeterminant()
        {
            var evaluator = new DeterminantEvaluator <Matrix2D, double>(new Matrix2D(this));

            return(evaluator.Evaluate());
        }