Table of Contents

Previous topic

CivPy

Next topic

civpy.math.projection_angles

This Page

Math (civpy.math)

Contains math functions.

Linear Algebra

projection_angles(name) Returns the rotation angles for the specified projection.
rotation_matrix2(angle) Returns the 2D rotation matrix.
rotation_matrix3([angle_x, angle_y, angle_z]) Returns the 3D rotation matrix.
rotate2(x, angle[, origin]) Rotates the input 2D vectors by the specified angle.
rotate3(x[, angle_x, angle_y, angle_z, origin]) Rotates the input 3D vectors by the specified angles.

Optimization

fsolve(\*args, \*\*kwargs) Finds the roots of a function.