parameters: (t)
return_statement: return np.array([[1, 0, 0], [0, c, -s], [0, s, c]])
docstring: Rotation about the x-axis.
docstring_summary: Rotation about the x-axis.
docstring_tokens: Rotation about the x - axis .
function: def rotx(t):
    """Rotation about the x-axis."""
    c = np.cos(t)
    s = np.sin(t)
    return np.array([[1, 0, 0], [0, c, -s], [0, s, c]])
function_tokens: def rotx ( t ) : c = np . cos ( t ) s = np . sin ( t ) return np . array ( [ [ 1 , 0 , 0 ] , [ 0 , c , - s ] , [ 0 , s , c ] ] )