GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
tstgmn.for File Reference

Go to the source code of this file.

Functions

REAL function onecov (x, y, n)
subroutine prcomp (p, mean, xcovar, ldxcov, answer)
subroutine setcov (p, var, corr, covar, ldcov)
subroutine stat (x, n, av, var, xmin, xmax)
program tstgmn

Function Documentation

REAL function onecov ( real, dimension(n)  x,
real, dimension(n)  y,
integer  n 
)

Definition at line 4 of file tstgmn.for.

References real, stat(), x, xmax(), and xmin().

Referenced by prcomp().

subroutine prcomp ( integer  p,
real, dimension(p)  mean,
real, dimension(ldxcov,p)  xcovar,
integer  ldxcov,
real, dimension(1000,maxp)  answer 
)

Definition at line 40 of file tstgmn.for.

References onecov(), and stat().

Referenced by tstgmn().

subroutine setcov ( integer  p,
real, dimension(p)  var,
real  corr,
real, dimension(ldcov,p)  covar,
integer  ldcov 
)

Definition at line 79 of file tstgmn.for.

References octave_value::sqrt().

Referenced by tstgmn().

subroutine stat ( real, dimension(n)  x,
integer  n,
real  av,
real  var,
real  xmin,
real  xmax 
)
program tstgmn ( )

Definition at line 145 of file tstgmn.for.

References genmn(), phrtsd(), prcomp(), setall(), setcov(), and setgmn().