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

(Last Changed on June 27, 2017 for git-revision 38b515dff09ed5bf05c2c1914a5cbc40559c8618.)

#include "fvar.hpp"

Go to the source code of this file.

Functions

ivector sgn (const dvar_vector &variables)
 Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California. More...
 

Function Documentation

ivector sgn ( const dvar_vector variables)

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

Returns vector of signs from variables. -1 for negative number and zero, 1 for positive.

Parameters
variablesdvar_vector

Definition at line 13 of file fvar_a58.cpp.