Skip to content

EclesioMeloJunior/matrix

Repository files navigation

matrix

This repository contains the operations with matrixes. The current matrix is a type Matrix [][]int64

Current features

  • Sum
  • Substraction
  • Multiply
  • MultiplyByScalar
  • Transpose
  • IsSquared
  • Determinant
  • LU Decomposition (work in progress)
  • Zero (creates a matrix R x C and all entries are 0)
  • RandInt (creates a matrix R x C where all entries are choices from 0 - 255)

Other methods

  • Get (retrieve a value given a row and column)
  • Equals
  • Cols
  • Rows

Tests

To run unit tests

make test or go test ./...

To run benchmark tests

make bench or go test ./... -bench=.

About

A golang lib to deal with Matrix operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published