A PHP Library To Solve Elementary Linear Algebra Problems

Details

Source

Issues

10

0

4

1

1

0.1.0 2017-02-15 09:21 UTC

This package is not auto-updated.

Last update: 2024-09-09 06:34:18 UTC

Easily To Solve Elementary Linear Algebra Problems Between Addition, Subtraction, Multiplication, Adjoin, Eigen, Invers, Scalar, System of linear equations, Transpose, Vector of Matrix

Features

• Available Elementary Linear Algebra Calculation:
• Subtraction
• Multiplication
• Eigen
• Invers
• Scalar
• System of linear equations
• Transpose
• Vector

Installation

`composer require suryapradana/alephp`

Usage

```use ALE\ALE;

require_once('../../src/ALE/ALE.php');

[1, 2, 5],
[3, 4, 6],
[8, 9, 2]
]);

[5, 6, 4],
[7, 3, 6],
[4, 6, 2]
]);

echo implode(' ', \$value);
echo '<br>';
}```
Vector
```use ALE\ALE;

require_once('../../src/ALE/ALE.php');

\$vector = new ALE('Vector');

\$vector->process->setVectorType('Projection');

\$vector->process->setDataNonMatrixA(1,2,3);

\$vector->process->setDataNonMatrixB(4,3,2);

foreach (\$vector->process->setALE() as \$values) {
echo \$values.' ';
}```
Eigen
```use ALE\ALE;

require_once('../../src/ALE/ALE.php');

\$eigen = new ALE('Eigen');

\$eigen->process->setDataFirst([
[3, 4],
[5, 2]
]);

\$eigen->process->setALE();```