-
Notifications
You must be signed in to change notification settings - Fork 427
Commit b8437a5
committed
Update cube.sgml
——row28至37,增英和翻为:
<!--==========================orignal english content==========================
<para>
This module is considered <quote>trusted</quote>, that is, it can be
installed by non-superusers who have <literal>CREATE</literal> privilege
on the current database.
</para>
____________________________________________________________________________-->
<para>
此模块被视为<quote>trusted</quote>,也就是说,它可以由在当前数据库上具有 <literal>CREATE</literal> 权限的非超级用户安装。
</para>
——row223至230,调英和翻为:
<para>
<xref linkend="cube-operators-table"/> shows the specialized operators
provided for type <type>cube</type>.
</para>
____________________________________________________________________________-->
<para>
<xref linkend="cube-operators-table"/>展示了为类型<type>cube</type>提供的专用的操作符。
</para>
——row232至440,调英和翻为:
<table id="cube-operators-table">
<!--==========================orignal english content==========================
<title>Cube Operators</title>
____________________________________________________________________________-->
<title>立方体操作符</title>
<tgroup cols="1">
<thead>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
Operator
</para>
<para>
Description
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
操作符
</para>
<para>
描述
</para></entry>
</row>
</thead>
<tbody>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>&&</literal> <type>cube</type>
<returnvalue>boolean</returnvalue>
</para>
<para>
Do the cubes overlap?
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>&&</literal> <type>cube</type>
<returnvalue>boolean</returnvalue>
</para>
<para>
立方体是否有重叠?
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>@></literal> <type>cube</type>
<returnvalue>boolean</returnvalue>
</para>
<para>
Does the first cube contain the second?
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>@></literal> <type>cube</type>
<returnvalue>boolean</returnvalue>
</para>
<para>
第一个立方体是否包含第二个立方体?
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><@</literal> <type>cube</type>
<returnvalue>boolean</returnvalue>
</para>
<para>
Is the first cube contained in the second?
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><@</literal> <type>cube</type>
<returnvalue>boolean</returnvalue>
</para>
<para>
第一个立方体是否包含在第二个立方体里面?
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>-></literal> <type>integer</type>
<returnvalue>float8</returnvalue>
</para>
<para>
Extracts the <parameter>n</parameter>-th coordinate of the cube
(counting from 1).
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>-></literal> <type>integer</type>
<returnvalue>float8</returnvalue>
</para>
<para>
提取立方体的第 <parameter>n</parameter>个坐标,(从1开始计数)。
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>~></literal> <type>integer</type>
<returnvalue>float8</returnvalue>
</para>
<para>
Extracts the <parameter>n</parameter>-th coordinate of the cube,
counting in the following way: <parameter>n</parameter> = 2
* <parameter>k</parameter> - 1 means lower bound
of <parameter>k</parameter>-th dimension, <parameter>n</parameter> = 2
* <parameter>k</parameter> means upper bound of
<parameter>k</parameter>-th dimension. Negative
<parameter>n</parameter> denotes the inverse value of the corresponding
positive coordinate. This operator is designed for KNN-GiST support.
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal>~></literal> <type>integer</type>
<returnvalue>float8</returnvalue>
</para>
<para>
提取立方体的第 <parameter>n</parameter>个坐标,以下列方式计数:
<parameter>n</parameter> = 2 * <parameter>k</parameter> - 1 表示第<parameter>k</parameter>个维度的下限,
<parameter>n</parameter> = 2 * <parameter>k</parameter> 表示第<parameter>k</parameter>个维度的上限。
负的<parameter>n</parameter>表示相应正坐标的倒数值。此操作符专为 KNN-GiST 支持而设计。
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><-></literal> <type>cube</type>
<returnvalue>float8</returnvalue>
</para>
<para>
Computes the Euclidean distance between the two cubes.
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><-></literal> <type>cube</type>
<returnvalue>float8</returnvalue>
</para>
<para>
计算两个立方体之间的欧几里德距离.
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><#></literal> <type>cube</type>
<returnvalue>float8</returnvalue>
</para>
<para>
Computes the taxicab (L-1 metric) distance between the two cubes.
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><#></literal> <type>cube</type>
<returnvalue>float8</returnvalue>
</para>
<para>
计算两个立方体之间的直线(L-1 度量)距离。
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><=></literal> <type>cube</type>
<returnvalue>float8</returnvalue>
</para>
<para>
Computes the Chebyshev (L-inf metric) distance between the two cubes.
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<type>cube</type> <literal><=></literal> <type>cube</type>
<returnvalue>float8</returnvalue>
</para>
<para>
计算两个立方体之间的切比雪夫(L-inf 度量)距离.
</para></entry>
</row>
</tbody>
</tgroup>
</table>
——row456至472,调英和翻为:
<para>
In addition to the above operators, the usual comparison
operators shown in <xref linkend="functions-comparison-op-table"/> are
available for type <type>cube</type>. These
operators first compare the first coordinates, and if those are equal,
compare the second coordinates, etc. They exist mainly to support the
b-tree index operator class for <type>cube</type>, which can be useful for
example if you would like a UNIQUE constraint on a <type>cube</type> column.
Otherwise, this ordering is not of much practical use.
</para>
____________________________________________________________________________-->
<para>
除上述操作符外,<xref linkend="functions-comparison-op-table"/> 中显示的常用比较操作符也可用于<type>cube</type>类型。
这些操作符首先比较第一个坐标,如果它们相等再比较第二个坐标等等。
它们主要为支持<type>cube</type>的 b树索引操作符类而存在,这类操作符对支持<type>cube</type>列上的 UNIQUE 约束等很有用。
否则,这种排序没有太大的实际作用。
</para>
——row543至1052,调英和翻为:
<table id="cube-functions-table">
<!--==========================orignal english content==========================
<title>Cube Functions</title>
____________________________________________________________________________-->
<title>立方体函数</title>
<tgroup cols="1">
<thead>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
Function
</para>
<para>
Description
</para>
<para>
Example(s)
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
函数
</para>
<para>
描述
</para>
<para>
示例
</para></entry>
</row>
</thead>
<tbody>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Makes a one dimensional cube with both coordinates the same.
</para>
<para>
<literal>cube(1)</literal>
<returnvalue>(1)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
制作一个一维立方体,其两个坐标都是相同的。
</para>
<para>
<literal>cube(1)</literal>
<returnvalue>(1)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8</type>, <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Makes a one dimensional cube.
</para>
<para>
<literal>cube(1,2)</literal>
<returnvalue>(1),(2)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8</type>, <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
制作一个一维立方体。
</para>
<para>
<literal>cube(1,2)</literal>
<returnvalue>(1),(2)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8[]</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Makes a zero-volume cube using the coordinates defined by the array.
</para>
<para>
<literal>cube(ARRAY[1,2,3])</literal>
<returnvalue>(1, 2, 3)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8[]</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
使用数组定义的坐标制作一个零值的立方体
</para>
<para>
<literal>cube(ARRAY[1,2,3])</literal>
<returnvalue>(1, 2, 3)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8[]</type>, <type>float8[]</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Makes a cube with upper right and lower left coordinates as defined by
the two arrays, which must be of the same length.
</para>
<para>
<literal>cube(ARRAY[1,2], ARRAY[3,4])</literal>
<returnvalue>(1, 2),(3, 4)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>float8[]</type>, <type>float8[]</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
用由两个数组定义的右上和左下坐标制造一个立方体,两个数组必须等长。
</para>
<para>
<literal>cube(ARRAY[1,2], ARRAY[3,4])</literal>
<returnvalue>(1, 2),(3, 4)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>cube</type>, <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Makes a new cube by adding a dimension on to an existing cube,
with the same values for both endpoints of the new coordinate. This
is useful for building cubes piece by piece from calculated values.
</para>
<para>
<literal>cube('(1,2),(3,4)'::cube, 5)</literal>
<returnvalue>(1, 2, 5),(3, 4, 5)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>cube</type>, <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
在一个现有的立方体上增加一维来制造一个新立方体,对新坐标的各个端点都采用相同的值。这可以用于从计算得到的值逐渐地构建立方体。
</para>
<para>
<literal>cube('(1,2),(3,4)'::cube, 5)</literal>
<returnvalue>(1, 2, 5),(3, 4, 5)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>cube</type>, <type>float8</type>, <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Makes a new cube by adding a dimension on to an existing cube. This is
useful for building cubes piece by piece from calculated values.
</para>
<para>
<literal>cube('(1,2),(3,4)'::cube, 5, 6)</literal>
<returnvalue>(1, 2, 5),(3, 4, 6)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube</function> ( <type>cube</type>, <type>float8</type>, <type>float8</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
在一个现有的立方体上增加一维来制造一个新立方体。这可以用于从计算得到的值逐渐地构建立方体。
</para>
<para>
<literal>cube('(1,2),(3,4)'::cube, 5, 6)</literal>
<returnvalue>(1, 2, 5),(3, 4, 6)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_dim</function> ( <type>cube</type> )
<returnvalue>integer</returnvalue>
</para>
<para>
Returns the number of dimensions of the cube.
</para>
<para>
<literal>cube_dim('(1,2),(3,4)')</literal>
<returnvalue>2</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_dim</function> ( <type>cube</type> )
<returnvalue>integer</returnvalue>
</para>
<para>
返回该立方体的维数。
</para>
<para>
<literal>cube_dim('(1,2),(3,4)')</literal>
<returnvalue>2</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_ll_coord</function> ( <type>cube</type>, <type>integer</type> )
<returnvalue>float8</returnvalue>
</para>
<para>
Returns the <parameter>n</parameter>-th coordinate value for the lower
left corner of the cube.
</para>
<para>
<literal>cube_ll_coord('(1,2),(3,4)', 2)</literal>
<returnvalue>2</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_ll_coord</function> ( <type>cube</type>, <type>integer</type> )
<returnvalue>float8</returnvalue>
</para>
<para>
返回一个立方体的左下角的第 <parameter>n</parameter>个坐标值
</para>
<para>
<literal>cube_ll_coord('(1,2),(3,4)', 2)</literal>
<returnvalue>2</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_ur_coord</function> ( <type>cube</type>, <type>integer</type> )
<returnvalue>float8</returnvalue>
</para>
<para>
Returns the <parameter>n</parameter>-th coordinate value for the
upper right corner of the cube.
</para>
<para>
<literal>cube_ur_coord('(1,2),(3,4)', 2)</literal>
<returnvalue>4</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_ur_coord</function> ( <type>cube</type>, <type>integer</type> )
<returnvalue>float8</returnvalue>
</para>
<para>
返回一个立方体的右上角的第<parameter>n</parameter>个坐标值
</para>
<para>
<literal>cube_ur_coord('(1,2),(3,4)', 2)</literal>
<returnvalue>4</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_is_point</function> ( <type>cube</type> )
<returnvalue>boolean</returnvalue>
</para>
<para>
Returns true if the cube is a point, that is,
the two defining corners are the same.
</para>
<para>
<literal>cube_is_point(cube(1,1))</literal>
<returnvalue>t</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_is_point</function> ( <type>cube</type> )
<returnvalue>boolean</returnvalue>
</para>
<para>
如果一个立方体是一个点则返回真,也就是两个定义点相同。
</para>
<para>
<literal>cube_is_point(cube(1,1))</literal>
<returnvalue>t</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_distance</function> ( <type>cube</type>, <type>cube</type> )
<returnvalue>float8</returnvalue>
</para>
<para>
Returns the distance between two cubes. If both
cubes are points, this is the normal distance function.
</para>
<para>
<literal>cube_distance('(1,2)', '(3,4)')</literal>
<returnvalue>2.8284271247461903</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_distance</function> ( <type>cube</type>, <type>cube</type> )
<returnvalue>float8</returnvalue>
</para>
<para>
返回两个立方体之间的距离。如果两个都是点,这就是普通距离函数。
</para>
<para>
<literal>cube_distance('(1,2)', '(3,4)')</literal>
<returnvalue>2.8284271247461903</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_subset</function> ( <type>cube</type>, <type>integer[]</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Makes a new cube from an existing cube, using a list of
dimension indexes from an array. Can be used to extract the endpoints
of a single dimension, or to drop dimensions, or to reorder them as
desired.
</para>
<para>
<literal>cube_subset(cube('(1,3,5),(6,7,8)'), ARRAY[2])</literal>
<returnvalue>(3),(7)</returnvalue>
</para>
<para>
<literal>cube_subset(cube('(1,3,5),(6,7,8)'), ARRAY[3,2,1,1])</literal>
<returnvalue>(5, 3, 1, 1),(8, 7, 6, 6)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_subset</function> ( <type>cube</type>, <type>integer[]</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
从一个现有的立方体制造一个新立方体,使用来自于一个数组的维索引列表。
它可以被用来抽取一个单一维度的端点,或者它可以被用来去除维度,或者按照需要对它们重新排序。
</para>
<para>
<literal>cube_subset(cube('(1,3,5),(6,7,8)'), ARRAY[2])</literal>
<returnvalue>(3),(7)</returnvalue>
</para>
<para>
<literal>cube_subset(cube('(1,3,5),(6,7,8)'), ARRAY[3,2,1,1])</literal>
<returnvalue>(5, 3, 1, 1),(8, 7, 6, 6)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_union</function> ( <type>cube</type>, <type>cube</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Produces the union of two cubes.
</para>
<para>
<literal>cube_union('(1,2)', '(3,4)')</literal>
<returnvalue>(1, 2),(3, 4)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_union</function> ( <type>cube</type>, <type>cube</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
产生两个立方体的并集。
</para>
<para>
<literal>cube_union('(1,2)', '(3,4)')</literal>
<returnvalue>(1, 2),(3, 4)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_inter</function> ( <type>cube</type>, <type>cube</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Produces the intersection of two cubes.
</para>
<para>
<literal>cube_inter('(1,2)', '(3,4)')</literal>
<returnvalue>(3, 4),(1, 2)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_inter</function> ( <type>cube</type>, <type>cube</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
产生两个立方体的交集。
</para>
<para>
<literal>cube_inter('(1,2)', '(3,4)')</literal>
<returnvalue>(3, 4),(1, 2)</returnvalue>
</para></entry>
</row>
<!--==========================orignal english content==========================
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_enlarge</function> ( <parameter>c</parameter> <type>cube</type>, <parameter>r</parameter> <type>double</type>, <parameter>n</parameter> <type>integer</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
Increases the size of the cube by the specified
radius <parameter>r</parameter> in at least <parameter>n</parameter>
dimensions. If the radius is negative the cube is shrunk instead.
All defined dimensions are changed by the
radius <parameter>r</parameter>. Lower-left coordinates are decreased
by <parameter>r</parameter> and upper-right coordinates are increased
by <parameter>r</parameter>. If a lower-left coordinate is increased
to more than the corresponding upper-right coordinate (this can only
happen when <parameter>r</parameter> < 0) than both coordinates are
set to their average. If <parameter>n</parameter> is greater than the
number of defined dimensions and the cube is being enlarged
(<parameter>r</parameter> > 0), then extra dimensions are added to
make <parameter>n</parameter> altogether; 0 is used as the initial
value for the extra coordinates. This function is useful for creating
bounding boxes around a point for searching for nearby points.
</para>
<para>
<literal>cube_enlarge('(1,2),(3,4)', 0.5, 3)</literal>
<returnvalue>(0.5, 1.5, -0.5),(3.5, 4.5, 0.5)</returnvalue>
</para></entry>
</row>
____________________________________________________________________________-->
<row>
<entry role="func_table_entry"><para role="func_signature">
<function>cube_enlarge</function> ( <parameter>c</parameter> <type>cube</type>, <parameter>r</parameter> <type>double</type>, <parameter>n</parameter> <type>integer</type> )
<returnvalue>cube</returnvalue>
</para>
<para>
用一个指定的半径<parameter>r</parameter>在至少<parameter>n</parameter>个维度上增加立方体的尺寸。
如果该半径是负值,则该立方体会收缩。所有已定义的维度都会按照半径<parameter>r</parameter>被改变。
左下坐标按照 <parameter>r</parameter>被减小并且右上坐标按照 <parameter>r</parameter>被增加。
如果一个左下坐标被增加得超过对应的右上坐标(这只会发生在<parameter>r</parameter> < 0 时),则两个坐标会被设置为它们的均值。
如果<parameter>n</parameter>大于已定义的维度数并且该立方体被增加(<parameter>r</parameter> > 0), 则额外的维度会被加入以让维度数达到<parameter>n</parameter>,对于额外的坐标将使用 0 作为初始值。
这个函数可用来创建围绕一个点的边界框以搜索临近点。
</para>
<para>
<literal>cube_enlarge('(1,2),(3,4)', 0.5, 3)</literal>
<returnvalue>(0.5, 1.5, -0.5),(3.5, 4.5, 0.5)</returnvalue>
</para></entry>
</row>
</tbody>
</tgroup>
</table>
——row1209至1225,调英和翻为:
<para>
My thanks are primarily to Prof. Joe Hellerstein
(<ulink url="https://dsf.berkeley.edu/jmh/"></ulink>) for elucidating the
gist of the GiST (<ulink url="http://gist.cs.berkeley.edu/"></ulink>), and
to his former student Andy Dong for his example written for Illustra.
I am also grateful to all Postgres developers, present and past, for
enabling myself to create my own world and live undisturbed in it. And I
would like to acknowledge my gratitude to Argonne Lab and to the
U.S. Department of Energy for the years of faithful support of my database
research.
</para>
____________________________________________________________________________-->
<para>
我的感谢主要要献给 Joe Hellerstein 教授(<ulink url="https://dsf.berkeley.edu/jmh/"></ulink>),他阐明了 GiST (<ulink url="http://gist.cs.berkeley.edu/"></ulink>),还要送给他以前的学生 Andy Dong,他为 Illustra 编写了例子。
我也对所有的 Postgres 开发者(现在的和以前的)心存感激,他们让我能够创造自己的世界并且宁静地生活在其中。
我也要感谢阿尔贡实验室和美国能源局对我多年数据库研究的支持。
</para>1 parent 5929a40 commit b8437a5Copy full SHA for b8437a5
File tree
Expand file treeCollapse file tree
1 file changed
+732
-580
lines changedFilter options
- postgresql/doc/src/sgml
Expand file treeCollapse file tree
1 file changed
+732
-580
lines changed
0 commit comments