linalg._generate_pyx

Code generator script to make the Cython BLAS and LAPACK wrappers from the files “cython_blas_signatures.txt” and “cython_lapack_signatures.txt” which contain the signatures for all the BLAS/LAPACK routines that should be included in the wrappers.

Module Contents

Functions

arg_names_and_types(args)
arg_casts(arg)
pyx_decl_func(name,ret_type,args,header_name)
pyx_decl_sub(name,args,header_name)
make_blas_pyx_preamble(all_sigs)
make_lapack_pyx_preamble(all_sigs)
generate_blas_pyx(func_sigs,sub_sigs,all_sigs,header_name)
generate_lapack_pyx(func_sigs,sub_sigs,all_sigs,header_name)
pxd_decl(name,ret_type,args)
generate_blas_pxd(all_sigs)
generate_lapack_pxd(all_sigs)
process_fortran_name(name,funcname)
fort_subroutine_wrapper(name,ret_type,args)
generate_fortran(func_sigs)
make_c_args(args)
c_func_decl(name,return_type,args)
c_sub_decl(name,return_type,args)
generate_c_header(func_sigs,sub_sigs,all_sigs,lib_name)
split_signature(sig)
filter_lines(ls)
all_newer(src_files,dst_files)
make_all(blas_signature_file=”cython_blas_signatures.txt”,lapack_signature_file=”cython_lapack_signatures.txt”,blas_name=”cython_blas”,lapack_name=”cython_lapack”,blas_fortran_name=”_blas_subroutine_wrappers.f”,lapack_fortran_name=”_lapack_subroutine_wrappers.f”,blas_header_name=”_blas_subroutines.h”,lapack_header_name=”_lapack_subroutines.h”)
arg_names_and_types(args)
arg_casts(arg)
pyx_decl_func(name, ret_type, args, header_name)
pyx_decl_sub(name, args, header_name)
make_blas_pyx_preamble(all_sigs)
make_lapack_pyx_preamble(all_sigs)
generate_blas_pyx(func_sigs, sub_sigs, all_sigs, header_name)
generate_lapack_pyx(func_sigs, sub_sigs, all_sigs, header_name)
pxd_decl(name, ret_type, args)
generate_blas_pxd(all_sigs)
generate_lapack_pxd(all_sigs)
process_fortran_name(name, funcname)
fort_subroutine_wrapper(name, ret_type, args)
generate_fortran(func_sigs)
make_c_args(args)
c_func_decl(name, return_type, args)
c_sub_decl(name, return_type, args)
generate_c_header(func_sigs, sub_sigs, all_sigs, lib_name)
split_signature(sig)
filter_lines(ls)
all_newer(src_files, dst_files)
make_all(blas_signature_file="cython_blas_signatures.txt", lapack_signature_file="cython_lapack_signatures.txt", blas_name="cython_blas", lapack_name="cython_lapack", blas_fortran_name="_blas_subroutine_wrappers.f", lapack_fortran_name="_lapack_subroutine_wrappers.f", blas_header_name="_blas_subroutines.h", lapack_header_name="_lapack_subroutines.h")