АО
Size: a a a
АО
АО
A
using Einsum
using LinearAlgebra
x = rand(3, 3)
δ = I(3)
A = ones(3, 3) # preallocated space
@einsum A[i, k] := x[i, j] * δ[j, k]
A
АО
$x is undefined in this contextАО
fun and what is 3*(?)?A
$x is undefined in this contextАО
A
fun and what is 3*(?)?A
АО
println("1 + $x - $y"). Note double quotes.A
println("1 + $x - $y"). Note double quotes.A
АО
i == 1 is a condition. It has a form of equality, which can be calculated and as a result have some boolean answer.AM
A
AM
AM
AM
A