scaling_matrix

sknano.core.math.transforms.scaling_matrix(s=None, v=None)[source] [edit on github][source]

Return scaling matrix.

Parameters:
  • s ({list, float}) –
  • v ({None, Vector}, optional) –
Returns:

Return type:

ndarray