Git Product home page Git Product logo

vtl's Introduction

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.

vtl's People

Contributors

medvednikov avatar spytheman avatar ulises-jeremias avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.