Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: phpmlkit/ndarray
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3d30f1d
Choose a base ref
...
head repository: phpmlkit/ndarray
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4ba43cb
Choose a head ref
  • 10 commits
  • 186 files changed
  • 2 contributors

Commits on Mar 1, 2026

  1. Update CHANGELOG

    CodeWithKyrian authored and github-actions[bot] committed Mar 1, 2026
    Configuration menu
    Copy the full SHA
    f083018 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2026

  1. Configuration menu
    Copy the full SHA
    7587627 View commit details
    Browse the repository at this point in the history
  2. feat: optimize dot product and matrix multiplication implementations

    - Updated the `ndarray_dot` and `ndarray_matmul` functions to utilize ndarray's optimized implementations for better performance.
    - Improved error handling for shape and dtype mismatches in both operations.
    - Refactored code to streamline view extraction and dimensionality conversion for Float32 and Float64 types.
    CodeWithKyrian committed Mar 12, 2026
    Configuration menu
    Copy the full SHA
    38558ad View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. refactor: optimize view extraction and consolidate operation helpers

    - Optimize extract_view_as_* functions to avoid unnecessary mapv() for native types
    - Consolidate comparison_helpers.rs and math_helpers.rs into op_helpers.rs
    - Remove redundant shape returns from comparison and logical macros
    - Update all comparison and logical operations to use new op_helpers module
    CodeWithKyrian committed Mar 13, 2026
    Configuration menu
    Copy the full SHA
    2a6f280 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2026

  1. refactor: unify binary operation macros with optimized same-type fast…

    … paths
    
    Restructure all binary operation macros (arithmetic, bitwise, comparison, logical) into unified macros with zero-copy fast paths for same-type operations. When both operands share the same dtype, extract native views instead of converting, then broadcast and perform operations. All operations now properly broadcast.
    CodeWithKyrian committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    911d055 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2026

  1. refactor(rust): reorganize crate structure for clarity and extensibility

    - Reorganize modules: types/, macros/, helpers/, ffi/ with clear separation
    - Move PadMode to types/pad_mode.rs and SortKind to types/sort_kind.rs
    - Consolidate error handling: move panic utilities into ffi_guard module
    - Consolidate indexing utilities: normalize_axis and normalize_index in helpers/indexing.rs
    - Make FFI layer conditional on 'ffi' feature flag for selective compilation
    - Update all internal imports (~50 files) to use new module paths
    - Remove redundant helper files (stacking/helpers.rs, indexing/utils.rs)
    - Rename validate_axis to normalize_axis for API consistency
    CodeWithKyrian committed Mar 19, 2026
    Configuration menu
    Copy the full SHA
    897ae38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11b6b66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81d4fff View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2026

  1. refactor(rust): use ndarray's built-in generator functions

    Replace manual implementations of linspace, logspace, and geomspace with ndarray's Array::linspace, Array::logspace, and Array::geomspace methods.This leverages ndarray's optimized and well-tested implementations while simplifying our FFI code.
    CodeWithKyrian committed Mar 22, 2026
    Configuration menu
    Copy the full SHA
    7642835 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2026

  1. refactor(rust): simplify copy, fill, and assign operations

    Refactor FFI array operations to use standardized view extraction helpers instead of wrapper methods. Removes redundant macros and simplifies the wrapper module by inlining operation logic directly in FFI functions.
    CodeWithKyrian committed Mar 23, 2026
    Configuration menu
    Copy the full SHA
    4ba43cb View commit details
    Browse the repository at this point in the history
Loading