Skip to content

numexy is a library like Python's numpy. It is a library for matrix calculation.

License

Notifications You must be signed in to change notification settings

yujikawa/numexy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numexy

Build Status hex.pm version Coverage Status hex.pm

numexy is a library like Python's numpy. It is a library for matrix calculation.

Installation

The package can be installed by adding numexy to your list of dependencies in mix.exs:

def deps do
  [
    {:numexy, "~> 0.1.9"}
  ]
end

Examples

iex> x = Numexy.new([1,2,3])
%Array{array: [1, 2, 3], shape: {3, nil}}

iex> y = Numexy.new([1,2,3])
%Array{array: [1, 2, 3], shape: {3, nil}}

iex> Numexy.dot(x, y)
14

iex> Numexy.new([2,9,5]) |> Numexy.sum
16

iex> Numexy.new([[1,2,3],[4,5,6]]) |> Numexy.sum
21

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/numexy.

License

This project is licensed under the terms of the Apache license, see LICENSE.

About

numexy is a library like Python's numpy. It is a library for matrix calculation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages