At_rdiv_B

At_rdiv_B(A, B)

For matrices or vectors $A$ and $B$, calculates $Aáµ€ / B$

Examples

  1. Calculate the transpose divided by a matrix:

    julia> A = [1 2; 3 4];
    julia> B = [2 2; 2 2];
    julia> At_rdiv_B(A, B)
    2×2 Array{Float64,2}:
    0.5  1.0
    0.5  1.0

    In this example, the function calculates the transpose of matrix A and divides it by matrix B.

  2. Perform element-wise division on vectors:
    julia> A = [1, 2, 3];
    julia> B = [2, 2, 2];
    julia> At_rdiv_B(A, B)
    3-element Array{Float64,1}:
    0.5
    1.0
    1.5

    It performs element-wise division on the vectors A and B.

Common mistake example:

julia> A = [1 2; 3 4];
julia> B = [2 2 2; 2 2 2];
julia> At_rdiv_B(A, B)
ERROR: DimensionMismatch("columns of A and rows of B must be the same")

In this example, the dimensions of matrices A and B are not compatible for division. Ensure that the number of columns in A matches the number of rows in B to avoid this error.

See Also

Ac_ldiv_B, Ac_ldiv_Bc, Ac_mul_B, Ac_mul_Bc, Ac_rdiv_B, Ac_rdiv_Bc, At_ldiv_B, At_ldiv_Bt, At_mul_B, At_mul_Bt, At_rdiv_B, At_rdiv_Bt, A_ldiv_Bc, A_ldiv_Bt, A_mul_B!, A_mul_Bc, A_mul_Bt, A_rdiv_Bc, A_rdiv_Bt, Bidiagonal, cond, conv2, det, diag, diagind, diagm, diff, eig, eigvals, eigvecs, expm, eye, full, inv, isdiag, ishermitian, isposdef, isposdef!, issym, istril, istriu, logabsdet, logdet, lyap, norm, qrfact, rank, repmat, rot180, rotl90, rotr90, sortrows, sqrtm, SymTridiagonal, trace, Tridiagonal, tril, tril!, triu, triu!, writedlm,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field
Details

Checking you are not a robot: