matrix2d 0.0.1 copy "matrix2d: ^0.0.1" to clipboard
matrix2d: ^0.0.1 copied to clipboard

outdated

A numpy-like package for mathematical 2d array functions and manipulations for dart

Matrix 2d 🧮

Matrix 2d a lightweight dart library providing a subset of Python's numpy package. This package is written in pure dart 🔥.

please check example/example.dart for examples.

Operations 😁 #

  • addition(listA,listB) returns array of sums of corresponding elements of listA and listB of any dimensions.

  • subtraction(listA,listB) returns array of differences of corresponding elements of listA and listB of any dimensions.

  • division(listA,listB) divides listA by listB and returns new array

  • dot(listA,listB) Function returns the dot product of two arrays. For 2-D vectors, it is the equivalent to matrix multiplication. For 1-D arrays, it is the inner product of the vectors. For N-dimensional arrays, it is a sum product over the last axis of a and the second-last axis of b.

  • shape(list) returns dimensions of input array if the array is uniform or error otherwise.

  • flatten(list) returns 1-D representation of any shape and any levels of nesting of list array.

  • transpose(list) Reverse the axes of an array and returns the modified array

  • arange(start, stop, steps) returns evenly spaced values within the half-open interval [start, stop) with optional steps argument.

  • zeros(row,cols) Return a new array of given shape and type, with zeros

  • ones(row,cols) Return a new array of given shape and type, with ones

  • sum(list) Function returns the sum of array elements

  • reshape(list)Reshaping means changing the shape of an array.

As soon as possible, more features will be available.

Contribution 🤓 #

Happy 😍 to recieve or provide contributions related to this package.

Features and bugs 🐛 #

Please file feature requests and bugs at the issue tracker.

41
likes
0
pub points
87%
popularity

Publisher

verified publishern4ze3m.site

A numpy-like package for mathematical 2d array functions and manipulations for dart

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

statistical_dart

More

Packages that depend on matrix2d