106 py::class_<Matrix_Python<dcomplex>>(
"_cmatrix", py::no_init);
107 py::delattr(py::scope(),
"_cmatrix");
108 py::to_python_converter<cmatrix, Matrix_Python<dcomplex>>();
109 py::class_<Diagonal_Python<dcomplex>>(
"_cdiagonal", py::no_init);
110 py::delattr(py::scope(),
"_cdiagonal");
111 py::to_python_converter<cdiagonal, Diagonal_Python<dcomplex>>();
112 py::class_<Matrix_Python<double>>(
"_dmatrix", py::no_init);
113 py::delattr(py::scope(),
"_dmatrix");
114 py::to_python_converter<dmatrix, Matrix_Python<double>>();
120 py::to_python_converter<Expansion::Component, PythonComponentConventer>();
122 py::type_id<Expansion::Component>());
127 py::class_<PmlWrapper, shared_ptr<PmlWrapper>>(
"PML",
"Perfectly matched layer details.", py::no_init)
129 (py::arg(
"factor"),
"size",
"dist", py::arg(
"shape")=2)))
173 py::class_<RootDigger::Params, boost::noncopyable>(
"RootParams",
u8"Configuration of the root finding algorithm.", py::no_init)
180 .def_readwrite(
"alpha", &
RootDigger::Params::maxstep,
u8"Parameter ensuring sufficient decrease of determinant in each step\n(Broyden method only).")