power_vectors

compas.geometry.power_vectors(vectors, power)[source]

Raise a list of vectors to the given power.

Parameters
  • vectors (sequence[[float, float, float] | Vector]) – A list of vectors.

  • power (int, float) – The power to which to raise the vectors.

Returns

list[[float, float, float]] – The raised vectors.

Examples

>>>