Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
lis_matrix_scale(3)	      Lis Library Functions	     lis_matrix_scale(3)

NAME
     lis_matrix_scale - scale the matrix

SYNOPSIS
     #include "lis.h"

     LIS_INT  lis_matrix_scale(LIS_MATRIX A, LIS_VECTOR b, LIS_VECTOR d, LIS_INT
     action);

DESCRIPTION
     Scale matrix A.

INPUT
     i	    The row number of the matrix

     j	    The column number of the matrix

     value  The scalar value to be assigned

     A	    The matrix

     b	    The vector

     action

	    LIS_SCALE_JACOBI
		   Jacobi scaling D^-1 A x = D^-1 b, where D represents the  di-
		   agonal of A=(a_ij)

	    LIS_SCALE_SYMM_DIAG
		   Diagonal  scaling  D^-1/2 A D^-1/2 x = D^-1/2 b, where D^-1/2
		   represents the diagonal matrix with (a_ii)^-1/2 as the diago-
		   nal

OUTPUT
     d	    The vector which stores the diagonal elements of D^-1 or D^-1/2

EXIT STATUS
     The following exit values are returned:

     0	    The process is normally terminated

     unspecified
	    An error occurred

SEE ALSO
     lis(3)

     http://www.ssisc.org/lis/

Man Page			   28 Aug 2014		     lis_matrix_scale(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=lis_matrix_scale&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help