GithubHelp home page GithubHelp logo

void-intelligence / nomad Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 1.0 583 KB

Nomad - Lightweight parallel matrix library

License: Apache License 2.0

C# 100.00%
matrix-library matrix csharp linear-algebra dot-net-core dotnet nomad parallel parallel-computing

nomad's Introduction

NOMAD Void-Intelligence

Nomad Logo

Welcome To Nomad, A lightweight Matrix manipulation library currently under development.

Nomad's Matrix class supports a variaty of different functions such as Norm Calculation, Dot Product, Inverse Calculation, Transpose Operation, Function Mapping, Random Initialization, Reshape Operation, Vector Broadcasting, Uniform and Gaussian Random Distribution, etc...

You can find the full list of all the capabilities in the matrix class documentation page.

Documentation (Out of Date)

The full API Documentation explaination on all aspects of the library, you can check it out here.

Quickstart

The quickstart guide will get you up and running with the nomad library in no time.

PM> Install-Package VI-Nomad
using System;
using Nomad.Core;
using Nomad.Utility;

namespace Sample
{
    public class Program
    {
        public static void Main()
        {
            // Create a matrix of size 5 (rows) and 10 (columns)
            Matrix mat = new Matrix(5, 10);

            // Randomly Initialize the values of your matrix with Gaussian Distribution 
            // Gaussian Dispersion will be ((high - low) / 2)
            mat.InRandomize(0.0, 1.0, EDistribution.Gaussian);

            // Transpose the Matrix mat and put it in matT
            Matrix matT = mat.T();

            // Calculate the dot product between the two matrices mat and matT and store the result in product
            Matrix product = mat * matT;

            // Flatten the product matrix inplace
            product.InFlatten();

            // Make sure the matrix has been transformed into a vector as expected
            Console.WriteLine(product.Type().ToString());

            // Transpose the vector inplace so it will print in 1 line
            product.InTranspose();

            // Convert the product vector into a string
            string str = product.ToString();

            // Print the product Vector
            Console.WriteLine(str);

            // End the program
            return;
        }
    }
}

nomad's People

Contributors

n1arash avatar nirex0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

n1arash

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.