amg_core Package

amg_core Package

amg_core - a C++ implementation of AMG-related routines

amg_core Module

pyamg.amg_core.amg_core.apply_absolute_distance_filter(int n_row, float epsilon, int Sp, int Sj, float Sx)[source]

apply_absolute_distance_filter(int n_row, double epsilon, int Sp, int Sj, double Sx)

pyamg.amg_core.amg_core.apply_distance_filter(int n_row, float epsilon, int Sp, int Sj, float Sx)[source]

apply_distance_filter(int n_row, double epsilon, int Sp, int Sj, double Sx)

pyamg.amg_core.amg_core.apply_givens(float B, float x, int n, int nrot)[source]

apply_givens(double B, double x, int n, int nrot) apply_givens(npy_cfloat_wrapper B, npy_cfloat_wrapper x, int n,

int nrot)
apply_givens(npy_cdouble_wrapper B, npy_cdouble_wrapper x, int n,
int nrot)
pyamg.amg_core.amg_core.apply_householders(float z, float B, int n, int start, int stop, int step)[source]

apply_householders(double z, double B, int n, int start, int stop, int step) apply_householders(npy_cfloat_wrapper z, npy_cfloat_wrapper B, int n,

int start, int stop, int step)
apply_householders(npy_cdouble_wrapper z, npy_cdouble_wrapper B, int n,
int start, int stop, int step)
pyamg.amg_core.amg_core.bellman_ford(int num_rows, int Ap, int Aj, int Ax, int x, int y)[source]

bellman_ford(int num_rows, int Ap, int Aj, float Ax, float x, int y) bellman_ford(int num_rows, int Ap, int Aj, double Ax, double x,

int y)
pyamg.amg_core.amg_core.block_gauss_seidel(*args)[source]
block_gauss_seidel(int Ap, int Aj, float Ax, float x, float b, float Tx,
int row_start, int row_stop, int row_step, int blocksize)
block_gauss_seidel(int Ap, int Aj, double Ax, double x, double b, double Tx,
int row_start, int row_stop, int row_step, int blocksize)
block_gauss_seidel(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, npy_cfloat_wrapper Tx, int row_start, int row_stop, int row_step, int blocksize)
block_gauss_seidel(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, npy_cdouble_wrapper Tx, int row_start, int row_stop, int row_step, int blocksize)
pyamg.amg_core.amg_core.block_jacobi(*args)[source]
block_jacobi(int Ap, int Aj, float Ax, float x, float b, float Tx,
float temp, int row_start, int row_stop, int row_step, float omega, int blocksize)
block_jacobi(int Ap, int Aj, double Ax, double x, double b, double Tx,
double temp, int row_start, int row_stop, int row_step, double omega, int blocksize)
block_jacobi(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, npy_cfloat_wrapper Tx, npy_cfloat_wrapper temp, int row_start, int row_stop, int row_step, npy_cfloat_wrapper omega, int blocksize)
block_jacobi(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, npy_cdouble_wrapper Tx, npy_cdouble_wrapper temp, int row_start, int row_stop, int row_step, npy_cdouble_wrapper omega, int blocksize)
pyamg.amg_core.amg_core.bsr_gauss_seidel(*args)[source]
bsr_gauss_seidel(int Ap, int Aj, float Ax, float x, float b, int row_start,
int row_stop, int row_step, int blocksize)
bsr_gauss_seidel(int Ap, int Aj, double Ax, double x, double b, int row_start,
int row_stop, int row_step, int blocksize)
bsr_gauss_seidel(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, int row_start, int row_stop, int row_step, int blocksize)
bsr_gauss_seidel(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, int row_start, int row_stop, int row_step, int blocksize)
pyamg.amg_core.amg_core.bsr_jacobi(*args)[source]
bsr_jacobi(int Ap, int Aj, float Ax, float x, float b, float temp,
int row_start, int row_stop, int row_step, int blocksize, float omega)
bsr_jacobi(int Ap, int Aj, double Ax, double x, double b, double temp,
int row_start, int row_stop, int row_step, int blocksize, double omega)
bsr_jacobi(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, npy_cfloat_wrapper temp, int row_start, int row_stop, int row_step, int blocksize, npy_cfloat_wrapper omega)
bsr_jacobi(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, npy_cdouble_wrapper temp, int row_start, int row_stop, int row_step, int blocksize, npy_cdouble_wrapper omega)
pyamg.amg_core.amg_core.calc_BtB(*args)[source]
calc_BtB(int NullDim, int Nnodes, int ColsPerBlock, float b,
int BsqCols, float x, int Sp, int Sj)
calc_BtB(int NullDim, int Nnodes, int ColsPerBlock, double b,
int BsqCols, double x, int Sp, int Sj)
calc_BtB(int NullDim, int Nnodes, int ColsPerBlock, npy_cfloat_wrapper b,
int BsqCols, npy_cfloat_wrapper x, int Sp, int Sj)
calc_BtB(int NullDim, int Nnodes, int ColsPerBlock, npy_cdouble_wrapper b,
int BsqCols, npy_cdouble_wrapper x, int Sp, int Sj)
pyamg.amg_core.amg_core.classical_strength_of_connection(*args)[source]
classical_strength_of_connection(int n_row, float theta, int Ap, int Aj, float Ax, int Sp,
int Sj, float Sx)
classical_strength_of_connection(int n_row, double theta, int Ap, int Aj, double Ax,
int Sp, int Sj, double Sx)
classical_strength_of_connection(int n_row, float theta, int Ap, int Aj, npy_cfloat_wrapper Ax,
int Sp, int Sj, npy_cfloat_wrapper Sx)
classical_strength_of_connection(int n_row, double theta, int Ap, int Aj, npy_cdouble_wrapper Ax,
int Sp, int Sj, npy_cdouble_wrapper Sx)
pyamg.amg_core.amg_core.cljp_naive_splitting(*args)[source]
cljp_naive_splitting(int n, int Sp, int Sj, int Tp, int Tj, int splitting,
int colorflag)
pyamg.amg_core.amg_core.conjugate(float x) → float[source]

