NTPoly
Data Types | Functions/Subroutines
chebyshevsolversmodule_wrp Module Reference

Wraps the Chebyshev Solvers Module. More...

Data Types

type  chebyshevpolynomial_wrp
 A wrapper for the polynomial data type. More...
 

Functions/Subroutines

pure subroutine, public constructchebyshevpolynomial_wrp (ih_this, degree)
 Wrap the empty polynomial constructor. More...
 
pure subroutine, public destructchebyshevpolynomial_wrp (ih_this)
 Destruct a polynomial object. More...
 
subroutine, public setchebyshevcoefficient_wrp (ih_this, degree, coefficient)
 Set coefficient of a polynomial. More...
 
subroutine, public chebyshevcompute_wrp (ih_InputMat, ih_OutputMat, ih_polynomial, ih_solver_parameters)
 Compute A Matrix Chebyshev Polynomial. More...
 

Detailed Description

Wraps the Chebyshev Solvers Module.

Function/Subroutine Documentation

◆ chebyshevcompute_wrp()

subroutine, public chebyshevsolversmodule_wrp::chebyshevcompute_wrp ( integer(kind=c_int), dimension(size_wrp), intent(in)  ih_InputMat,
integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_OutputMat,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_polynomial,
integer(kind=c_int), dimension(size_wrp), intent(in)  ih_solver_parameters 
)

Compute A Matrix Chebyshev Polynomial.

Parameters
[in]ih_InputMatthe input matrix
[out]ih_OutputMat= poly(InputMat)
[in]ih_polynomialpolynomial to compute.
[in]ih_solver_parametersparameters for the solver.

◆ constructchebyshevpolynomial_wrp()

pure subroutine, public chebyshevsolversmodule_wrp::constructchebyshevpolynomial_wrp ( integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_this,
integer(kind=c_int), intent(in)  degree 
)

Wrap the empty polynomial constructor.

Parameters
[out]ih_thishandle to the polynomial being created.
[in]degreethe degree of the polynomial.

◆ destructchebyshevpolynomial_wrp()

pure subroutine, public chebyshevsolversmodule_wrp::destructchebyshevpolynomial_wrp ( integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_this)

Destruct a polynomial object.

Parameters
[in,out]ih_thishandle to the polynomial to free up.

◆ setchebyshevcoefficient_wrp()

subroutine, public chebyshevsolversmodule_wrp::setchebyshevcoefficient_wrp ( integer(kind=c_int), dimension(size_wrp), intent(inout)  ih_this,
integer(kind=c_int), intent(in)  degree,
real(ntreal), intent(in)  coefficient 
)

Set coefficient of a polynomial.

Parameters
[in,out]ih_thishandle to the polynomial to set.
[in]degreefor which to set the coefficient.
[in]coefficientvalue.