Skip to main content

array

Overloads

NameDescription
array(const IntegerArray lhs) -> IntegerArrayConverts a container to an array.
array(const ComplexMatrix lhs) -> ComplexArrayConverts a container to an array.
array(const ComplexArray lhs) -> ComplexArrayConverts a container to an array.
array(const ComplexSparseMatrix lhs) -> ComplexArrayConverts a container to an array.
array(const RealSparseMatrix lhs) -> RealArrayConverts a container to an array.
array(const RealMatrix lhs) -> RealArrayConverts a container to an array.
array(const RealArray lhs) -> RealArrayConverts a container to an array.
array(const BoolArray lhs) -> BoolArrayConverts a container to an array.
array(const List list) -> ComplexArrayConverts a list or list of list to a array.
array(const RealArray lhs, as_real type) -> RealArrayConverts a container to an array.
array(const List list, as_real type) -> RealArrayConverts a list or list of list to an array.
array(const BoolArray lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const IntegerArray lhs, as_bool type) -> BoolArrayConverts a container to an array.
array(const BoolArray lhs, as_real type) -> RealArrayConverts a container to an array.
array(const IntegerArray lhs, as_integer type) -> IntegerArrayConverts a container to an array.
array(const IntegerArray lhs, as_real type) -> RealArrayConverts a container to an array.
array(const IntegerArray lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const BoolArray lhs, as_integer type) -> IntegerArrayConverts a container to an array.
array(const ComplexMatrix lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const RealArray lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const List list, as_integer type) -> IntegerArrayConverts a list or list of list to an array.
array(const List list, as_complex type) -> ComplexArrayConverts a list or list of list to an array.
array(const List list, as_bool type) -> BoolArrayConverts a list or list of list to an array.
array(const ComplexSparseMatrix lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const RealSparseMatrix lhs, as_real type) -> RealArrayConverts a container to an array.
array(const RealSparseMatrix lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const List list, as_scalar type) -> ComplexArrayConverts a list or list of list to an array.
array(const ComplexArray lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const BoolArray lhs, as_bool type) -> BoolArrayConverts a container to an array.
array(const RealMatrix lhs, as_complex type) -> ComplexArrayConverts a container to an array.
array(const RealMatrix lhs, as_real type) -> RealArrayConverts a container to an array.

array(const IntegerArray lhs) -> IntegerArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const ComplexMatrix lhs) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const ComplexArray lhs) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const ComplexSparseMatrix lhs) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const RealSparseMatrix lhs) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const RealMatrix lhs) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const RealArray lhs) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const BoolArray lhs) -> BoolArray

Converts a container to an array.

Parameters

  • lhs: The container.

array(const List list) -> ComplexArray

Converts a list or list of list to a array.

Parameters

  • list: The list containing the values.

array(const RealArray lhs, as_real type) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const List list, as_real type) -> RealArray

Converts a list or list of list to an array.

Parameters

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

array(const BoolArray lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const IntegerArray lhs, as_bool type) -> BoolArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const BoolArray lhs, as_real type) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const IntegerArray lhs, as_integer type) -> IntegerArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const IntegerArray lhs, as_real type) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const IntegerArray lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const BoolArray lhs, as_integer type) -> IntegerArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const ComplexMatrix lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const RealArray lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const List list, as_integer type) -> IntegerArray

Converts a list or list of list to an array.

Parameters

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

array(const List list, as_complex type) -> ComplexArray

Converts a list or list of list to an array.

Parameters

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

array(const List list, as_bool type) -> BoolArray

Converts a list or list of list to an array.

Parameters

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

array(const ComplexSparseMatrix lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const RealSparseMatrix lhs, as_real type) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const RealSparseMatrix lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const List list, as_scalar type) -> ComplexArray

Converts a list or list of list to an array.

Parameters

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

array(const ComplexArray lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const BoolArray lhs, as_bool type) -> BoolArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const RealMatrix lhs, as_complex type) -> ComplexArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.

array(const RealMatrix lhs, as_real type) -> RealArray

Converts a container to an array.

Parameters

  • lhs: The container.
  • type: The type of the array to create.