njTransposeMatrix | Japanese
    <-|INDEX|->
Transposes a matrix.

### FORMAT

      #include <Ninja.h>

      void njTransposeMatrix(*m)
      NJS_MATRIX *m

### PARAMETERS

NJS_MATRIX *m
  matrix to be transposed

### RETURN VALUE

### FUNCTION

- Transposes arbitrary matrix m.
- When parameter m is NULL, the current matrix is transposed.

### EXAMPLE

  The following transposes the current matrix.

      NJS_MATRIX stack[10];
      NJS_VIEW view;

      njInitMatrix(stack, 10);
      njInitView(&view);
      njSetView(&view);
      njClearMatrix();
      njPushMatrix(NULL);
      njTransposeMatrix(NULL);
      njPopMatrix(1);

### NOTES

- For arbitrary matrix M, [M] = [M]'.

### RELATED TOPICS

njTransposeMatrix |
    <-|INDEX|->