Revision 1942 trunk/src/linad99/dvect20.cpp

dvect20.cpp (revision 1942)
14 14
 * Divide elements of a vector by a constant  
15 15
 * \param x constant to divide vector by.
16 16
 */
17
dvector& dvector::operator /= ( CGNU_DOUBLE x)
17
dvector& dvector::operator/=(const double x)
18 18
{
19 19
  for (int i=indexmin(); i<=indexmax(); i++)
20 20
  {
......
27 27
 * Multiply elements of a vector by a constant.
28 28
 * \param x constant for multiplication.
29 29
 */
30
dvector& dvector::operator *= ( CGNU_DOUBLE x)
30
dvector& dvector::operator*=(const double x)
31 31
{
32 32
  for (int i=indexmin(); i<=indexmax(); i++)
33 33
  {

Also available in: Unified diff