Statistics
| Revision:

root / trunk / src / linad99 / f3arr11.cpp @ 1942

History | View | Annotate | Download (666 Bytes)

1
/*
2
 * $Id: f3arr11.cpp 1942 2014-04-28 22:22:45Z 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
dvar3_array mfexp(const dvar3_array& m)
18
{
19
  dvar3_array tmp;
20
  tmp.allocate(m);
21
  for (int i=tmp.slicemin();i<=tmp.slicemax();i++)
22
  {
23
    tmp(i) = mfexp(m(i));
24
  }
25
  return tmp;
26
}
27

    
28
/**
29
 * Description not yet available.
30
 * \param
31
 */
32
dvar3_array mfexp(const dvar3_array& m, const double d)
33
{
34
  dvar3_array tmp;
35
  tmp.allocate(m);
36
  for (int i=tmp.slicemin();i<=tmp.slicemax();i++)
37
  {
38
    tmp(i)=mfexp(m(i),d);
39
  }
40
  return tmp;
41
}