eigenvalues = $eigenvalues; $this->eigenvectors = $eigenvectors; } /** * Return the eigenvalues of the eigendecomposition. * * @return (int|float)[] */ public function eigenvalues() : array { return $this->eigenvalues; } /** * Return the eigenvectors of the eigendecomposition. * * @return Matrix */ public function eigenvectors() : Matrix { return $this->eigenvectors; } }