Types submodule#

Fundamental types#

Type

Type Guard

Description

Scalar

is_scalar

A single integer or floating point number.

Double

is_double

A single floating point number.

Vector

is_vector

A 1D numpy array of floating point numbers.

Array

is_array

A 1D numpy array or sequence of scalars.

State representation#

GenericState(q1, q2, q3, q4, q5, q6[, deg, wrap])

Base class for state vectors