fips.Matrix.scale# Matrix.scale(factor)[source]# Scale the matrix by a scalar factor. Parameters: factor (float or int) – Scalar factor to multiply the matrix by. Returns: New Matrix instance scaled by the factor. Return type: Matrix