8000 GitHub - seanpm2001-all/vtl: The V Tensor Library
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

seanpm2001-all/vtl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The V Tensor Library

vlang.io | Docs | Changelog | Contributing

Mentioned in Awesome V Build Status Docs Validation License: MIT

>>> import vtl
>>> t := vtl.from_array([1.0, 2, 3, 4], [2, 2])
>>> t.get([1, 1])
4.0

VTL Provides

  • An n-dimensional Tensor data structure
  • Sophisticated reduction, elementwise, and accumulation operations
  • Data Structures that can easily be passed to C libraries
  • Powerful linear algebra routines backed by VSL.

In the docs you can find more information about this module

Installation

Install dependencies (optional)

We use VSL as backend for some functionalities. VTL requires VSL's linear algebra module. If you wish you to use vtl without these, the vtl module will still function as normal.

Follow this install instructions at VSL docs in order to install VSL with all needed dependencies.

Install VTL

Via vpm

$ v install vtl

Via vpkg

$ vpkg get https://github.com/vlang/vtl

Done. Installation completed.

Testing

To test the module, just type the following command:

$ ./bin/test # execute `./bin/test -h` to know more about the test command

License

MIT

Contributors

This work was originally based on the work done by Christopher (christopherzimmerman) and the rest of the VLang-Num group.

The development of this library continues its course after having reimplemented its core and a large part of its interface. In the same way, we do not want to stop recognizing the work and inspiration that the library done by Christopher has given.

Made with contributors-img.

About

The V Tensor Library

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • V 92.4%
  • Shell 7.4%
  • Other 0.2%
0