* Interface to GiNaC's non-commutative products of expressions. */
/*
- * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// utility functions
-/** Return the ncmul object handled by an ex. Deprecated: use ex_to<ncmul>().
- * This is unsafe: you need to check the type first. */
-inline const ncmul &ex_to_ncmul(const ex &e)
-{
- return static_cast <const ncmul &>(*e.bp);
-}
-
/** Specialization of is_exactly_a<ncmul>(obj) for ncmul objects. */
template<> inline bool is_exactly_a<ncmul>(const basic & obj)
{