Did I find the right examples for you? yes no

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)

src/m/o/modred-1.0.2/src/dmd.py   modred(Download)
        """
        if vec_handles is not None:
            self.vec_handles = util.make_list(vec_handles)
        if self.vec_handles is None:
            raise util.UndefinedError('vec_handles is not given')
        if adv_vec_handles is not None:
            self.adv_vec_handles = util.make_list(adv_vec_handles)
            raise util.UndefinedError('self.build_coeffs is undefined.')
        if vec_handles is not None:
            self.vec_handles = util.make_list(vec_handles)
 
        # For sequential data, the user will provide a list vec_handles that

src/m/o/modred-1.0.2/src/bpod.py   modred(Download)
        """
        if direct_vec_handles is not None:
            self.direct_vec_handles = util.make_list(direct_vec_handles)
        if self.direct_vec_handles is None:
            raise util.UndefinedError('direct_vec_handles undefined')
        """
        if adjoint_vec_handles is not None:
            self.adjoint_vec_handles = util.make_list(adjoint_vec_handles)
        if self.adjoint_vec_handles is None:
            raise util.UndefinedError('adjoint_vec_handles undefined')

src/m/o/modred-1.0.2/src/vectorspace.py   modred(Download)
        """
        self._check_inner_product()
        row_vec_handles = util.make_list(row_vec_handles)
        col_vec_handles = util.make_list(col_vec_handles)
 
        """
        self._check_inner_product()
        vec_handles = util.make_list(vec_handles)
 
        num_vecs = len(vec_handles)        
        ``max_vecs_per_node``.
        """
        sum_vec_handles = util.make_list(sum_vec_handles)
        basis_vec_handles = util.make_list(basis_vec_handles)
        num_bases = len(basis_vec_handles)

src/m/o/modred-1.0.2/src/pod.py   modred(Download)
        """
        if vec_handles is not None:
            self.vec_handles = util.make_list(vec_handles)
        build_coeff_mat = self._compute_build_coeff_mat()
        self.vec_space.lin_combine(modes, self.vec_handles, build_coeff_mat,