search for: unchnaged

Displaying 5 results from an estimated 5 matches for "unchnaged".

Did you mean: unchanged
2004 Jul 29
1
Any orthnormal matrix can keep the curve's shape and size unchnaged?
Dear R users, I want to know, given a curve f in d-dimensional space, It is possible to keep the curve’s shape and size unchanged by an arbitrary dxd orthnormal matrix A? That is, the new curve g = A*f is still the same shape and size as f? Thanks for your advices and answers. Fred [[alternative HTML version deleted]]
2016 Dec 01
2
Different results for cos,sin,tan and cospi,sinpi,tanpi
...e fix will be in all future versions of R. oops.... not so quickly, Martin! Of course, the results then coincide, by sheer implementation. *BUT* it is not at all clear which of the two results is better; e.g., if you replace '1.23' by '1' in the above examples, the result of the unchnaged *pi() functions is 100% accurate, whereas R> sapply(c(cos,sin,tan), function(Fn) Fn(1e45*pi)) [1] -0.8847035 -0.4661541 0.5269043 is "garbage". After all, 1e45 is an even integer and so, the (2pi)-periodic functions should give the same as for 0 which *is* (1, 0, 0). For suc...
2016 Dec 01
0
Different results for cos,sin,tan and cospi,sinpi,tanpi
...of R. > > oops.... not so quickly, Martin! > > Of course, the results then coincide, by sheer implementation. > > *BUT* it is not at all clear which of the two results is better; > e.g., if you replace '1.23' by '1' in the above examples, the > result of the unchnaged *pi() functions is 100% accurate, > whereas > > R> sapply(c(cos,sin,tan), function(Fn) Fn(1e45*pi)) > [1] -0.8847035 -0.4661541 0.5269043 > > is "garbage". After all, 1e45 is an even integer and so, the > (2pi)-periodic functions should give the same as for 0...
2016 Dec 01
1
Different results for cos,sin,tan and cospi,sinpi,tanpi
...not so quickly, Martin! >> >> Of course, the results then coincide, by sheer implementation. >> >> *BUT* it is not at all clear which of the two results is better; >> e.g., if you replace '1.23' by '1' in the above examples, the >> result of the unchnaged *pi() functions is 100% accurate, >> whereas >> >> R> sapply(c(cos,sin,tan), function(Fn) Fn(1e45*pi)) >> [1] -0.8847035 -0.4661541 0.5269043 >> >> is "garbage". After all, 1e45 is an even integer and so, the >> (2pi)-periodic functions s...
2016 Dec 01
2
Different results for cos,sin,tan and cospi,sinpi,tanpi
Hi, i try sin, cos, and tan. > sapply(c(cos,sin,tan),function(x,y)x(y),1.23e45*pi) [1] 0.5444181 0.8388140 1.5407532 However, *pi results the following > sapply(c(cospi,sinpi,tanpi),function(x,y)x(y),1.23e45) [1] 1 0 0 Please try whether the following becomes all right. diff -ruN R-3.3.2.orig/src/nmath/cospi.c R-3.3.2/src/nmath/cospi.c --- R-3.3.2.orig/src/nmath/cospi.c 2016-09-15