Tensor
The Tensor library for Aleph.
Deprecation Warning
This is a staging ground for multidimensional arrays. This module will eventually be integrated in the Linear Algebra module.
Factories
| Name | Description |
|---|---|
delta_tensor | generate a delta-array of Complex with the specified shape. The delta array is one if all indices have the same value, zero otherwise. |
filled_tensor | generate an array of Complex values filled with a constant value and the specified shape |
random_tensor | Generate a random array of Complex values with the specified shape. |
uninitialized_tensor | generate an array of uninitialized Complex values with the specified shape |
zero_tensor | generate an array of Complex values filled with zeros and the specified shape |
Types
| Name | Description |
|---|---|
| ComplexTensor | ComplexTensor constructor. A multidimensionnal array of Complex, up to 5 dimensions. |
| RealTensor | RealTensor constructor. A multidimensionnal array of Real, up to 5 dimensions. |
Module Functions
| Name | Description |
|---|---|
| string | Convert a Complex tensor to its string representation. |
Module Symbols
| Name | Description |
|---|---|
* | Element-wise multiplication of Complex tensors or tensor-scalar multiplication. |
+ | Element-wise addition of Real tensors or tensor-scalar addition. |
- | Element-wise subtraction of Complex tensors or tensor-scalar subtraction. |
/ | Element-wise division of Real tensors or tensor-scalar division. |