Lapack::identityReturn an identity matrix Beschreibung
public static array Lapack::identity
( int
$n
)Return a size n identity matrix Parameter-Liste
RückgabewerteWill return a an array of n arrays, each containing n entries. The diagonals of the matrix will be 1s, the other positions 0. |