Documentation of 'Catalano.Math.PaddingMatrix' Java class
PaddingMatrix
Catalano.Math

Class PaddingMatrix



  • public class PaddingMatrix
    extends java.lang.Object
    Padding the matrix.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PaddingMatrix(int rows, int cols)
      Initializes a new instance of the PaddingMatrix class.
      PaddingMatrix(int rows, int cols, boolean replicate)
      Initializes a new instance of the PaddingMatrix class.
      PaddingMatrix(int rows, int cols, double value)
      Initializes a new instance of the PaddingMatrix class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double[][] Create(double[][] matrix)
      Create a new matrix with the padding values.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PaddingMatrix

        public PaddingMatrix(int rows,
                             int cols)
        Initializes a new instance of the PaddingMatrix class.
        Parameters:
        rows - Number of rows.
        cols - Number of columns.
      • PaddingMatrix

        public PaddingMatrix(int rows,
                             int cols,
                             double value)
        Initializes a new instance of the PaddingMatrix class.
        Parameters:
        rows - Number of rows.
        cols - Number of columns.
        value - Default value to fill.
      • PaddingMatrix

        public PaddingMatrix(int rows,
                             int cols,
                             boolean replicate)
        Initializes a new instance of the PaddingMatrix class.
        Parameters:
        rows - Number of rows.
        cols - Number of columns.
        replicate - Replicate the elements of the border.
    • Method Detail

      • Create

        public double[][] Create(double[][] matrix)
        Create a new matrix with the padding values.
        Parameters:
        matrix - Matrix to be padded.
        Returns:
        New matrix.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.