# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.3.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _vnl_diag_matrixPython
else:
    import _vnl_diag_matrixPython

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

_swig_new_instance_method = _vnl_diag_matrixPython.SWIG_PyInstanceMethod_New
_swig_new_static_method = _vnl_diag_matrixPython.SWIG_PyStaticMethod_New

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


import stdcomplexPython
import pyBasePython
import vnl_vectorPython
import vnl_matrixPython
class vnl_diag_matrixCF(object):
    r"""Proxy of C++ vnl_diag_matrixCF class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    __swig_destroy__ = _vnl_diag_matrixPython.delete_vnl_diag_matrixCF
    __imul__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF___imul__)

    def __itruediv__(self, *args):
        return _vnl_diag_matrixPython.vnl_diag_matrixCF___itruediv__(self, *args)
    __idiv__ = __itruediv__


    invert_in_place = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_invert_in_place)
    determinant = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_determinant)
    solve = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_solve)
    __call__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF___call__)
    get_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_get_diagonal)
    diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_diagonal)
    fill_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_fill_diagonal)
    set_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_set_diagonal)
    begin = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_begin)
    end = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_end)
    size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_size)
    rows = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_rows)
    cols = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_cols)
    columns = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_columns)
    put = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_put)
    get = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_get)
    asMatrix = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_asMatrix)
    set_size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_set_size)
    clear = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_clear)
    fill = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_fill)
    data_block = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_data_block)
    set = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixCF_set)

    def __init__(self, *args):
        r"""
        __init__(vnl_diag_matrixCF self) -> vnl_diag_matrixCF
        __init__(vnl_diag_matrixCF self, unsigned int nn) -> vnl_diag_matrixCF
        __init__(vnl_diag_matrixCF self, unsigned int nn, stdcomplexF value) -> vnl_diag_matrixCF
        __init__(vnl_diag_matrixCF self, vnl_vectorCF that) -> vnl_diag_matrixCF
        __init__(vnl_diag_matrixCF self, vnl_diag_matrixCF arg0) -> vnl_diag_matrixCF
        """
        _vnl_diag_matrixPython.vnl_diag_matrixCF_swiginit(self, _vnl_diag_matrixPython.new_vnl_diag_matrixCF(*args))

# Register vnl_diag_matrixCF in _vnl_diag_matrixPython:
_vnl_diag_matrixPython.vnl_diag_matrixCF_swigregister(vnl_diag_matrixCF)
class vnl_diag_matrixD(object):
    r"""Proxy of C++ vnl_diag_matrixD class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    __swig_destroy__ = _vnl_diag_matrixPython.delete_vnl_diag_matrixD
    __imul__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD___imul__)

    def __itruediv__(self, *args):
        return _vnl_diag_matrixPython.vnl_diag_matrixD___itruediv__(self, *args)
    __idiv__ = __itruediv__


    invert_in_place = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_invert_in_place)
    determinant = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_determinant)
    solve = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_solve)
    __call__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD___call__)
    get_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_get_diagonal)
    diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_diagonal)
    fill_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_fill_diagonal)
    set_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_set_diagonal)
    begin = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_begin)
    end = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_end)
    size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_size)
    rows = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_rows)
    cols = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_cols)
    columns = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_columns)
    put = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_put)
    get = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_get)
    asMatrix = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_asMatrix)
    set_size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_set_size)
    clear = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_clear)
    fill = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_fill)
    data_block = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_data_block)
    set = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixD_set)

    def __init__(self, *args):
        r"""
        __init__(vnl_diag_matrixD self) -> vnl_diag_matrixD
        __init__(vnl_diag_matrixD self, unsigned int nn) -> vnl_diag_matrixD
        __init__(vnl_diag_matrixD self, unsigned int nn, double const & value) -> vnl_diag_matrixD
        __init__(vnl_diag_matrixD self, vnl_vectorD that) -> vnl_diag_matrixD
        __init__(vnl_diag_matrixD self, vnl_diag_matrixD arg0) -> vnl_diag_matrixD
        """
        _vnl_diag_matrixPython.vnl_diag_matrixD_swiginit(self, _vnl_diag_matrixPython.new_vnl_diag_matrixD(*args))

