|
Size: 1131
Comment: Link to Hermitian
|
← Revision 4 as of 2026-02-13 03:20:16 ⇥
Size: 1124
Comment: Link
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 24: | Line 24: |
| Note that the [[LinearAlgebra/Transposition|transposition]] operator `'` gives the [[LinearAlgebra/MatrixConjugation|Hermitian transposition]], while the function `transpose()` gives the ''non-conjugate'' transposition. | Note that the [[LinearAlgebra/Transposition|transposition]] operator `'` gives the [[LinearAlgebra/HermitianTranspose|Hermitian transpose]], while the function `transpose()` gives the ''non-conjugate'' transpose. |
Julia Operators
These are the operators supported by Julia.
Contents
Description
Most operators work as expected. Note that / performs floating point division whereas // performs exact rational division.
For the most part, prefixing an operator with a dot (.) causes element-wise operation. For example:
.* for element-wise multiplication
./ for element-wise division
.^ for element-wise power
To type the cross product operator, type \times and tab-complete. This is equivalent to calling the cross() function on two vector arguments.
Similarly, for the dot product operator, type \cdot and tab-complete. This is equivalent to calling the dot() function on two vector arguments.
Note that the transposition operator ' gives the Hermitian transpose, while the function transpose() gives the non-conjugate transpose.
