=
=20

=20
=20
=20

=20
=20
=20
=20
##### Procedure:

=20
=20
##### Signature:

=20
=20
=20
##### Parameters:

=20
##### Description:

=20
##### Returns:

=20
##### Example:

=20
##### History:

=20
=20

=20
# H5P_SET_BTREE_RATIOS

=20

=20

Sets B-tree split ratios for a dataset tra= nsfer property list

H5P_SET_BTREE_RATIOS ( plist, left, middle, right )

```
herr_t H5Pset_btree_ratios(hid_t plist,
double left,
double middle,
double right
)
```

```
Fortran90 Interface: h5pset_btree_rat=
ios_f
=20
SUBROUTINE h5pset_btree_ratios_f(prp_id, left, middle, right, hdferr)
IMPLICIT NONE
INTEGER(HID_T), INTENT(IN) :: prp_id =20
! Property list identifier
REAL, INTENT(IN) :: left ! The B-tree split ratio for left-most no=
des
REAL, INTENT(IN) :: middle ! The B-tree split ratio for all other no=
des
REAL, INTENT(IN) :: right ! The B-tree split ratio for right-most
! nodes and lone nodes.
INTEGER, INTENT(OUT) :: hdferr ! Error code
! 0 on success and -1 on failure
END SUBROUTINE h5pset_btree_ratios_f
=09
```

hid_t `plist` |
IN: The dataset transfer property list identifie= r |

double `left` |
IN: The B-tree split ratio for left-most nodes |

double `right` |
IN: The B-tree split ratio for right-most nodes = and lone nodes |

double ```
middle &nb=
sp;
``` |
IN: The B-tree split ratio for all other nodes |

`H5P_SET_BTREE_RATIOS`

sets the B-tree split ratios for a dat=
aset transfer property list. The split ratios determine what percent of chi=
ldren go in the first node when a node splits.

The ratio `left`

is used when the splitting node is the left-=
most node at its level in the tree; the ratio `right`

is used wh=
en the splitting node is the right-most node at its level; and the ratio

A node which is the only node at its level in the tree uses the ratio

All ratios are real numbers between 0 and 1, inclusive.

Coming Soon!

--- Last Modified: January 03, 2018 | 10:37 AM