private static SquareMatrix <T> Add <T>(SymmetricMatrix <T> otherMatrix, SquareMatrix <T> matrix, int matrixOrder) => Add <T>(matrix, otherMatrix, matrixOrder);
private static SquareMatrix <T> Add <T>(DiagonalMatrix <T> otherMatrix, SquareMatrix <T> matrix, int matrixOrder) => Add <T>(matrix, otherMatrix, matrixOrder);
/// <summary> /// Adds the specified LHS. /// </summary> /// <param name="lhs">The LHS.</param> /// <param name="rhs">The RHS.</param> /// <returns></returns> private SquareMatrix <T> Add(SquareMatrix <T> lhs, SymmetricalMatrix <T> rhs) => Add(rhs, lhs);
/// <summary> /// Adds the specified LHS. /// </summary> /// <param name="lhs">The LHS.</param> /// <param name="rhs">The RHS.</param> /// <returns></returns> public SquareMatrix <T> Add(SquareMatrix <T> lhs, SquareMatrix <T> rhs) => Add((dynamic)lhs, (dynamic)rhs);
/// <summary> /// Adds the specified LHS. /// </summary> /// <param name="lhs">The LHS.</param> /// <param name="rhs">The RHS.</param> /// <returns></returns> private SquareMatrix <T> Add(DiagonalMatrix <T> lhs, SquareMatrix <T> rhs) => Add(rhs, lhs);
public Calculater(SquareMatrix <T> other) { temp = other; }