Ejemplo n.º 1
0
        /// <summary>
        /// * operator, Multiply 1D Matrix by 2D Matrix
        /// </summary>
        /// <param name="a">The 1D Matrix</param>
        /// <param name="b">The 2D Matrix</param>
        /// <returns>The result 2D Matrix</returns>
        public static Matrix2D operator *(Matrix1D a, Matrix2D b)
        {
            Matrix2D a2D = (Matrix2D)a;

            return(Mult(a2D, b));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// * operator, Multiply 2D matrix by 1D matrix
        /// </summary>
        /// <param name="a">2D Matrix</param>
        /// <param name="b">1D Matrix</param>
        /// <returns>The result 2D Matrix</returns>
        public static Matrix2D operator *(Matrix2D a, Matrix1D b)
        {
            Matrix2D b2D = (Matrix2D)b;

            return(Mult(a, b2D));
        }