conjugate(double x) -> double conjugate(npy_cfloat_wrapper x) -> npy_cfloat_wrapper conjugate(npy_cdouble_wrapper x) -> npy_cdouble_wrapper

pyamg.amg_core.amg_core.connected_components(int num_nodes, int Ap, int Aj, int components) → int[source]
pyamg.amg_core.amg_core.evolution_strength_helper(*args)[source]
evolution_strength_helper(float Sx, int Sp, int Sj, int nrows, float x, float y,
float b, int BDBCols, int NullDim, float tol)
evolution_strength_helper(double Sx, int Sp, int Sj, int nrows, double x, double y,
double b, int BDBCols, int NullDim, double tol)
evolution_strength_helper(npy_cfloat_wrapper Sx, int Sp, int Sj, int nrows, npy_cfloat_wrapper x,
npy_cfloat_wrapper y, npy_cfloat_wrapper b, int BDBCols, int NullDim, float tol)
evolution_strength_helper(npy_cdouble_wrapper Sx, int Sp, int Sj, int nrows,
npy_cdouble_wrapper x, npy_cdouble_wrapper y, npy_cdouble_wrapper b, int BDBCols, int NullDim, double tol)
pyamg.amg_core.amg_core.extract_subblocks(*args)[source]
extract_subblocks(int Ap, int Aj, float Ax, float Tx, int Tp, int Sj,
int Sp, int nsdomains, int nrows)
extract_subblocks(int Ap, int Aj, double Ax, double Tx, int Tp, int Sj,
int Sp, int nsdomains, int nrows)
extract_subblocks(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper Tx,
int Tp, int Sj, int Sp, int nsdomains, int nrows)
extract_subblocks(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper Tx,
int Tp, int Sj, int Sp, int nsdomains, int nrows)
pyamg.amg_core.amg_core.fit_candidates(*args)[source]
fit_candidates(int n_row, int n_col, int K1, int K2, int Ap, int Ai,
float Ax, float B, float R, float tol)
fit_candidates(int n_row, int n_col, int K1, int K2, int Ap, int Ai,
double Ax, double B, double R, double tol)
fit_candidates(int n_row, int n_col, int K1, int K2, int Ap, int Ai,
npy_cfloat_wrapper Ax, npy_cfloat_wrapper B, npy_cfloat_wrapper R, float tol)
fit_candidates(int n_row, int n_col, int K1, int K2, int Ap, int Ai,
npy_cdouble_wrapper Ax, npy_cdouble_wrapper B, npy_cdouble_wrapper R, double tol)
pyamg.amg_core.amg_core.gauss_seidel(*args)[source]
gauss_seidel(int Ap, int Aj, float Ax, float x, float b, int row_start,
int row_stop, int row_step)
gauss_seidel(int Ap, int Aj, double Ax, double x, double b, int row_start,
int row_stop, int row_step)
gauss_seidel(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, int row_start, int row_stop, int row_step)
gauss_seidel(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, int row_start, int row_stop, int row_step)
pyamg.amg_core.amg_core.gauss_seidel_indexed(*args)[source]
gauss_seidel_indexed(int Ap, int Aj, float Ax, float x, float b, int Id,
int row_start, int row_stop, int row_step)
gauss_seidel_indexed(int Ap, int Aj, double Ax, double x, double b, int Id,
int row_start, int row_stop, int row_step)
gauss_seidel_indexed(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, int Id, int row_start, int row_stop, int row_step)
gauss_seidel_indexed(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, int Id, int row_start, int row_stop, int row_step)
pyamg.amg_core.amg_core.gauss_seidel_ne(*args)[source]
gauss_seidel_ne(int Ap, int Aj, float Ax, float x, float b, int row_start,
int row_stop, int row_step, float Tx, float omega)
gauss_seidel_ne(int Ap, int Aj, double Ax, double x, double b, int row_start,
int row_stop, int row_step, double Tx, double omega)
gauss_seidel_ne(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, int row_start, int row_stop, int row_step, npy_cfloat_wrapper Tx, float omega)
gauss_seidel_ne(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, int row_start, int row_stop, int row_step, npy_cdouble_wrapper Tx, double omega)
pyamg.amg_core.amg_core.gauss_seidel_nr(*args)[source]
gauss_seidel_nr(int Ap, int Aj, float Ax, float x, float z, int col_start,
int col_stop, int col_step, float Tx, float omega)
gauss_seidel_nr(int Ap, int Aj, double Ax, double x, double z, int col_start,
int col_stop, int col_step, double Tx, double omega)
gauss_seidel_nr(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper z, int col_start, int col_stop, int col_step, npy_cfloat_wrapper Tx, float omega)
gauss_seidel_nr(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper z, int col_start, int col_stop, int col_step, npy_cdouble_wrapper Tx, double omega)
pyamg.amg_core.amg_core.householder_hornerscheme(*args)[source]
householder_hornerscheme(float z, float B, float y, int n, int start, int stop,
int step)
householder_hornerscheme(double z, double B, double y, int n, int start, int stop,
int step)
householder_hornerscheme(npy_cfloat_wrapper z, npy_cfloat_wrapper B, npy_cfloat_wrapper y,
int n, int start, int stop, int step)
householder_hornerscheme(npy_cdouble_wrapper z, npy_cdouble_wrapper B, npy_cdouble_wrapper y,
int n, int start, int stop, int step)
pyamg.amg_core.amg_core.imag(float x) → float[source]

