~ubuntu-branches/ubuntu/maverick/yagiuda/maverick

« back to all changes in this revision

Viewing changes to src/print_z_matrix.c

  • Committer: Bazaar Package Importer
  • Author(s): Joop Stakenborg
  • Date: 2005-08-22 20:20:13 UTC
  • Revision ID: james.westby@ubuntu.com-20050822202013-mhhxp4xirdxrdfx1
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef HAVE_STDLIB_H
 
2
#include <stdlib.h>
 
3
#endif
 
4
#include <stdio.h>
 
5
#include "yagi.h"
 
6
 
 
7
void print_z_matrix(double frequency, int elements, double **z)
 
8
{
 
9
        int i,j;                
 
10
        printf("Z - Matrix at frequency = %f\n", frequency);
 
11
        for(i=1;i<=elements;++i)
 
12
        {
 
13
                for(j=1;j<=2*elements;++j)
 
14
                        printf("% 7.2f ", z[i][j]);
 
15
                printf("\n");
 
16
        }  
 
17
}