|
template<domain D1, domain D2, type T1, type T2, dim N> |
bool | shapesAreEqual (D1 T1[[N]] first, D2 T2[[N]] second) |
|
template<domain D1, domain D2, domain D3, type T1, type T2, type T3, dim N> |
bool | shapesAreEqual (D1 T1[[N]] first, D2 T2[[N]] second, D3 T3[[N]] third) |
|
Function for checking the shape equality of two arrays.
- Note
- D1 - all protection domains
-
D2 - all protection domains
-
D3 - all protection domains
-
N - any array size of any dimension
-
T1 - any data type
-
T2 - any data type
-
T3 - any data type
- Parameters
-
first | - first input |
second | - second input |
- Returns
- returns a bool type value, whether the input arrays are of equal shape (true) or are not of equal shape (false)
◆ shapesAreEqual() [1/2]
bool shapesAreEqual |
( |
D1 T1[[N]] |
first, |
|
|
D2 T2[[N]] |
second |
|
) |
| |
◆ shapesAreEqual() [2/2]
bool shapesAreEqual |
( |
D1 T1[[N]] |
first, |
|
|
D2 T2[[N]] |
second, |
|
|
D3 T3[[N]] |
third |
|
) |
| |