scale_vectors

compas.geometry.scale_vectors(vectors, factor)[source]

Scale multiple vectors by a given factor.

Parameters
  • vectors (list) – A list of vectors.

  • factor (float) – The scaling factor.

Returns

vectors (list of list) – The scaled vectors.

Examples

>>>