Returning the Rank: The vector_rank Callback

The vector_rank procedure is trivial because a vector is a one-dimensional array. Consequently, the returned rank (that is, the number of dimensions) is always 1.

proc vector_rank {type_name} {
    return 1
}
 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0