dvector.cpp (revision 1942)
219 219
```  \param x A double constant.
```
220 220
```  \return Reference to a %dvector object.
```
221 221
``` */
```
222
``` dvector& dvector::operator = ( CGNU_DOUBLE x)
```
222
```dvector& dvector::operator=(const double x)
```
223 223
``` {
```
224 224
```   #ifdef DIAG
```
225 225
```     myheapcheck("Entering dvector =");
```
......
632 632
```  \param t1 %dvector reference, \f\$y\f\$.
```
633 633
```  \return A %dvector \f\$z_i = x*y_i\f\$.
```
634 634
```  */
```
635
```dvector operator*(CGNU_DOUBLE x, const dvector& t1)
```
635
```dvector operator*(const double x, const dvector& t1)
```
636 636
```  {
```
637 637
```     dvector tmp(t1.indexmin(),t1.indexmax());
```
638 638
```   #ifdef OPT_LIB
```
......
699 699
```\param m Number to be cubed
```
700 700
```\return \f\$m^3\f\$
```
701 701
```*/
```
702
```double cube( CGNU_DOUBLE m)
```
702
```double cube(const double m)
```
703 703
```{
```
704 704
```  return m*m*m;
```
705 705
```}
```
......
709 709
```\param m Number to be taken to the fourth power.
```
710 710
```\return \f\$m^4\f\$
```
711 711
```*/
```
712
```double fourth( CGNU_DOUBLE m)
```
712
```double fourth(const double m)
```
713 713
```{
```
714 714
```  double m2=m*m;
```
715 715
```  return m2*m2;
```

Also available in: Unified diff