Package for solving systems of equations like Hx = b.
You can create matrices and vectors by init
methods and special functions.
Example:
struct Vector v = initVector(size);
struct Squarematrix m = initMatrix(size);
struct SquareMatix e = eyeMatrix(size);
struct Vector i = readVectorFromStdIn();
You can access operations like +, -, /, * by their name + data structure.
Example:
struct Vector v = addVector(v1, v2);
struct Matrix m = nultiplyMatrixOnNumber(m2, 2);
Also, there are mutable versions of operations, which alters one of arguments.
Example:
addMatrixMutable(chaging, term);
You can optimize your functions by Fletcher Reeves optimization procedure.
Example:
struct Vector xPredicted = optimizeFletcherReeves(hessian, b, minusGrad);
Also you can use test for examples.