• Kirill Terekhov's avatar
    Some features for dense matrices · c84228af
    Kirill Terekhov authored
    Made all algorithms for matrices abstract from matrix implementation.
    Added few algorithms:
    Solve - find A*X=B with A and B matrices
    PseudoSolve - find X=A^+*B using singular value decomposition.
    Kronecker product
    operator / for B^{-1}*A
    operator *= for in-place multiplication
    Added ability to specify storage type for Matrix, allows for
    Matrix<Storage::real,Storage::real_array> or
    Matrix<Storage::var,Storage::var_array> to directly manipulate data
    stored in the mesh.
    Class SubMatrix with full matrix functionality to address and
    manipulate some submatrix in original matrix.
    Fully commented in doxygen inmost_dense.h.
    Silence solver initializer when database file provided as “”.
solver.cpp 9.33 KB