GiNaC/ginac basic.cpp basic.h indexed.cpp input_parser.yy matrix.cpp matrix.h

Christian Bauer cbauer at doraemon.physik.uni-mainz.de
Fri Mar 23 15:49:54 CET 2001


Update of /home/cvs/GiNaC/ginac

Modified Files:
	basic.cpp basic.h indexed.cpp input_parser.yy matrix.cpp 
	matrix.h 
Log Message:
- simplify_indexed() simplifies c*(M).i.j -> (M').i.j (c: numeric, M: matrix)
  with M'=c*M
- new member function matrix::mul(const numeric &other) to multiply matrix
  with scalar
- lst_to_matrix() takes a "lst &" instead of an "ex &"
- added constructor of matrix from flat list
- added function diag_matrix() to construct matrix from list of diagonal
  elements




More information about the GiNaC-cvs mailing list