Interface StructureAnyD.Reshapable

    • Method Detail

      • expand

        StructureAnyD expand​(int rank)
        If necessary increase the rank to the specified number (without changing the total number of components)
      • flatten

        Structure1D flatten()
        Flattens this to a 1D structure. This operation is largely redundant in ojAlgo as anything AnyD is also/simultaneously 1D.
      • reshape

        StructureAnyD reshape​(long... shape)
        The same array viewed/accessed with a different shape
      • squeeze

        StructureAnyD squeeze()
        Squeezing removes the dimensions or axes that have a length of one. (This does not change the total number of components.)