netsse.tools.misc_func.areSame_vec#
- netsse.tools.misc_func.areSame_vec(a, b)#
Checks whether two vectors are identical, element-wise.
- Parameters:
a (1d-array) – Input vector.
b (1d-array) – Input vector.
- Returns:
Falsefora!=b,Truefora=b.- Return type:
Note
If
aandbdo not have the same shape, thenFalseis returned.See also
areSame_matChecks whether two matrices are identical, element-wise.
Example
>>> areSame_vec(a,b)