Giter Club home page Giter Club logo

calcolonumerico's Introduction

CalcoloNumerico

Software by Carlo Zambaldo ([email protected]) This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Raccolta di alcune funzioni utili durante il corso di Calcolo Numerico

Basic Calculus - Basic Matrix Propreties - Linear Systems

  • insiemeF
  • condizioni (requires controlla) finds propreties of Matrices and shows methods to solve the linear system "Ax=b".
  • Wilkinson estimates the maximum value of the perturbation expected on a given matrix
  • controlla

Non-linar Functions - Zeros of Functions

  • condizioniF
  • metodocorde
  • metodosecanti
  • ptofis_sistemi
  • molteplicity computes the molteplicity of the zero of a function

Function Approx

  • CGL (chebyshev Gauss Lobatto) computes CGL knodes given the number of knodes-1 required and the interval [a,b]
  • Lebesgue (requires funzione_caratteristica_lagrange) draws Lagrange polynomials and prints out the Lebesgue constant
  • funzione_caratteristica_lagrange
  • interp_trigo.m outputs the trigonometric interpolator as a function handle

Numerical Derivation/Integration - ODEs

  • grado_di_esattezza computes the degree of accuracy of a numerical formula (for the integration)
  • stability_region, stability_region_contour plots the stability region of a particular numerical method (notice: the stability function is required!)
  • leap_frog implements the Leap-Frog method
  • runge_kutta solves the given Cauchy Problem, given a particular Butcher tableau.

Finite Difference Equations

  • diffusione_trasporto_reazione, diffusione_trasporto_reazione_DN, diffusione_trasporto_reazione_ND, diffusione_trasporto_reazione_NN these scripts solve a diffusion-transport-reaction problem on the interval [a,b] (the _XY after "diffusione_trasporto_reazione" stands for the type of boundary conditions (X for point a and Y for point B): N = Newmann, D = Dirichlet, if not present is DD). Please notice: sometimes the program suggests better viscosity to reduce numerical oscillations.
  • pechlet evaluates local Péclet number

Basic Symbolic

  • deriva outputs the derivative of the given function as a function handle
  • integra outputs the integral of the given function as a function handle (notice: no constant added [c=0]!)
  • jacobiana

Other

  • stimaalgebrica_p estimates C and p in: err <= C * h^p
  • stimaerr
  • plot_soluzione quickly plots the solution obtained with a numerical method (i.e. diffusione_trasporto_reazione)
  • tridiag outputs a tridiagonal matrix
  • pentadiag outputs a pentadiagonal matrix
  • poly2func

Please notice: the function sym2fun was written by Marty Lawson (more info inside the script)

Licence

Copyright 2021 Carlo Zambaldo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

  • The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • NonCommercial — You may not use the material for commercial purposes.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

calcolonumerico's People

Contributors

carlozambaldo avatar

Watchers

 avatar  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.