count

inline fun ComplexFloatArray.count(): Int
inline fun ComplexDoubleArray.count(): Int

Returns the number of elements in this array.


inline fun ComplexFloatArray.count(predicate: (ComplexFloat) -> Boolean): Int
inline fun ComplexDoubleArray.count(predicate: (ComplexDouble) -> Boolean): Int

Returns the number of elements matching the given predicate.