ttCalculator/README.md

96 lines
8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div align="center">
<img src="public/logo.png" width="96" alt="TT Calculator Studio Logo" />
# TT Calculator Studio
**Saf Rust (`tt-core`) çekirdekli bilimsel hesaplama, sayısal analiz, ODE/PDE çözücü ve 2D/3D grafik stüdyosu • Pure-Rust scientific calculator, numerical analysis, ODE/PDE solver, and 2D/3D graphing studio**
[![License: MIT](https://img.shields.io/badge/License-MIT-10B981?style=for-the-badge)](./LICENSE)
[![Version](https://img.shields.io/badge/Version-v4.3.0-brightgreen?style=for-the-badge)](https://git.ttmadethat.shop/LilDosto/ttCalculator/releases/latest)
[![Stack](https://img.shields.io/badge/Stack-Tauri%20v2%20%7C%20Rust%20%28tt--core%29%20%7C%20React%2018-orange?style=for-the-badge)](https://v2.tauri.app)
[![Platform](https://img.shields.io/badge/Platform-Windows%2010%2F11%20x64-0078D6?style=for-the-badge)](https://git.ttmadethat.shop/LilDosto/ttCalculator/releases/latest)
[🇹🇷 Türkçe](#-türkçe) • [🇬🇧 English](#-english) • [📦 Releases](https://git.ttmadethat.shop/LilDosto/ttCalculator/releases/latest)
</div>
---
## 🇹🇷 Türkçe
**TT Calculator Studio**, harici matematik kütüphanesi gerektirmeyen saf Rust (`tt-core`) motoru, Tauri v2 masaüstü altyapısı ve React 18 / TypeScript arayüzü üzerine kurulu kapsamlı bir bilimsel hesaplama ve sayısal analiz stüdyosudur.
### Özellikler (`v4.3.0`)
- **Bilimsel Hesap Makinesi (`Alt+1`):** `RAD`/`DEG`/`GRAD` açı modları, fiziksel/matematiksel sabitler ($\pi, e, \phi, c, g, h, k_B, N_A, R, \varepsilon_0, \mu_0$), trigonometrik/hiperbolik/logaritmik fonksiyonlar, `nPr`/`nCr`, sürekli kesir (`a/b`), kalıcı hafıza tuşları ve tek tıkla grafiğe/türeve aktarım.
- **Türev & Diferansiyel Analiz (`Alt+2`):** Tek değişkenli 1–4. mertebe sonlu farklar ($O(h^2), O(h^4), O(h^6)$), sembolik türev ağacı, teğet/normal doğruları ve canlı 2D grafik; çok değişkenli kısmi türevler, yönlü türev, Gradient, Hessian matrisi ve ekstremum sınıflandırması.
- **Lineer & Lineer Olmayan Sistem Çözücü (`Alt+3`):** Gauss-Jordan (RREF), LU, QR, Cholesky, Matris Tersi, Jacobi / Gauss-Seidel (adım adım iterasyon tablosu) ve çok değişkenli Jacobian tabanlı Newton-Raphson.
- **Taylor & Çok Değişkenli Seri (`Alt+4`):** Tek değişkenli Taylor/Maclaurin polinomları (kesirli, faktöriyelli, ondalık ve LaTeX çıktı + Lagrange kalan terim sınırı $R_n$) ve çok değişkenli $f(x,y)$ Taylor açılımı.
- **Matris Fabrikası (`Alt+5`):** Çift matris ($A, B$) editörü, TSV & LaTeX `bmatrix` dışa aktarma, normlar, kondisyon sayısı, rank, LU / QR / Cholesky / SVD / Özdeğer ayrıştırmaları ve $AX=B$, $A^T X = B$ çözücüleri.
- **ODE & PDE Simülatörü (`Alt+6`):** Euler, Heun (RK2), RK4 ve RK8 tekil/sistem ODE çözücüler (Lotka-Volterra, Lorenz, Sarkaç, Van der Pol + 2D faz portresi); 1D Isı (FTCS & Crank-Nicolson), Dalga, Adveksiyon ve Kuple Reaksiyon-Difüzyon Turing (Gray-Scott, Schnakenberg, FitzHugh-Nagumo) simülasyonları ve 2D ısı haritası.
- **Kök Bulma & İntegral (`Alt+7`):** Newton-Raphson, Bisection, Secant, Regula Falsi, otomatik çoklu kök tarama (`scan_all`) + yakınsama grafiği; Trapez, Simpson 1/3, Simpson 3/8 ve Gauss-Legendre sayısal integrali.
- **Kombinatorik & Özel Fonksiyonlar (`Alt+8`):** $C(n,r)$, $P(n,r)$, Catalan sayıları, Pascal üçgeni, alfabe kombinasyonu, 2D kutupsal/vektör analizörü ve özel fonksiyonlar ($\Gamma, B, \text{erf}, J_0, J_1, P_n$).
- **2D & 3D Grafik Çizici (`Alt+9`) & Komut Paleti (`Ctrl+K`):** Kartezyen ve kutupsal 2D çizim, canlı parametre sürgüleri ($a,b,c,k$), kritik nokta/kesişim bulma, imleç teğet/normal inceleme, PNG/CSV/TikZ dışa aktarma, 3D yüzey/tel-kafes çizici ve hızlı ifade komut paleti.
### Teknoloji Yığını
- **Masaüstü & Çekirdek:** Tauri v2 (`tauri 2.0`), Saf Rust çekirdeği (`crates/tt-core`), `tokio`, `serde`
- **Arayüz:** React 18, TypeScript, Tailwind CSS, Zustand, Framer Motion, Vite
### Kurulum ve Kullanım
**Son Kullanıcı:**
1. [Releases](https://git.ttmadethat.shop/LilDosto/ttCalculator/releases/latest) sayfasından `TT-Calculator_4.3.0_x64-setup.exe` kurulum dosyasını indirin ve çalıştırın.
2. `Alt+1`–`Alt+9` kısayollarıyla modüller arasında geçiş yapın veya `Ctrl+K` ile hızlı komut paletini açın.
**Geliştirici (Kaynaktan Derleme & Test):**
```powershell
npm install
cargo test --manifest-path src-tauri/crates/tt-core/Cargo.toml
npm run tauri dev # Geliştirme modunda çalıştır
npm run tauri build # Üretim kurulum paketini derle
```
---
## 🇬🇧 English
**TT Calculator Studio** is a high-performance scientific computing, numerical analysis, ODE/PDE simulation, and 2D/3D graphing desktop studio powered by a zero-external-dependency pure Rust core (`tt-core`), Tauri v2, and React 18 / TypeScript.
### Features (`v4.3.0`)
- **Scientific Calculator (`Alt+1`):** `RAD`/`DEG`/`GRAD` angle units, physical and mathematical constants ($\pi, e, \phi, c, g, h, k_B, N_A, R, \varepsilon_0, \mu_0$), trigonometric/hyperbolic/logarithmic functions, `nPr`/`nCr`, continued-fraction rational display (`a/b`), persistent memory keys, and one-click Plot/Differentiate actions.
- **Derivative & Differential Lab (`Alt+2`):** 1st–4th order finite differences ($O(h^2), O(h^4), O(h^6)$), symbolic derivative tree, tangent/normal line equations with live 2D plotting, plus multivariable partials, directional derivative, Gradient, Hessian matrix, and extremum classification.
- **Linear & Nonlinear System Solver (`Alt+3`):** Gauss-Jordan (RREF), LU, QR, Cholesky, Matrix Inverse, Jacobi / Gauss-Seidel iteration tables, and $N$-variable Jacobian Newton-Raphson solver.
- **Taylor & Multivariable Series (`Alt+4`):** Single-variable Taylor/Maclaurin expansions (fractional, factorial, decimal, and LaTeX formats + Lagrange remainder bound $R_n$) and 2D multivariable Taylor expansions.
- **Linear Algebra & Matrix Factory (`Alt+5`):** Dual matrix ($A, B$) editor with TSV & LaTeX `bmatrix` export, norms, condition number, rank, LU / QR / Cholesky / SVD / Eigenvalue decompositions, and $AX=B$ / $A^T X = B$ solvers.
- **ODE & PDE Simulator (`Alt+6`):** Euler, Heun (RK2), RK4, and RK8 single/system ODE solvers (Lotka-Volterra, Lorenz, Pendulum, Van der Pol + 2D phase portraits); 1D Heat (FTCS & Crank-Nicolson), Wave, Advection, and coupled Reaction-Diffusion Turing pattern simulators (Gray-Scott, Schnakenberg, FitzHugh-Nagumo) with 2D space-time heatmaps.
- **Root Finding & Numerical Integration (`Alt+7`):** Newton-Raphson, Bisection, Secant, Regula Falsi, interval root scanner (`scan_all`) with convergence plots, plus Trapezoidal, Simpson 1/3, Simpson 3/8, and Gauss-Legendre quadrature comparison.
- **Combinatorics & Special Functions (`Alt+8`):** $C(n,r)$, $P(n,r)$, Catalan numbers, Pascal's triangle, string/alphabet combinations, 2D polar/vector canvas analyzer, and special functions ($\Gamma, B, \text{erf}, J_0, J_1, P_n$).
- **2D & 3D Graph Plotter (`Alt+9`) & Command Palette (`Ctrl+K`):** Multi-curve Cartesian and polar plotting, live sliders ($a,b,c,k$), critical points & intersections, interactive tangent/normal inspection HUD, PNG/CSV/TikZ export, 3D surface/wireframe plotter, and quick expression palette.
### Tech Stack
- **Desktop & Backend:** Tauri v2 (`tauri 2.0`), Pure Rust computation crate (`crates/tt-core`), `tokio`, `serde`
- **Frontend:** React 18, TypeScript, Tailwind CSS, Zustand, Framer Motion, Vite
### Installation & Usage
**End Users:**
1. Download `TT-Calculator_4.3.0_x64-setup.exe` from [Releases](https://git.ttmadethat.shop/LilDosto/ttCalculator/releases/latest) and run the setup wizard.
2. Switch modules using `Alt+1` through `Alt+9` or open the quick command palette with `Ctrl+K`.
**Developers (Build from Source & Test):**
```powershell
npm install
cargo test --manifest-path src-tauri/crates/tt-core/Cargo.toml
npm run tauri dev # Run in development mode
npm run tauri build # Build Windows installer
```
---
## 📄 Lisans / License
Bu proje [MIT Lisansı](./LICENSE) altında lisanslanmıştır. • Licensed under the [MIT License](./LICENSE).