Jpp  18.2.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
examples/scripts/gradient.sh File Reference

Go to the source code of this file.

Functions

then usage $script[number of
tests] fi 
if (($#==1))
 
then set_variable
NUMBER_OF_TESTS else
set_variable NUMBER_OF_TESTS
fi function 
gauss ()
 

Variables

 script
 
typeset A DATA function generate
 

Function Documentation

then usage $script [number of tests] fi if ( ($#==1)  )
then set_variable NUMBER_OF_TESTS else set_variable NUMBER_OF_TESTS fi function gauss ( )

Definition at line 28 of file examples/scripts/gradient.sh.

29 {
30  let "PI = acos(-1.0)"
31  let "u = ($1 - $2) / $3"
32 
33  echo $(( $4 * exp(-0.5*u*u) / (sqrt(2.0*$PI) * $3) + $5 ))
34 }
double u[N+1]
Definition: JPolint.hh:865
then echo
Definition: JQAQC.sh:90
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable STRING $argv[2] set_array QUANTILES set_variable FORMULA *[0] exp(-0.5 *(x-[1])*(x-[1])/([2]*[2]))" set_variable MODULE `getModule -a $DETECTOR -L "$STRING 0"` source JAcousticsToolkit.sh typeset -A TRIPODS get_tripods $WORKDIR/tripod.txt TRIPODS XMEAN

Variable Documentation

script
Initial value:
=${0##*/}
source $JPP_DIR/setenv.sh $JPP_DIR >& /dev/null
source $JPP_BIN/gradient.sh
set_variable: DEBUG SCRIPTS_DEBUG 3
if do_usage $*
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR &dev null set_variable
Definition: JAcoustics.sh:21
static JNullStream null
Null I/O stream.
Definition: JNullStream.hh:51
#define DEBUG(A)
Message macros.
Definition: JMessage.hh:62

Definition at line 2 of file examples/scripts/gradient.sh.

typeset A DATA function generate
Initial value:
{
DATA=()
for (( X = -5.0; $X <= +5.0; X += 0.5 ))
then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR set_variable DEBUG set_variable TMAX_NS set_variable OPTION none DATA
no fit printf nominal n $STRING awk v X

Definition at line 47 of file examples/scripts/gradient.sh.