libflame revision_anchor
FLA_util_base_prototypes.h
Go to the documentation of this file.
1/*
2
3 Copyright (C) 2014, The University of Texas at Austin
4
5 This file is part of libflame and is available under the 3-Clause
6 BSD license, which can be found in the LICENSE file at the top-level
7 directory, or at http://opensource.org/licenses/BSD-3-Clause
8
9*/
10
11float FLA_random_float( void );
12double FLA_random_double( void );
15
18double FLA_Clock( void );
26FLA_Error FLA_Fill_with_cluster_dist( FLA_Obj n_clusters, FLA_Obj cluster_width, FLA_Obj x );
33FLA_Error FLA_Mult_add( FLA_Obj alpha, FLA_Obj beta, FLA_Obj gamma );
38FLA_Error FLA_Pow( FLA_Obj base, FLA_Obj exp, FLA_Obj btoe );
46FLA_Error FLA_Setr( FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A );
52
55FLA_Error FLA_Set_offdiag( int offset, FLA_Obj alpha, FLA_Obj A );
57FLA_Error FLA_Add_to_diag( void *diag_value, FLA_Obj A );
60
63
64// -----------------------------------------------------------------------------
65
101
105FLA_Error FLA_Add_to_diag_check( void *diag_value, FLA_Obj A );
108
109// -----------------------------------------------------------------------------
110
117
120 float* x, int inc_x );
122 float* x, int inc_x );
124 double* x, int inc_x );
126 double* x, int inc_x );
127
int FLA_Error
Definition FLA_type_defs.h:47
int FLA_Conj
Definition FLA_type_defs.h:54
int FLA_Trans
Definition FLA_type_defs.h:53
int FLA_Uplo
Definition FLA_type_defs.h:52
int FLA_Diag
Definition FLA_type_defs.h:55
int FLA_Pivot_type
Definition FLA_type_defs.h:57
int FLA_Direct
Definition FLA_type_defs.h:58
FLA_Error FLA_Inv_scal_elemwise(FLA_Trans trans, FLA_Obj A, FLA_Obj B)
Definition FLA_Inv_scal_elemwise.c:13
FLA_Error FLA_Scal_elemwise_check(FLA_Trans trans, FLA_Obj A, FLA_Obj B)
Definition FLA_Scal_elemwise_check.c:13
FLA_Error FLA_Norm1(FLA_Obj A, FLA_Obj norm)
Definition FLA_Norm1.c:13
FLA_Error FLA_Setr(FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Setr.c:13
FLA_Error FLA_Fill_with_geometric_dist(FLA_Obj alpha, FLA_Obj x)
Definition FLA_Fill_with_geometric_dist.c:13
FLA_Error FLA_Max_abs_value_check(FLA_Obj A, FLA_Obj amax)
Definition FLA_Max_abs_value_check.c:13
FLA_Error FLA_Pow_check(FLA_Obj base, FLA_Obj exp, FLA_Obj btoe)
Definition FLA_Pow.c:13
FLA_Error FLA_Sqrt(FLA_Obj alpha)
Definition FLA_Sqrt.c:13
FLA_Error FLA_Shift_pivots_to_check(FLA_Pivot_type ptype, FLA_Obj p)
Definition FLA_Shift_pivots_to_check.c:13
FLA_Error FLA_Random_herm_matrix(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Random_herm_matrix.c:13
FLA_Error FLA_Random_tri_matrix(FLA_Uplo uplo, FLA_Diag diag, FLA_Obj A)
Definition FLA_Random_tri_matrix.c:13
FLA_Error FLA_Transpose_blk_var1(FLA_Obj A, fla_tpose_t *cntl)
Definition FLA_Transpose_blk_var1.c:13
FLA_Error FLA_Scal_elemwise(FLA_Trans trans, FLA_Obj A, FLA_Obj B)
Definition FLA_Scal_elemwise.c:13
FLA_Error FLA_Fill_with_random_dist(FLA_Obj shift, FLA_Obj max, FLA_Obj x)
Definition FLA_Fill_with_random_dist.c:13
FLA_Error FLA_Fill_with_logarithmic_dist(FLA_Obj max, FLA_Obj x)
Definition FLA_Fill_with_logarithmic_dist.c:13
FLA_Error FLA_Absolute_square_check(FLA_Obj alpha)
Definition FLA_Absolute_square_check.c:13
FLA_Error FLA_Invert(FLA_Conj conj, FLA_Obj x)
Definition FLA_Invert.c:13
FLA_Error FLA_Negate_check(FLA_Obj x)
Definition FLA_Negate_check.c:13
FLA_Error FLA_Norm_inf_check(FLA_Obj A, FLA_Obj norm)
Definition FLA_Norm_inf_check.c:13
FLA_Error FLA_Symmetrize(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Symmetrize.c:13
FLA_Error FLA_Random_unitary_matrix(FLA_Obj A)
Definition FLA_Random_unitary_matrix.c:13
FLA_Error FLA_Set_to_identity_check(FLA_Obj A)
Definition FLA_Set_to_identity_check.c:13
FLA_Error FLA_Max_abs_value_herm(FLA_Uplo uplo, FLA_Obj A, FLA_Obj maxabs)
Definition FLA_Max_abs_value_herm.c:13
FLA_Error FLA_Random_unitary_matrix_check(FLA_Obj A)
Definition FLA_Random_unitary_matrix_check.c:13
FLA_Error FLA_Sort_check(FLA_Direct direct, FLA_Obj x)
Definition FLA_Sort_check.c:13
FLA_Error FLA_Add_to_diag(void *diag_value, FLA_Obj A)
Definition FLA_Add_to_diag.c:13
FLA_Error FLA_Invert_check(FLA_Conj conj, FLA_Obj x)
Definition FLA_Invert_check.c:13
FLA_Error FLA_Sort_f_opd(int m_x, double *x, int inc_x)
Definition FLA_Sort.c:110
FLA_Error FLA_Norm_inf(FLA_Obj A, FLA_Obj norm)
Definition FLA_Norm_inf.c:13
FLA_Error FLA_Set_offdiag(int offset, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Set_offdiag.c:13
FLA_Error FLA_Transpose_check(FLA_Obj A)
Definition FLA_Transpose_check.c:13
FLA_Error FLA_Fill_with_linear_dist_check(FLA_Obj shift, FLA_Obj delta, FLA_Obj x)
Definition FLA_Fill_with_linear_dist_check.c:13
FLA_Error FLA_Swap_t_blk_var2(FLA_Obj A, FLA_Obj B, fla_swap_t *cntl)
Definition FLA_Swap_t_blk_var2.c:13
FLA_Error FLA_Negate(FLA_Obj x)
Definition FLA_Negate.c:13
FLA_Error FLA_Set_diag(FLA_Obj alpha, FLA_Obj A)
Definition FLA_Set_diag.c:13
FLA_Error FLA_Inv_scal_elemwise_check(FLA_Trans trans, FLA_Obj A, FLA_Obj B)
Definition FLA_Inv_scal_elemwise_check.c:13
FLA_Error FLA_Sort_b_opd(int m_x, double *x, int inc_x)
Definition FLA_Sort.c:121
FLA_Error FLA_Absolute_square(FLA_Obj alpha)
Definition FLA_Absolute_square.c:13
FLA_Error FLA_Fill_with_cluster_dist(FLA_Obj n_clusters, FLA_Obj cluster_width, FLA_Obj x)
Definition FLA_Fill_with_cluster_dist.c:13
FLA_Error FLA_Fill_with_random_dist_check(FLA_Obj shift, FLA_Obj max, FLA_Obj x)
Definition FLA_Fill_with_random_dist_check.c:13
FLA_Error FLA_Random_spd_matrix_check(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Random_spd_matrix_check.c:13
FLA_Error FLA_Norm_frob(FLA_Obj A, FLA_Obj norm)
Definition FLA_Norm_frob.c:13
FLA_Error FLA_Set_diagonal_vector(FLA_Obj A, FLA_Obj d)
Definition FLA_Set_diagonal.c:27
FLA_Error FLA_Transpose_unb_var2(FLA_Obj A)
Definition FLA_Transpose_unb_var2.c:13
FLA_Error FLA_Shift_diag_check(FLA_Conj conj, FLA_Obj sigma, FLA_Obj A)
Definition FLA_Shift_diag_check.c:13
FLA_Error FLA_Swap_t_blk_var1(FLA_Obj A, FLA_Obj B, fla_swap_t *cntl)
Definition FLA_Swap_t_blk_var1.c:13
FLA_Error FLA_Hermitianize(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Hermitianize.c:13
FLA_Error FLA_Conjugate_r_check(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Conjugate_r_check.c:13
FLA_Error FLA_Random_tri_matrix_check(FLA_Uplo uplo, FLA_Diag diag, FLA_Obj A)
Definition FLA_Random_tri_matrix_check.c:13
FLA_Error FLA_Random_symm_matrix(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Random_symm_matrix.c:13
FLA_Error FLA_Absolute_value_check(FLA_Obj alpha)
Definition FLA_Absolute_value_check.c:13
FLA_Error FLA_Absolute_value(FLA_Obj alpha)
Definition FLA_Absolute_value.c:13
FLA_Error FLA_Norm1_check(FLA_Obj A, FLA_Obj norm)
Definition FLA_Norm1_check.c:13
FLA_Error FLA_Random_spd_matrix(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Random_spd_matrix.c:13
FLA_Error FLA_Shift_diag(FLA_Conj conj, FLA_Obj sigma, FLA_Obj A)
Definition FLA_Shift_diag.c:13
FLA_Error FLA_Scale_diag(FLA_Conj conj, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Scale_diag.c:13
FLA_Error FLA_Add_to_diag_check(void *diag_value, FLA_Obj A)
Definition FLA_Add_to_diag_check.c:13
FLA_Error FLA_Set_diag_check(FLA_Obj alpha, FLA_Obj A)
Definition FLA_Set_diag_check.c:13
FLA_Error FLA_Pow(FLA_Obj base, FLA_Obj exp, FLA_Obj btoe)
Definition FLA_Pow.c:13
FLA_Error FLA_Set_check(FLA_Obj alpha, FLA_Obj A)
Definition FLA_Set_check.c:13
FLA_Error FLA_Fill_with_inverse_dist_check(FLA_Obj alpha, FLA_Obj x)
Definition FLA_Fill_with_inverse_dist_check.c:13
FLA_Error FLA_Mult_add_check(FLA_Obj alpha, FLA_Obj beta, FLA_Obj gamma)
Definition FLA_Mult_add_check.c:13
FLA_Error FLA_Triangularize(FLA_Uplo uplo, FLA_Diag diag, FLA_Obj A)
Definition FLA_Triangularize.c:13
FLA_Error FLA_Scale_diag_check(FLA_Conj conj, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Scale_diag_check.c:13
FLA_Error FLA_Set_diagonal_matrix(FLA_Obj d, FLA_Obj A)
Definition FLA_Set_diagonal.c:71
FLA_Error FLA_Random_symm_matrix_check(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Random_symm_matrix_check.c:13
FLA_Error FLA_Sort_f_ops(int m_x, float *x, int inc_x)
Definition FLA_Sort.c:88
FLA_Error FLA_Sqrt_check(FLA_Obj alpha)
Definition FLA_Sqrt_check.c:13
FLA_Error FLA_Norm_frob_check(FLA_Obj A, FLA_Obj norm)
Definition FLA_Norm_frob_check.c:13
FLA_Error FLA_Transpose(FLA_Obj A)
Definition FLA_Transpose.c:15
FLA_Error FLA_Random_matrix_check(FLA_Obj A)
Definition FLA_Random_matrix_check.c:13
FLA_Error FLA_Triangularize_check(FLA_Uplo uplo, FLA_Diag diag, FLA_Obj A)
Definition FLA_Triangularize_check.c:13
FLA_Error FLA_Mult_add(FLA_Obj alpha, FLA_Obj beta, FLA_Obj gamma)
Definition FLA_Mult_add.c:13
FLA_Error FLA_Setr_check(FLA_Uplo uplo, FLA_Obj alpha, FLA_Obj A)
Definition FLA_Setr_check.c:13
FLA_Error FLA_Transpose_unb_var1(FLA_Obj A)
Definition FLA_Transpose_unb_var1.c:13
FLA_Error FLA_Symmetrize_check(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Symmetrize_check.c:13
double FLA_random_double(void)
Definition FLA_random_number.c:18
FLA_Error FLA_Set(FLA_Obj alpha, FLA_Obj A)
Definition FLA_Set.c:13
FLA_Error FLA_Fill_with_linear_dist(FLA_Obj shift, FLA_Obj delta, FLA_Obj x)
Definition FLA_Fill_with_linear_dist.c:13
FLA_Error FLA_Hermitianize_check(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Hermitianize_check.c:13
dcomplex FLA_random_dcomplex(void)
Definition FLA_random_number.c:33
FLA_Error FLA_Random_herm_matrix_check(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Random_herm_matrix_check.c:13
FLA_Error FLA_Sort(FLA_Direct direct, FLA_Obj x)
Definition FLA_Sort.c:18
FLA_Error FLA_Fill_with_logarithmic_dist_check(FLA_Obj alpha, FLA_Obj x)
Definition FLA_Fill_with_logarithmic_dist_check.c:13
FLA_Error FLA_Fill_with_inverse_dist(FLA_Obj alpha, FLA_Obj x)
Definition FLA_Fill_with_inverse_dist.c:13
FLA_Error FLA_Fill_with_cluster_dist_check(FLA_Obj n_clusters, FLA_Obj cluster_width, FLA_Obj x)
Definition FLA_Fill_with_cluster_dist_check.c:13
scomplex FLA_random_scomplex(void)
Definition FLA_random_number.c:23
FLA_Error FLA_Conjugate_r(FLA_Uplo uplo, FLA_Obj A)
Definition FLA_Conjugate_r.c:13
FLA_Error FLA_Max_abs_value_herm_check(FLA_Uplo uplo, FLA_Obj A, FLA_Obj maxabs)
Definition FLA_Max_abs_value_herm_check.c:13
double FLA_Max_elemwise_diff(FLA_Obj A, FLA_Obj B)
Definition FLA_Max_elemwise_diff.c:13
FLA_Error FLA_Set_to_identity(FLA_Obj A)
Definition FLA_Set_to_identity.c:13
float FLA_random_float(void)
Definition FLA_random_number.c:13
FLA_Error FLA_Conjugate(FLA_Obj A)
Definition FLA_Conjugate.c:13
FLA_Error FLA_Sort_b_ops(int m_x, float *x, int inc_x)
Definition FLA_Sort.c:99
FLA_Error FLA_Conjugate_check(FLA_Obj A)
Definition FLA_Conjugate_check.c:13
FLA_Error FLA_Fill_with_geometric_dist_check(FLA_Obj alpha, FLA_Obj x)
Definition FLA_Fill_with_geometric_dist_check.c:13
FLA_Error FLA_Max_elemwise_diff_check(FLA_Obj A, FLA_Obj B)
Definition FLA_Max_elemwise_diff_check.c:13
FLA_Error FLA_Random_matrix(FLA_Obj A)
Definition FLA_Random_matrix.c:13
double FLA_Clock(void)
Definition FLA_Clock.c:20
FLA_Error FLA_Transpose_blk_var2(FLA_Obj A, fla_tpose_t *cntl)
Definition FLA_Transpose_blk_var2.c:13
FLA_Error FLA_Max_abs_value(FLA_Obj A, FLA_Obj amax)
Definition FLA_Max_abs_value.c:13
Definition FLA_type_defs.h:159
Definition blis_type_defs.h:138
Definition FLA_Cntl_blas1.h:89
Definition FLA_Cntl_blas1.h:99
Definition blis_type_defs.h:133