# Path: src/matlab2cpp/rules/armadillo.py
# def configure_arg(node, index):
# def scalar_assign(node):
# def include(node):


from ..rules import armadillo as arma

    arg, dim = arma.configure_arg(node[0], 0)

    if dim == 0:
        node.dim = 0

def rowvec(node):
    if len(node) != 1:

        if not len(node):
            return

        elif len(node) == 2 and node[0].cls == "Int" and node[0].value == "1":
            node_ = node[1]

        else:
            return
    else:
        node_ = node[0]


    arg, dim = arma.configure_arg(node_, 0)

    if dim == 0:
        node.dim = 0

def mat(node):
    # Single argument
    if len(node) == 1:


# Path: src/matlab2cpp/rules/armadillo.py
# def configure_arg(node, index):
# def scalar_assign(node):
# def include(node):


# Path: src/matlab2cpp/configure/armadillo.py
from ..rules import armadillo as arma


    arg, dim = arma.configure_arg(node[0], 0)

    if dim == 0:
        node.dim = 0

def rowvec(node):
    if len(node) != 1:

        if not len(node):
            return

        elif len(node) == 2 and node[0].cls == "Int" and node[0].value == "1":
            node_ = node[1]

        else:
            return
    else:
        node_ = node[0]


    arg, dim = arma.configure_arg(node_, 0)

    if dim == 0:
        node.dim = 0

def mat(node):
    # Single argument
    if len(node) == 1:


        arg, dim = arma.configure_arg(node[0], 0)