Skip to content

Commit 0625671

Browse files
committed
Add ⊗ as synonym for kron
1 parent 7f615cf commit 0625671

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

base/exports.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ export
224224
|,
225225
~,
226226
:,
227+
,
227228
A_ldiv_B!,
228229
A_ldiv_Bc,
229230
A_ldiv_Bt,

base/operators.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ fld{T<:Real}(x::T, y::T) = convert(T,round((x-mod(x,y))/y))
110110
# operator alias
111111
const % = rem
112112
.%(x::Real, y::Real) = x%y
113+
const = kron
113114

114115
# mod returns in [0,y) whereas mod1 returns in (0,y]
115116
mod1{T<:Real}(x::T, y::T) = y-mod(y-x,y)
@@ -396,6 +397,7 @@ export
396397
|>,
397398
<|,
398399
~,
400+
,
399401
colon,
400402
hcat,
401403
vcat,

src/julia-parser.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
(: |..|)
1313
(+ - |.+| |.-| |\|| $)
1414
(<< >> >>> |.<<| |.>>| |.>>>|)
15-
(* / |./| % |.%| & |.*| |\\| |.\\|)
15+
(* / |./| % |.%| & |.*| |\\| |.\\|)
1616
(// .//)
1717
(^ |.^|)
1818
(|::|)

0 commit comments

Comments
 (0)