ergo
|
#include <stdlib.h>
#include "matrix_algebra.h"
#include "memorymanag.h"
#include "output.h"
#include "../matrix/gblas.h"
Defines | |
#define | USE_BLAS_MM |
Functions | |
void | multiply_matrices_general (int An1, int An2, int Bn1, int Bn2, const ergo_real *A, const ergo_real *B, ergo_real *AB) |
void | multiply_matrices_general_T_1 (int An1, int An2, int Bn1, int Bn2, const ergo_real *A, const ergo_real *B, ergo_real *AB) |
void | multiply_matrices_general_T_2 (int An1, int An2, int Bn1, int Bn2, const ergo_real *A, const ergo_real *B, ergo_real *AB) |
void | multiply2matrices (int n, ergo_real *A, ergo_real *B, ergo_real *AB) |
void | multiply2matricesSymm (int n, ergo_real *A, ergo_real *B, ergo_real *AB) |
void | multiply2matricesSymmResult (int n, ergo_real *A, ergo_real *B, ergo_real *AB) |
void | computeSquareOfSymmetricMatrix (int n, const ergo_real *Aa, const ergo_real *Ab, ergo_real *A2) |
void | multiply3matrices (int n, ergo_real *A, ergo_real *B, ergo_real *C, ergo_real *ABC) |
#define USE_BLAS_MM |
void computeSquareOfSymmetricMatrix | ( | int | n, |
const ergo_real * | Aa, | ||
const ergo_real * | Ab, | ||
ergo_real * | A2 | ||
) |
References mat::gemm().
Referenced by multiply3matrices().
References ergo_malloc(), multiply2matrices(), and ergo_free().
Referenced by load_density_and_project_full().
void multiply_matrices_general | ( | int | An1, |
int | An2, | ||
int | Bn1, | ||
int | Bn2, | ||
const ergo_real * | A, | ||
const ergo_real * | B, | ||
ergo_real * | AB | ||
) |
References do_output(), LOG_CAT_ERROR, LOG_AREA_LOWLEVEL, ergo_malloc(), mat::gemm(), and ergo_free().
Referenced by load_density_and_project_full(), multiply_matrices_general_T_1(), and multiply_matrices_general_T_2().
void multiply_matrices_general_T_1 | ( | int | An1, |
int | An2, | ||
int | Bn1, | ||
int | Bn2, | ||
const ergo_real * | A, | ||
const ergo_real * | B, | ||
ergo_real * | AB | ||
) |
References do_output(), LOG_CAT_ERROR, LOG_AREA_LOWLEVEL, ergo_malloc(), multiply_matrices_general(), and ergo_free().
Referenced by get_dens_from_cmo_zeroT(), and load_density_and_project_full().
void multiply_matrices_general_T_2 | ( | int | An1, |
int | An2, | ||
int | Bn1, | ||
int | Bn2, | ||
const ergo_real * | A, | ||
const ergo_real * | B, | ||
ergo_real * | AB | ||
) |
References do_output(), LOG_CAT_ERROR, LOG_AREA_LOWLEVEL, ergo_malloc(), multiply_matrices_general(), and ergo_free().