ADMB Documentation
-a65f1c97
Main Page
Function Reference
Classes
Source Code
Related Pages
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
linad99
d3arr5.cpp
Go to the documentation of this file.
1
/*
2
* $Id$
3
*
4
* Author: David Fournier
5
* Copyright (c) 2008-2012 Regents of the University of California
6
*/
11
#include "
fvar.hpp
"
12
17
d3_array
cube
(
const
d3_array
& m)
18
{
19
d3_array
tmp;
20
tmp.
allocate
(m);
21
for
(
int
i=tmp.
slicemin
();i<=tmp.
slicemax
();i++)
22
{
23
tmp(i)=
cube
(m(i));
24
}
25
return
tmp;
26
}
d3_array::allocate
void allocate(const ad_integer &sl, const ad_integer &sh, const index_type &nrl, const index_type &nrh, const index_type &ncl, const index_type &nch)
Allocate array of matrices with dimensions [sl to sh] x [nrl to nrh] x [ncl to nch].
Definition:
indextyp.cpp:327
cube
d3_array cube(const d3_array &m)
Description not yet available.
Definition:
d3arr5.cpp:17
d3_array::slicemax
int slicemax() const
Definition:
fvar.hpp:3830
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
d3_array::slicemin
int slicemin() const
Definition:
fvar.hpp:3826
d3_array
Description not yet available.
Definition:
fvar.hpp:3727
Generated on Wed Sep 7 2022 00:01:26 for ADMB Documentation by
1.8.5