imag(double x) -> double imag(npy_cfloat_wrapper x) -> float imag(npy_cdouble_wrapper x) -> double

pyamg.amg_core.amg_core.incomplete_mat_mult_bsr(*args)[source]
incomplete_mat_mult_bsr(int Ap, int Aj, float Ax, int Bp, int Bj, float Bx,
int Sp, int Sj, float Sx, int n_brow, int n_bcol, int brow_A, int bcol_A, int bcol_B)
incomplete_mat_mult_bsr(int Ap, int Aj, double Ax, int Bp, int Bj, double Bx,
int Sp, int Sj, double Sx, int n_brow, int n_bcol, int brow_A, int bcol_A, int bcol_B)
incomplete_mat_mult_bsr(int Ap, int Aj, npy_cfloat_wrapper Ax, int Bp, int Bj,
npy_cfloat_wrapper Bx, int Sp, int Sj, npy_cfloat_wrapper Sx, int n_brow, int n_bcol, int brow_A, int bcol_A, int bcol_B)
incomplete_mat_mult_bsr(int Ap, int Aj, npy_cdouble_wrapper Ax, int Bp, int Bj,
npy_cdouble_wrapper Bx, int Sp, int Sj, npy_cdouble_wrapper Sx, int n_brow, int n_bcol, int brow_A, int bcol_A, int bcol_B)
pyamg.amg_core.amg_core.incomplete_mat_mult_csr(*args)[source]
incomplete_mat_mult_csr(int Ap, int Aj, float Ax, int Bp, int Bj, float Bx,
int Sp, int Sj, float Sx, int num_rows)
incomplete_mat_mult_csr(int Ap, int Aj, double Ax, int Bp, int Bj, double Bx,
int Sp, int Sj, double Sx, int num_rows)
incomplete_mat_mult_csr(int Ap, int Aj, npy_cfloat_wrapper Ax, int Bp, int Bj,
npy_cfloat_wrapper Bx, int Sp, int Sj, npy_cfloat_wrapper Sx, int num_rows)
incomplete_mat_mult_csr(int Ap, int Aj, npy_cdouble_wrapper Ax, int Bp, int Bj,
npy_cdouble_wrapper Bx, int Sp, int Sj, npy_cdouble_wrapper Sx, int num_rows)
pyamg.amg_core.amg_core.jacobi(*args)[source]
jacobi(int Ap, int Aj, float Ax, float x, float b, float temp,
int row_start, int row_stop, int row_step, float omega)
jacobi(int Ap, int Aj, double Ax, double x, double b, double temp,
int row_start, int row_stop, int row_step, double omega)
jacobi(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, npy_cfloat_wrapper temp, int row_start, int row_stop, int row_step, npy_cfloat_wrapper omega)
jacobi(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, npy_cdouble_wrapper temp, int row_start, int row_stop, int row_step, npy_cdouble_wrapper omega)
pyamg.amg_core.amg_core.jacobi_ne(*args)[source]
jacobi_ne(int Ap, int Aj, float Ax, float x, float b, float Tx,
float temp, int row_start, int row_stop, int row_step, float omega)
jacobi_ne(int Ap, int Aj, double Ax, double x, double b, double Tx,
double temp, int row_start, int row_stop, int row_step, double omega)
jacobi_ne(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, npy_cfloat_wrapper Tx, npy_cfloat_wrapper temp, int row_start, int row_stop, int row_step, npy_cfloat_wrapper omega)
jacobi_ne(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, npy_cdouble_wrapper Tx, npy_cdouble_wrapper temp, int row_start, int row_stop, int row_step, npy_cdouble_wrapper omega)
pyamg.amg_core.amg_core.lloyd_cluster(*args)[source]
lloyd_cluster(int num_rows, int Ap, int Aj, int Ax, int num_seeds,
int x, int y, int z)
lloyd_cluster(int num_rows, int Ap, int Aj, float Ax, int num_seeds,
float x, int y, int z)
lloyd_cluster(int num_rows, int Ap, int Aj, double Ax, int num_seeds,
double x, int y, int z)
pyamg.amg_core.amg_core.maximal_independent_set_k_parallel(*args)[source]
maximal_independent_set_k_parallel(int num_rows, int Ap, int Aj, int k, int x, double y,
int max_iters = -1)

