Statistics
| Revision:

root / branches / pthreads-737 / src / linad99 / d3arr6.cpp @ 765

History | View | Annotate | Download (483 Bytes)

1
/*
2
 * $Id: d3arr6.cpp 542 2012-07-10 21:04:06Z johnoel $
3
 *
4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
6
 */
7
/**
8
 * \file
9
 * Description not yet available.
10
 */
11
#include "fvar.hpp"
12

    
13
/**
14
 * Description not yet available.
15
 * \param
16
 */
17
d3_array pow(const d3_array& m,int e)
18
   {
19
     d3_array tmp;
20
     tmp.allocate(m);
21
     for (int i=tmp.slicemin();i<=tmp.slicemax();i++)
22
     {
23
       tmp(i)=pow(m(i),e);
24
     }
25
     return tmp;
26
   }