/*public static MATRIX2 operator /(MATRIX2 matrix1, Fraction frac) * { return MATRIX2.Multiply(matrix1, Fraction.Inverse(frac)); }*/ /// <summary> /// Internal Fucntions for the above operators /// </summary> private static MATRIX2 Negate(MATRIX2 matrix) { return(MATRIX2.Multiply(matrix, -1)); }
public static MATRIX2 operator /(MATRIX2 matrix1, double dbl) { return(MATRIX2.Multiply(matrix1, /*Fraction.Inverse(Fraction.ConvertToFraction(dbl))*/ 1.0d / dbl)); }
/*public static MATRIX2 operator *(Fraction frac, MATRIX2 matrix1) * { return MATRIX2.Multiply(matrix1, frac); }*/ public static MATRIX2 operator /(MATRIX2 matrix1, int iNo) { return(MATRIX2.Multiply(matrix1, /*Fraction.Inverse(new Fraction(iNo))*/ 1.0d / iNo)); }
public static MATRIX2 operator *(double dbl, MATRIX2 matrix1) { return(MATRIX2.Multiply(matrix1, dbl)); }
/*public static MATRIX2 operator *(MATRIX2 matrix1, Fraction frac) * { return MATRIX2.Multiply(matrix1, frac); }*/ public static MATRIX2 operator *(int iNo, MATRIX2 matrix1) { return(MATRIX2.Multiply(matrix1, iNo)); }
public static MATRIX2 operator *(MATRIX2 matrix1, MATRIX2 matrix2) { return(MATRIX2.Multiply(matrix1, matrix2)); }