maximal_independent_set_k_parallel(int num_rows, int Ap, int Aj, int k, int x, double y)

pyamg.amg_core.amg_core.maximal_independent_set_parallel(*args)[source]
maximal_independent_set_parallel(int num_rows, int Ap, int Aj, int active, int C, int F,
int x, double y, int max_iters = -1) -> int
maximal_independent_set_parallel(int num_rows, int Ap, int Aj, int active, int C, int F,
int x, double y) -> int
pyamg.amg_core.amg_core.maximal_independent_set_serial(*args)[source]
maximal_independent_set_serial(int num_rows, int Ap, int Aj, int active, int C, int F,
int x) -> int
pyamg.amg_core.amg_core.maximum_row_value(int n_row, float x, int Ap, int Aj, float Ax)[source]

maximum_row_value(int n_row, double x, int Ap, int Aj, double Ax) maximum_row_value(int n_row, npy_cfloat_wrapper x, int Ap, int Aj, npy_cfloat_wrapper Ax) maximum_row_value(int n_row, npy_cdouble_wrapper x, int Ap, int Aj, npy_cdouble_wrapper Ax)

pyamg.amg_core.amg_core.min_blocks(int n_blocks, int blocksize, float Sx, float Tx)[source]

min_blocks(int n_blocks, int blocksize, double Sx, double Tx)

