search for: octonions

Displaying 6 results from an estimated 6 matches for "octonions".

Did you mean: octonion
2005 Sep 09
2
two almost identical packages: best practice
Hi I have written a whole bunch of methods for objects of class "octonion". [ an octonion is a single column of an eight-row matrix. Octonions have their own multiplication rules and are a generalization of quaternions, which are columns of a four-row matrix. ] So far I've done about a dozen generic functions such as seq.octonion(), rep.octonion(), [<-.octonion(), and so on and so on. Very nearly all of these functions are appl...
2005 Jul 29
1
octonions
Hi I thought it would be fun to develop R functionality for the octonions (there is already some work on quaternions). The octonions are an 8 dimensional algebra over the reals, so an octonion may nicely be represented as a real vector of length 8. Applications are many and varied, mostly quantum mechanics. I would like to develop some R functionality in this area....
2005 Aug 31
3
generic function argument list problem
Hi it says in R-exts that A method must have all the arguments of the generic, including ... if the generic does. A method must have arguments in exactly the same order as the generic. A method should use the same defaults as the generic. So, how come the arguments for rep() are (x, times, ...) and the arguments for rep.default() are (x, times, length.out, each, ...) ?
2007 Jun 27
1
inherits() and virtual classes
Hi How do I test for an object having a particular virtual class? In the following, "onion" is a virtual class, and "octonion" is a non-virtual class contained in onion. The last call to inherits() gives FALSE [R-2.5.0], when inherits.Rd led me to expect TRUE. setClass("onion", representation = "VIRTUAL" )
2005 Sep 01
1
generic function S3 consistency warning advice
Hi section 6.1 of R-exts suggests that a package can take over a function in the base package and make it generic. I want to do this with Re() and have the following lines in my R code: "Re" <- function(x){UseMethod("Re" )} "Re.default" <- get("Re" ,pos=NULL,mode="function") "Re.octonion" <- function(x){give.comp(x,1)}
2005 Oct 21
0
new package bundle: onion
Dear List I have just uploaded a new package, "onion", to CRAN. It provides some functionality for manipulating and visualizing quaternions and octonions. All comments welcome! enjoy rksh -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743 _______________________________________________ R-packages mailing list R-packages at stat.math.ethz.ch https://stat.et...