MPSolve 3.2.1
Loading...
Searching...
No Matches
secular-evaluation.h File Reference

Evaluation of secular equations. More...

#include <mps/mps.h>

Go to the source code of this file.

Functions

MPS_BEGIN_DECLS mps_boolean mps_secular_feval (mps_context *s, mps_polynomial *p, cplx_t x, cplx_t value)
 Evaluate a secular equation sec in the point x More...
 
mps_boolean mps_secular_feval_with_error (mps_context *s, mps_polynomial *p, cplx_t x, cplx_t value, double *error)
 Evaluate a secular equation sec in the point x, estimating the error on the evaluation. More...
 
mps_boolean mps_secular_deval (mps_context *s, mps_polynomial *p, cdpe_t x, cdpe_t value)
 Evaluate a secular equation sec in the point x More...
 
mps_boolean mps_secular_deval_derivative (mps_context *s, mps_polynomial *p, cdpe_t x, cdpe_t value)
 
mps_boolean mps_secular_deval_with_error (mps_context *s, mps_polynomial *p, cdpe_t x, cdpe_t value, rdpe_t error)
 Evaluate a secular equation sec in the point x More...
 
mps_boolean mps_secular_meval (mps_context *s, mps_polynomial *p, mpc_t x, mpc_t value)
 Evaluate a secular equation sec in the point x. More...
 
mps_boolean mps_secular_meval_with_error (mps_context *s, mps_polynomial *p, mpc_t x, mpc_t value, rdpe_t error)
 Evaluate a secular equation sec in the point x. More...
 
mps_boolean mps_secular_feval_derivative (mps_context *s, mps_polynomial *p, cplx_t x, cplx_t value)
 

Detailed Description

Evaluation of secular equations.

Function Documentation

◆ mps_secular_deval()

mps_boolean mps_secular_deval ( mps_context s,
mps_polynomial p,
cdpe_t  x,
cdpe_t  value 
)

Evaluate a secular equation sec in the point x

Parameters
sThe mps_context of the computation.
pThe secular equation to evaluate.
xThe point in which the secular equation must be evaluated.
valueThe value of the secular equation in the point x.

◆ mps_secular_deval_with_error()

mps_boolean mps_secular_deval_with_error ( mps_context s,
mps_polynomial p,
cdpe_t  x,
cdpe_t  value,
rdpe_t  error 
)

Evaluate a secular equation sec in the point x

Parameters
sThe mps_context of the computation.
pThe secular equation to evaluate.
xThe point in which the secular equation must be evaluated.
valueThe value of the secular equation in the point x.
errorA bound to the module of the relative error occurred in the computation.

◆ mps_secular_feval()

MPS_BEGIN_DECLS mps_boolean mps_secular_feval ( mps_context s,
mps_polynomial p,
cplx_t  x,
cplx_t  value 
)

Evaluate a secular equation sec in the point x

Parameters
sThe mps_context of the computation.
pThe secular equation to evaluate.
xThe point in which the secular equation must be evaluated.
valueThe value of the secular equation in the pointer x.

◆ mps_secular_feval_with_error()

mps_boolean mps_secular_feval_with_error ( mps_context s,
mps_polynomial p,
cplx_t  x,
cplx_t  value,
double *  error 
)

Evaluate a secular equation sec in the point x, estimating the error on the evaluation.

Parameters
sThe mps_context of the computation.
pThe secular equation to evaluate.
xThe point in which the secular equation must be evaluated.
valueThe value of the secular equation in the pointer x.
errorThe absolute error on the evaluation.

◆ mps_secular_meval()

mps_boolean mps_secular_meval ( mps_context s,
mps_polynomial p,
mpc_t  x,
mpc_t  value 
)

Evaluate a secular equation sec in the point x.

Parameters
sThe mps_context of the computation.
pThe secular equation to evaluate.
xThe point in which the sceular equation must be evaluated.
valueThe value of the secular equation in the point x.

◆ mps_secular_meval_with_error()

mps_boolean mps_secular_meval_with_error ( mps_context s,
mps_polynomial p,
mpc_t  x,
mpc_t  value,
rdpe_t  error 
)

Evaluate a secular equation sec in the point x.

Parameters
sThe mps_context of the computation.
pThe secular equation to evaluate.
xThe point in which the sceular equation must be evaluated.
valueThe value of the secular equation in the point x.
errorA bound to the absolute value of the error introduced in the computation.