pyamg.amg_core.amg_core.mynorm(float x) → float[source]

mynorm(double x) -> double mynorm(npy_cfloat_wrapper x) -> float mynorm(npy_cdouble_wrapper x) -> double

pyamg.amg_core.amg_core.mynormsq(float x) → float[source]

mynormsq(double x) -> double mynormsq(npy_cfloat_wrapper x) -> float mynormsq(npy_cdouble_wrapper x) -> double

pyamg.amg_core.amg_core.naive_aggregation(int n_row, int Ap, int Aj, int x, int y) → int[source]
pyamg.amg_core.amg_core.overlapping_schwarz_csr(*args)[source]
overlapping_schwarz_csr(int Ap, int Aj, float Ax, float x, float b, float Tx,
int Tp, int Sj, int Sp, int nsdomains, int nrows, int row_start, int row_stop, int row_step)
overlapping_schwarz_csr(int Ap, int Aj, double Ax, double x, double b, double Tx,
int Tp, int Sj, int Sp, int nsdomains, int nrows, int row_start, int row_stop, int row_step)
overlapping_schwarz_csr(int Ap, int Aj, npy_cfloat_wrapper Ax, npy_cfloat_wrapper x,
npy_cfloat_wrapper b, npy_cfloat_wrapper Tx, int Tp, int Sj, int Sp, int nsdomains, int nrows, int row_start, int row_stop, int row_step)
overlapping_schwarz_csr(int Ap, int Aj, npy_cdouble_wrapper Ax, npy_cdouble_wrapper x,
npy_cdouble_wrapper b, npy_cdouble_wrapper Tx, int Tp, int Sj, int Sp, int nsdomains, int nrows, int row_start, int row_stop, int row_step)
pyamg.amg_core.amg_core.pinv_array(float Ax, int m, int n, char TransA)[source]

pinv_array(double Ax, int m, int n, char TransA) pinv_array(npy_cfloat_wrapper Ax, int m, int n, char TransA) pinv_array(npy_cdouble_wrapper Ax, int m, int n, char TransA)

pyamg.amg_core.amg_core.real(float x) → float[source]

real(double x) -> double real(npy_cfloat_wrapper x) -> float real(npy_cdouble_wrapper x) -> double

