final class LinAlg extends Decorator (View source)

Linear algebra wrapper

Traits

Choleski decomposition
Norms methods

Methods

cholesky(NdArray|array $matrix)

Decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix

float|int
norm(NdArray|array $matrix)

Matrix or vector norm.

Details

final NdArray cholesky(NdArray|array $matrix)

Decomposition of a Hermitian, positive-definite matrix into the product of a lower triangular matrix

Parameters

NdArray|array $matrix

Return Value

NdArray

final float|int norm(NdArray|array $matrix)

Matrix or vector norm.

Parameters

NdArray|array $matrix

Return Value

float|int