Matrix2dExtension extension

on

Properties

diagonal List
To find a diagonal element from a given matrix and gives output as one dimensional matrix
no setter
flatten List
Used to get a copy of an given array collapsed into one dimension
no setter
shape List
The shape of an array is the number of elements in each dimension.
no setter
sum → dynamic
Function returns the sum of array elements
no setter
transpose List
Reverse the axes of an array and returns the modified array.
no setter

Methods

flip({int? axis}) List
flip (reverse) the matrix along the given axis and returns the modified array.
max({int? axis}) List
find max value of given matrix
min({int? axis}) List
find min value of given matrix
reshape(int row, int column) List
Reshaping means changing the shape of an array.