pyamg.amg_core.amg_core.rs_cf_splitting(int n_nodes, int Sp, int Sj, int Tp, int Tj, int splitting)[source]
pyamg.amg_core.amg_core.rs_direct_interpolation_pass1(int n_nodes, int Sp, int Sj, int splitting, int Bp)[source]
pyamg.amg_core.amg_core.rs_direct_interpolation_pass2(*args)[source]
rs_direct_interpolation_pass2(int n_nodes, int Ap, int Aj, float Ax, int Sp, int Sj,
float Sx, int splitting, int Bp, int Bj, float Bx)
rs_direct_interpolation_pass2(int n_nodes, int Ap, int Aj, double Ax, int Sp, int Sj,
double Sx, int splitting, int Bp, int Bj, double Bx)
pyamg.amg_core.amg_core.satisfy_constraints_helper(*args)[source]
satisfy_constraints_helper(int RowsPerBlock, int ColsPerBlock, int num_block_rows,
int NullDim, float x, float y, float z, int Sp, int Sj, float Sx)
satisfy_constraints_helper(int RowsPerBlock, int ColsPerBlock, int num_block_rows,
int NullDim, double x, double y, double z, int Sp, int Sj, double Sx)
satisfy_constraints_helper(int RowsPerBlock, int ColsPerBlock, int num_block_rows,
int NullDim, npy_cfloat_wrapper x, npy_cfloat_wrapper y, npy_cfloat_wrapper z, int Sp, int Sj, npy_cfloat_wrapper Sx)
satisfy_constraints_helper(int RowsPerBlock, int ColsPerBlock, int num_block_rows,
int NullDim, npy_cdouble_wrapper x, npy_cdouble_wrapper y, npy_cdouble_wrapper z, int Sp, int Sj, npy_cdouble_wrapper Sx)
pyamg.amg_core.amg_core.signof(int a) → int[source]

signof(float a) -> float signof(double a) -> double

pyamg.amg_core.amg_core.standard_aggregation(int n_row, int Ap, int Aj, int x, int y) → int[source]
pyamg.amg_core.amg_core.symmetric_strength_of_connection(*args)[source]
symmetric_strength_of_connection(int n_row, float theta, int Ap, int Aj, float Ax, int Sp,
int Sj, float Sx)
symmetric_strength_of_connection(int n_row, double theta, int Ap, int Aj, double Ax,
int Sp, int Sj, double Sx)
symmetric_strength_of_connection(int n_row, float theta, int Ap, int Aj, npy_cfloat_wrapper Ax,
int Sp, int Sj, npy_cfloat_wrapper Sx)
symmetric_strength_of_connection(int n_row, double theta, int Ap, int Aj, npy_cdouble_wrapper Ax,
int Sp, int Sj, npy_cdouble_wrapper Sx)
pyamg.amg_core.amg_core.vertex_coloring_LDF(int num_rows, int Ap, int Aj, int x, double y) → int[source]
pyamg.amg_core.amg_core.vertex_coloring_jones_plassmann(int num_rows, int Ap, int Aj, int x, double y) → int[source]
pyamg.amg_core.amg_core.vertex_coloring_mis(int num_rows, int Ap, int Aj, int x) → int[source]
pyamg.amg_core.amg_core.zero_imag(float x) → float[source]

zero_imag(double x) -> double zero_imag(npy_cfloat_wrapper x) -> npy_cfloat_wrapper zero_imag(npy_cdouble_wrapper x) -> npy_cdouble_wrapper

pyamg.amg_core.amg_core.zero_real(float x) → float[source]

zero_real(double x) -> double zero_real(npy_cfloat_wrapper x) -> npy_cfloat_wrapper zero_real(npy_cdouble_wrapper x) -> npy_cdouble_wrapper

setup Module

pyamg.amg_core.setup.configuration(parent_package='', top_path=None)[source]