Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/matlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@

name: MATLAB CI

on:
push:
branches:
- main
- 'release/**'
- 'refactor/**'

pull_request:
branches:
- main

workflow_dispatch:

permissions:
contents: read

jobs:
numerical-validation:

name: Numerical Linear Algebra Tests
runs-on: ubuntu-latest
timeout-minutes: 30

steps:

- name: Checkout repository
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v3
with:
release: R2025b

- name: Run unit tests
uses: matlab-actions/run-tests@v3
with:
source-folder: src
select-by-folder: tests
strict: true
output-detail: detailed
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

# Changelog

All notable changes to MATLAB Survival Toolbox
will be documented in this file.

The project aims to follow Semantic Versioning.

## [0.1.0] - Unreleased

### Added

- Modular numerical linear algebra module.
- Forward substitution solver.
- Backward substitution solver.
- Gaussian elimination with partial pivoting.
- Input validation and error handling.
- Six automated MATLAB unit tests.
- Reproducible linear system example.
- GitHub Actions continuous integration.
- Technical documentation for numerical methods.
- MATLAB-specific .gitignore configuration.

### Changed

- Modernized repository structure.
- Updated README documentation.
- Standardized function naming conventions.
- Established a development and release workflow.

### Legacy

- Preserved original academic MATLAB scripts
under the legacy/ directory.

### Known Limitations

- Educational and research use only.
- No formal numerical stability guarantees.
- No condition number diagnostics.
- Limited test coverage.
- Not certified for safety-critical engineering
applications.

## Future Development

### v0.2.0 — Nonlinear Equations

- Bisection method.
- Newton-Raphson method.
- Secant method.
- Review of the legacy Whittaker implementation.

### v0.3.0 — Numerical Approximation

- Polynomial interpolation.
- Taylor series.
- Numerical differentiation and integration.
62 changes: 50 additions & 12 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,59 @@

# Security Policy

## Supported Versions

Use this section to tell people about which versions of your project are
currently being supported with security updates.
MATLAB Survival Toolbox is an independently maintained
educational open-source project.

Security maintenance is provided on a best-effort basis.

| Version | Supported |
| ------- | ------------------ |
| 5.1.x | :white_check_mark: |
| 5.0.x | :x: |
| 4.0.x | :white_check_mark: |
| < 4.0 | :x: |
| Version | Supported |
|---|---|
| 0.1.x | Yes |
| Legacy implementations | No |

## Reporting a Vulnerability

Use this section to tell people how to report a vulnerability.
Please report security vulnerabilities privately
using GitHub Private Vulnerability Reporting.

Do not disclose sensitive security issues through
public GitHub Issues.

A vulnerability report should include:

- Description of the security issue.
- Affected version or commit.
- Steps required to reproduce it.
- Potential security impact.
- Suggested mitigation, if available.

Reports will be reviewed on a best-effort basis.

No guaranteed response or remediation time is provided.

## Numerical Correctness

Numerical inaccuracies and algorithmic defects
should normally be reported through GitHub Issues.

If a numerical defect also creates a security risk,
please use private vulnerability reporting.

## Engineering Disclaimer

This software is intended for educational and
research purposes.

It is not certified for production, industrial,
structural or safety-critical engineering applications.

All numerical results must be independently verified
before being used in real engineering projects.

## Responsible Disclosure

Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Please allow a reasonable opportunity to investigate
and resolve reported vulnerabilities before
public disclosure.
1 change: 1 addition & 0 deletions docs/linear_algebra.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@