/// <summary> /// Implements the operator +. /// </summary> /// <param name="firstMatrix">The first <see cref="Matrix2x2" />.</param> /// <param name="secondMatrix">The second <see cref="Matrix2x2" />.</param> /// <returns> /// The result of the operator. /// </returns> public static Matrix2x2 operator +(Matrix2x2 firstMatrix, Matrix2x2 secondMatrix) { return(MatrixUtils.Add(firstMatrix, secondMatrix)); }
/// <summary> /// Implements the operator +. /// </summary> /// <param name="firstMatrix">The first <see cref="Matrix3x3" />.</param> /// <param name="secondMatrix">The second <see cref="Matrix3x3" />.</param> /// <returns> /// The result of the operator. /// </returns> public static Matrix3x3 operator +(Matrix3x3 firstMatrix, Matrix3x3 secondMatrix) { return(MatrixUtils.Add(firstMatrix, secondMatrix)); }
/// <summary> /// Implements the operator +. /// </summary> /// <param name="firstMatrix">The first <see cref="Matrix1x1" />.</param> /// <param name="secondMatrix">The second <see cref="Matrix1x1" />.</param> /// <returns> /// The result of the operator. /// </returns> public static Matrix1x1 operator +(Matrix1x1 firstMatrix, Matrix1x1 secondMatrix) { return(MatrixUtils.Add(firstMatrix, secondMatrix)); }