code: def checkVectorDimension(v, A):
      vDim = v.shape
      ADim = A.shape
      if (
          vDim[0] != ADim[0]
          and vDim[0] != ADim[1]
          and vDim[1] != ADim[0]
          and vDim[1] != ADim[1]
      ):
          raise matrixErrors("The dimensions do not match!")
  
file_path: pydlm/pydlm/base/tools.py
imports: import math
label_desc: Use image node_id 2 for calling the checker obj's underlying member method code with example usage: obj.checkVectorDimension(v, A) without return types