Git Product home page Git Product logo

complex-function-visualizer's Introduction

complex-function-visualizer

🔬可视化绘制给定的复变函数 | visualization of the given complex function

安装Python依赖包

pip3 install -r requirements.txt

运行主程序

python3 main.py <函数f(x)表达式> <x实部定义域开始值> <x实部定义域结束值> <x虚部定义域开始值> <x虚部定义域结束值>

📘 示例
绘制函数f(x)=exp(x),其中x=a+bi, a∈[-2,2], b∈[-2,2]

python3 main.py "exp(x)" -2 2 -2 2

效果图

函数f(x)=exp(x),其中x=a+bi, a∈[-4,1], b∈[0,6.28]
经过视角的调整,图片视角下的Yi轴坍缩为一个点,此时可以将坐标系看作由Xr-Xi-Yr组成的三维坐标系: exp(x)函数图 四条绿线为坐标系Xr-Xi-Yr-Yi四个轴的正方向。Xr表示函数自变量的实部,Xi为自变量的虚部;Yr表示因变量的实部,Yi为因变量的虚部。红线展示了x为纯实数时f(x)的图像;蓝线展示了x为纯虚数时f(x)的图像。

让我们换一个视角,此时图片视角下的Xi轴坍缩为一个点,可以将坐标系看作由Xr-Yr-Yi组成的三维坐标系,函数f(x)=exp(x)的图形就像一顶立体的草帽。 效果图

complex-function-visualizer's People

Contributors

newcomer00 avatar

Stargazers

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