Toggle navigation
PSFUN
0.1
Matrix Functions
Contents
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
horner
Interface
7 statements
Source File
psfun_utils_mod.f90
psfun_utils_mod
horner
Contents
Functions
horner
public interface horner
Apply Horner rule to evaluate a polynomial
Contents
Functions
horner
Functions
public function horner(coeffs, x) result(res)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=psb_dpk_),
intent(in),
dimension (:)
::
coeffs
Coefficient of the polynomial
real(kind=psb_dpk_),
intent(in)
::
x
Where to evaluate
Return Value
real(kind=psb_dpk_)
Result