/// <summary> /// Append the specified <paramref name="matrices"/> to the <paramref name="matrix"/> /// </summary> /// <param name="matrix">Matrix to append to</param> /// <param name="matrices">Matrices to append to the matrix</param> public static void Append(this IMatrix matrix, params IMatrix[] matrices) { for (int i = 0; i < matrices.Length; i++) { matrix.Append(matrices[i]); } }
/// <summary> /// Multiply the specified <paramref name="matrix"/> and <paramref name="matrices"/>. /// </summary> /// <returns>A new matrix with the product of multiplying each of the specified matrix and matrices</returns> /// <param name="matrix">Matrix to multiply with</param> /// <param name="matrices">Matrices to append</param> public static IMatrix Multiply(IMatrix matrix, params IMatrix[] matrices) { matrix = matrix.Clone(); for (int i = 0; i < matrices.Length; i++) { matrix.Append(matrices[i]); } return(matrix); }
public void MultiplyTransform(IMatrix matrix) { transform.Append(matrix); }
/// <summary> /// Multiply the specified <paramref name="matrix"/> and <paramref name="matrices"/>. /// </summary> /// <returns>A new matrix with the product of multiplying each of the specified matrix and matrices</returns> /// <param name="matrix">Matrix to multiply with</param> /// <param name="matrices">Matrices to append</param> public static IMatrix Multiply (IMatrix matrix, params IMatrix[] matrices) { matrix = matrix.Clone (); for (int i = 0; i < matrices.Length; i++) matrix.Append (matrices [i]); return matrix; }