#include "MatNd_based.h"
#include <Rcs_macros.h>
#include <Rcs_MatNd.h>
#include <algorithm>
#include <vector>
Go to the source code of this file.
Functions | |
void | MatNd_checkShapeEq (MatNd *m1, MatNd *m2) |
void | findAllBitCombinations (MatNd *allComb) |
void findAllBitCombinations | ( | MatNd * | allComb | ) |
Find all unique combinations of 0s and 1s for N binary events.
[out] | allComb | 2^N x N output matrix containing the combinations, with N being the number of events that could be 0 or 1 |
Definition at line 48 of file MatNd_based.cpp.
void MatNd_checkShapeEq | ( | MatNd * | m1, |
MatNd * | m2 | ||
) |
Check if the shapes of two matrices match by comparing the row and column size. If they dont't match, the program is exited with a failure.
[in] | m1 | first matrix |
[in] | m2 | second matrix |
Definition at line 40 of file MatNd_based.cpp.