# Register vnl_diag_matrixD in _vnl_diag_matrixPython:
_vnl_diag_matrixPython.vnl_diag_matrixD_swigregister(vnl_diag_matrixD)
class vnl_diag_matrixF(object):
    r"""Proxy of C++ vnl_diag_matrixF class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    __swig_destroy__ = _vnl_diag_matrixPython.delete_vnl_diag_matrixF
    __imul__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF___imul__)

    def __itruediv__(self, *args):
        return _vnl_diag_matrixPython.vnl_diag_matrixF___itruediv__(self, *args)
    __idiv__ = __itruediv__


    invert_in_place = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_invert_in_place)
    determinant = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_determinant)
    solve = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_solve)
    __call__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF___call__)
    get_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_get_diagonal)
    diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_diagonal)
    fill_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_fill_diagonal)
    set_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_set_diagonal)
    begin = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_begin)
    end = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_end)
    size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_size)
    rows = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_rows)
    cols = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_cols)
    columns = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_columns)
    put = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_put)
    get = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_get)
    asMatrix = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_asMatrix)
    set_size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_set_size)
    clear = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_clear)
    fill = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_fill)
    data_block = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_data_block)
    set = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixF_set)

    def __init__(self, *args):
        r"""
        __init__(vnl_diag_matrixF self) -> vnl_diag_matrixF
        __init__(vnl_diag_matrixF self, unsigned int nn) -> vnl_diag_matrixF
        __init__(vnl_diag_matrixF self, unsigned int nn, float const & value) -> vnl_diag_matrixF
        __init__(vnl_diag_matrixF self, vnl_vectorF that) -> vnl_diag_matrixF
        __init__(vnl_diag_matrixF self, vnl_diag_matrixF arg0) -> vnl_diag_matrixF
        """
        _vnl_diag_matrixPython.vnl_diag_matrixF_swiginit(self, _vnl_diag_matrixPython.new_vnl_diag_matrixF(*args))

# Register vnl_diag_matrixF in _vnl_diag_matrixPython:
_vnl_diag_matrixPython.vnl_diag_matrixF_swigregister(vnl_diag_matrixF)
class vnl_diag_matrixLD(object):
    r"""Proxy of C++ vnl_diag_matrixLD class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    __swig_destroy__ = _vnl_diag_matrixPython.delete_vnl_diag_matrixLD
    __imul__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD___imul__)

    def __itruediv__(self, *args):
        return _vnl_diag_matrixPython.vnl_diag_matrixLD___itruediv__(self, *args)
    __idiv__ = __itruediv__


    invert_in_place = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_invert_in_place)
    determinant = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_determinant)
    solve = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_solve)
    __call__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD___call__)
    get_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_get_diagonal)
    diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_diagonal)
    fill_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_fill_diagonal)
    set_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_set_diagonal)
    begin = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_begin)
    end = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_end)
    size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_size)
    rows = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_rows)
    cols = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_cols)
    columns = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_columns)
    put = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_put)
    get = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_get)
    asMatrix = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_asMatrix)
    set_size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_set_size)
    clear = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_clear)
    fill = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_fill)
    data_block = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_data_block)
    set = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixLD_set)

    def __init__(self, *args):
        r"""
        __init__(vnl_diag_matrixLD self) -> vnl_diag_matrixLD
        __init__(vnl_diag_matrixLD self, unsigned int nn) -> vnl_diag_matrixLD
        __init__(vnl_diag_matrixLD self, unsigned int nn, long double const & value) -> vnl_diag_matrixLD
        __init__(vnl_diag_matrixLD self, vnl_vectorLD that) -> vnl_diag_matrixLD
        __init__(vnl_diag_matrixLD self, vnl_diag_matrixLD arg0) -> vnl_diag_matrixLD
        """
        _vnl_diag_matrixPython.vnl_diag_matrixLD_swiginit(self, _vnl_diag_matrixPython.new_vnl_diag_matrixLD(*args))

# Register vnl_diag_matrixLD in _vnl_diag_matrixPython:
_vnl_diag_matrixPython.vnl_diag_matrixLD_swigregister(vnl_diag_matrixLD)
class vnl_diag_matrixSI(object):
    r"""Proxy of C++ vnl_diag_matrixSI class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    __swig_destroy__ = _vnl_diag_matrixPython.delete_vnl_diag_matrixSI
    __imul__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI___imul__)

    def __itruediv__(self, *args):
        return _vnl_diag_matrixPython.vnl_diag_matrixSI___itruediv__(self, *args)
    __idiv__ = __itruediv__


    invert_in_place = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_invert_in_place)
    determinant = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_determinant)
    solve = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_solve)
    __call__ = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI___call__)
    get_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_get_diagonal)
    diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_diagonal)
    fill_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_fill_diagonal)
    set_diagonal = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_set_diagonal)
    begin = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_begin)
    end = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_end)
    size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_size)
    rows = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_rows)
    cols = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_cols)
    columns = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_columns)
    put = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_put)
    get = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_get)
    asMatrix = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_asMatrix)
    set_size = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_set_size)
    clear = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_clear)
    fill = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_fill)
    data_block = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_data_block)
    set = _swig_new_instance_method(_vnl_diag_matrixPython.vnl_diag_matrixSI_set)

    def __init__(self, *args):
        r"""
        __init__(vnl_diag_matrixSI self) -> vnl_diag_matrixSI
        __init__(vnl_diag_matrixSI self, unsigned int nn) -> vnl_diag_matrixSI
        __init__(vnl_diag_matrixSI self, unsigned int nn, int const & value) -> vnl_diag_matrixSI
        __init__(vnl_diag_matrixSI self, vnl_vectorSI that) -> vnl_diag_matrixSI
        __init__(vnl_diag_matrixSI self, vnl_diag_matrixSI arg0) -> vnl_diag_matrixSI
        """
        _vnl_diag_matrixPython.vnl_diag_matrixSI_swiginit(self, _vnl_diag_matrixPython.new_vnl_diag_matrixSI(*args))

# Register vnl_diag_matrixSI in _vnl_diag_matrixPython:
_vnl_diag_matrixPython.vnl_diag_matrixSI_swigregister(vnl_diag_matrixSI)

