identity_like
Overloads
| Name | Description |
|---|---|
identity_like(const ComplexArray lhs) -> ComplexArray | Return the identity with the same shape and type as a given container. |
identity_like(const BoolArray lhs) -> BoolArray | Return the identity with the same shape and type as a given container. |
identity_like(const RealArray lhs) -> RealArray | Return the identity with the same shape and type as a given container. |
identity_like(const IntegerArray lhs) -> IntegerArray | Return the identity with the same shape and type as a given container. |
identity_like(const ComplexMatrix lhs) -> ComplexMatrix | Return the identity with the same shape and type as a given container. |
identity_like(const RealMatrix lhs) -> RealMatrix | Return the identity with the same shape and type as a given container. |
identity_like(const ComplexArray lhs) -> ComplexArray
Return the identity with the same shape and type as a given container.
Parameters
- lhs: The input container.
identity_like(const BoolArray lhs) -> BoolArray
Return the identity with the same shape and type as a given container.
Parameters
- lhs: The input container.
identity_like(const RealArray lhs) -> RealArray
Return the identity with the same shape and type as a given container.
Parameters
- lhs: The input container.
identity_like(const IntegerArray lhs) -> IntegerArray
Return the identity with the same shape and type as a given container.
Parameters
- lhs: The input container.
identity_like(const ComplexMatrix lhs) -> ComplexMatrix
Return the identity with the same shape and type as a given container.
Parameters
- lhs: The input container.
identity_like(const RealMatrix lhs) -> RealMatrix
Return the identity with the same shape and type as a given container.
Parameters
- lhs: The input container.