QMRITools`
QMRITools`

PadToDimensions

PadToDimensions[data]

pads the data to the max dimensions of data,using FindMaxDimensions.

PadToDimensions[data,dim]

pads the data to dimensions dim.

Details

  • The following options can be given:
  • PadValue0.PadValue is an option for PadToDimensions. It specifies the value of the padding.
    PadDirection"Center"PadDirection is an option for PadToDimensions. It specifies the direction of padding, "Center", "Left" or "Right".

Examples