Vectorious Versions Save

Linear algebra in TypeScript.

5.3.0

5 years ago

#64 Added method rowAdd(dest : number, source : number, scalar : number = 1.0 ) : Matrix to the class Matrix for adding a multiple of one row to another inside a matrix.

5.2.0

5 years ago
  • #125 Added method cross(vector: Vector) : Vector to the class Vector for calculation the cross product (3-component vectors).

5.1.0

5 years ago
  • #124 Adds an NDArray super-class to Matrix and Vector.
  • #134 Improve error messages.

5.0.0

5 years ago

Changes

  • Convert to TypeScript.
  • #113 fix confusion with Matrix.random() and Vector.random()

4.8.2

5 years ago

Changes

  • #112 + adds isNaN check to Vector.prototype.check.

4.8.1

7 years ago

Changes

  • #103 make nblas an optional dependency
  • #104 fix npm test call to support windows
  • #105 supply withblas and withoutblas entries
  • #106 add contributors to package.json

4.8.0

7 years ago

Changes

  • #99 for-loop optimizations
  • #97 add check method to vector
  • #94 simplify vector scale method and add data to callbacks in vector map(), reduce() and each() methods
  • #95 make vector fill() take function as value
  • #101 make matrix fill() take function as value
  • #100 add support for two new types of matrix construction

4.7.0

7 years ago

Add Matrix.fill(i, j, value, type), Matrix.binOp(a, b, op) and Matrix.prototype.binOp(matrix, op) (see #92, #93).

4.6.0

7 years ago

Adds a new method, Vector.binOp(a, b, op) and Vector.prototype.binOp(vector, op) that takes two vectors and combines them by running the binary operation function op on all elements of the same index. Vector.binOp returns a new Vector, while Vector.prototype.binOp works in-place (see #89).

4.5.2

7 years ago

Optimizes Vector.prototype.toString by using an array instead of concatenating strings (see #87).