Psi4
Macros
#include <iostream>
#include <map>
#include <vector>
#include "matrix_types.h"

Go to the source code of this file.

Macros

#define INDEX(i, j)   ((i>j) ? (ioff[(i)]+(j)) : (ioff[(j)]+(i)))
 
#define four(i, j, k, l)   INDEX(INDEX(i,j),INDEX(k,l))
 

Detailed Description

()

Macro Definition Documentation

#define four (   i,
  j,
  k,
 
)    INDEX(INDEX(i,j),INDEX(k,l))
#define INDEX (   i,
 
)    ((i>j) ? (ioff[(i)]+(j)) : (ioff[(j)]+(i)))