GithubHelp home page GithubHelp logo

krystifer / cauchy_functionsequence Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 40 KB

Given the metric space C([-1,1]) (continuous functions on the closed interval [-1,1]) with the norm of the maximum. This code checks with the help of a color map, if a given function sequence is or not a Cauchy sequence in C([-1,1]).

Jupyter Notebook 100.00%
cauchy-sequence function-sequence norm-space functional-analysis python-recursive optimization function-composition

cauchy_functionsequence's Introduction

¿Is this function sequence a Cauchy sequence?

Given the metric space C([-1,1]) (continuous functions on the closed interval [-1,1]) with the metric defined by:

This code checks with the help of a color map, if a given function sequence is or not a Cauchy sequence in C([-1,1]), (See 1), where this function sequence is defined recursively, that is

Here T is the 'rule' of the sequence, given an initial function we can compute any other term of the sequence. In this code, the initial condition must be a user-defined function, 'initial_func'. The composition process is computed by 'comp_func' using recursion.

In order to determining if the term

is as small as possible whenever n,m>N for N>>0, we need to determine the maximum (due to the way the norm is defined) of

for t in [-1,1], this is accomplished by the 'norm' function, minimizing -f(t).

The result is a color map and it must be interpreted as:

  • If colors for n and m being big numbers does fit zero, then T is likely to be a Cauchy sequence.
  • If colors for n and m being big numbers doesn't fit zero, then T isn't likely to be a Cauchy sequence.

The given example shows that

Isn't likely to be a Cauchy sequence.

cauchy_functionsequence's People

Contributors

krystifer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.