Class MatrixFactory<T extends Matrix>

  • Type Parameters:
    T -

    public abstract class MatrixFactory<T extends Matrix>
    extends java.lang.Object
    An abstract matrix factory.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Class<T> outputClass  
    • Constructor Summary

      Constructors 
      Constructor Description
      MatrixFactory()  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract T apply​(int rows, int columns)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • outputClass

        public final java.lang.Class<T extends Matrix> outputClass
    • Constructor Detail

      • MatrixFactory

        public MatrixFactory()
    • Method Detail

      • apply

        public abstract T apply​(int rows,
                                int columns)