Stratax 0.4.0rc1
Loading...
Searching...
No Matches
Stratax

Stratax is a modern C++ library for efficient multi-dimensional array operations, with Python bindings through pybind11.

Features

  • Multi-dimensional arrays: Vector, Matrix, and Tensor classes for structured data
  • Flexible operations: Arithmetic, comparison, indexing, and slicing operations
  • Explicit contracts: Constructor validation, checked indexing, and documented unchecked access
  • Python integration: Python API via the _core extension module
  • Efficient computation: Row-major storage with shape and stride metadata

Quick Links

Core Components

Data Structures

  • Vector - 1D array type for sequential data
  • Matrix - 2D array type for tabular data
  • Tensor - N-dimensional array type for general use
  • Shape - Dimension information and rank tracking
  • Buffer - Underlying contiguous storage management
  • ArrayView - Borrowed elements with logical shape and unsigned strides

Operations

  • Arithmetic - Element-wise addition, subtraction, multiplication, division
  • Comparison - Equality and inequality testing
  • Indexing - Checked at access and unchecked owning array access
  • Slicing - Positive-step ArrayView selections that share storage
  • Algorithms - Creation helpers, conversion helpers, reductions, and reshaping

Validation

  • Shape compatibility checking
  • Type consistency enforcement
  • Index boundary validation
  • Dimension count verification

Documentation Structure

Section Purpose
Guides Getting started, setup instructions, examples, and project workflow
API Reference C++ header documentation and usage examples
Developer Docs Architecture, design decisions, and contributor guidelines

Links


Stratax v0.4.0rc1 - Release candidate for C++ and Python array operations.