Skip to main content

vector

Overloads​

NameDescription
vector(const List list) -> ComplexMatrixConverts a list to a column-vector.
vector(const List list, as_scalar type) -> ComplexMatrixConverts a list to a column-vector.
vector(const List list, as_real type) -> RealMatrixConverts a list to a column-vector.
vector(const List list, as_complex type) -> ComplexMatrixConverts a list to a column-vector.

vector(const List list) -> ComplexMatrix​

Converts a list to a column-vector.

Parameters​

  • list: The list containing the values.

vector(const List list, as_scalar type) -> ComplexMatrix​

Converts a list to a column-vector.

Parameters​

  • list: The list containing the values.
  • type: The type of the vector to create.

vector(const List list, as_real type) -> RealMatrix​

Converts a list to a column-vector.

Parameters​

  • list: The list containing the values.
  • type: The type of the vector to create.

vector(const List list, as_complex type) -> ComplexMatrix​

Converts a list to a column-vector.

Parameters​

  • list: The list containing the values.
  • type: The type of the vector to create.