Elementwise reciprocal matrix
reciprocal_matrix(x, numerator = 1)
Arguments
- x
Object x
- numerator
The numerator in the result.
Examples
if (has_sympy()) {
s <- as_sym("[[r1, r2, r3], [u1, u2, u3]]")
reciprocal_matrix(s, numerator = 7)
}
#> c: ⎡7 7 7 ⎤
#> ⎢── ── ──⎥
#> ⎢r₁ r₂ r₃⎥
#> ⎢ ⎥
#> ⎢7 7 7 ⎥
#> ⎢── ── ──⎥
#> ⎣u₁ u₂ u₃⎦