search for: v2y

Displaying 12 results from an estimated 12 matches for "v2y".

Did you mean: v2
2020 Oct 23
2
3d plot of earth with cut
...1x <- r*cos(2.5)*cos(fixlong) p1y <- r*cos(2.5)*sin(fixlong) p1z <- r*sin(2.5) p2x <- r*cos(3)*cos(fixlong) p2y <- r*cos(3)*sin(fixlong) p2z <- r*sin(3) # Make the vectors pointing to P and P0 v1x <- p1x - p0x # P v1y <- p1y - p0y v1z <- p1z - p0z v2x <- p2x - p0x # P0 v2y <- p2y - p0y v2z <- p2z - p0z # The cross product will give a vector orthogonal to the plane, (nx, ny, nz) nx <- v1y*v2z - v1z*v2y; ny <- v1z*v2x - v1x*v2z; nz <- v1x*v2y - v1y*v2x; # normalize nMag <- sqrt(nx*nx + ny*ny + nz*nz); nx <- nx / nMag; ny <- ny / nMag; nz <-...
2020 Oct 23
0
3d plot of earth with cut
....5)*sin(fixlong) > p1z <- r*sin(2.5) > p2x <- r*cos(3)*cos(fixlong) > p2y <- r*cos(3)*sin(fixlong) > p2z <- r*sin(3) > # Make the vectors pointing to P and P0 > v1x <- p1x - p0x # P > v1y <- p1y - p0y > v1z <- p1z - p0z > v2x <- p2x - p0x # P0 > v2y <- p2y - p0y > v2z <- p2z - p0z > > # The cross product will give a vector orthogonal to the plane, (nx, ny, nz) > nx <- v1y*v2z - v1z*v2y; > ny <- v1z*v2x - v1x*v2z; > nz <- v1x*v2y - v1y*v2x; > # normalize > nMag <- sqrt(nx*nx + ny*ny + nz*nz); > nx &...
2020 Oct 22
0
3d plot of earth with cut
> It should be a 2D slice/plane embedded into a 3D space. I was able to come up with the plot, attached. My intention was to plot national boundaries on the surface of a sphere. And put the slice inside. However, I haven't (as yet) worked out how to get the coordinates for the boundaries. Let me know, if of any value. And I'll post the code. (But needs to be polished first)
2020 Oct 22
2
3d plot of earth with cut
Thanks for your idea. It should be a 2D slice/plane embedded into a 3D space. Could be static, I just need to make a single figure from it for illustration of the Earth together with its interior in 3D. So, the interior would be a slice in 2D along a fixed longitude. And along this 2D slice would be a heatmap. Again, embedded in 3D, since it would be shown as a slice of Earth in 3D. Duncan?s
2009 Feb 20
2
[LLVMdev] Possible DAGCombiner or TargetData Bug
On Wednesday 18 February 2009 21:43, Dan Gohman wrote: > I agree, that doesn't look right. It looks like this > is what was intended: > > Index: lib/CodeGen/SelectionDAG/DAGCombiner.cpp > =================================================================== > --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp (revision 65000) > +++ lib/CodeGen/SelectionDAG/DAGCombiner.cpp
2018 Sep 06
2
Adding an trinsics in x86
Hi Everyone! I am a newbie at llvm. So the question may be fundamental but difficult to me. I want to add an trinsics in x86 and make the following changes.I want that max_qb can find the max of two Integers and return it. In src/include/llvm/IR/Intrinsics.td : let TargetPrefix = "x86" in { def int_x86_max_qb: GCCBuiltin<"__builtin_x86_max_qb">,
2009 Feb 20
0
[LLVMdev] Possible DAGCombiner or TargetData Bug
On Feb 20, 2009, at 3:05 PM, David Greene wrote: > On Wednesday 18 February 2009 21:43, Dan Gohman wrote: >> I agree, that doesn't look right. It looks like this >> is what was intended: >> >> Index: lib/CodeGen/SelectionDAG/DAGCombiner.cpp >> =================================================================== >> ---
2009 Feb 19
0
[LLVMdev] Possible DAGCombiner or TargetData Bug
I agree, that doesn't look right. It looks like this is what was intended: Index: lib/CodeGen/SelectionDAG/DAGCombiner.cpp =================================================================== --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp (revision 65000) +++ lib/CodeGen/SelectionDAG/DAGCombiner.cpp (working copy) @@ -4903,9 +4903,9 @@ // resultant store does not need a higher alignment than
2009 Dec 17
2
[LLVMdev] AVX Shuffles & PatLeaf Help Needed
I'm working on debugging AVX shuffles and I ran into an interesting problem. The current isSHUFPMask predicate in X86ISelLowering needs to be generalized to operate on 128-bit or 256-bit masks. There are probably lots of other things to change too (LowerVECTOR_SHUFFLE_4wide, etc.) but I'll worry about that later. The generalized rule is: 1. For the low 64 bits of the result vector, the
2009 Feb 19
3
[LLVMdev] Possible DAGCombiner or TargetData Bug
I got bit by this in LLVM 2.4 DagCombiner.cpp and it's still in trunk: SDValue DAGCombiner::visitSTORE(SDNode *N) { [...] // If this is a store of a bit convert, store the input value if the // resultant store does not need a higher alignment than the original. if (Value.getOpcode() == ISD::BIT_CONVERT && !ST->isTruncatingStore() && ST->isUnindexed()) {
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...mJf$+df(H3#^x^zL(X+1;Tp4!OD2rJw-fg z96XnRXKfMBB at 53b!gEPYOxGGS)3p*j1y^~Va_~$>E!Q!g|A7k^N;gfjwV4u=sjibX zt5*{}#9H^LiO(sE&(&|K^0nT{=?Y5xbgix6b%n58!JL1l)>aDpTop=T8)_|WCYp{B zn0Kcy*di#L at Dpy&I!Nz9 at t<>$-b3ZR2Pe}T9f$+S_W5E%9k3ee0Ofx`O`N5woh at zf z39bfzf$^Xy?HWJcL^JqAz_!Lnm^V2Y<&n|mVn%r at qdaAlR}-fwqf at 0B-Q&t=i-YF@ zRB5X{QOPS_%1V$U^MIB(NqA1WChCiv at cNPxP6&==d8_m4SX>X*+K(Kar=px!6Q>Eq zX%~v^1E82}p_r-x#Y+x~sZ@%o+EplCc8cGFW_X30;a{#AP(&si^|&6 at QjhDQQqi#L zAjl4lhFk<gj>f{*53(!r*Sv+a!zs at DD9%pDn}he&TDP`b{5`exJ+(wz?lms{8XuVR zeFG`XwQE...