Skip to content

gmaml/Mojo-Arrays

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mojo-Arrays

Description

A little project for vectorized N-Dimensional Arrays in native mojo

Goals

  • Vectorized, robustly statically typed, nd arrays with all of the standard matrix operations
  • Eventually to be made compatible with mojo implementations or ABI of LAPACK and BLAS for linear algebra operations.
  • Compatability with numpy arrays eventually for interactions with the rest of python.
  • Once the standalone compiler is available and we can use more MLIR features MLIR tensor and Tensor Operations Standards will be implemented

Current

  • The current state of this project is for toy usage and nailing down desirable behavior for the complete future version.
  • DTypePointer-based data storage 2d arrays
  • Basic guard rails for getting and setting
  • add, subtract, mult, truediv, floordiv, and pow for both arrays of the same size, slices of arrays, and single values(but not commutatively yet for all)
  • Arrange, transpose, shape, to_numpy, and print basic implementations
  • All single SIMD input operations from Standard Math: trig(except atan2) and hyperbolic trig, etc.
  • Getting and setting from slices.

Setup

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published