search for: quaternion

Displaying 20 results from an estimated 24 matches for "quaternion".

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 applicable to objects of class "quaternion". So, for example, I hav...
2006 Sep 01
1
as.environment(NULL)
.../namespace load failed for 'onion' Execution halted It looks like this package has a loading problem: see the messages for details. in 00check.log. I don't understand what I have to do to fix this. In my NAMESPACE file there are lots of lines like this: S3method("Re", quaternion) S3method("Im", quaternion) S3method("i", quaternion) S3method("j", quaternion) S3method("k", quaternion) what do I have to do to make onion work under R-devel? -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, S...
2007 Oct 22
0
[LLVMdev] OT: new here, dynamic/runtime compilation (in general)
...robably a fairly smart compiler could still get plenty > good results out of inline functions and intrinsics or something > (as it so happens, my compiler is not so smart here, so I made > these features builtin, and fell back to functions for more > involved operations, such as quaternion slerp, ...). > llvm-gcc and clang both fully support GCC style generic vectors and altivec/sse intrinsics. In addition, clang supports "glsl" style vector permutations, direct vector element access, etc. The LLVM optimizer and code generator supports many vector operations i...
2003 May 30
2
Creating a vector class
I'm trying to create a package for working on orientation data, i.e. data where the observations are 3D rotations. There are several different representations of orientations in common use: SO(3) matrices, Euler angles, unit quaternions, etc. One thing I'd like is to make it convenient to work in any representation, and have conversions to others done as needed. I'm trying to do all of this in S4 classes. Here's the current class structure I'm using; please let me know if there's something wrong with this:...
2007 Oct 22
4
[LLVMdev] OT: new here, dynamic/runtime compilation (in general)
...being (namely: 'static', initialized structs, multi-prototypes, C99 style dynamicly-sized arrays, ...). to 'add insult to injury' though, I implemented a few compiler extension features: some partly derived from gcc (__real, __imag, ...); some custom: builtin geometric vectors and quaternions (I do a lot of 3D stuff...); .. I also have Garbage Collection, Dynamic Typing, and Prototype OO available as library features (note, I mean 'Prototype OO', in reference to the object system used in Self, and crudely immitated in JavaScript, and not in reference to "some crude mockup...
2007 Sep 28
3
orientlib
Hi All user, I have been using R-2.5.1. dose orientlib support this version? I would like to try. it. I have been wondering how to install the library. With regards, abu _________________________________________________________________ Celeb spotting ? Play CelebMashup and win cool prizes
2015 Mar 06
2
Hyper-dual numbers in R
Hi, Has anyone in R core thought about providing "hyper-dual numbers" in R? Hyper-dual (HD) numbers, invented by Jeffrey Fike at Stanford, are useful for computing exact second-order derivatives (e.g., Hessian). HD numbers are extensions of complex numbers. They are like "quaternions" and have 4 parts to them (one real and 3 non-real). They seem to be available in Julia. Obviously, the HD numbers involve a lot more book keeping. http://adl.stanford.edu/hyperdual/ Thanks, Ravi [[alternative HTML version deleted]]
2007 Oct 22
0
[LLVMdev] OT: new here, dynamic/runtime compilation (in general)
On Oct 21, 2007, at 5:27 PM, BGB wrote: > well, sadly, I am not sure how people are on this list... I'd suggest browsing through the llvmdev mailing list archive. > now, what I do with it is this: > I use C as a scripting language... > Sounds like a fun project. Note that the clang C front-end also supports use in a JIT environment: this will allow you to JIT the full
2006 Aug 29
2
vector S4 classes
In the Green Book, section 7.5 discusses new vector classes and uses quaternions as an example of a vector class that needs more than one number per element. I would like to define a new class that has a numeric vector and a logical vector of the same length that specifies whether the measurement was accurate. The following code does not behave as desired: > setCl...
2011 Jun 11
8
Help with railroad
Can anyone help me install railroad gem? What I need is a simple class diagram of my rails website. Not necessarily with railroad (if you know any other software, for mac, that works). The website is http://railroad.rubyforge.org/ I couldn''t find any explanation on how to install it. Thank you, Rodrigo -- You received this message because you are subscribed to the Google Groups
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. My first problem is how to get (eg) a matr...
2007 Dec 29
2
[LLVMdev] llvm-gcc-4.2 and -O4
...hat are the current limitations of using -O4 in llvm-gcc-4.2? As a first test, I compiled the molscript program first as -O3 and it works fine. However if i try to compile the same code as -O4, the build fails with... ar -cru clib.a args.o str_utils.o dynstring.o err.o indent.o vector3.o matrix3.o quaternion.o body3d.o extent3d.o io_utils.o colour.o key_value.o named_data.o double_hash.o hermite_curve.o element_lookup.o aa_lookup.o mol3d.o mol3d_init.o mol3d_io.o mol3d_utils.o mol3d_chain.o mol3d_secstruc.o sgi_image.o vrml.o ogl_utils.o ogl_body.o ogl_bitmap_character.o llvm-gcc -o molscript -O4 molsc...
2018 Jan 02
5
[Bug 104448] New: [NV106/GK208B] Multiple issues / hangs with nouveau driver
...on X display :2. FWIW, there aren't any other X servers running. Software that is always running when this happens (I don't know if one of them is the culprit): pidgin-2.12.0-r0 konsole-17.08.2-r0 firefox-esr-52.3.0-r0 All the KDE Plasma components at 5.8.7. tigervnc-1.8.0-r0 One time, Quaternion (0.0.5-r0) was open, but it happened the second time without Quaternion open, so I doubt it is the cause. It only seems to take about half an hour to make this happen under my current workflow, so I think debugging may be easy. I just don't know what to do to debug further. Attached is entir...
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...
2009 Jun 22
0
[LLVMdev] SSE examples
...new SSE variants (aka: very new CPUs), operations like dot-product don't exist, and so would have to be simulated (for example, by serializing the values to the stack and running them through the FPU or similar...). so, in general, if one wants specific vectors (such as geometric vectors, quaternions, ...), one usually has to implement them in terms of the existing matrix operations. I don't know what the best way to deal with this in LLVM would be, someone else may have a better idea. as for what targets support which operations, in the case of SSE, go check the Intel and AMD64 doc...
2009 Jun 21
2
[LLVMdev] SSE examples
Does anyone have any LLVM IR examples implementing things using the instructions for SSE, like complex arithmetic or 3D vector-matrix stuff? I'd like to have HLVM use them "under the hood" for some things but I cannot see all of the operations that I was expecting (e.g. dot product) and am not sure what works when (e.g. "Not all targets support all types however."). --
2009 Dec 16
0
[LLVMdev] Help adding the Bullet physics sdk benchmark to the LLVM test suite?
Hello, Erwin > The physics engine includes collision detection, rigid body dynamics and > soft body dynamics. This sounds really promising addition to LLVM testsuite! > to compile our source tree and benchmarks. Bullet 2.75 uses a lot of > SIMD-friendly vector operations, Which archs are currently supported for SIMD operations? > The SDK is under Bullet/src and the benchmarks
2007 Dec 29
0
[LLVMdev] llvm-gcc-4.2 and -O4
...of using -O4 in > llvm-gcc-4.2? As a first test, I compiled the molscript > program first as -O3 and it works fine. However if i > try to compile the same code as -O4, the build fails with... > > ar -cru clib.a args.o str_utils.o dynstring.o err.o indent.o > vector3.o matrix3.o quaternion.o body3d.o extent3d.o io_utils.o > colour.o key_value.o named_data.o double_hash.o hermite_curve.o > element_lookup.o aa_lookup.o mol3d.o mol3d_init.o mol3d_io.o > mol3d_utils.o mol3d_chain.o mol3d_secstruc.o sgi_image.o vrml.o > ogl_utils.o ogl_body.o ogl_bitmap_character.o &gt...
2009 Dec 15
2
[LLVMdev] Help adding the Bullet physics sdk benchmark to the LLVM test suite?
Hi, We are developing the open source Bullet physics engine, used by game and movie studios, and compiler performance tuning is important to us. See http://bullet.googlecode.com The physics engine includes collision detection, rigid body dynamics and soft body dynamics. I've been following the LLVM project for a while, and it seems the Clang C++ compiler is mature enough to compile our
2009 Dec 16
6
[LLVMdev] Help adding the Bullet physics sdk benchmark to the LLVM test suite?
Hi Anton, Thanks a lot for offering help. Bullet uses basic linear algebra with 4-way vectors, quaternion and matrices. Although most of this is plain portable C++ perhaps LLVM can auto-vectorize some of this? There is a little bit of hand optimized x86 SSE code. This is only enabled on 32bit Windows and Mac OSX Intel builds. >> Should I just use the 2.75 release? If you are interested, I thin...