Using the np.chebint()
method, we can get the integration value of Chebyshev series as an array with the coordinate value using np.chebint ()
.
Syntax:
np.chebint (series, value)
Return: Return an array having coordinates of series after integration.
Example # 1:
In this example, we can see that with np .chebint ()
we can get the integration of the Chebyshev series, and it will return an array having the coordinates of this.

Output:
[0.3125 0.25 0.25 0.08333333 0.0625]
Example # 2:
Output:
[0.8125 2.125 0.66666667 0.47916667 0.14583333 0.1375]
Books for developers
Big Data Analytics Made Easy
This book is an indispensable guide focuses on Machine Learning and R Programming, in an instructive and conversational tone which helps them who want to make their career in Big Data Analytics/ Data ...
10/07/2020
Mastering Regular Expressions
Mastering regular expressions by Jeffrey Friedl, 3rd edition.
Regular expressions are an extremely powerful tool for manipulating text and data. They are standard features today in a variety of pop...
05/09/2021
Expert Python Programming: Third Edition
Become a master in Python by learning coding best practices and advanced programming concepts in Python 3.7.
This book is written for Python developers who wish to go further in mastering Python. A...
23/09/2020
Deep Learning with Python: A Handson Introduction
The field of Artificial Intelligence (AI), which can definitely be considered to be the parent field of deep learning, has a rich history going back to 1950. While we will not cover this history in mu...
23/09/2020
Get Solution for free from DataCamp guru
X
Submit new EBook
# NumPy import
import
numpy as np
from
numpy.polynomial
import
chebyshev as C
x
=
np.array ([
2
,
5
,
7
,
11
])
# using the np.chebint () method
gfg
=
C.chebint (x,
2
)
print
(gfg)