*/
Looking for work? Check out our jobs area.
*/

View \xprow.h

Application of the identity matrix II. v05

Submitted By: xhunga
Rating: starstar (Rate It)


/* xprow.h                    freeware                   [[Email Removed]]  */


/* --------------------------------- FUNCTION ------------------------------  */
/* Do    :                                                                    */
/*                                                                            */
/* Call  :                                                                    */
/* Debug :                                                                    */
/* -------------------------------------------------------------------------- */
void printrowF(
pmatrix m,
int rown)
{
  int j;

    printf("\n");
    for ( j = 0 ; j < m->cols ; j++ ,j++)
      {
         printf(" %6.0f/%-6.0f",*(m->pblock+rown *m->cols+j  ),
                                  *(m->pblock+rown *m->cols+j+1));
      }
    printf("\n");
}

/* --------------------------------- FUNCTION ------------------------------  */
/* Do    :                                                                    */
/*                                                                            */
/* Call  :                                                                    */
/* Debug :                                                                    */
/* -------------------------------------------------------------------------- */
void printrowF0(
pmatrix m,
int rown)
{
  int j;

    printf("\n");
    for ( j = 0 ; j < m->cols ; j++ ,j++)
      {
         printf(" %.0f/%-.0f ",*(m->pblock+rown *m->cols+j  ),
                                 *(m->pblock+rown *m->cols+j+1));
      }
    printf("\n");
}


/* --------------------------------- FUNCTION ------------------------------  */
/* Do    :                                                                    */
/*                                                                            */
/* Call  :                                                                    */
/* Debug :                                                                    */
/* -------------------------------------------------------------------------- */
void printrowF3(
pmatrix m,
int rown)
{
  int j;

    printf("\n");
    for ( j = 0 ; j < m->cols ; j++ ,j++)
      {
         printf(" %3.0f/%-3.0f",*(m->pblock+rown *m->cols+j  ),
                                  *(m->pblock+rown *m->cols+j+1));
      }
    printf("\n");
}


/* --------------------------------- FUNCTION ------------------------------  */
/* Do    :                                                                    */
/*                                                                            */
/* Call  :                                                                    */
/* Debug :                                                                    */
/* -------------------------------------------------------------------------- */
void printrowF4(
pmatrix m,
int rown)
{
  int j;

    printf("\n");
    for ( j = 0 ; j < m->cols ; j++ ,j++)
      {
         printf(" %4.0f/%-4.0f",*(m->pblock+rown *m->cols+j  ),
                                  *(m->pblock+rown *m->cols+j+1));
      }
    printf("\n");
}


/* --------------------------------- FUNCTION ------------------------------  */
/* Do    :                                                                    */
/*                                                                            */
/* Call  :                                                                    */
/* Debug :                                                                    */
/* -------------------------------------------------------------------------- */
void printrowF10(
pmatrix m,
int rown)
{
  int j;

    printf("\n");
    for ( j = 0 ; j < m->cols ; j++ ,j++)
      {
         printf(" %10.0f/%-10.0f",*(m->pblock+rown *m->cols+j  ),
                                    *(m->pblock+rown *m->cols+j+1));
      }
    printf("\n");
}

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.