ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
fvar_op7.cpp File Reference

(Last Changed on August 01, 2022 for git-revision c159956c7a1088d1ddf4d0b926b1fcb26294216a.)

#include "fvar.hpp"

Go to the source code of this file.

Functions

dvariablesquare (const prevariable &variable)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 
dvar_matrix square (const dvar_matrix &matrix)
 Return results of computing the square of variable matrix. More...
 

Function Documentation

dvariable& square ( const prevariable variable)

Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.

Return the computed square of variable, then set gradient_structure.

Parameters
variableprevariable

Definition at line 12 of file fvar_op7.cpp.

dvar_matrix square ( const dvar_matrix matrix)

Return results of computing the square of variable matrix.

Parameters
matrixvariable matrix

Definition at line 29 of file fvar_op7.cpp.