Skip to main content

zeros

Overloads

NameDescription
zeros(const List<integer> shape) -> ComplexMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_complex | as_sparsematrix type) -> ComplexSparseMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_real | as_sparsematrix type) -> RealSparseMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_matrix type) -> ComplexMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_complex | as_array type) -> ComplexArrayCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_real | as_array type) -> RealArrayCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_integer | as_array type) -> IntegerArrayCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_bool | as_array type) -> BoolArrayCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_array type) -> ComplexArrayCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_complex type) -> ComplexMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_real type) -> RealMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_scalar type) -> ComplexMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_sparsematrix type) -> ComplexSparseMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_complex | as_matrix type) -> ComplexMatrixCreates a container with the specified shape and type, filled with zeros.
zeros(const List<integer> shape, as_real | as_matrix type) -> RealMatrixCreates a container with the specified shape and type, filled with zeros.

zeros(const List<integer> shape) -> ComplexMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.

zeros(const List<integer> shape, as_complex | as_sparsematrix type) -> ComplexSparseMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_real | as_sparsematrix type) -> RealSparseMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_matrix type) -> ComplexMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_complex | as_array type) -> ComplexArray

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_real | as_array type) -> RealArray

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_integer | as_array type) -> IntegerArray

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_bool | as_array type) -> BoolArray

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_array type) -> ComplexArray

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_complex type) -> ComplexMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_real type) -> RealMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_scalar type) -> ComplexMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_sparsematrix type) -> ComplexSparseMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_complex | as_matrix type) -> ComplexMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.

zeros(const List<integer> shape, as_real | as_matrix type) -> RealMatrix

Creates a container with the specified shape and type, filled with zeros.

Parameters

  • shape: The shape of the container to create.
  • type: The type of the container to create.