yorick banner

Home

Manual

Packages

Global Index

Keywords

Quick Reference

all functions - v

 
 
 
vax_primitives


             vax_primitives, file  
 
     sets FILE primitive data types to be native to VAXen, H-double, only.  
interpreted function, defined at i0/std.i   line 2176  
 
 
 
vaxg_primitives


             vaxg_primitives, file  
 
     sets FILE primitive data types to be native to VAXen, G-double, only.  
interpreted function, defined at i0/std.i   line 2184  
 
 
 
viewport


             port= viewport();  
 
     returns [xmin,xmax,ymin,ymax] of the current viewport (or 0,0,0,0  
     if currently plotting to system 0) in NDC coordinates.  
builtin function, documented at i0/graph.i   line 1432  
SEE ALSO: limits,   gridxy  
 
 
 
volume


             volume(r, z)  
 
     returns the zonal volumes of the 2-D cylindrical mesh (R, Z).  
     If R and Z are imax-by-jmax, the result is (imax-1)-by-(jmax-1).  
     The volume is positive when, say, Z increases with i and R increases  
     with j.  For example, volume([[0,0],[1,1]],[[0,1],[0,1]]) is +pi.  
interpreted function, defined at i0/std.i   line 2845  
SEE ALSO: area  
 
 
 
vsplit1D


               vsplit partitions vector   n^2 subregions  
 
   it returns for the first componant an array of n^2 pointers corresponding to the different regions  
	the index points to an index of the componants which fall in   
region i and for the second componant an array describing the edge vector   
of each region  
EXEMPLE x=random(25000);  
w =vsplit1D(x,span(0,1,5));  
pl,x(*w(3,1)),color=-9;  
nn=10; pp=dimsof(w)(2);  
SEE ALSO split, bsplit, splitb, esplit  
interpreted function, defined at contrib/split.i   line 222  
 
 
 
vsplit2D


               vsplit partitions vector   n^2 subregions  
 
   it returns for the first componant an array of n^2 pointers corresponding to the different regions  
	the index points to an index of the componants which fall in   
region i and for the second componant an array describing the edge vector   
of each region  
EXEMPLE x=random(25000); y=random(25000);   
w =vsplit2D(x,y,span(0,1,3),span(0,1,3));  
pl,x(*w(3,1)),y(*w(3,1)),color=-9;  
nn=10; pp=dimsof(w)(2);  
u=array(0.,nn,nn,pp);  
for(i=1;i<=pp;i++) {  
    tt=[x(*w(i,1)),y(*w(i,1))];  
    indx=(*w(i,2));  
u(,,,i)=histo2d(tt,span(indx(1,1),indx(2,1),nn+1),  
		span(indx(1,2),indx(2,2),nn+1));  
}  
v=splitb(u);  
pli,v(,avg,);  
try also  
w =vsplit(x,y,span(0,0.5,2),span(0.25,0.5,2));  
to look at small region around a given point.  
SEE ALSO split, bsplit, splitb, esplit  
interpreted function, defined at contrib/split.i   line 162  
 
 
 
vsplit3D


               vsplit partitions vector   n^3 subregions  
 
   it returns for the first componant an array of n^3 pointers corresponding to the different regions  
	the index points to an index of the componants which fall in   
region i and for the second componant an array describing the edge vector   
of each region  
EXEMPLE x=random(250000); y=random(250000); z=random(250000);  
w =vsplit(x,y,z,span(0,1,3),span(0,1,3),span(0,1,3));  
pl,x(*w(3,1)),y(*w(3,1)),color=-9;  
nn=10; pp=dimsof(w)(2);  
u=array(0.,nn,nn,nn,pp);  
for(i=1;i<=pp;i++) {  
    tt=[x(*w(i,1)),y(*w(i,1)),z(*w(i,1))];  
    indx=(*w(i,2));  
u(,,,i)=histo3d(tt,span(indx(1,1),indx(2,1),nn+1),  
		span(indx(1,2),indx(2,2),nn+1),  
		span(indx(1,3),indx(2,3),nn+1));  
}  
v=splitb(u);  
pli,v(,avg,);  
try also  
w =vsplit(x,y,z,span(0,0.5,2),span(0.25,0.5,2),span(0,0.5,2));  
to look at small region around a given point.  
SEE ALSO split, bsplit, splitb, esplit  
interpreted function, defined at contrib/split.i   line 98