Files
lapack/TESTING/glm.in
T
Hans Johnson 9c7f84bd60 STYLE: Remove trailing whitespace in MISC files
This is mostly a long term maintenance improvement.

Many coding styles require elimination of trailing whitespace, and
many editors and source code management configurations automatically
gobble up whitespace. When these tools gobble up whitespace, it
complicates reviewing the meaningful code changes.

By removing whitespace on one patch, it makes future
code reviews much easier.

=SCRIPT====================================================================

if which tempfile &>/dev/null; then
  TEMPMAKER=tempfile
elif which mktemp &>/dev/null; then
  TEMPMAKER=mktemp
else
  echo "Cannot find tempfile program." 2>&1
  exit 1
fi

MYTEMP=$($TEMPMAKER)
trap 'rm -f $MYTEMP' SIGINT SIGTERM

stripit() {
  echo "stripping $1"
  sed 's/[ \t]*$//' "$1" > $MYTEMP
  cp $MYTEMP "$1"
}

if [ $# -gt 0 ]; then
  while [ "$1" != "" ]; do
    stripit $1
    shift
  done
else
  while read -t 2; do
    stripit $REPLY
  done
fi

rm $MYTEMP
=================================================
2016-07-09 11:19:33 -05:00

10 lines
573 B
Plaintext

GLM: Data file for testing Generalized Linear Regression Model routines
6 Number of values of M, P, and N
0 5 8 15 20 40 Values of M (row dimension)
9 0 15 12 15 30 Values of P (row dimension)
5 5 10 25 30 40 Values of N (col dimension), M <= N <= M+P
20.0 Threshold value of test ratio
T Put T to test the error exits
1 Code to interpret the seed
GLM 8 List types on next line if 0 < NTYPES < 8