Sam R. Smith wrote:
if solve(a,b) means to calculate an inverse matrix of
a with b, and i wonder why solve(a)%%b will get
different result?
It does? Or perhaps your %% is not just a typo. It should be %*%.
a - matrix(rnorm(16), 4, 4)
b - matrix(rnorm(4), 4, 1)
solve(a, b)
Sundar Dorai-Raj [EMAIL PROTECTED] writes:
Sam R. Smith wrote:
if solve(a,b) means to calculate an inverse matrix of
a with b, and i wonder why solve(a)%%b will get
different result?
It does? Or perhaps your %% is not just a typo. It should be %*%.
a - matrix(rnorm(16), 4, 4)
if solve(a,b) means to calculate an inverse matrix of
a with b, and i wonder why solve(a)%%b will get
different result?
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!