add functions of serial_dense_solver