Contents

la_vector_length(_:)

Declaration

func la_vector_length(_ vector: la_object_t) -> la_count_t

Discussion

Get the length of a vector.

If the argument has an error status, zero is returned. If the argument is a vector, its length is returned. If the argument is a matrix with only one row or only one column, the other dimension is returned. Otherwise, zero is returned.

See Also

Functions