Skip to content

Ábaco 0.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 13:13
6c6dd3c

Ábaco 0.2.0: un lenguaje de matrices con más de 430 funciones, simulación de diagramas de bloques y un espacio de trabajo gráfico para ambos, además de los documentos matemáticos de la 0.1.0.
Ábaco 0.2.0: a matrix language with more than 430 functions, block-diagram simulation and a graphical workspace for both, on top of 0.1.0's maths documents.

Important

Ábaco sigue en una fase temprana. No tiene todavía deshacer y rehacer, exportar figuras ni cálculo simbólico, y nada de lo que calcula está validado para usos críticos.
Ábaco is still at an early stage. It has no undo and redo, figure export or symbolic computation yet, and nothing it computes is validated for critical use.

Español

Novedades

  • Ábaco Script: un lenguaje de matrices con scripts y funciones (varargin/varargout), control de flujo, try/catch, celdas, estructuras, manejadores de función, cadenas y printf, expresiones regulares, números complejos y un generador aleatorio con semilla. Más de 430 funciones: álgebra lineal (SVD, QR, LU, Cholesky, expm), polinomios, señales y FFT, diseño de filtros y ventanas, interpolación, estadística y distribuciones, integración, optimización (fminsearch, fsolve, lsqcurvefit, linprog…), ecuaciones diferenciales (ode45, ode15s…) y sistemas de control (funciones de transferencia, espacio de estados, respuesta temporal, Bode, Nyquist, lugar de las raíces, LQR). Referencia y límites en docs/script.md.
  • Ficheros desde scripts: readmatrix, writematrix, csvread, csvwrite, dlmread, dlmwrite, fileread, save y load (formato de texto propio .abd). El acceso a ficheros solo lo activan la app y la línea de comandos, con lectura limitada a 64 MB y escritura atómica. También sub2ind, ind2sub e isequaln.
  • Ábaco Blocks: diagramas de bloques con solucionadores propios: unos 60 bloques (fuentes, osciloscopios, matemáticas, subsistemas, dinámica continua y discreta, funciones de transferencia, espacio de estados, PID, retardo de transporte), métodos de paso fijo y variable incluido uno para sistemas rígidos, instantes de muestreo exactos, detección de cruces por cero, detección de bucles algebraicos y linealización. Referencia y verificación en docs/blocks.md.
  • Nuevos espacios de trabajo en la app: Script y ventana de comandos (Ctrl+J): editor, historial, explorador de variables y gráficas 2-D y 3-D. Diagramas de bloques (Ctrl+Shift+L): biblioteca de bloques, lienzo con arrastrar, cablear, desplazar y ampliar, inspector de parámetros y gráficas de la última simulación (F6 ejecuta, Shift+F6 detiene). Ambos corren en un hilo aparte, así que la ventana nunca se congela.
  • Línea de comandos: abaco-cli script, sim (con --csv y --json), repl y functions.
  • Aviso con el RCOND cuando un sistema lineal está casi singular y su solución es sobre todo ruido de redondeo.

Notas

  • Faltan deshacer y rehacer en la app, exportar figuras, cálculo simbólico, y en el editor de bloques deshacer, selección múltiple, copiar y pegar y editar subsistemas. Los scripts no tienen todavía fopen/fgetl ni ficheros MAT.
  • Ábaco Script es bidimensional y no tiene tipos enteros ni unidades todavía.
  • La app se ha probado en Linux; los paquetes de macOS y Windows se construyen en GitHub y no se han probado en esos sistemas.

English

What's new

  • Ábaco Script: a matrix language with scripts and functions (varargin/varargout), control flow, try/catch, cells, structs, function handles, strings and printf, regular expressions, complex numbers and a seeded random generator. More than 430 functions: linear algebra (SVD, QR, LU, Cholesky, expm), polynomials, signals and FFT, filter design and windows, interpolation, statistics and distributions, integration, optimisation (fminsearch, fsolve, lsqcurvefit, linprog…), differential equations (ode45, ode15s…) and control systems (transfer functions, state space, time response, Bode, Nyquist, root locus, LQR). Reference and limits in docs/script.md.
  • Files from scripts: readmatrix, writematrix, csvread, csvwrite, dlmread, dlmwrite, fileread, save and load (a text format of its own, .abd). Only the app and the command line turn file access on; reads are capped at 64 MB and writes are atomic. Also sub2ind, ind2sub and isequaln.
  • Ábaco Blocks: block diagrams with solvers of their own: about 60 blocks (sources, scopes, maths, subsystems, continuous and discrete dynamics, transfer functions, state space, PID, transport delay), fixed-step and variable-step methods including a stiff one, exact sample times, zero-crossing detection, algebraic-loop detection and linearisation. Reference and verification in docs/blocks.md.
  • New workspaces in the app: Script and command window (Ctrl+J): editor, history, variable browser and 2-D and 3-D plots. Block diagrams (Ctrl+Shift+L): a block library, a canvas for dragging, wiring, panning and zooming, a parameter inspector and the plots of the last run (F6 runs, Shift+F6 stops). Both run on a thread of their own, so the window never freezes.
  • Command line: abaco-cli script, sim (with --csv and --json), repl and functions.
  • A warning with the RCOND when a linear system is nearly singular and its answer is mostly rounding noise.

Notes

  • Missing: undo and redo in the app, figure export, symbolic computation, and in the block editor undo, multi-selection, copy and paste and subsystem editing. Scripts have no fopen/fgetl or MAT files yet.
  • Ábaco Script is two-dimensional and has no integer types or units yet.
  • The app has been run on Linux; the macOS and Windows packages are built on GitHub and have not been run on those systems.

Descargas · Downloads

Sistema · System Archivo · File
macOS (Apple Silicon e Intel) abaco-0.2.0-macos-universal.dmg
macOS · línea de comandos / CLI abaco-cli-0.2.0-macos-universal.zip
Windows x64 abaco-0.2.0-windows-x64.msi · abaco-0.2.0-windows-x64-portable.zip
Linux x86_64 · AppImage abaco-0.2.0-linux-x86_64.AppImage
Debian, Ubuntu abaco-0.2.0-linux-x86_64.deb
Fedora, openSUSE abaco-0.2.0-linux-x86_64.rpm
Linux x86_64 · tar.gz abaco-0.2.0-linux-x86_64.tar.gz
  • AppImage: chmod +x abaco-0.2.0-linux-x86_64.AppImage y ábrela · then run it.
  • Sumas SHA-256 en SHA256SUMS, SHA256SUMS-macos y SHA256SUMS-windows.