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
imat3.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
#ifdef __TURBOC__
13
#pragma hdrstop
14
#endif
15
20
void
imatrix::initialize
(
void
)
21
{
22
for
(
int
i=
rowmin
();i<=
rowmax
();i++)
23
{
24
(*this)(i).
initialize
();
25
}
26
}
27
32
imatrix
trans
(
const
imatrix
& m1)
33
{
34
imatrix
tmp(m1.
colmin
(),m1.
colmax
(),m1.
rowmin
(),m1.
rowmax
());
35
36
for
(
int
i=m1.
rowmin
(); i<=m1.
rowmax
(); i++)
37
{
38
for
(
int
j=m1.
colmin
(); j<=m1.
colmax
(); j++)
39
{
40
tmp[j][i]=m1[i][j];
41
}
42
}
43
return
(tmp);
44
}
imatrix
Description not yet available.
Definition:
imatrix.h:69
trans
dmatrix trans(const dmatrix &m1)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
Definition:
dmat2.cpp:13
imatrix::rowmin
int rowmin() const
Definition:
imatrix.h:146
imatrix::initialize
void initialize(void)
Description not yet available.
Definition:
imat3.cpp:20
imatrix::colmin
int colmin(void) const
Definition:
imatrix.h:155
fvar.hpp
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
imatrix::colmax
int colmax(void) const
Definition:
imatrix.h:159
imatrix::rowmax
int rowmax() const
Definition:
imatrix.h:150
Generated on Wed Sep 7 2022 00:01:29 for ADMB Documentation by
1.8.5