# MONOMIAL_VALUE Evaluate a Monomial in M dimensions

MONOMIAL_VALUE is a FORTRAN77 library which evaluates a monomial in M dimensions.

Let X represent a point in M dimensional space, and let E be a vector of M integers. The value of the monomial with exponents E at the point X is

```        V(X) = X(1)^E(1) * X(2)^E(2) * ... * X(M)^E(M)
```
This library supplies a convenient method of evaluating V(X) at multiple points X.

The factor 0.0^0 might occur if, for some I, we have X(I) = 0.0 and E(I) = 0. In this case, we take the corresponding value to be 1.

The factor 0.0^E(I) will cause problems if E(I) is negative.

### Languages:

MONOMIAL_VALUE is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version and a Python version.

### List of Routines:

• I4VEC_TRANSPOSE_PRINT prints an I4VEC "transposed".
• I4VEC_UNIFORM_AB returns a scaled pseudorandom I4VEC.
• MONOMIAL_VALUE evaluates a monomial.
• R8MAT_NINT rounds the entries of an R8MAT.
• R8MAT_UNIFORM_AB returns a scaled pseudorandom R8MAT.
• TIMESTAMP prints the current YMDHMS date as a time stamp.

You can go up one level to the FORTRAN77 source codes.

Last revised on 17 August 2014.