Interface Matrix

    • Method Detail

      • dimensions

        int dimensions()
        Gets the number of dimensions of the matrix.

        Each matrix type has a fixed number of dimensions, returned by this method.

        Returns:
        the dimensions of the matrix
      • size

        int size()
        Gets the size of the matrix.

        This is the total number of elements in the matrix.

        Returns:
        the size of the matrix