random
Overloads
| Name | Description |
|---|---|
random(const List<integer> shape) -> ComplexMatrix | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_real type) -> RealMatrix | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_scalar type) -> ComplexMatrix | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_complex | as_matrix type) -> ComplexMatrix | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_complex type) -> ComplexMatrix | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_array type) -> ComplexArray | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_bool | as_array type) -> BoolArray | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_integer | as_array type) -> IntegerArray | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_real | as_array type) -> RealArray | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_complex | as_array type) -> ComplexArray | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_matrix type) -> ComplexMatrix | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape, as_real | as_matrix type) -> RealMatrix | Creates a container with the specified shape and type, filled with random values. |
random(const List<integer> shape) -> ComplexMatrix
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
random(const List<integer> shape, as_real type) -> RealMatrix
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_scalar type) -> ComplexMatrix
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_complex | as_matrix type) -> ComplexMatrix
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_complex type) -> ComplexMatrix
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_array type) -> ComplexArray
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_bool | as_array type) -> BoolArray
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_integer | as_array type) -> IntegerArray
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_real | as_array type) -> RealArray
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_complex | as_array type) -> ComplexArray
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_matrix type) -> ComplexMatrix
Creates a container with the specified shape and type, filled with random values.
Parameters
- shape: The shape of the container to create.
- type: The type of the container to create.
random(const List<integer> shape, as_real | as_matrix type) -> RealMatrix
Creates a container with the specified shape and type, filled with random values.