Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 204 | chris | 1 | /******************************************************* |
| 2 | * |
||
| 3 | * Author: Shinsaku Hiura, Hirokazu Kato |
||
| 4 | * |
||
| 5 | * shinsaku@sys.es.osaka-u.ac.jp |
||
| 6 | * kato@sys.im.hiroshima-cu.ac.jp |
||
| 7 | * |
||
| 8 | * Revision: 2.1 |
||
| 9 | * Date: 99/07/16 |
||
| 10 | * |
||
| 11 | *******************************************************/ |
||
| 12 | |||
| 13 | #include <stdio.h> |
||
| 14 | #include <math.h> |
||
| 15 | #include <AR/matrix.h> |
||
| 16 | |||
| 17 | int arVecDisp( ARVec *v ) |
||
| 18 | { |
||
| 19 | int c; |
||
| 20 | |||
| 21 | if( v == NULL ) return -1; |
||
| 22 | |||
| 23 | printf(" === vector (%d) ===\n", v->clm); |
||
| 24 | printf(" |"); |
||
| 25 | for( c = 0; c < v->clm; c++ ){ |
||
| 26 | printf( " %10g", v->v[c] ); |
||
| 27 | } |
||
| 28 | printf(" |\n"); |
||
| 29 | printf(" ===================\n"); |
||
| 30 | |||
| 31 | return 0; |
||
| 32 | } |