Git Product home page Git Product logo

matrix's Introduction

Matrix

When should I use this program?

Well, if you are tring to calculate the determinant of a square matrix, this program are made for you!!


Building!

Tools For Build

You just need the GNU make and the GNU g++ compiler! If you are using the MinGW environment, you will need to use make as mingw32-make

Local

Well, if you want to get the binary file in the same folder of the project, use

make local

on Windows, use

make local-windows

or

mingw32-make local-windows

And enjoy it!


Builds + Local

So, if you want to keep the object files, and get the binary, use

make build

on Windows, use

make build-windows

or

mingw32-make build-windows

and if you want to clean them later, use

make clan

or

mingw32-make clean

But they will keep the executable binary.


Build and Install on linux.

Unfortunately, I can not create a makefile that can install it on MS Windows ... If you know how to do it, feel free to improve my project!

To just install it on linux, use

sudo make install-linux

and then, you can use it every where!

To uninstall use

sudo make uninstall-linux


How to use it?

Easy! You just have to call and say the size of the matrix. I'll assume you're trying to use a square matrix, so you just need to pass one value, intead of the two dimentions (Wrong: 2x2 / Right: 2):

Matrix 2

to call a 2x2 matrix

(yes, you can't calculate a assimetrical matrix... for now)


Now, the progam will guide you to enter the correct value in the correct position, like this:

Line 1:
Enter the element 1: 4   <-- value that you have passed
Enter the element 2: 10  <-- value that you have passed

Line 2:
Enter the element 1: 50  <-- value that you have passed
Enter the element 2: 100 <-- value that you have passed

So, when you finished to enter the values to the program, it will show the matrix...

[  4][ 10]
[ 50][100]

...and print the determinant:

The determinant of the matrix is: -100

So that's it, enjoy!

~Grechuk

matrix's People

Contributors

gabriel-grechuk avatar

Watchers

James Cloos 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.