Variables
bench-switch Namespace Reference

Variables

list a = [0.0, 0.0, 0.0]
 
 a_matrix = np.matrix(a)
 
string cmd1 = "timeit np.array(a)"
 
string cmd2 = "timeit np.matrix(a)"
 
string cmd4 = "timeit quat.coeffs()"
 
string cmd5 = "timeit np.asmatrix(quat.coeffs())"
 
string cmd6 = "timeit np.asarray(a_matrix)"
 
 ipython = get_ipython()
 
 quat = eigenpy.Quaternion()
 

Variable Documentation

◆ a

list bench-switch.a = [0.0, 0.0, 0.0]

Definition at line 12 of file bench-switch.py.

◆ a_matrix

bench-switch.a_matrix = np.matrix(a)

Definition at line 35 of file bench-switch.py.

◆ cmd1

string bench-switch.cmd1 = "timeit np.array(a)"

Definition at line 14 of file bench-switch.py.

◆ cmd2

string bench-switch.cmd2 = "timeit np.matrix(a)"

Definition at line 20 of file bench-switch.py.

◆ cmd4

string bench-switch.cmd4 = "timeit quat.coeffs()"

Definition at line 25 of file bench-switch.py.

◆ cmd5

string bench-switch.cmd5 = "timeit np.asmatrix(quat.coeffs())"

Definition at line 30 of file bench-switch.py.

◆ cmd6

string bench-switch.cmd6 = "timeit np.asarray(a_matrix)"

Definition at line 36 of file bench-switch.py.

◆ ipython

bench-switch.ipython = get_ipython()

Definition at line 9 of file bench-switch.py.

◆ quat

bench-switch.quat = eigenpy.Quaternion()

Definition at line 11 of file bench-switch.py.



eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Nov 2 2024 02:14:45