where the conductivity σ and resistivity ρ are rank-2 tensors, and electric field E and current density J are vectors. These tensors can be represented by 3×3 matrices, the vectors with 3×1 matrices, with matrix multiplication used on the right side of these equations. In matrix form, the resistivity relation is given by: