sknano.core.math.scaling_matrix

sknano.core.math.scaling_matrix(s=None, v=None)[source][source]

Return scaling matrix.

Parameters:

s : {list, float}

v : {None, Vector}, optional

Returns:

ndarray