Ejemplo n.º 1
0
        public static Vector <T> operator /(Vector <T> value1, Matrix <T> value2)
        {
            FullVector <T> returnValue = null;
            var            solver      = SolversResolver.GetMatrixSolver <T>();

            solver.Division(value1, value2, ref returnValue);
            return(returnValue);
        }
Ejemplo n.º 2
0
        public static Matrix <T> operator *(Matrix <T> value1, T value2)
        {
            Matrix <T> returnValue = null;
            var        solver      = SolversResolver.GetMatrixSolver <T>();

            solver.Multiply(value1, value2, ref returnValue);
            return(returnValue);
        }
Ejemplo n.º 3
0
        public static Matrix <T> operator -(Matrix <T> value)
        {
            Matrix <T> returnValue = null;
            var        solver      = SolversResolver.GetMatrixSolver <T>();

            solver.Negation(value, ref returnValue);
            return(returnValue);
        }
Ejemplo n.º 4
0
        public static Matrix <T> operator -(Matrix <T> value1, Matrix <T> value2)
        {
            Matrix <T> returnValue = null;
            var        solver      = SolversResolver.GetMatrixSolver <T>();

            solver.Substraction(value1, value2, ref returnValue);
            return(returnValue);
        }
Ejemplo n.º 5
0
        public static Vector <T> operator /(Vector <T> value1, T value2)
        {
            FullVector <T> returnValue = null;
            var            gSolver     = SolversResolver.GetGenericSolver <T>();
            T   value2Inverted         = gSolver.Inversion(value2);
            var solver = SolversResolver.GetMatrixSolver <T>();

            solver.Multiply(value1, value2Inverted, ref returnValue);
            return(returnValue);
        }
Ejemplo n.º 6
0
        public void Clear()
        {
            var solver = SolversResolver.GetMatrixSolver <T>();

            solver.ArraySolver.Set(m_Values);
        }