|
subroutine, public | cp_dbcsr_contrib::dbcsr_hadamard_product (matrix_a, matrix_b, matrix_c) |
| Hadamard product: C = A . B (C needs to be different from A and B)
|
|
real(dp) function, public | cp_dbcsr_contrib::dbcsr_maxabs (matrix) |
| Compute the maxabs norm of a dbcsr matrix.
|
|
real(dp) function, public | cp_dbcsr_contrib::dbcsr_frobenius_norm (matrix) |
| Compute the frobenius norm of a dbcsr matrix.
|
|
real(dp) function, public | cp_dbcsr_contrib::dbcsr_gershgorin_norm (matrix) |
| Compute the gershgorin norm of a dbcsr matrix.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_init_random (matrix, keep_sparsity) |
| Fills the given matrix with random numbers.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_reserve_diag_blocks (matrix) |
| Reserves all diagonal blocks.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_reserve_all_blocks (matrix) |
| Reserves all blocks.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_add_on_diag (matrix, alpha) |
| Adds the given scalar to the diagonal of the matrix. Reserves any missing diagonal blocks.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_dot (matrix_a, matrix_b, trace) |
| Computes the dot product of two matrices, also known as the trace of their matrix product.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_trace (matrix, trace) |
| Computes the trace of the given matrix, also known as the sum of its diagonal elements.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_get_block_diag (matrix, diag) |
| Copies the diagonal blocks of matrix into diag.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_scale_by_vector (matrix, alpha, side) |
| Scales the rows/columns of given matrix.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_get_diag (matrix, diag) |
| Copies the diagonal elements from the given matrix into the given array.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_set_diag (matrix, diag) |
| Copies the diagonal elements from the given array into the given matrix.
|
|
real(kind=dp) function, public | cp_dbcsr_contrib::dbcsr_checksum (matrix, pos) |
| Calculates the checksum of a DBCSR matrix.
|
|
subroutine, public | cp_dbcsr_contrib::dbcsr_print (matrix, variable_name, unit_nr) |
| Prints given matrix in matlab format (only present blocks).
|
|